ERROR Forbidden Policy doesn t allow os compute api os-services to be performed HTTP 403 Request-ID req-ee295dfe-b3c7-440c-911d-10043355a606

+1 vote

Hi Guys,

I am trying o list down all the services available in Nova. But it is showing me the below error.

[root@openstack nova(keystone_demo)]# nova service-list
ERROR (Forbidden): Policy doesn't allow os_compute_api:os-services to be performed. (HTTP 403) (Request-ID: req-ee295dfe-b3c7-440c-911d-10043355a606)

How can I solve this error?

Jul 3, 2020 in OpenStack by akhtar
• 38,260 points
3,558 views

1 answer to this question.

0 votes

Hi@akhtar,

You need to use an admin account to run the service command. The demo account is not allowed to perform this task.

[root@openstack ~(keystone_admin)]# nova service-list
+--------------------------------------+------------------+-----------+----------+---------+-------+----------------------------+-----------------+-------------+
| Id                                   | Binary           | Host      | Zone     | Status  | State | Updated_at                 | Disabled Reason | Forced down |
+--------------------------------------+------------------+-----------+----------+---------+-------+----------------------------+-----------------+-------------+
| e7303204-63d2-4fae-98cc-a354dd4a8dbc | nova-conductor   | openstack | internal | enabled | up    | 2020-07-02T06:19:18.000000 | -               | False       |
| 46dc4c65-2d94-46eb-9c1f-d337cd6bf653 | nova-scheduler   | openstack | internal | enabled | up    | 2020-07-02T06:19:19.000000 | -               | False       |
| 6b8a516a-ffb2-4c76-b674-1ea1f4f1b5e8 | nova-consoleauth | openstack | internal | enabled | up    | 2020-07-02T06:19:17.000000 | -               | False       |
| 9725bae6-6c2f-438c-89ea-1c3f605b10ed | nova-compute     | openstack | nova     | enabled | up    | 2020-07-02T06:19:18.000000 | -               | False       |
+--------------------------------------+------------------+-----------+----------+---------+-------+----------------------------+-----------------+-------------+
answered Jul 3, 2020 by MD
• 95,460 points

Related Questions In OpenStack

0 votes
1 answer

error: 403 forbidden error Missing credentials

Hi@MD, To resolve this missing credentials issue, use ...READ MORE

answered Mar 23, 2020 in OpenStack by akhtar
• 38,260 points
1,229 views
0 votes
1 answer

How to reset error state of a instance into active in OpenStack env?

Hi@akhtar, There are some scenarios where some instances ...READ MORE

answered Mar 17, 2020 in OpenStack by MD
• 95,460 points
9,625 views
0 votes
1 answer

What are the pro/cons of adding NAS services/APIs to Cinders?

Hi@MD, Mirantis is in the business of deploying ...READ MORE

answered Mar 19, 2020 in OpenStack by akhtar
• 38,260 points
713 views
+1 vote
1 answer

error: cannot uninstall 'simplejson', not able to install on Ubuntu 18.04,

Hi@akhtar, This error occurs because of pip install ...READ MORE

answered Mar 20, 2020 in OpenStack by MD
• 95,460 points
8,091 views
0 votes
1 answer

How to launch one instance in OpenStack from CLI?

Hi@akhtar, You need to login to your OpenStack ...READ MORE

answered Jul 5, 2020 in OpenStack by MD
• 95,460 points
1,046 views
0 votes
1 answer

fatal:unable to connect to git.openstack.org: git.openstack.org errno=Network is unreachable

Hi@akhtar, You need to change the GIT_BASE installation ...READ MORE

answered Sep 23, 2020 in OpenStack by MD
• 95,460 points
1,719 views
0 votes
1 answer

What is basic OpenStack Architecture?

Hi@akhtar, Basic Architecture of OpenStack is given below. OpenStack ...READ MORE

answered Mar 16, 2020 in OpenStack by MD
• 95,460 points
2,344 views
0 votes
1 answer

How to delete image in OpenStack?

Hi@akhtar, There are two ways to delete an ...READ MORE

answered Mar 16, 2020 in OpenStack by MD
• 95,460 points
4,298 views
0 votes
1 answer

How to Fix OpenStack’s Keystone Authentication Error – HTTP 500?

Hi@akhtar, To avoid this error, you can follow ...READ MORE

answered Mar 26, 2020 in OpenStack by MD
• 95,460 points
10,408 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP