yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #15448
[Bug 1328382] [NEW] wrong doc for disabaled_reason in service list
Public bug reported:
In http://developer.openstack.org/api-ref-compute-v2-ext.html, the
'disabled_reason" field will be None for xml format and 'null’ for json
format. However, in the documentation, it's stated as "", which is not
correct.
Below is the output of nova client:
yjiang5@otccloud06:/opt/stack/nova$ nova --debug service-list
..................
RESP BODY: {"services": [{"status": "enabled", "binary": "nova-
conductor", "zone": "internal", "state": "up", "updated_at":
"2014-06-10T05:28:39.000000", "host": "otccloud06", "disabled_reason":
null, "id": 1}, {"status": "enabled", "binary": "nova-compute", "zone":
"nova", "state": "up", "updated_at": "2014-06-10T05:28:48.000000",
"host": "otccloud06", "disabled_reason": null, "id": 2}, {"status":
"enabled", "binary": "nova-cert", "zone": "internal", "state": "up",
"updated_at": "2014-06-10T05:28:46.000000", "host": "otccloud06",
"disabled_reason": null, "id": 3}, {"status": "enabled", "binary":
"nova-network", "zone": "internal", "state": "up", "updated_at":
"2014-06-10T05:28:48.000000", "host": "otccloud06", "disabled_reason":
null, "id": 4}, {"status": "enabled", "binary": "nova-scheduler",
"zone": "internal", "state": "up", "updated_at":
"2014-06-10T05:28:48.000000", "host": "otccloud06", "disabled_reason":
null, "id": 5}, {"status": "enabled", "binary": "nova-consoleauth",
"zone": "internal", "state": "up", "updated_at":
"2014-06-10T05:28:44.000000", "host": "otccloud06", "disabled_reason":
null, "id": 6}]}
** Affects: nova
Importance: Low
Assignee: jiang, yunhong (yunhong-jiang)
Status: New
** Tags: api
** Changed in: nova
Assignee: (unassigned) => jiang, yunhong (yunhong-jiang)
** Changed in: nova
Milestone: None => juno-1
** Tags added: api
** Changed in: nova
Importance: Undecided => Low
--
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/1328382
Title:
wrong doc for disabaled_reason in service list
Status in OpenStack Compute (Nova):
New
Bug description:
In http://developer.openstack.org/api-ref-compute-v2-ext.html, the
'disabled_reason" field will be None for xml format and 'null’ for
json format. However, in the documentation, it's stated as "", which
is not correct.
Below is the output of nova client:
yjiang5@otccloud06:/opt/stack/nova$ nova --debug service-list
..................
RESP BODY: {"services": [{"status": "enabled", "binary": "nova-
conductor", "zone": "internal", "state": "up", "updated_at":
"2014-06-10T05:28:39.000000", "host": "otccloud06", "disabled_reason":
null, "id": 1}, {"status": "enabled", "binary": "nova-compute",
"zone": "nova", "state": "up", "updated_at":
"2014-06-10T05:28:48.000000", "host": "otccloud06", "disabled_reason":
null, "id": 2}, {"status": "enabled", "binary": "nova-cert", "zone":
"internal", "state": "up", "updated_at": "2014-06-10T05:28:46.000000",
"host": "otccloud06", "disabled_reason": null, "id": 3}, {"status":
"enabled", "binary": "nova-network", "zone": "internal", "state":
"up", "updated_at": "2014-06-10T05:28:48.000000", "host":
"otccloud06", "disabled_reason": null, "id": 4}, {"status": "enabled",
"binary": "nova-scheduler", "zone": "internal", "state": "up",
"updated_at": "2014-06-10T05:28:48.000000", "host": "otccloud06",
"disabled_reason": null, "id": 5}, {"status": "enabled", "binary":
"nova-consoleauth", "zone": "internal", "state": "up", "updated_at":
"2014-06-10T05:28:44.000000", "host": "otccloud06", "disabled_reason":
null, "id": 6}]}
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1328382/+subscriptions
Follow ups
References