Public bug reported:
OS: AlmaLinux 9.5
Openstack: 2024.2. Dalmatian
After fresh installation, getting lots of errors regarding missing
policy files for each service:
[Tue Dec 24 10:20:13.300560 2024] [wsgi:error] [pid 126523:tid 126643] [remote
10.101.14.143:53528] ERROR openstack_auth.policy Failed to open the policy file
for compute
/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/nova.yaml:
[Errno 2] No such file or directory:
'/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/nova.yaml'
[Tue Dec 24 10:20:13.300689 2024] [wsgi:error] [pid 126523:tid 126643] [remote
10.101.14.143:53528] WARNING openstack_auth.policy No policy rules for service
'compute' in
/usr/share/openstack-dashboard/openstack_dashboard/conf/nova_policy.yaml and
files under
['/usr/share/openstack-dashboard/openstack_dashboard/conf/nova_policy.d']
[Tue Dec 24 10:20:13.301162 2024] [wsgi:error] [pid 126523:tid 126643] [remote
10.101.14.143:53528] ERROR openstack_auth.policy Failed to open the policy file
for volume
/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/cinder.yaml:
[Errno 2] No such file or directory:
'/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/cinder.yaml'
[Tue Dec 24 10:20:13.301283 2024] [wsgi:error] [pid 126523:tid 126643] [remote
10.101.14.143:53528] WARNING openstack_auth.policy No policy rules for service
'volume' in
/usr/share/openstack-dashboard/openstack_dashboard/conf/cinder_policy.yaml and
files under
['/usr/share/openstack-dashboard/openstack_dashboard/conf/cinder_policy.d']
[Tue Dec 24 10:20:13.301747 2024] [wsgi:error] [pid 126523:tid 126643] [remote
10.101.14.143:53528] ERROR openstack_auth.policy Failed to open the policy file
for image
/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/glance.yaml:
[Errno 2] No such file or directory:
'/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/glance.yaml'
[Tue Dec 24 10:20:13.301848 2024] [wsgi:error] [pid 126523:tid 126643] [remote
10.101.14.143:53528] WARNING openstack_auth.policy No policy rules for service
'image' in
/usr/share/openstack-dashboard/openstack_dashboard/conf/glance_policy.yaml
[Tue Dec 24 10:20:13.302287 2024] [wsgi:error] [pid 126523:tid 126643] [remote
10.101.14.143:53528] ERROR openstack_auth.policy Failed to open the policy file
for network
/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/neutron.yaml:
[Errno 2] No such file or directory:
'/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/neutron.yaml'
[Tue Dec 24 10:20:13.302393 2024] [wsgi:error] [pid 126523:tid 126643] [remote
10.101.14.143:53528] WARNING openstack_auth.policy No policy rules for service
'network' in
/usr/share/openstack-dashboard/openstack_dashboard/conf/neutron_policy.yaml
These files probably locate in /etc/openstack-dashboard directory, but
/usr/share/openstack-dashboard/openstack_dashboard/conf/ and
/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies not
even exist.
** Affects: horizon
Importance: Undecided
Status: New
--
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/2092443
Title:
failed to open the policy file
Status in OpenStack Dashboard (Horizon):
New
Bug description:
OS: AlmaLinux 9.5
Openstack: 2024.2. Dalmatian
After fresh installation, getting lots of errors regarding missing
policy files for each service:
[Tue Dec 24 10:20:13.300560 2024] [wsgi:error] [pid 126523:tid 126643]
[remote 10.101.14.143:53528] ERROR openstack_auth.policy Failed to open the
policy file for compute
/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/nova.yaml:
[Errno 2] No such file or directory:
'/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/nova.yaml'
[Tue Dec 24 10:20:13.300689 2024] [wsgi:error] [pid 126523:tid 126643]
[remote 10.101.14.143:53528] WARNING openstack_auth.policy No policy rules for
service 'compute' in
/usr/share/openstack-dashboard/openstack_dashboard/conf/nova_policy.yaml and
files under
['/usr/share/openstack-dashboard/openstack_dashboard/conf/nova_policy.d']
[Tue Dec 24 10:20:13.301162 2024] [wsgi:error] [pid 126523:tid 126643]
[remote 10.101.14.143:53528] ERROR openstack_auth.policy Failed to open the
policy file for volume
/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/cinder.yaml:
[Errno 2] No such file or directory:
'/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/cinder.yaml'
[Tue Dec 24 10:20:13.301283 2024] [wsgi:error] [pid 126523:tid 126643]
[remote 10.101.14.143:53528] WARNING openstack_auth.policy No policy rules for
service 'volume' in
/usr/share/openstack-dashboard/openstack_dashboard/conf/cinder_policy.yaml and
files under
['/usr/share/openstack-dashboard/openstack_dashboard/conf/cinder_policy.d']
[Tue Dec 24 10:20:13.301747 2024] [wsgi:error] [pid 126523:tid 126643]
[remote 10.101.14.143:53528] ERROR openstack_auth.policy Failed to open the
policy file for image
/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/glance.yaml:
[Errno 2] No such file or directory:
'/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/glance.yaml'
[Tue Dec 24 10:20:13.301848 2024] [wsgi:error] [pid 126523:tid 126643]
[remote 10.101.14.143:53528] WARNING openstack_auth.policy No policy rules for
service 'image' in
/usr/share/openstack-dashboard/openstack_dashboard/conf/glance_policy.yaml
[Tue Dec 24 10:20:13.302287 2024] [wsgi:error] [pid 126523:tid 126643]
[remote 10.101.14.143:53528] ERROR openstack_auth.policy Failed to open the
policy file for network
/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/neutron.yaml:
[Errno 2] No such file or directory:
'/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/neutron.yaml'
[Tue Dec 24 10:20:13.302393 2024] [wsgi:error] [pid 126523:tid 126643]
[remote 10.101.14.143:53528] WARNING openstack_auth.policy No policy rules for
service 'network' in
/usr/share/openstack-dashboard/openstack_dashboard/conf/neutron_policy.yaml
These files probably locate in /etc/openstack-dashboard directory, but
/usr/share/openstack-dashboard/openstack_dashboard/conf/ and
/usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies not
even exist.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/2092443/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp