# Revision history [back]

### 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?
 2 No.2 Revision larsks 5589 ●24 ●61 ●100 http://redhat.com/

### 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: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?
 3 No.3 Revision larsks 5589 ●24 ●61 ●100 http://redhat.com/

### 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                                                        |
|