Reviewed: https://review.openstack.org/25446 Committed: http://github.com/openstack/nova/commit/d7dcc5d0d72471f2be6895baf2717ec7c78f9f32 Submitter: Jenkins Branch: milestone-proposed
commit d7dcc5d0d72471f2be6895baf2717ec7c78f9f32 Author: Fei Long Wang <[email protected]> Date: Sun Mar 24 12:36:47 2013 +0800 Fixes Nova API /os-hosts missing element "zone" Now the HostIndexTemplate of Nova /os-hosts API is missing element "zone", which will cause the XML output of list hosts missing the zone attribute. Fixes bug: 1159055 Change-Id: I9940efcfd364c35b00cde4398d531d7ff56dc2b9 (cherry picked from commit c5097ab6682ee1b3021bb628e5083108e3b368d0) ** Changed in: nova Status: Fix Committed => Fix Released -- 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/1159055 Title: Nova API /os-hosts missing element "zone" Status in OpenStack Compute (Nova): Fix Released Bug description: # Expected Output http://127.0.0.1:8774/v2/c9a7b0efca7b424dbc9137bf9cc38e71/os-hosts {"hosts": [{"zone": "internal", "host_name": "flwang-ThinkPad-X230", "service": "conductor"}, {"zone": "nova", "host_name": "flwang-ThinkPad-X230", "service": "compute"}, {"zone": "internal", "host_name": "flwang-ThinkPad-X230", "service": "cert"}, {"zone": "internal", "host_name": "flwang-ThinkPad-X230", "service": "network"}, {"zone": "internal", "host_name": "flwang-ThinkPad-X230", "service": "scheduler"}, {"zone": "internal", "host_name": "flwang-ThinkPad-X230", "service": "consoleauth"}, {"zone": "nova", "host_name": "nova-compute-2", "service": "compute"}]} # Actual Output http://127.0.0.1:8774/v2/c9a7b0efca7b424dbc9137bf9cc38e71/os-hosts <?xml version='1.0' encoding='UTF-8'?> <hosts><host host_name="flwang-ThinkPad-X230" service="conductor"/><host host_name="flwang-ThinkPad-X230" service="compute"/><host host_name="flwang-ThinkPad-X230" service="cert"/><host host_name="flwang-ThinkPad-X230" service="network"/><host host_name="flwang-ThinkPad-X230" service="scheduler"/><host host_name="flwang-ThinkPad-X230" service="consoleauth"/><host host_name="nova-compute-2" service="compute"/></hosts> To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1159055/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

