← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1738929] [NEW] openstack host show controller failed with http 404

 

Public bug reported:

START with options: [u'host', u'show', u'controller', u'--debug']
options: Namespace(access_key='', access_secret='*', access_token='*',
access_token_endpoint='', access_token_type='', auth_type='',
auth_url='http://controller:35357/v3', cacert=None, cert='',
client_id='', client_secret='*', cloud='', code='', consumer_key='',
consumer_secret='*', debug=True, default_domain='default',
default_domain_id='', default_domain_name='', deferred_help=False,
discovery_endpoint='', domain_id='', domain_name='', endpoint='',
identity_provider='', identity_provider_url='', insecure=None,
interface='', key='', log_file=None, openid_scope='',
os_beta_command=False, os_compute_api_version='',
os_dns_api_version='2', os_identity_api_version='3',
os_image_api_version='2', os_key_manager_api_version='1',
os_network_api_version='', os_object_api_version='', os_project_id=None,
os_project_name=None, os_volume_api_version='', passcode='',
password='*', profile='', project_domain_id='',
project_domain_name='Default', project_id='', project_name='admin',
protocol='', redirect_uri='', region_name='',
service_provider_endpoint='', service_provider_entity_id='',
timing=False, token='*', trust_id='', url='', user_domain_id='',
user_domain_name='Default', user_id='', username='admin',
verbose_level=3, verify=None) Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False,
u'compute_api_version': u'2', 'key': None, u'database_api_version':
u'1.0', u'metering_api_version': u'2', 'auth_url':
'http://controller:35357/v3', u'network_api_version': u'2', u'message':
u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version':
'2', 'verify': True, u'dns_api_version': '2',
u'object_store_api_version': u'1', 'username': 'admin',
u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name':
'', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth':
{'user_domain_name': 'Default', 'project_name': 'admin',
'project_domain_name': 'Default'}, 'default_domain': 'default',
u'container_api_version': u'1', u'image_api_use_tasks': False,
u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1',
'timing': False, 'password': '*', u'application_catalog_api_version':
u'1', 'cacert': None, u'key_manager_api_version': '1',
u'workflow_api_version': u'2', 'deferred_help': False,
u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None,
u'secgroup_source': u'neutron', u'status': u'active', 'debug': True,
u'interface': None, u'disable_vendor_agent': {}} defaults:
{u'auth_type': 'password', u'status': u'active', u'compute_api_version':
u'2', 'key': None, u'database_api_version': u'1.0', 'api_timeout': None,
u'baremetal_api_version': u'1', u'image_api_version': u'2',
u'container_infra_api_version': u'1', u'metering_api_version': u'2',
u'image_api_use_tasks': False, u'floating_ip_source': u'neutron',
u'orchestration_api_version': u'1', 'cacert': None,
u'network_api_version': u'2', u'message': u'', u'image_format':
u'qcow2', u'application_catalog_api_version': u'1',
u'key_manager_api_version': u'v1', u'workflow_api_version': u'2',
'verify': True, u'identity_api_version': u'2.0', u'volume_api_version':
u'2', 'cert': None, u'secgroup_source': u'neutron',
u'container_api_version': u'1', u'dns_api_version': u'2',
u'object_store_api_version': u'1', u'interface': None,
u'disable_vendor_agent': {}} cloud cfg: {'auth_type': 'password',
'beta_command': False, u'compute_api_version': u'2', 'key': None,
u'database_api_version': u'1.0', u'metering_api_version': u'2',
'auth_url': 'http://controller:35357/v3', u'network_api_version': u'2',
u'message': u'', u'image_format': u'qcow2', 'networks': [],
u'image_api_version': '2', 'verify': True, u'dns_api_version': '2',
u'object_store_api_version': u'1', 'username': 'admin',
u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name':
'', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth':
{'user_domain_name': 'Default', 'project_name': 'admin',
'project_domain_name': 'Default'}, 'default_domain': 'default',
u'container_api_version': u'1', u'image_api_use_tasks': False,
u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1',
'timing': False, 'password': '*', u'application_catalog_api_version':
u'1', 'cacert': None, u'key_manager_api_version': '1',
u'workflow_api_version': u'2', 'deferred_help': False,
u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None,
u'secgroup_source': u'neutron', u'status': u'active', 'debug': True,
u'interface': None, u'disable_vendor_agent': {}} compute API version 2,
cmd group openstack.compute.v2 network API version 2, cmd group
openstack.network.v2 image API version 2, cmd group openstack.image.v2
volume API version 2, cmd group openstack.volume.v2 identity API version
3, cmd group openstack.identity.v3 object_store API version 1, cmd group
openstack.object_store.v1 neutronclient API version 2, cmd group
openstack.neutronclient.v2 dns API version 2, cmd group openstack.dns.v2
key_manager API version 1, cmd group openstack.key_manager.v1 Auth
plugin password selected auth_config_hook(): {'auth_type': 'password',
'beta_command': False, u'compute_api_version': u'2', 'key': None,
u'database_api_version': u'1.0', u'metering_api_version': u'2',
'auth_url': 'http://controller:35357/v3', u'network_api_version': u'2',
u'message': u'', u'image_format': u'qcow2', 'networks': [],
u'image_api_version': '2', 'verify': True, u'dns_api_version': '2',
u'object_store_api_version': u'1', 'username': 'admin',
u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name':
'', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth':
{'user_domain_name': 'Default', 'project_name': 'admin',
'project_domain_name': 'Default'}, 'default_domain': 'default',
u'container_api_version': u'1', u'image_api_use_tasks': False,
u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1',
'timing': False, 'password': '*', u'application_catalog_api_version':
u'1', 'cacert': None, u'key_manager_api_version': '1',
u'workflow_api_version': u'2', 'deferred_help': False,
u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None,
u'secgroup_source': u'neutron', u'status': u'active', 'debug': True,
u'interface': None, u'disable_vendor_agent': {}} Auth plugin password
selected auth_config_hook(): {'auth_type': 'password', 'beta_command':
False, u'compute_api_version': u'2', 'key': None,
u'database_api_version': u'1.0', u'metering_api_version': u'2',
'auth_url': 'http://controller:35357/v3', u'network_api_version': u'2',
u'message': u'', u'image_format': u'qcow2', 'networks': [],
u'image_api_version': '2', 'verify': True, u'dns_api_version': '2',
u'object_store_api_version': u'1', 'username': 'admin',
u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name':
'', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth':
{'user_domain_name': 'Default', 'project_name': 'admin',
'project_domain_name': 'Default'}, 'default_domain': 'default',
u'container_api_version': u'1', u'image_api_use_tasks': False,
u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1',
'timing': False, 'password': '*', u'application_catalog_api_version':
u'1', 'cacert': None, u'key_manager_api_version': '1',
u'workflow_api_version': u'2', 'deferred_help': False,
u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None,
u'secgroup_source': u'neutron', u'status': u'active', 'debug': True,
u'interface': None, u'disable_vendor_agent': {}} command: host show ->
openstackclient.compute.v2.host.ShowHost (auth=True) Auth plugin
password selected auth_config_hook(): {'auth_type': 'password',
'beta_command': False, u'compute_api_version': u'2', 'key': None,
u'database_api_version': u'1.0', u'metering_api_version': u'2',
'auth_url': 'http://controller:35357/v3', u'network_api_version': u'2',
u'message': u'', u'image_format': u'qcow2', 'networks': [],
u'image_api_version': '2', 'verify': True, u'dns_api_version': '2',
u'object_store_api_version': u'1', 'username': 'admin',
u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name':
'', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth':
{'user_domain_name': 'Default', 'project_name': 'admin',
'project_domain_name': 'Default'}, 'default_domain': 'default',
u'container_api_version': u'1', u'image_api_use_tasks': False,
u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1',
'timing': False, 'password': '*', u'application_catalog_api_version':
u'1', 'cacert': None, u'key_manager_api_version': '1',
u'workflow_api_version': u'2', 'deferred_help': False,
u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None,
u'secgroup_source': u'neutron', u'status': u'active', 'debug': True,
u'interface': None, u'disable_vendor_agent': {}} Using auth plugin:
password Using parameters {'username': 'admin', 'project_name': 'admin',
'user_domain_name': 'Default', 'auth_url': 'http://controller:35357/v3',
'password': '*', 'project_domain_name': 'Default'} Get auth_ref REQ:
curl -g -i -X GET http://controller:35357/v3 -H "Accept:
application/json" -H "User-Agent: osc-lib/1.7.0 keystoneauth1/3.1.0
python-requests/2.14.2 CPython/2.7.5" Starting new HTTP connection (1):
controller http://controller:35357 "GET /v3 HTTP/1.1" 200 250 RESP:
[200] Date: Tue, 19 Dec 2017 00:11:58 GMT Server: Apache/2.4.6 (CentOS)
mod_wsgi/3.4 Python/2.7.5 Vary: X-Auth-Token x-openstack-request-id:
req-c5474247-e2f2-4420-b211-93ab09e3dc15 Content-Length: 250 Keep-Alive:
timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json
RESP BODY: {"version": {"status": "stable", "updated":
"2017-02-22T00:00:00Z", "media-types": [{"base": "application/json",
"type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.8",
"links": [{"href": "http://controller:35357/v3/";, "rel": "self"}]}}

GET call to None for http://controller:35357/v3 used request id
req-c5474247-e2f2-4420-b211-93ab09e3dc15 Making authentication request
to http://controller:35357/v3/auth/tokens http://controller:35357 "POST
/v3/auth/tokens HTTP/1.1" 201 5233 {"token": {"is_domain": false,
"methods": ["password"], "roles": [{"id":
"8a08b18b395f46fb9c0f0b8f47291859", "name": "admin"}], "expires_at":
"2017-12-19T01:12:27.000000Z", "project": {"domain": {"id": "default",
"name": "Default"}, "id": "b0551d7fa71e41db92a585af9eebe282", "name":
"admin"}, "catalog": [{"endpoints": [{"url": "http://controller:8778";,
"interface": "internal", "region": "RegionOne", "region_id":
"RegionOne", "id": "657c37b35b374ad5af71938c491d903b"}, {"url":
"http://controller:8778";, "interface": "public", "region": "RegionOne",
"region_id": "RegionOne", "id": "79c18b173b114c9898c2a618376b6c08"},
{"url": "http://controller:8778";, "interface": "admin", "region":
"RegionOne", "region_id": "RegionOne", "id":
"dcdecd5bc5154795b68b3420598fa01e"}], "type": "placement", "id":
"1e7f1a96c432427aa7173b1b663ce79a", "name": "placement"}, {"endpoints":
[{"url": "http://controller:8774/v2.1";, "interface": "internal",
"region": "RegionOne", "region_id": "RegionOne", "id":
"5682c34bf81b41e28e16ac129a7801ee"}, {"url":
"http://controller:8774/v2.1";, "interface": "admin", "region":
"RegionOne", "region_id": "RegionOne", "id":
"60683414e6f54c63a82f13980acabfcf"}, {"url":
"http://controller:8774/v2.1";, "interface": "public", "region":
"RegionOne", "region_id": "RegionOne", "id":
"8d547a8d26934622aa0a255a94798e3c"}], "type": "compute", "id":
"4a340323bcad432089fd8254f53d5d96", "name": "nova"}, {"endpoints":
[{"url":
"http://controller:8080/v1/AUTH_b0551d7fa71e41db92a585af9eebe282";,
"interface": "internal", "region": "RegionOne", "region_id":
"RegionOne", "id": "96f673b80b5549ce9d3d852132b7a3e0"}, {"url":
"http://controller:8080/v1";, "interface": "admin", "region":
"RegionOne", "region_id": "RegionOne", "id":
"9e88868495e54251a94236b461b765b6"}, {"url":
"http://controller:8080/v1/AUTH_b0551d7fa71e41db92a585af9eebe282";,
"interface": "public", "region": "RegionOne", "region_id": "RegionOne",
"id": "eb3e81a522ef4b309a7c32ef03bc3032"}], "type": "object-store",
"id": "4c40eca5c4d24d6bbe3b0d964cedb867", "name": "swift"},
{"endpoints": [{"url": "http://controller:9696";, "interface": "admin",
"region": "RegionOne", "region_id": "RegionOne", "id":
"120bf1e40d4b4638af3b7ef93ff63031"}, {"url": "http://controller:9696";,
"interface": "public", "region": "RegionOne", "region_id": "RegionOne",
"id": "74fa6d9e536a4068a24ad1b60628471f"}, {"url":
"http://controller:9696";, "interface": "internal", "region":
"RegionOne", "region_id": "RegionOne", "id":
"7f8b2d29b6b340c197fa6346627a707a"}], "type": "network", "id":
"69220e85af764e258d0975f764add7be", "name": "neutron"}, {"endpoints":
[{"url": "http://controller:8776/v3/b0551d7fa71e41db92a585af9eebe282";,
"interface": "internal", "region": "RegionOne", "region_id":
"RegionOne", "id": "25a08607e1eb4120a60e5f6b1ce61582"}, {"url":
"http://controller:8776/v3/b0551d7fa71e41db92a585af9eebe282";,
"interface": "public", "region": "RegionOne", "region_id": "RegionOne",
"id": "3daea0b9b5a4445ca2dcb84ec23940bf"}, {"url":
"http://controller:8776/v3/b0551d7fa71e41db92a585af9eebe282";,
"interface": "admin", "region": "RegionOne", "region_id": "RegionOne",
"id": "f1fb47dff95e463b9dea29d32db46c85"}], "type": "volumev3", "id":
"8ca1a163feb34949ac7c8fc7424fcff2", "name": "cinderv3"}, {"endpoints":
[{"url": "http://controller:35357/v3/";, "interface": "admin", "region":
"RegionOne", "region_id": "RegionOne", "id":
"2239cf5af1bd42f28444a7539a2a69d2"}, {"url":
"http://controller:5000/v3/";, "interface": "internal", "region":
"RegionOne", "region_id": "RegionOne", "id":
"3f0eeb2dc79f4b5aa35619a269d6f39d"}, {"url":
"http://controller:5000/v3/";, "interface": "public", "region":
"RegionOne", "region_id": "RegionOne", "id":
"d5cb044fa6d644d5bac0ca448e63ebfc"}], "type": "identity", "id":
"94bdc85fb1a24362981fe4bc8012e7f5", "name": "keystone"}, {"endpoints":
[{"url": "http://controller:9292";, "interface": "internal", "region":
"RegionOne", "region_id": "RegionOne", "id":
"34ca55d4c86649a4bbcd8d390c951369"}, {"url": "http://controller:9292";,
"interface": "public", "region": "RegionOne", "region_id": "RegionOne",
"id": "4c1ff6d107ba47d4993d9642b66155aa"}, {"url":
"http://controller:9292";, "interface": "admin", "region": "RegionOne",
"region_id": "RegionOne", "id": "d6fbdb2b394e4a77be076d1a1f5d1c18"}],
"type": "image", "id": "a1fb5395691c4808a765e8ecdb56c466", "name":
"glance"}, {"endpoints": [{"url":
"http://controller:8776/v2/b0551d7fa71e41db92a585af9eebe282";,
"interface": "internal", "region": "RegionOne", "region_id":
"RegionOne", "id": "4db8b2a4545d42bebd93157ac2e9648a"}, {"url":
"http://controller:8776/v2/b0551d7fa71e41db92a585af9eebe282";,
"interface": "public", "region": "RegionOne", "region_id": "RegionOne",
"id": "fa2eada1623549408005d1de4f4292a8"}, {"url":
"http://controller:8776/v2/b0551d7fa71e41db92a585af9eebe282";,
"interface": "admin", "region": "RegionOne", "region_id": "RegionOne",
"id": "fe0b206d670142a9a25221257b6eec75"}], "type": "volumev2", "id":
"cd77fe72f81241dfb4b0ef8209d703b6", "name": "cinderv2"}], "user":
{"domain": {"id": "default", "name": "Default"}, "password_expires_at":
null, "name": "admin", "id": "688196efccca4428bb5f745b7cc12c79"},
"audit_ids": ["fw7hwTNFQ7WwdShTal92-w"], "issued_at":
"2017-12-19T00:12:27.000000Z"}} run(Namespace(columns=[],
fit_width=False, formatter='table', host=u'controller', max_width=0,
noindent=False, print_empty=False, quote_mode='nonnumeric'))
Instantiating compute client for API Version Major: 2, Minor: 0
Instantiating compute api: Making authentication request to
http://controller:35357/v3/auth/tokens http://controller:35357 "POST
/v3/auth/tokens HTTP/1.1" 201 5233 {"token": {"is_domain": false,
"methods": ["password"], "roles": [{"id":
"8a08b18b395f46fb9c0f0b8f47291859", "name": "admin"}], "expires_at":
"2017-12-19T01:12:30.000000Z", "project": {"domain": {"id": "default",
"name": "Default"}, "id": "b0551d7fa71e41db92a585af9eebe282", "name":
"admin"}, "catalog": [{"endpoints": [{"url": "http://controller:8778";,
"interface": "internal", "region": "RegionOne", "region_id":
"RegionOne", "id": "657c37b35b374ad5af71938c491d903b"}, {"url":
"http://controller:8778";, "interface": "public", "region": "RegionOne",
"region_id": "RegionOne", "id": "79c18b173b114c9898c2a618376b6c08"},
{"url": "http://controller:8778";, "interface": "admin", "region":
"RegionOne", "region_id": "RegionOne", "id":
"dcdecd5bc5154795b68b3420598fa01e"}], "type": "placement", "id":
"1e7f1a96c432427aa7173b1b663ce79a", "name": "placement"}, {"endpoints":
[{"url": "http://controller:8774/v2.1";, "interface": "internal",
"region": "RegionOne", "region_id": "RegionOne", "id":
"5682c34bf81b41e28e16ac129a7801ee"}, {"url":
"http://controller:8774/v2.1";, "interface": "admin", "region":
"RegionOne", "region_id": "RegionOne", "id":
"60683414e6f54c63a82f13980acabfcf"}, {"url":
"http://controller:8774/v2.1";, "interface": "public", "region":
"RegionOne", "region_id": "RegionOne", "id":
"8d547a8d26934622aa0a255a94798e3c"}], "type": "compute", "id":
"4a340323bcad432089fd8254f53d5d96", "name": "nova"}, {"endpoints":
[{"url":
"http://controller:8080/v1/AUTH_b0551d7fa71e41db92a585af9eebe282";,
"interface": "internal", "region": "RegionOne", "region_id":
"RegionOne", "id": "96f673b80b5549ce9d3d852132b7a3e0"}, {"url":
"http://controller:8080/v1";, "interface": "admin", "region":
"RegionOne", "region_id": "RegionOne", "id":
"9e88868495e54251a94236b461b765b6"}, {"url":
"http://controller:8080/v1/AUTH_b0551d7fa71e41db92a585af9eebe282";,
"interface": "public", "region": "RegionOne", "region_id": "RegionOne",
"id": "eb3e81a522ef4b309a7c32ef03bc3032"}], "type": "object-store",
"id": "4c40eca5c4d24d6bbe3b0d964cedb867", "name": "swift"},
{"endpoints": [{"url": "http://controller:9696";, "interface": "admin",
"region": "RegionOne", "region_id": "RegionOne", "id":
"120bf1e40d4b4638af3b7ef93ff63031"}, {"url": "http://controller:9696";,
"interface": "public", "region": "RegionOne", "region_id": "RegionOne",
"id": "74fa6d9e536a4068a24ad1b60628471f"}, {"url":
"http://controller:9696";, "interface": "internal", "region":
"RegionOne", "region_id": "RegionOne", "id":
"7f8b2d29b6b340c197fa6346627a707a"}], "type": "network", "id":
"69220e85af764e258d0975f764add7be", "name": "neutron"}, {"endpoints":
[{"url": "http://controller:8776/v3/b0551d7fa71e41db92a585af9eebe282";,
"interface": "internal", "region": "RegionOne", "region_id":
"RegionOne", "id": "25a08607e1eb4120a60e5f6b1ce61582"}, {"url":
"http://controller:8776/v3/b0551d7fa71e41db92a585af9eebe282";,
"interface": "public", "region": "RegionOne", "region_id": "RegionOne",
"id": "3daea0b9b5a4445ca2dcb84ec23940bf"}, {"url":
"http://controller:8776/v3/b0551d7fa71e41db92a585af9eebe282";,
"interface": "admin", "region": "RegionOne", "region_id": "RegionOne",
"id": "f1fb47dff95e463b9dea29d32db46c85"}], "type": "volumev3", "id":
"8ca1a163feb34949ac7c8fc7424fcff2", "name": "cinderv3"}, {"endpoints":
[{"url": "http://controller:35357/v3/";, "interface": "admin", "region":
"RegionOne", "region_id": "RegionOne", "id":
"2239cf5af1bd42f28444a7539a2a69d2"}, {"url":
"http://controller:5000/v3/";, "interface": "internal", "region":
"RegionOne", "region_id": "RegionOne", "id":
"3f0eeb2dc79f4b5aa35619a269d6f39d"}, {"url":
"http://controller:5000/v3/";, "interface": "public", "region":
"RegionOne", "region_id": "RegionOne", "id":
"d5cb044fa6d644d5bac0ca448e63ebfc"}], "type": "identity", "id":
"94bdc85fb1a24362981fe4bc8012e7f5", "name": "keystone"}, {"endpoints":
[{"url": "http://controller:9292";, "interface": "internal", "region":
"RegionOne", "region_id": "RegionOne", "id":
"34ca55d4c86649a4bbcd8d390c951369"}, {"url": "http://controller:9292";,
"interface": "public", "region": "RegionOne", "region_id": "RegionOne",
"id": "4c1ff6d107ba47d4993d9642b66155aa"}, {"url":
"http://controller:9292";, "interface": "admin", "region": "RegionOne",
"region_id": "RegionOne", "id": "d6fbdb2b394e4a77be076d1a1f5d1c18"}],
"type": "image", "id": "a1fb5395691c4808a765e8ecdb56c466", "name":
"glance"}, {"endpoints": [{"url":
"http://controller:8776/v2/b0551d7fa71e41db92a585af9eebe282";,
"interface": "internal", "region": "RegionOne", "region_id":
"RegionOne", "id": "4db8b2a4545d42bebd93157ac2e9648a"}, {"url":
"http://controller:8776/v2/b0551d7fa71e41db92a585af9eebe282";,
"interface": "public", "region": "RegionOne", "region_id": "RegionOne",
"id": "fa2eada1623549408005d1de4f4292a8"}, {"url":
"http://controller:8776/v2/b0551d7fa71e41db92a585af9eebe282";,
"interface": "admin", "region": "RegionOne", "region_id": "RegionOne",
"id": "fe0b206d670142a9a25221257b6eec75"}], "type": "volumev2", "id":
"cd77fe72f81241dfb4b0ef8209d703b6", "name": "cinderv2"}], "user":
{"domain": {"id": "default", "name": "Default"}, "password_expires_at":
null, "name": "admin", "id": "688196efccca4428bb5f745b7cc12c79"},
"audit_ids": ["JWyu-NF_TOuyRVMht-kLOA"], "issued_at":
"2017-12-19T00:12:30.000000Z"}} REQ: curl -g -i -X GET
http://controller:8774/v2.1/os-hosts/controller -H "User-Agent: python-
novaclient" -H "Accept: application/json" -H "X-Auth-Token:
{SHA1}#################" Starting new HTTP connection (1): controller
http://controller:8774 "GET /v2.1/os-hosts/controller HTTP/1.1" 404 125
RESP: [404] Openstack-Api-Version: compute 2.1 X-Openstack-Nova-Api-
Version: 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version
Content-Type: application/json; charset=UTF-8 Content-Length: 125 X
-Openstack-Request-Id: req-517cfd0d-fcc2-418d-8c13-d0e669cb856b X
-Compute-Request-Id: req-517cfd0d-fcc2-418d-8c13-d0e669cb856b Date: Tue,
19 Dec 2017 00:14:45 GMT Connection: keep-alive RESP BODY:
{"itemNotFound": {"message": "\u4e3b\u673a
'controller'\u6ca1\u6709\u6620\u5c04\u5230\u4efb\u4f55\u5355\u5143",
"code": 404}}

GET call to compute for http://controller:8774/v2.1/os-hosts/controller
used request id req-517cfd0d-fcc2-418d-8c13-d0e669cb856b 'controller'
(HTTP 404) (Request-ID: req-517cfd0d-fcc2-418d-8c13-d0e669cb856b)
Traceback (most recent call last): File "/usr/lib/python2.7/site-
packages/cliff/app.py", line 400, in run_subcommand result =
cmd.run(parsed_args) File "/usr/lib/python2.7/site-
packages/osc_lib/command/command.py", line 41, in run return
super(Command, self).run(parsed_args) File "/usr/lib/python2.7/site-
packages/cliff/display.py", line 113, in run column_names, data =
self.take_action(parsed_args) File "/usr/lib/python2.7/site-
packages/openstackclient/compute/v2/host.py", line 131, in take_action
data = compute_client.hosts.get(parsed_args.host) File
"/usr/lib/python2.7/site-packages/novaclient/api_versions.py", line 393,
in substitution return methods[-1].func(obj, *args, **kwargs) File
"/usr/lib/python2.7/site-packages/novaclient/v2/hosts.py", line 82, in
get return self._list("/os-hosts/%s" % host, "host") File
"/usr/lib/python2.7/site-packages/novaclient/base.py", line 254, in
_list resp, body = self.api.client.get(url) File "/usr/lib/python2.7
/site-packages/keystoneauth1/adapter.py", line 288, in get return
self.request(url, 'GET', **kwargs) File "/usr/lib/python2.7/site-
packages/novaclient/client.py", line 83, in request raise
exceptions.from_response(resp, body, url, method) NotFound: \u4e3b\u673a
'controller'\u6ca1\u6709\u6620\u5c04\u5230\u4efb\u4f55\u5355\u5143 (HTTP
404) (Request-ID: req-517cfd0d-fcc2-418d-8c13-d0e669cb856b) clean_up
ShowHost:  'controller' (HTTP 404) (Request-ID: req-517cfd0d-fcc2-418d-
8c13-d0e669cb856b) Traceback (most recent call last): File
"/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 134, in run
ret_val = super(OpenStackShell, self).run(argv) File "/usr/lib/python2.7
/site-packages/cliff/app.py", line 279, in run result =
self.run_subcommand(remainder) File "/usr/lib/python2.7/site-
packages/osc_lib/shell.py", line 169, in run_subcommand ret_value =
super(OpenStackShell, self).run_subcommand(argv) File
"/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in
run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7
/site-packages/osc_lib/command/command.py", line 41, in run return
super(Command, self).run(parsed_args) File "/usr/lib/python2.7/site-
packages/cliff/display.py", line 113, in run column_names, data =
self.take_action(parsed_args) File "/usr/lib/python2.7/site-
packages/openstackclient/compute/v2/host.py", line 131, in take_action
data = compute_client.hosts.get(parsed_args.host) File
"/usr/lib/python2.7/site-packages/novaclient/api_versions.py", line 393,
in substitution return methods[-1].func(obj, *args, **kwargs) File
"/usr/lib/python2.7/site-packages/novaclient/v2/hosts.py", line 82, in
get return self._list("/os-hosts/%s" % host, "host") File
"/usr/lib/python2.7/site-packages/novaclient/base.py", line 254, in
_list resp, body = self.api.client.get(url) File "/usr/lib/python2.7
/site-packages/keystoneauth1/adapter.py", line 288, in get return
self.request(url, 'GET', **kwargs) File "/usr/lib/python2.7/site-
packages/novaclient/client.py", line 83, in request raise
exceptions.from_response(resp, body, url, method) NotFound: \u4e3b\u673a
'controller'\u6ca1\u6709\u6620\u5c04\u5230\u4efb\u4f55\u5355\u5143 (HTTP
404) (Request-ID: req-517cfd0d-fcc2-418d-8c13-d0e669cb856b)

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  openstack host show controller failed with http 404

Status in OpenStack Compute (nova):
  New

Bug description:
  START with options: [u'host', u'show', u'controller', u'--debug']
  options: Namespace(access_key='', access_secret='*', access_token='*',
  access_token_endpoint='', access_token_type='', auth_type='',
  auth_url='http://controller:35357/v3', cacert=None, cert='',
  client_id='', client_secret='*', cloud='', code='', consumer_key='',
  consumer_secret='*', debug=True, default_domain='default',
  default_domain_id='', default_domain_name='', deferred_help=False,
  discovery_endpoint='', domain_id='', domain_name='', endpoint='',
  identity_provider='', identity_provider_url='', insecure=None,
  interface='', key='', log_file=None, openid_scope='',
  os_beta_command=False, os_compute_api_version='',
  os_dns_api_version='2', os_identity_api_version='3',
  os_image_api_version='2', os_key_manager_api_version='1',
  os_network_api_version='', os_object_api_version='',
  os_project_id=None, os_project_name=None, os_volume_api_version='',
  passcode='', password='*', profile='', project_domain_id='',
  project_domain_name='Default', project_id='', project_name='admin',
  protocol='', redirect_uri='', region_name='',
  service_provider_endpoint='', service_provider_entity_id='',
  timing=False, token='*', trust_id='', url='', user_domain_id='',
  user_domain_name='Default', user_id='', username='admin',
  verbose_level=3, verify=None) Auth plugin password selected
  auth_config_hook(): {'auth_type': 'password', 'beta_command': False,
  u'compute_api_version': u'2', 'key': None, u'database_api_version':
  u'1.0', u'metering_api_version': u'2', 'auth_url':
  'http://controller:35357/v3', u'network_api_version': u'2',
  u'message': u'', u'image_format': u'qcow2', 'networks': [],
  u'image_api_version': '2', 'verify': True, u'dns_api_version': '2',
  u'object_store_api_version': u'1', 'username': 'admin',
  u'container_infra_api_version': u'1', 'verbose_level': 3,
  'region_name': '', 'api_timeout': None, u'baremetal_api_version':
  u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin',
  'project_domain_name': 'Default'}, 'default_domain': 'default',
  u'container_api_version': u'1', u'image_api_use_tasks': False,
  u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1',
  'timing': False, 'password': '*', u'application_catalog_api_version':
  u'1', 'cacert': None, u'key_manager_api_version': '1',
  u'workflow_api_version': u'2', 'deferred_help': False,
  u'identity_api_version': '3', u'volume_api_version': u'2', 'cert':
  None, u'secgroup_source': u'neutron', u'status': u'active', 'debug':
  True, u'interface': None, u'disable_vendor_agent': {}} defaults:
  {u'auth_type': 'password', u'status': u'active',
  u'compute_api_version': u'2', 'key': None, u'database_api_version':
  u'1.0', 'api_timeout': None, u'baremetal_api_version': u'1',
  u'image_api_version': u'2', u'container_infra_api_version': u'1',
  u'metering_api_version': u'2', u'image_api_use_tasks': False,
  u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1',
  'cacert': None, u'network_api_version': u'2', u'message': u'',
  u'image_format': u'qcow2', u'application_catalog_api_version': u'1',
  u'key_manager_api_version': u'v1', u'workflow_api_version': u'2',
  'verify': True, u'identity_api_version': u'2.0',
  u'volume_api_version': u'2', 'cert': None, u'secgroup_source':
  u'neutron', u'container_api_version': u'1', u'dns_api_version': u'2',
  u'object_store_api_version': u'1', u'interface': None,
  u'disable_vendor_agent': {}} cloud cfg: {'auth_type': 'password',
  'beta_command': False, u'compute_api_version': u'2', 'key': None,
  u'database_api_version': u'1.0', u'metering_api_version': u'2',
  'auth_url': 'http://controller:35357/v3', u'network_api_version':
  u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [],
  u'image_api_version': '2', 'verify': True, u'dns_api_version': '2',
  u'object_store_api_version': u'1', 'username': 'admin',
  u'container_infra_api_version': u'1', 'verbose_level': 3,
  'region_name': '', 'api_timeout': None, u'baremetal_api_version':
  u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin',
  'project_domain_name': 'Default'}, 'default_domain': 'default',
  u'container_api_version': u'1', u'image_api_use_tasks': False,
  u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1',
  'timing': False, 'password': '*', u'application_catalog_api_version':
  u'1', 'cacert': None, u'key_manager_api_version': '1',
  u'workflow_api_version': u'2', 'deferred_help': False,
  u'identity_api_version': '3', u'volume_api_version': u'2', 'cert':
  None, u'secgroup_source': u'neutron', u'status': u'active', 'debug':
  True, u'interface': None, u'disable_vendor_agent': {}} compute API
  version 2, cmd group openstack.compute.v2 network API version 2, cmd
  group openstack.network.v2 image API version 2, cmd group
  openstack.image.v2 volume API version 2, cmd group openstack.volume.v2
  identity API version 3, cmd group openstack.identity.v3 object_store
  API version 1, cmd group openstack.object_store.v1 neutronclient API
  version 2, cmd group openstack.neutronclient.v2 dns API version 2, cmd
  group openstack.dns.v2 key_manager API version 1, cmd group
  openstack.key_manager.v1 Auth plugin password selected
  auth_config_hook(): {'auth_type': 'password', 'beta_command': False,
  u'compute_api_version': u'2', 'key': None, u'database_api_version':
  u'1.0', u'metering_api_version': u'2', 'auth_url':
  'http://controller:35357/v3', u'network_api_version': u'2',
  u'message': u'', u'image_format': u'qcow2', 'networks': [],
  u'image_api_version': '2', 'verify': True, u'dns_api_version': '2',
  u'object_store_api_version': u'1', 'username': 'admin',
  u'container_infra_api_version': u'1', 'verbose_level': 3,
  'region_name': '', 'api_timeout': None, u'baremetal_api_version':
  u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin',
  'project_domain_name': 'Default'}, 'default_domain': 'default',
  u'container_api_version': u'1', u'image_api_use_tasks': False,
  u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1',
  'timing': False, 'password': '*', u'application_catalog_api_version':
  u'1', 'cacert': None, u'key_manager_api_version': '1',
  u'workflow_api_version': u'2', 'deferred_help': False,
  u'identity_api_version': '3', u'volume_api_version': u'2', 'cert':
  None, u'secgroup_source': u'neutron', u'status': u'active', 'debug':
  True, u'interface': None, u'disable_vendor_agent': {}} Auth plugin
  password selected auth_config_hook(): {'auth_type': 'password',
  'beta_command': False, u'compute_api_version': u'2', 'key': None,
  u'database_api_version': u'1.0', u'metering_api_version': u'2',
  'auth_url': 'http://controller:35357/v3', u'network_api_version':
  u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [],
  u'image_api_version': '2', 'verify': True, u'dns_api_version': '2',
  u'object_store_api_version': u'1', 'username': 'admin',
  u'container_infra_api_version': u'1', 'verbose_level': 3,
  'region_name': '', 'api_timeout': None, u'baremetal_api_version':
  u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin',
  'project_domain_name': 'Default'}, 'default_domain': 'default',
  u'container_api_version': u'1', u'image_api_use_tasks': False,
  u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1',
  'timing': False, 'password': '*', u'application_catalog_api_version':
  u'1', 'cacert': None, u'key_manager_api_version': '1',
  u'workflow_api_version': u'2', 'deferred_help': False,
  u'identity_api_version': '3', u'volume_api_version': u'2', 'cert':
  None, u'secgroup_source': u'neutron', u'status': u'active', 'debug':
  True, u'interface': None, u'disable_vendor_agent': {}} command: host
  show -> openstackclient.compute.v2.host.ShowHost (auth=True) Auth
  plugin password selected auth_config_hook(): {'auth_type': 'password',
  'beta_command': False, u'compute_api_version': u'2', 'key': None,
  u'database_api_version': u'1.0', u'metering_api_version': u'2',
  'auth_url': 'http://controller:35357/v3', u'network_api_version':
  u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [],
  u'image_api_version': '2', 'verify': True, u'dns_api_version': '2',
  u'object_store_api_version': u'1', 'username': 'admin',
  u'container_infra_api_version': u'1', 'verbose_level': 3,
  'region_name': '', 'api_timeout': None, u'baremetal_api_version':
  u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin',
  'project_domain_name': 'Default'}, 'default_domain': 'default',
  u'container_api_version': u'1', u'image_api_use_tasks': False,
  u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1',
  'timing': False, 'password': '*', u'application_catalog_api_version':
  u'1', 'cacert': None, u'key_manager_api_version': '1',
  u'workflow_api_version': u'2', 'deferred_help': False,
  u'identity_api_version': '3', u'volume_api_version': u'2', 'cert':
  None, u'secgroup_source': u'neutron', u'status': u'active', 'debug':
  True, u'interface': None, u'disable_vendor_agent': {}} Using auth
  plugin: password Using parameters {'username': 'admin',
  'project_name': 'admin', 'user_domain_name': 'Default', 'auth_url':
  'http://controller:35357/v3', 'password': '*', 'project_domain_name':
  'Default'} Get auth_ref REQ: curl -g -i -X GET
  http://controller:35357/v3 -H "Accept: application/json" -H "User-
  Agent: osc-lib/1.7.0 keystoneauth1/3.1.0 python-requests/2.14.2
  CPython/2.7.5" Starting new HTTP connection (1): controller
  http://controller:35357 "GET /v3 HTTP/1.1" 200 250 RESP: [200] Date:
  Tue, 19 Dec 2017 00:11:58 GMT Server: Apache/2.4.6 (CentOS)
  mod_wsgi/3.4 Python/2.7.5 Vary: X-Auth-Token x-openstack-request-id:
  req-c5474247-e2f2-4420-b211-93ab09e3dc15 Content-Length: 250 Keep-
  Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type:
  application/json RESP BODY: {"version": {"status": "stable",
  "updated": "2017-02-22T00:00:00Z", "media-types": [{"base":
  "application/json", "type":
  "application/vnd.openstack.identity-v3+json"}], "id": "v3.8", "links":
  [{"href": "http://controller:35357/v3/";, "rel": "self"}]}}

  GET call to None for http://controller:35357/v3 used request id
  req-c5474247-e2f2-4420-b211-93ab09e3dc15 Making authentication request
  to http://controller:35357/v3/auth/tokens http://controller:35357
  "POST /v3/auth/tokens HTTP/1.1" 201 5233 {"token": {"is_domain":
  false, "methods": ["password"], "roles": [{"id":
  "8a08b18b395f46fb9c0f0b8f47291859", "name": "admin"}], "expires_at":
  "2017-12-19T01:12:27.000000Z", "project": {"domain": {"id": "default",
  "name": "Default"}, "id": "b0551d7fa71e41db92a585af9eebe282", "name":
  "admin"}, "catalog": [{"endpoints": [{"url": "http://controller:8778";,
  "interface": "internal", "region": "RegionOne", "region_id":
  "RegionOne", "id": "657c37b35b374ad5af71938c491d903b"}, {"url":
  "http://controller:8778";, "interface": "public", "region":
  "RegionOne", "region_id": "RegionOne", "id":
  "79c18b173b114c9898c2a618376b6c08"}, {"url": "http://controller:8778";,
  "interface": "admin", "region": "RegionOne", "region_id": "RegionOne",
  "id": "dcdecd5bc5154795b68b3420598fa01e"}], "type": "placement", "id":
  "1e7f1a96c432427aa7173b1b663ce79a", "name": "placement"},
  {"endpoints": [{"url": "http://controller:8774/v2.1";, "interface":
  "internal", "region": "RegionOne", "region_id": "RegionOne", "id":
  "5682c34bf81b41e28e16ac129a7801ee"}, {"url":
  "http://controller:8774/v2.1";, "interface": "admin", "region":
  "RegionOne", "region_id": "RegionOne", "id":
  "60683414e6f54c63a82f13980acabfcf"}, {"url":
  "http://controller:8774/v2.1";, "interface": "public", "region":
  "RegionOne", "region_id": "RegionOne", "id":
  "8d547a8d26934622aa0a255a94798e3c"}], "type": "compute", "id":
  "4a340323bcad432089fd8254f53d5d96", "name": "nova"}, {"endpoints":
  [{"url":
  "http://controller:8080/v1/AUTH_b0551d7fa71e41db92a585af9eebe282";,
  "interface": "internal", "region": "RegionOne", "region_id":
  "RegionOne", "id": "96f673b80b5549ce9d3d852132b7a3e0"}, {"url":
  "http://controller:8080/v1";, "interface": "admin", "region":
  "RegionOne", "region_id": "RegionOne", "id":
  "9e88868495e54251a94236b461b765b6"}, {"url":
  "http://controller:8080/v1/AUTH_b0551d7fa71e41db92a585af9eebe282";,
  "interface": "public", "region": "RegionOne", "region_id":
  "RegionOne", "id": "eb3e81a522ef4b309a7c32ef03bc3032"}], "type":
  "object-store", "id": "4c40eca5c4d24d6bbe3b0d964cedb867", "name":
  "swift"}, {"endpoints": [{"url": "http://controller:9696";,
  "interface": "admin", "region": "RegionOne", "region_id": "RegionOne",
  "id": "120bf1e40d4b4638af3b7ef93ff63031"}, {"url":
  "http://controller:9696";, "interface": "public", "region":
  "RegionOne", "region_id": "RegionOne", "id":
  "74fa6d9e536a4068a24ad1b60628471f"}, {"url": "http://controller:9696";,
  "interface": "internal", "region": "RegionOne", "region_id":
  "RegionOne", "id": "7f8b2d29b6b340c197fa6346627a707a"}], "type":
  "network", "id": "69220e85af764e258d0975f764add7be", "name":
  "neutron"}, {"endpoints": [{"url":
  "http://controller:8776/v3/b0551d7fa71e41db92a585af9eebe282";,
  "interface": "internal", "region": "RegionOne", "region_id":
  "RegionOne", "id": "25a08607e1eb4120a60e5f6b1ce61582"}, {"url":
  "http://controller:8776/v3/b0551d7fa71e41db92a585af9eebe282";,
  "interface": "public", "region": "RegionOne", "region_id":
  "RegionOne", "id": "3daea0b9b5a4445ca2dcb84ec23940bf"}, {"url":
  "http://controller:8776/v3/b0551d7fa71e41db92a585af9eebe282";,
  "interface": "admin", "region": "RegionOne", "region_id": "RegionOne",
  "id": "f1fb47dff95e463b9dea29d32db46c85"}], "type": "volumev3", "id":
  "8ca1a163feb34949ac7c8fc7424fcff2", "name": "cinderv3"}, {"endpoints":
  [{"url": "http://controller:35357/v3/";, "interface": "admin",
  "region": "RegionOne", "region_id": "RegionOne", "id":
  "2239cf5af1bd42f28444a7539a2a69d2"}, {"url":
  "http://controller:5000/v3/";, "interface": "internal", "region":
  "RegionOne", "region_id": "RegionOne", "id":
  "3f0eeb2dc79f4b5aa35619a269d6f39d"}, {"url":
  "http://controller:5000/v3/";, "interface": "public", "region":
  "RegionOne", "region_id": "RegionOne", "id":
  "d5cb044fa6d644d5bac0ca448e63ebfc"}], "type": "identity", "id":
  "94bdc85fb1a24362981fe4bc8012e7f5", "name": "keystone"}, {"endpoints":
  [{"url": "http://controller:9292";, "interface": "internal", "region":
  "RegionOne", "region_id": "RegionOne", "id":
  "34ca55d4c86649a4bbcd8d390c951369"}, {"url": "http://controller:9292";,
  "interface": "public", "region": "RegionOne", "region_id":
  "RegionOne", "id": "4c1ff6d107ba47d4993d9642b66155aa"}, {"url":
  "http://controller:9292";, "interface": "admin", "region": "RegionOne",
  "region_id": "RegionOne", "id": "d6fbdb2b394e4a77be076d1a1f5d1c18"}],
  "type": "image", "id": "a1fb5395691c4808a765e8ecdb56c466", "name":
  "glance"}, {"endpoints": [{"url":
  "http://controller:8776/v2/b0551d7fa71e41db92a585af9eebe282";,
  "interface": "internal", "region": "RegionOne", "region_id":
  "RegionOne", "id": "4db8b2a4545d42bebd93157ac2e9648a"}, {"url":
  "http://controller:8776/v2/b0551d7fa71e41db92a585af9eebe282";,
  "interface": "public", "region": "RegionOne", "region_id":
  "RegionOne", "id": "fa2eada1623549408005d1de4f4292a8"}, {"url":
  "http://controller:8776/v2/b0551d7fa71e41db92a585af9eebe282";,
  "interface": "admin", "region": "RegionOne", "region_id": "RegionOne",
  "id": "fe0b206d670142a9a25221257b6eec75"}], "type": "volumev2", "id":
  "cd77fe72f81241dfb4b0ef8209d703b6", "name": "cinderv2"}], "user":
  {"domain": {"id": "default", "name": "Default"},
  "password_expires_at": null, "name": "admin", "id":
  "688196efccca4428bb5f745b7cc12c79"}, "audit_ids":
  ["fw7hwTNFQ7WwdShTal92-w"], "issued_at":
  "2017-12-19T00:12:27.000000Z"}} run(Namespace(columns=[],
  fit_width=False, formatter='table', host=u'controller', max_width=0,
  noindent=False, print_empty=False, quote_mode='nonnumeric'))
  Instantiating compute client for API Version Major: 2, Minor: 0
  Instantiating compute api: Making authentication request to
  http://controller:35357/v3/auth/tokens http://controller:35357 "POST
  /v3/auth/tokens HTTP/1.1" 201 5233 {"token": {"is_domain": false,
  "methods": ["password"], "roles": [{"id":
  "8a08b18b395f46fb9c0f0b8f47291859", "name": "admin"}], "expires_at":
  "2017-12-19T01:12:30.000000Z", "project": {"domain": {"id": "default",
  "name": "Default"}, "id": "b0551d7fa71e41db92a585af9eebe282", "name":
  "admin"}, "catalog": [{"endpoints": [{"url": "http://controller:8778";,
  "interface": "internal", "region": "RegionOne", "region_id":
  "RegionOne", "id": "657c37b35b374ad5af71938c491d903b"}, {"url":
  "http://controller:8778";, "interface": "public", "region":
  "RegionOne", "region_id": "RegionOne", "id":
  "79c18b173b114c9898c2a618376b6c08"}, {"url": "http://controller:8778";,
  "interface": "admin", "region": "RegionOne", "region_id": "RegionOne",
  "id": "dcdecd5bc5154795b68b3420598fa01e"}], "type": "placement", "id":
  "1e7f1a96c432427aa7173b1b663ce79a", "name": "placement"},
  {"endpoints": [{"url": "http://controller:8774/v2.1";, "interface":
  "internal", "region": "RegionOne", "region_id": "RegionOne", "id":
  "5682c34bf81b41e28e16ac129a7801ee"}, {"url":
  "http://controller:8774/v2.1";, "interface": "admin", "region":
  "RegionOne", "region_id": "RegionOne", "id":
  "60683414e6f54c63a82f13980acabfcf"}, {"url":
  "http://controller:8774/v2.1";, "interface": "public", "region":
  "RegionOne", "region_id": "RegionOne", "id":
  "8d547a8d26934622aa0a255a94798e3c"}], "type": "compute", "id":
  "4a340323bcad432089fd8254f53d5d96", "name": "nova"}, {"endpoints":
  [{"url":
  "http://controller:8080/v1/AUTH_b0551d7fa71e41db92a585af9eebe282";,
  "interface": "internal", "region": "RegionOne", "region_id":
  "RegionOne", "id": "96f673b80b5549ce9d3d852132b7a3e0"}, {"url":
  "http://controller:8080/v1";, "interface": "admin", "region":
  "RegionOne", "region_id": "RegionOne", "id":
  "9e88868495e54251a94236b461b765b6"}, {"url":
  "http://controller:8080/v1/AUTH_b0551d7fa71e41db92a585af9eebe282";,
  "interface": "public", "region": "RegionOne", "region_id":
  "RegionOne", "id": "eb3e81a522ef4b309a7c32ef03bc3032"}], "type":
  "object-store", "id": "4c40eca5c4d24d6bbe3b0d964cedb867", "name":
  "swift"}, {"endpoints": [{"url": "http://controller:9696";,
  "interface": "admin", "region": "RegionOne", "region_id": "RegionOne",
  "id": "120bf1e40d4b4638af3b7ef93ff63031"}, {"url":
  "http://controller:9696";, "interface": "public", "region":
  "RegionOne", "region_id": "RegionOne", "id":
  "74fa6d9e536a4068a24ad1b60628471f"}, {"url": "http://controller:9696";,
  "interface": "internal", "region": "RegionOne", "region_id":
  "RegionOne", "id": "7f8b2d29b6b340c197fa6346627a707a"}], "type":
  "network", "id": "69220e85af764e258d0975f764add7be", "name":
  "neutron"}, {"endpoints": [{"url":
  "http://controller:8776/v3/b0551d7fa71e41db92a585af9eebe282";,
  "interface": "internal", "region": "RegionOne", "region_id":
  "RegionOne", "id": "25a08607e1eb4120a60e5f6b1ce61582"}, {"url":
  "http://controller:8776/v3/b0551d7fa71e41db92a585af9eebe282";,
  "interface": "public", "region": "RegionOne", "region_id":
  "RegionOne", "id": "3daea0b9b5a4445ca2dcb84ec23940bf"}, {"url":
  "http://controller:8776/v3/b0551d7fa71e41db92a585af9eebe282";,
  "interface": "admin", "region": "RegionOne", "region_id": "RegionOne",
  "id": "f1fb47dff95e463b9dea29d32db46c85"}], "type": "volumev3", "id":
  "8ca1a163feb34949ac7c8fc7424fcff2", "name": "cinderv3"}, {"endpoints":
  [{"url": "http://controller:35357/v3/";, "interface": "admin",
  "region": "RegionOne", "region_id": "RegionOne", "id":
  "2239cf5af1bd42f28444a7539a2a69d2"}, {"url":
  "http://controller:5000/v3/";, "interface": "internal", "region":
  "RegionOne", "region_id": "RegionOne", "id":
  "3f0eeb2dc79f4b5aa35619a269d6f39d"}, {"url":
  "http://controller:5000/v3/";, "interface": "public", "region":
  "RegionOne", "region_id": "RegionOne", "id":
  "d5cb044fa6d644d5bac0ca448e63ebfc"}], "type": "identity", "id":
  "94bdc85fb1a24362981fe4bc8012e7f5", "name": "keystone"}, {"endpoints":
  [{"url": "http://controller:9292";, "interface": "internal", "region":
  "RegionOne", "region_id": "RegionOne", "id":
  "34ca55d4c86649a4bbcd8d390c951369"}, {"url": "http://controller:9292";,
  "interface": "public", "region": "RegionOne", "region_id":
  "RegionOne", "id": "4c1ff6d107ba47d4993d9642b66155aa"}, {"url":
  "http://controller:9292";, "interface": "admin", "region": "RegionOne",
  "region_id": "RegionOne", "id": "d6fbdb2b394e4a77be076d1a1f5d1c18"}],
  "type": "image", "id": "a1fb5395691c4808a765e8ecdb56c466", "name":
  "glance"}, {"endpoints": [{"url":
  "http://controller:8776/v2/b0551d7fa71e41db92a585af9eebe282";,
  "interface": "internal", "region": "RegionOne", "region_id":
  "RegionOne", "id": "4db8b2a4545d42bebd93157ac2e9648a"}, {"url":
  "http://controller:8776/v2/b0551d7fa71e41db92a585af9eebe282";,
  "interface": "public", "region": "RegionOne", "region_id":
  "RegionOne", "id": "fa2eada1623549408005d1de4f4292a8"}, {"url":
  "http://controller:8776/v2/b0551d7fa71e41db92a585af9eebe282";,
  "interface": "admin", "region": "RegionOne", "region_id": "RegionOne",
  "id": "fe0b206d670142a9a25221257b6eec75"}], "type": "volumev2", "id":
  "cd77fe72f81241dfb4b0ef8209d703b6", "name": "cinderv2"}], "user":
  {"domain": {"id": "default", "name": "Default"},
  "password_expires_at": null, "name": "admin", "id":
  "688196efccca4428bb5f745b7cc12c79"}, "audit_ids": ["JWyu-NF_TOuyRVMht-
  kLOA"], "issued_at": "2017-12-19T00:12:30.000000Z"}} REQ: curl -g -i
  -X GET http://controller:8774/v2.1/os-hosts/controller -H "User-Agent:
  python-novaclient" -H "Accept: application/json" -H "X-Auth-Token:
  {SHA1}#################" Starting new HTTP connection (1): controller
  http://controller:8774 "GET /v2.1/os-hosts/controller HTTP/1.1" 404
  125 RESP: [404] Openstack-Api-Version: compute 2.1 X-Openstack-Nova-
  Api-Version: 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-
  Version Content-Type: application/json; charset=UTF-8 Content-Length:
  125 X-Openstack-Request-Id: req-517cfd0d-fcc2-418d-8c13-d0e669cb856b X
  -Compute-Request-Id: req-517cfd0d-fcc2-418d-8c13-d0e669cb856b Date:
  Tue, 19 Dec 2017 00:14:45 GMT Connection: keep-alive RESP BODY:
  {"itemNotFound": {"message": "\u4e3b\u673a
  'controller'\u6ca1\u6709\u6620\u5c04\u5230\u4efb\u4f55\u5355\u5143",
  "code": 404}}

  GET call to compute for http://controller:8774/v2.1/os-
  hosts/controller used request id req-517cfd0d-fcc2-418d-
  8c13-d0e669cb856b 'controller' (HTTP 404) (Request-ID: req-517cfd0d-
  fcc2-418d-8c13-d0e669cb856b) Traceback (most recent call last): File
  "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in
  run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7
  /site-packages/osc_lib/command/command.py", line 41, in run return
  super(Command, self).run(parsed_args) File "/usr/lib/python2.7/site-
  packages/cliff/display.py", line 113, in run column_names, data =
  self.take_action(parsed_args) File "/usr/lib/python2.7/site-
  packages/openstackclient/compute/v2/host.py", line 131, in take_action
  data = compute_client.hosts.get(parsed_args.host) File
  "/usr/lib/python2.7/site-packages/novaclient/api_versions.py", line
  393, in substitution return methods[-1].func(obj, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/v2/hosts.py", line
  82, in get return self._list("/os-hosts/%s" % host, "host") File
  "/usr/lib/python2.7/site-packages/novaclient/base.py", line 254, in
  _list resp, body = self.api.client.get(url) File "/usr/lib/python2.7
  /site-packages/keystoneauth1/adapter.py", line 288, in get return
  self.request(url, 'GET', **kwargs) File "/usr/lib/python2.7/site-
  packages/novaclient/client.py", line 83, in request raise
  exceptions.from_response(resp, body, url, method) NotFound:
  \u4e3b\u673a
  'controller'\u6ca1\u6709\u6620\u5c04\u5230\u4efb\u4f55\u5355\u5143
  (HTTP 404) (Request-ID: req-517cfd0d-fcc2-418d-8c13-d0e669cb856b)
  clean_up ShowHost:  'controller' (HTTP 404) (Request-ID: req-517cfd0d-
  fcc2-418d-8c13-d0e669cb856b) Traceback (most recent call last): File
  "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 134, in run
  ret_val = super(OpenStackShell, self).run(argv) File
  "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run
  result = self.run_subcommand(remainder) File "/usr/lib/python2.7/site-
  packages/osc_lib/shell.py", line 169, in run_subcommand ret_value =
  super(OpenStackShell, self).run_subcommand(argv) File
  "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in
  run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7
  /site-packages/osc_lib/command/command.py", line 41, in run return
  super(Command, self).run(parsed_args) File "/usr/lib/python2.7/site-
  packages/cliff/display.py", line 113, in run column_names, data =
  self.take_action(parsed_args) File "/usr/lib/python2.7/site-
  packages/openstackclient/compute/v2/host.py", line 131, in take_action
  data = compute_client.hosts.get(parsed_args.host) File
  "/usr/lib/python2.7/site-packages/novaclient/api_versions.py", line
  393, in substitution return methods[-1].func(obj, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/v2/hosts.py", line
  82, in get return self._list("/os-hosts/%s" % host, "host") File
  "/usr/lib/python2.7/site-packages/novaclient/base.py", line 254, in
  _list resp, body = self.api.client.get(url) File "/usr/lib/python2.7
  /site-packages/keystoneauth1/adapter.py", line 288, in get return
  self.request(url, 'GET', **kwargs) File "/usr/lib/python2.7/site-
  packages/novaclient/client.py", line 83, in request raise
  exceptions.from_response(resp, body, url, method) NotFound:
  \u4e3b\u673a
  'controller'\u6ca1\u6709\u6620\u5c04\u5230\u4efb\u4f55\u5355\u5143
  (HTTP 404) (Request-ID: req-517cfd0d-fcc2-418d-8c13-d0e669cb856b)

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


Follow ups