Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I believe the OS-EXT-SRV-ATTR attribute is only available to someone with admin credentials. Consider:

$ nova show 3510ac8f-c90a-42f6-b214-3f53d622e1fc | awk '/OS-/ {print $2}'
OS-DCF:diskConfig
OS-EXT-AZ:availability_zone
OS-EXT-STS:power_state
OS-EXT-STS:task_state
OS-EXT-STS:vm_state
OS-SRV-USG:launched_at
OS-SRV-USG:terminated_at

vs:

$ . keystonerc_admin
$ nova show 3510ac8f-c90a-42f6-b214-3f53d622e1fc | awk '/OS-/ {print $2}'
OS-DCF:diskConfig
OS-EXT-AZ:availability_zone
OS-EXT-SRV-ATTR:host
OS-EXT-SRV-ATTR:hypervisor_hostname
OS-EXT-SRV-ATTR:instance_name
OS-EXT-STS:power_state
OS-EXT-STS:task_state
OS-EXT-STS:vm_state
OS-SRV-USG:launched_at
OS-SRV-USG:terminated_at

The second command -- run with admin credentials -- shows the OS-EXT-SRV-ATTR attributes.