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 in OpenStack by akhtar
• 28,180 points
201 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 by MD
• 65,360 points

Related Questions In OpenStack

0 votes
1 answer

error: 403 forbidden error Missing credentials

Hi@MD, To resolve this issue, use one of ...READ MORE

answered Mar 23 in OpenStack by akhtar
• 28,180 points
129 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 in OpenStack by MD
• 65,360 points
631 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 in OpenStack by akhtar
• 28,180 points
90 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 in OpenStack by MD
• 65,360 points
2,001 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 in OpenStack by MD
• 65,360 points
88 views
0 votes
1 answer
0 votes
1 answer

What is basic OpenStack Architecture?

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

answered Mar 16 in OpenStack by MD
• 65,360 points
128 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 in OpenStack by MD
• 65,360 points
225 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 in OpenStack by MD
• 65,360 points
332 views