← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1195052] Re: hypervisor uptime API fails if the service is disabled

 

** Changed in: nova
       Status: Fix Committed => Fix Released

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

-- 
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/1195052

Title:
  hypervisor uptime API fails if the service is disabled

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  ubuntu@server-1360172514-az-3-region-a-geo-1:/mnt/devstack$ nova hypervisor-list
  +----+-------------------------------------------------+
  | ID | Hypervisor hostname                             |
  +----+-------------------------------------------------+
  | 1  | server-1360172514-az-3-region-a-geo-1.novalocal |
  +----+-------------------------------------------------+

  ubuntu@server-1360172514-az-3-region-a-geo-1:/mnt/devstack$ nova hypervisor-uptime 1
  +---------------------+---------------------------------------------------------------+
  | Property            | Value                                                         |
  +---------------------+---------------------------------------------------------------+
  | uptime              |  23:23:52 up 28 min,  1 user,  load average: 0.21, 0.35, 0.31 |
  |                     |                                                               |
  | id                  | 1                                                             |
  | hypervisor_hostname | server-1360172514-az-3-region-a-geo-1.novalocal               |
  +---------------------+---------------------------------------------------------------+

  ubuntu@server-1360172514-az-3-region-a-geo-1:/mnt/devstack$ nova service-list
  +------------------+---------------------------------------+----------+---------+-------+----------------------------+
  | Binary           | Host                                  | Zone     | Status  | State | Updated_at                 |
  +------------------+---------------------------------------+----------+---------+-------+----------------------------+
  | nova-conductor   | server-1360172514-az-3-region-a-geo-1 | internal | enabled | up    | 2013-06-26T23:23:56.000000 |
  | nova-compute     | server-1360172514-az-3-region-a-geo-1 | nova     | enabled | up    | 2013-06-26T23:23:58.000000 |
  | nova-cert        | server-1360172514-az-3-region-a-geo-1 | internal | enabled | up    | 2013-06-26T23:23:59.000000 |
  | nova-scheduler   | server-1360172514-az-3-region-a-geo-1 | internal | enabled | up    | 2013-06-26T23:24:01.000000 |
  | nova-consoleauth | server-1360172514-az-3-region-a-geo-1 | internal | enabled | up    | 2013-06-26T23:23:55.000000 |
  +------------------+---------------------------------------+----------+---------+-------+----------------------------+

  ubuntu@server-1360172514-az-3-region-a-geo-1:/mnt/devstack$ nova service-disable server-1360172514-az-3-region-a-geo-1 nova-compute
  +---------------------------------------+--------------+----------+
  | Host                                  | Binary       | Status   |
  +---------------------------------------+--------------+----------+
  | server-1360172514-az-3-region-a-geo-1 | nova-compute | disabled |
  +---------------------------------------+--------------+----------+

  ubuntu@server-1360172514-az-3-region-a-geo-1:/mnt/devstack$ nova hypervisor-uptime 1
  ERROR: The resource could not be found. (HTTP 404) (Request-ID: req-b06f3d89-6e28-466b-9d94-67bd7ac65b87)

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