← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1417433] [NEW] host-describe returns 404 in cells environment

 

Public bug reported:

Using host-describe in a cells environment returns a host not found
(404) error

$ nova host-list
+---------------------+-------------+----------+
| host_name           | service     | zone     |
+---------------------+-------------+----------+
| region!child@vm-001 | conductor   | internal |
| region!child@vm-001 | cells       | internal |
| region!child@vm-001 | scheduler   | internal |
| region!child@vm-001 | compute     | nova     |
| region@vm-001       | cells       | internal |
| region@vm-001       | cert        | internal |
| region@vm-001       | consoleauth | internal |
+---------------------+-------------+----------+

$ nova host-describe 'region!child@vm-001'
ERROR (NotFound): Compute host region!child@vm-001 could not be found. (HTTP 404) (Request-ID: req-1b32c3ef-906f-4961-8d6a-08f210f4cf9f)

The n-api logs are
2015-02-03 08:12:08.893 DEBUG nova.api.openstack.wsgi [req-985277fd-4ad3-4d14-971a-708bfe14a557 admin admin] Calling method '<bound method HostController.show of <nova.api.openstack.compute.contrib.hosts.HostController object at 0x4842bd0>>' from (pid=3435) _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:776
2015-02-03 08:12:08.918 INFO nova.api.openstack.wsgi [req-985277fd-4ad3-4d14-971a-708bfe14a557 admin admin] HTTP exception thrown: Compute host region!child@vm-001 could not be found.
2015-02-03 08:12:08.919 DEBUG nova.api.openstack.wsgi [req-985277fd-4ad3-4d14-971a-708bfe14a557 admin admin] Returning 404 to user: Compute host region!child@vm-001 could not be found. from (pid=3435) __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:1159
2015-02-03 08:12:08.928 INFO nova.osapi_compute.wsgi.server [req-985277fd-4ad3-4d14-971a-708bfe14a557 admin admin] 188.184.150.115 "GET /v2/ecebe63509764ff88e4319c4dfbdd174/os-hosts/region!child@vm-001 HTTP/1.1" status: 404 len: 316 time: 0.1560140

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: cells

** Tags added: cells

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

Title:
  host-describe returns 404 in cells environment

Status in OpenStack Compute (Nova):
  New

Bug description:
  Using host-describe in a cells environment returns a host not found
  (404) error

  $ nova host-list
  +---------------------+-------------+----------+
  | host_name           | service     | zone     |
  +---------------------+-------------+----------+
  | region!child@vm-001 | conductor   | internal |
  | region!child@vm-001 | cells       | internal |
  | region!child@vm-001 | scheduler   | internal |
  | region!child@vm-001 | compute     | nova     |
  | region@vm-001       | cells       | internal |
  | region@vm-001       | cert        | internal |
  | region@vm-001       | consoleauth | internal |
  +---------------------+-------------+----------+

  $ nova host-describe 'region!child@vm-001'
  ERROR (NotFound): Compute host region!child@vm-001 could not be found. (HTTP 404) (Request-ID: req-1b32c3ef-906f-4961-8d6a-08f210f4cf9f)

  The n-api logs are
  2015-02-03 08:12:08.893 DEBUG nova.api.openstack.wsgi [req-985277fd-4ad3-4d14-971a-708bfe14a557 admin admin] Calling method '<bound method HostController.show of <nova.api.openstack.compute.contrib.hosts.HostController object at 0x4842bd0>>' from (pid=3435) _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:776
  2015-02-03 08:12:08.918 INFO nova.api.openstack.wsgi [req-985277fd-4ad3-4d14-971a-708bfe14a557 admin admin] HTTP exception thrown: Compute host region!child@vm-001 could not be found.
  2015-02-03 08:12:08.919 DEBUG nova.api.openstack.wsgi [req-985277fd-4ad3-4d14-971a-708bfe14a557 admin admin] Returning 404 to user: Compute host region!child@vm-001 could not be found. from (pid=3435) __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:1159
  2015-02-03 08:12:08.928 INFO nova.osapi_compute.wsgi.server [req-985277fd-4ad3-4d14-971a-708bfe14a557 admin admin] 188.184.150.115 "GET /v2/ecebe63509764ff88e4319c4dfbdd174/os-hosts/region!child@vm-001 HTTP/1.1" status: 404 len: 316 time: 0.1560140

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


Follow ups

References