yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #28104
[Bug 1407370] Re: comment of the host index api is incorrect
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => kilo-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/1407370
Title:
comment of the host index api is incorrect
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Just a little nit, the comment of the host index api in the source
code(the formatted version):
{
'hosts': [{
'host_name': 'some.host.name',
'service': 'cells',
'zone': 'internal'
},
{
'host_name': 'some.other.host.name',
'service': 'cells',
'zone': 'internal'
},
{
'host_name': 'some.celly.host.name',
'service': 'cells',
'zone': 'internal'
},
{
'host_name': 'console1.host.com',
'service': 'consoleauth',
'zone': 'internal'
},
{
'host_name': 'network1.host.com',
'service': 'network',
'zone': 'internal'
},
{
'host_name': 'netwwork2.host.com',
'service': 'network',
'zone': 'internal'
},
{
'host_name': 'compute1.host.com',
'service': 'compute',
'zone': 'nova'
},
{
'host_name': 'compute2.host.com',
'service': 'compute',
'zone': 'nova'
},
{
'host_name': 'sched1.host.com',
'service': 'scheduler',
'zone': 'internal'
},
{
'host_name': 'sched2.host.com',
'service': 'scheduler',
'zone': 'internal'
},
{
'host_name': 'vol1.host.com',
'service': 'volume'
},
'zone': 'internal']
}
which should be:
{
'hosts': [{
'host_name': 'some.host.name',
'service': 'cells',
'zone': 'internal'
},
{
'host_name': 'some.other.host.name',
'service': 'cells',
'zone': 'internal'
},
{
'host_name': 'some.celly.host.name',
'service': 'cells',
'zone': 'internal'
},
{
'host_name': 'console1.host.com',
'service': 'consoleauth',
'zone': 'internal'
},
{
'host_name': 'network1.host.com',
'service': 'network',
'zone': 'internal'
},
{
'host_name': 'netwwork2.host.com',
'service': 'network',
'zone': 'internal'
},
{
'host_name': 'compute1.host.com',
'service': 'compute',
'zone': 'nova'
},
{
'host_name': 'compute2.host.com',
'service': 'compute',
'zone': 'nova'
},
{
'host_name': 'sched1.host.com',
'service': 'scheduler',
'zone': 'internal'
},
{
'host_name': 'sched2.host.com',
'service': 'scheduler',
'zone': 'internal'
},
{
'host_name': 'vol1.host.com',
'service': 'volume',
'zone': 'internal'
}]
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1407370/+subscriptions
References