Train Release - No policy rules for service 'network'..

asked 2020-07-28 20:24:56 -0600

a-ridley gravatar image

Installed Openstack Train release manually.

When logged into the Horizon Dashboard as a non-admin role and clicking through the dashboard there are errors that pop up on the top right hand corner.

Specifically, Under Compute > Images there are two errors that occur:

Error: Forbidden. Insufficient permissions of the requested operation
Error: Unable to retrieve the project

Looking in the error_log for httpd it shows these errors over and over again:

WARNING openstack_auth.policy No policy rules for service 'network' in /usr/share/openstack-dashboard/openstack_dashboard/conf/neutron_policy.json 
WARNING openstack_auth.policy No policy rules for service 'network' in /usr/share/openstack-dashboard/openstack_dashboard/conf/neutron_policy.json

When attempting to go to /usr/share/openstack-dashboard/openstack_dashboard/, on the controller node, and look at keystone_policy.json or neutron_policy.json the conf directory is missing and so are the files.

After doing some more research it looks like I've located the files here: /etc/openstack-dashboard

Has anyone experienced similar errors and if so, how did you go about solving them? I am thinking this may be the cause of the errors showing up on the dashboard. Before I start moving these files around I was hoping someone had some insight to share about these policy files missing.

thank you in advance!

edit retag flag offensive close merge delete


ln -s /etc/openstack-dashboard /usr/share/openstack-dashboard/openstack_dashboard/conf

chankyun gravatar imagechankyun ( 2020-07-31 04:26:13 -0600 )edit

I do not have the conf directory. I ran the following command to generate policy files. oslopolicy-policy-generator --namespace SERVICE --output-file SERVICE-policy.json Permission errors for non admins are still shown. My main goal: How can I hide admin panel if user has non admin role?

a-ridley gravatar imagea-ridley ( 2020-08-12 23:06:13 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2020-08-03 13:25:07 -0600

a-ridley gravatar image

Looking further into Openstack Policy configuration really cleared up some questions about where these file went. I will attach a link to Openstack Foundations' youtube channel and the video that helped clear this up. Highly suggest to watch the video: (

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2020-07-28 20:24:56 -0600

Seen: 170 times

Last updated: Aug 03 '20