Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

nova : host ids and extended server attributes

Hello All,

I am trying to find out the hostname of the compute host which runs a certain compute VM. I see that nova's extended server attributes usually list the hostname, but I don't see that happening in my setup (Fedora20/IceHouse). I see the following extended attributes, but not the hostname.

OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-STS:power_state | 1 | | OS-EXT-STS:task_state | - | | OS-EXT-STS:vm_state | active | | OS-SRV-USG:launched_at | 2014-03-28T22:42:43.000000 | | OS-SRV-USG:terminated_at | -

I do see a hostId in the output with a key, but I am unable to match it to any of the "nova host*" command outputs.

  • Is there a way to enable nova to print the hostname as part of the extended server attributes?
  • Is there a way to correlate the hostId in the "nova show <server name="">" to identify the compute host?
click to hide/show revision 2
No.2 Revision

nova : host ids and extended server attributes

Hello All,

I am trying to find out the hostname of the compute host which runs a certain compute VM. I see that nova's extended server attributes usually list the hostname, but I don't see that happening in my setup (Fedora20/IceHouse). I see the following extended attributes, but not the hostname.

 OS-DCF:diskConfig                    | MANUAL                                                   |
| OS-EXT-AZ:availability_zone          | nova                                                     |
| OS-EXT-STS:power_state               | 1                                                        |
| OS-EXT-STS:task_state                | -                                                        |
| OS-EXT-STS:vm_state                  | active                                                   |
| OS-SRV-USG:launched_at               | 2014-03-28T22:42:43.000000                               |
| OS-SRV-USG:terminated_at             | -                     

-

I do see a hostId in the output with a key, but I am unable to match it to any of the "nova host*" command outputs.

  • Is there a way to enable nova to print the hostname as part of the extended server attributes?
  • Is there a way to correlate the hostId in the "nova show <server name="">" to identify the compute host?
click to hide/show revision 3
No.3 Revision

nova : host ids and extended server attributes

Hello All,

I am trying to find out the hostname of the compute host which runs a certain compute VM. I see that nova's extended server attributes usually list the hostname, but I don't see that happening in my setup (Fedora20/IceHouse). I see the following extended attributes, but not the hostname.

 | OS-DCF:diskConfig            | MANUAL                                                   |
|
 | OS-EXT-AZ:availability_zone  | nova                                                     |
|
 | OS-EXT-STS:power_state       | 1                                                        |
|
 | OS-EXT-STS:task_state        | -                                                        |
|
 | OS-EXT-STS:vm_state          | active                                                   |
|
 | OS-SRV-USG:launched_at       | 2014-03-28T22:42:43.000000                               |
|
 | OS-SRV-USG:terminated_at     | -

I do see a hostId in the output with a key, but I am unable to match it to any of the "nova host*" command outputs.

  • Is there a way to enable nova to print the hostname as part of the extended server attributes?
  • Is there a way to correlate the hostId in the "nova show <server name="">" to identify the compute host?