Ask Your Question
0

Missing OS-EXT-SRV-ATTR from a nova show

asked 2013-06-26 03:56:09 -0500

Davide gravatar image

Hello,

we are currently deploying OpenStack Grizzly. Everything is up and running fine, but the OS-EXT-SRV-ATTR are not generated when we start instances.

Here is a nova show output:

# nova show 6e3644f1-eddf-4c55-8a94-1834e106c348
+-----------------------------+----------------------------------------------------------+
| Property                    | Value                                                    |
+-----------------------------+----------------------------------------------------------+
| status                      | ACTIVE                                                   |
| updated                     | 2013-06-24T13:07:15Z                                     |
| OS-EXT-STS:task_state       | None                                                     |
| key_name                    | ticloud-key                                              |
| image                       | raring-amd64 (7199fad3-22d9-41ad-96e8-712b443760c3)      |
| hostId                      | 03a189f14aa730bb93663ecb6c768b3523f70e14409e285a57449e39 |
| OS-EXT-STS:vm_state         | active                                                   |
| flavor                      | m1.small (2)                                             |
| id                          | 6e3644f1-eddf-4c55-8a94-1834e106c348                     |
| security_groups             | [{u'name': u'default'}]                                  |
| user_id                     | 0cad9ab8b83641a3a5b19b42a7cf0301                         |
| name                        | tms_prod                                                 |
| created                     | 2013-06-24T13:06:53Z                                     |
| tenant_id                   | ec2ac4cff7ea449987699e9a871fd3cb                         |
| OS-DCF:diskConfig           | MANUAL                                                   |
| metadata                    | {}                                                       |
| accessIPv4                  |                                                          |
| accessIPv6                  |                                                          |
| progress                    | 0                                                        |
| OS-EXT-STS:power_state      | 1                                                        |
| OS-EXT-AZ:availability_zone | nova                                                     |
| tms_prod_net network        | 10.10.20.3, 192.168.10.152                               |
| config_drive                |                                                          |
+-----------------------------+----------------------------------------------------------+

What are we missing to enable the generation of OS-EXT-SRV-ATTR attributes?

Thanks in advance, Cheers

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
4

answered 2013-06-26 16:43:26 -0500

fmanco gravatar image

OS-EXT-SRV-ATTR are usually only visible to admins. You can enable users to see this attributes by editing the file /etc/nova/policy.json and replace

"compute_extension:extended_server_attributes": "rule:admin_api",

by

"compute_extension:extended_server_attributes": "",
edit flag offensive delete link more

Comments

Thanks a lot for pointing this out! As always i test things wrongly, but somehow i manage to deploy them correctly ;)

Davide gravatar imageDavide ( 2013-06-27 03:12:58 -0500 )edit
0

answered 2013-11-25 08:51:08 -0500

Euler gravatar image

Thanks for this information! I also confused before why only admin user can see this.

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

Stats

Asked: 2013-06-26 03:56:09 -0500

Seen: 809 times

Last updated: Nov 25 '13