← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1184447] Re: baremetal API extension does not show or accept node uuid

 

** Changed in: nova
    Milestone: havana-rc1 => None

** Changed in: nova
       Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1184447

Title:
  baremetal API extension does not show or accept node uuid

Status in OpenStack Compute (Nova):
  Won't Fix

Bug description:
  The baremetal API extension does not show node uuid's, either in "nova
  baremetal-node-list" or in "nova baremetal-node-show <ID>". It also
  does not accept a node's uuid. It should, since this is how the node
  is identified within nova.

  For example, I can get a nova instance UUID from "nova list", and then
  get the baremetal node UUID from the "OS-EXT-SRV-
  ATTR:hypervisor_hostname" field of "nova show". I should then be able
  to get details about that node from "nova baremetal-node-show", but I
  can not.

  
  ubuntu@foo:~$ nova list
  +--------------------------------------+----------------------------------------+--------+------------+-------------+-----------------------+
  | ID                                   | Name                                   | Status | Task State | Power State | Networks              |
  +--------------------------------------+----------------------------------------+--------+------------+-------------+-----------------------+
  | 0c2690cd-c431-41f7-90f2-10ea678e137a | compute-test0.NovaCompute0.NovaCompute | ACTIVE | None       | Running     | ctlplane=xx.xx.xx.xx |

  
  ubuntu@foo:~$ nova show 0c2690cd-c431-41f7-90f2-10ea678e137a
  +-------------------------------------+-----------------------------------------------------------+
  | Property                            | Value                                                     |
  +-------------------------------------+-----------------------------------------------------------+
  | status                              | ACTIVE                                                    |
  | updated                             | 2013-05-24T09:45:17Z                                      |
  | OS-EXT-STS:task_state               | None                                                      |
  | OS-EXT-SRV-ATTR:host                | foo.novalocal                                             |
  | key_name                            | default                                                   |
  | image                               | nova-compute-debug (7125ca02-1785-4d06-a45d-3312827e6092) |
  | hostId                              | 70f53b08cdc797a620a131c844fa1c7f0ef58cd59b0ceb8a880b2b89  |
  | OS-EXT-STS:vm_state                 | active                                                    |
  | OS-EXT-SRV-ATTR:instance_name       | instance-00000133                                         |
  | OS-EXT-SRV-ATTR:hypervisor_hostname | dda8bd00-0cf6-4211-8c8c-81dfafe8c1fb                      |
  | flavor                              | baremetal3 (258)                                          |
  | id                                  | 0c2690cd-c431-41f7-90f2-10ea678e137a                      |
  | security_groups                     | [{u'name': u'default'}]                                   |
  | user_id                             | 87b44714e906420a9e6a07f6835b5b61                          |
  | name                                | compute-test0.NovaCompute0.NovaCompute                    |
  | created                             | 2013-05-24T09:38:27Z                                      |
  | tenant_id                           | c30643483cd849a6b61e98c6ccc03a66                          |
  | OS-DCF:diskConfig                   | MANUAL                                                    |
  | metadata                            | {}                                                        |
  | accessIPv4                          |                                                           |
  | accessIPv6                          |                                                           |
  | ctlplane network                    | xx.xx.xx.xx                                              |
  | progress                            | 0                                                         |
  | OS-EXT-STS:power_state              | 1                                                         |
  | OS-EXT-AZ:availability_zone         | nova                                                      |
  | config_drive                        |                                                           |
  +-------------------------------------+-----------------------------------------------------------+

  
  ubuntu@foo:~$ nova baremetal-node-show dda8bd00-0cf6-4211-8c8c-81dfafe8c1fb
  ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-f3fde2f6-8679-4dde-b230-7241e609893a)

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1184447/+subscriptions