yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #86342
[Bug 1930563] Re: oslopolicy-convert-json-to-yaml
Hi, Could you please check the format of policy files under ``POLICY_FILES`` [1] for both nodes.
looking at the logs for the first node you are using '.json' format that's why you are seeing
those deprecation warnings and for node2 maybe you are using '.yaml' format that's why you are
only seeing specific deprecation warning for different backends services.
[1] https://github.com/openstack/horizon/tree/master/openstack_dashboard/conf
** Changed in: horizon
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1930563
Title:
oslopolicy-convert-json-to-yaml
Status in OpenStack Dashboard (Horizon):
Invalid
Bug description:
The error in node1 is as follows:
[Wed Jun 02 16:00:32.837954 2021] [wsgi:error] [pid 361523:tid 140707810875136] [remote 10.80.0.229:61350] WARNING oslo_policy.policy JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html.
[Wed Jun 02 16:00:33.096518 2021] [wsgi:error] [pid 361523:tid 140707810875136] [remote 10.80.0.229:61350] WARNING oslo_policy.policy JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html.
[Wed Jun 02 16:00:33.109075 2021] [wsgi:error] [pid 361523:tid 140707810875136] [remote 10.80.0.229:61350] WARNING oslo_policy.policy JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html.
[Wed Jun 02 16:00:33.116617 2021] [wsgi:error] [pid 361523:tid 140707810875136] [remote 10.80.0.229:61350] WARNING oslo_policy.policy JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html.
[Wed Jun 02 16:00:33.140800 2021] [wsgi:error] [pid 361523:tid 140707810875136] [remote 10.80.0.229:61350] WARNING oslo_policy.policy JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html.
[Wed Jun 02 16:00:33.147785 2021] [wsgi:error] [pid 361523:tid 140707810875136] [remote 10.80.0.229:61350] WARNING oslo_policy.policy JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html.
[Wed Jun 02 16:00:33.168505 2021] [wsgi:error] [pid 361523:tid 140707810875136] [remote 10.80.0.229:61350] WARNING oslo_policy.policy JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html.
[Wed Jun 02 16:00:33.169357 2021] [wsgi:error] [pid 361523:tid 140707810875136] [remote 10.80.0.229:61350] WARNING oslo_policy.policy JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html.
[Wed Jun 02 16:00:33.175743 2021] [wsgi:error] [pid 361523:tid 140707810875136] [remote 10.80.0.229:61350] WARNING oslo_policy.policy JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html.
[Wed Jun 02 16:00:33.189434 2021] [wsgi:error] [pid 361523:tid 140707810875136] [remote 10.80.0.229:61350] WARNING oslo_policy.policy JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html.
The error in node2 is as follows:
[Wed Jun 02 16:00:09.936965 2021] [wsgi:error] [pid 412130:tid 140370453157632] [remote 10.80.0.229:61320] WARNING openstack_dashboard.api.glance OPENSTACK_IMAGE_BACKEND has a format "" unsupported by glance
[Wed Jun 02 16:00:09.937809 2021] [wsgi:error] [pid 412130:tid 140370453157632] [remote 10.80.0.229:61320] WARNING openstack_dashboard.api.glance OPENSTACK_IMAGE_BACKEND has a format "docker" unsupported by glance
[Wed Jun 02 16:00:09.937941 2021] [wsgi:error] [pid 412130:tid 140370453157632] [remote 10.80.0.229:61320] WARNING openstack_dashboard.api.glance OPENSTACK_IMAGE_BACKEND has a format "ova" unsupported by glance
The openstack version is Victoria..
If anyone can support me, thank you very much!!
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1930563/+subscriptions
References