comment of the host index api is incorrect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Lingxian Kong |
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.
'service': 'cells',
'zone': 'internal'
},
{
'host_name': 'some.celly.
'service': 'cells',
'zone': 'internal'
},
{
'host_name': 'console1.
'service': 'consoleauth',
'zone': 'internal'
},
{
'host_name': 'network1.
'service': 'network',
'zone': 'internal'
},
{
'host_name': 'netwwork2.
'service': 'network',
'zone': 'internal'
},
{
'host_name': 'compute1.
'service': 'compute',
'zone': 'nova'
},
{
'host_name': 'compute2.
'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.
'service': 'cells',
'zone': 'internal'
},
{
'host_name': 'some.celly.
'service': 'cells',
'zone': 'internal'
},
{
'host_name': 'console1.
'service': 'consoleauth',
'zone': 'internal'
},
{
'host_name': 'network1.
'service': 'network',
'zone': 'internal'
},
{
'host_name': 'netwwork2.
'service': 'network',
'zone': 'internal'
},
{
'host_name': 'compute1.
'service': 'compute',
'zone': 'nova'
},
{
'host_name': 'compute2.
'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'
}]
}
Changed in nova: | |
assignee: | nobody → Lingxian Kong (kong) |
Changed in nova: | |
milestone: | none → kilo-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-2 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/144853
Review: https:/