Ask Your Question
0

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

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

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

Comments

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

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

1 answer

Sort by ยป oldest newest most voted
0

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

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: https://www.youtube.com/watch?v=O25jVBo4ubg (https://www.youtube.com/watch?v=O25jV...)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 0 times

Last updated: Aug 03