yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #70022
[Bug 1738933] [NEW] openstack server create failed with http 500
Private bug reported:
START with options: [u'server', u'create', u'--flavor', u'1', u'--image', u'cirros', u'--nic', u'net-id=980b72ec-f4d1-48db-b552-4e0b918e2780', u'provider-instance1', 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: server create -> openstackclient.compute.v2.server.CreateServer (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 02:33:53 GMT Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 Vary: X-Auth-Token x-openstack-request-id: req-39ca3d9e-5a8d-4367-a060-9db4bc5e67a4 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-39ca3d9e-5a8d-4367-a060-9db4bc5e67a4
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-19T03:33:55.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": ["iHDX1Y0YRsyarTgHLKQdRQ"], "issued_at": "2017-12-19T02:33:55.000000Z"}}
run(Namespace(availability_zone=None, block_device_mapping={}, columns=[], config_drive=False, file=[], fit_width=False, flavor=u'1', formatter='table', hint=[], image=u'cirros', key_name=None, max=1, max_width=0, min=1, nic=[u'net-id=980b72ec-f4d1-48db-b552-4e0b918e2780'], noindent=False, prefix='', print_empty=False, property=None, security_group=[], server_name=u'provider-instance1', user_data=None, variables=[], volume=None, wait=False))
Instantiating compute client for API Version Major: 2, Minor: 0
Instantiating compute api: <class 'openstackclient.api.compute_v2.APIv2'>
Instantiating volume client: <class 'cinderclient.v2.client.Client'>
Instantiating image client: <class 'glanceclient.v2.client.Client'>
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-19T03:33:57.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": ["j8fRu-YzQymVErDC5oBfPQ"], "issued_at": "2017-12-19T02:33:57.000000Z"}}
Instantiating image api: <class 'openstackclient.api.image_v2.APIv2'>
curl -g -i -X GET -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: {SHA1}07a24609b77ec08d6b65dcd8ded4024331640bab' -H 'Content-Type: application/octet-stream' http://controller:9292/v2/images/cirros
Starting new HTTP connection (1): controller
http://controller:9292 "GET /v2/images/cirros HTTP/1.1" 404 226
GET call to image for http://controller:9292/v2/images/cirros used request id req-c190a992-154f-4522-886b-9573c6f17118
Request returned failure status 404.
curl -g -i -X GET -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: {SHA1}07a24609b77ec08d6b65dcd8ded4024331640bab' -H 'Content-Type: application/octet-stream' http://controller:9292/v2/images?limit=20
http://controller:9292 "GET /v2/images?limit=20 HTTP/1.1" 200 661
GET call to image for http://controller:9292/v2/images?limit=20 used request id req-fe732ea3-3cd2-4430-9921-b5e3687bc4e3
HTTP/1.1 200 OK
Content-Length: 661
Content-Type: application/json
X-Openstack-Request-Id: req-fe732ea3-3cd2-4430-9921-b5e3687bc4e3
Date: Tue, 19 Dec 2017 02:34:00 GMT
Connection: keep-alive
{"images": [{"status": "active", "name": "cirros", "tags": [],
"container_format": "bare", "created_at": "2017-10-27T04:42:56Z",
"size": 13267968, "disk_format": "qcow2", "updated_at":
"2017-11-26T00:34:31Z", "visibility": "shared", "self":
"/v2/images/4ef33669-6355-436b-b1a6-f8c54160069a", "min_disk": 0,
"protected": true, "id": "4ef33669-6355-436b-b1a6-f8c54160069a", "file":
"/v2/images/4ef33669-6355-436b-b1a6-f8c54160069a/file", "checksum":
"f8ab98ff5e73ebab884d80c9dc9c7290", "owner":
"b0551d7fa71e41db92a585af9eebe282", "virtual_size": null, "min_ram": 0,
"schema": "/v2/schemas/image"}], "schema": "/v2/schemas/images",
"first": "/v2/images?limit=20"}
curl -g -i -X GET -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: {SHA1}07a24609b77ec08d6b65dcd8ded4024331640bab' -H 'Content-Type: application/octet-stream' http://controller:9292/v2/schemas/image
http://controller:9292 "GET /v2/schemas/image HTTP/1.1" 200 4799
GET call to image for http://controller:9292/v2/schemas/image used request id req-7c825354-2809-497b-91c4-529685e4c1c6
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 4799
X-Openstack-Request-Id: req-7c825354-2809-497b-91c4-529685e4c1c6
Date: Tue, 19 Dec 2017 02:34:00 GMT
Connection: keep-alive
{"additionalProperties": {"type": "string"}, "name": "image", "links":
[{"href": "{self}", "rel": "self"}, {"href": "{file}", "rel":
"enclosure"}, {"href": "{schema}", "rel": "describedby"}], "properties":
{"status": {"readOnly": true, "enum": ["queued", "saving", "active",
"killed", "deleted", "pending_delete", "deactivated"], "type": "string",
"description": "\u6620\u50cf\u7684\u72b6\u6001"}, "tags": {"items":
{"type": "string", "maxLength": 255}, "type": "array", "description":
"\u4e0e\u6620\u50cf\u76f8\u5173\u7684\u5b57\u7b26\u4e32\u7684\u5217\u8868"},
"kernel_id": {"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-
fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$", "type": ["null",
"string"], "description": "ID of image stored in Glance that should be
used as the kernel when booting an AMI-style image.", "is_base": false},
"container_format": {"enum": [null, "ami", "ari", "aki", "bare", "ovf",
"ova", "docker"], "type": ["null", "string"], "description":
"\u5bb9\u5668\u7684\u683c\u5f0f"}, "min_ram": {"type": "integer",
"description": "\u5f15\u5bfc\u6620\u50cf\u6240\u9700\u7684 ram
\u91cf\uff08\u4ee5 MB \u8ba1\uff09\u3002"}, "ramdisk_id": {"pattern":
"^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-
fA-F]){4}-([0-9a-fA-F]){12}$", "type": ["null", "string"],
"description": "ID of image stored in Glance that should be used as the
ramdisk when booting an AMI-style image.", "is_base": false},
"locations": {"items": {"required": ["url", "metadata"], "type":
"object", "properties": {"url": {"type": "string", "maxLength": 255},
"metadata": {"type": "object"}}}, "type": "array", "description":
"\u7528\u4e8e\u8bbf\u95ee\u5916\u90e8\u5b58\u50a8\u5668\u4e2d\u4fdd\u7559\u7684\u6620\u50cf\u6587\u4ef6\u7684
URL\u96c6\u5408"}, "visibility": {"enum": ["community", "public",
"private", "shared"], "type": "string", "description":
"\u6620\u50cf\u8f85\u52a9\u529f\u80fd\u9009\u9879\u7684\u4f5c\u7528\u57df"},
"updated_at": {"readOnly": true, "type": "string", "description":
"\u6700\u8fd1\u4e00\u6b21\u4fee\u6539\u6620\u50cf\u7684\u65e5\u671f\u548c\u65f6\u95f4"},
"owner": {"type": ["null", "string"], "description":
"\u6620\u50cf\u7684\u6240\u6709\u8005", "maxLength": 255}, "file":
{"readOnly": true, "type": "string", "description":
"\u6620\u50cf\u6587\u4ef6\u7684 URL"}, "min_disk": {"type": "integer",
"description":
"\u5f15\u5bfc\u6620\u50cf\u6240\u9700\u7684\u78c1\u76d8\u7a7a\u95f4\u91cf\uff08\u4ee5
GB \u8ba1\uff09\u3002"}, "virtual_size": {"readOnly": true, "type":
["null", "integer"], "description":
"\u6620\u50cf\u7684\u865a\u62df\u5927\u5c0f\uff0c\u4ee5\u5b57\u8282\u8ba1"},
"id": {"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-
fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$", "type": "string",
"description": "\u6620\u50cf\u7684\u6807\u8bc6"}, "size": {"readOnly":
true, "type": ["null", "integer"], "description":
"\u6620\u50cf\u6587\u4ef6\u7684\u5927\u5c0f\uff0c\u4ee5\u5b57\u8282\u8ba1"},
"instance_uuid": {"type": "string", "description": "Metadata which can
be used to record which instance this image is associated with.
(Informational only, does not create an instance snapshot.)", "is_base":
false}, "os_distro": {"type": "string", "description": "Common name of
operating system distribution as specified in https://docs.openstack.org
/python-glanceclient/latest/cli/property-keys.html", "is_base": false},
"name": {"type": ["null", "string"], "description":
"\u6620\u50cf\u7684\u63cf\u8ff0\u6027\u540d\u79f0", "maxLength": 255},
"checksum": {"readOnly": true, "type": ["null", "string"],
"description": "\u6620\u50cf\u5185\u5bb9\u7684 md5 \u6563\u5217\u3002",
"maxLength": 32}, "created_at": {"readOnly": true, "type": "string",
"description":
"\u6ce8\u518c\u6620\u50cf\u7684\u65e5\u671f\u548c\u65f6\u95f4"},
"disk_format": {"enum": [null, "ami", "ari", "aki", "vhd", "vhdx",
"vmdk", "raw", "qcow2", "vdi", "iso", "ploop"], "type": ["null",
"string"], "description": "\u78c1\u76d8\u683c\u5f0f"}, "os_version":
{"type": "string", "description": "Operating system version as specified
by the distributor", "is_base": false}, "protected": {"type": "boolean",
"description": "\u5982\u679c\u4e3a
true\uff0c\u90a3\u4e48\u6620\u50cf\u5c06\u4e0d\u53ef\u5220\u9664\u3002"},
"architecture": {"type": "string", "description": "Operating system
architecture as specified in https://docs.openstack.org/python-
glanceclient/latest/cli/property-keys.html", "is_base": false},
"direct_url": {"readOnly": true, "type": "string", "description":
"\u7528\u4e8e\u8bbf\u95ee\u5916\u90e8\u5b58\u50a8\u5668\u4e2d\u4fdd\u7559\u7684\u6620\u50cf\u6587\u4ef6\u7684
URL"}, "self": {"readOnly": true, "type": "string", "description":
"\u6620\u50cf\u672c\u8eab\u7684 URL"}, "schema": {"readOnly": true,
"type": "string", "description": "\u6620\u50cf\u6a21\u5f0f\u7684 URL"}}}
REQ: curl -g -i -X GET http://controller:8774/v2.1/flavors/1 -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/flavors/1 HTTP/1.1" 404 109
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: 109 X-Openstack-Request-Id: req-95d17091-fa0d-4a17-9270-1e6d3f7de8b5 X-Compute-Request-Id: req-95d17091-fa0d-4a17-9270-1e6d3f7de8b5 Date: Tue, 19 Dec 2017 02:34:01 GMT Connection: keep-alive
RESP BODY: {"itemNotFound": {"message": "\u4e91\u4e3b\u673a\u7c7b\u578b 1 \u6ca1\u6709\u627e\u5230\u3002", "code": 404}}
GET call to compute for http://controller:8774/v2.1/flavors/1 used request id req-95d17091-fa0d-4a17-9270-1e6d3f7de8b5
REQ: curl -g -i -X GET http://controller:8774/v2.1/flavors/1 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}##########################################"
http://controller:8774 "GET /v2.1/flavors/1 HTTP/1.1" 404 109
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: 109 X-Openstack-Request-Id: req-41fd6406-f4b9-47b3-801d-5551e056e835 X-Compute-Request-Id: req-41fd6406-f4b9-47b3-801d-5551e056e835 Date: Tue, 19 Dec 2017 02:34:01 GMT Connection: keep-alive
RESP BODY: {"itemNotFound": {"message": "\u4e91\u4e3b\u673a\u7c7b\u578b 1 \u6ca1\u6709\u627e\u5230\u3002", "code": 404}}
GET call to compute for http://controller:8774/v2.1/flavors/1 used request id req-41fd6406-f4b9-47b3-801d-5551e056e835
REQ: curl -g -i -X GET http://controller:8774/v2.1/flavors -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}##################################################"
http://controller:8774 "GET /v2.1/flavors HTTP/1.1" 200 571
RESP: [200] Content-Length: 571 Content-Type: application/json Openstack-Api-Version: compute 2.1 X-Openstack-Nova-Api-Version: 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Openstack-Request-Id: req-d9904567-edea-4cf2-b495-bcb25b89e2a4 X-Compute-Request-Id: req-d9904567-edea-4cf2-b495-bcb25b89e2a4 Date: Tue, 19 Dec 2017 02:34:01 GMT Connection: keep-alive
RESP BODY: {"flavors": [{"id": "88534803-76b7-441d-b968-e46ab281ef57", "links": [{"href": "http://controller:8774/v2.1/flavors/88534803-76b7-441d-b968-e46ab281ef57", "rel": "self"}, {"href": "http://controller:8774/flavors/88534803-76b7-441d-b968-e46ab281ef57", "rel": "bookmark"}], "name": "1"}, {"id": "93ae5232-a1db-499c-8072-627dbbf64859", "links": [{"href": "http://controller:8774/v2.1/flavors/93ae5232-a1db-499c-8072-627dbbf64859", "rel": "self"}, {"href": "http://controller:8774/flavors/93ae5232-a1db-499c-8072-627dbbf64859", "rel": "bookmark"}], "name": "m1.extra_tiny"}]}
GET call to compute for http://controller:8774/v2.1/flavors used request id req-d9904567-edea-4cf2-b495-bcb25b89e2a4
REQ: curl -g -i -X GET http://controller:8774/v2.1/flavors/88534803-76b7-441d-b968-e46ab281ef57 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}################################"
http://controller:8774 "GET /v2.1/flavors/88534803-76b7-441d-b968-e46ab281ef57 HTTP/1.1" 200 454
RESP: [200] Content-Length: 454 Content-Type: application/json Openstack-Api-Version: compute 2.1 X-Openstack-Nova-Api-Version: 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Openstack-Request-Id: req-346a5553-6b1f-4506-9487-c60a92f96ab1 X-Compute-Request-Id: req-346a5553-6b1f-4506-9487-c60a92f96ab1 Date: Tue, 19 Dec 2017 02:34:01 GMT Connection: keep-alive
RESP BODY: {"flavor": {"links": [{"href": "http://controller:8774/v2.1/flavors/88534803-76b7-441d-b968-e46ab281ef57", "rel": "self"}, {"href": "http://controller:8774/flavors/88534803-76b7-441d-b968-e46ab281ef57", "rel": "bookmark"}], "ram": 512, "OS-FLV-DISABLED:disabled": false, "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "disk": 40, "id": "88534803-76b7-441d-b968-e46ab281ef57", "name": "1", "vcpus": 4, "swap": "", "OS-FLV-EXT-DATA:ephemeral": 0}}
GET call to compute for http://controller:8774/v2.1/flavors/88534803-76b7-441d-b968-e46ab281ef57 used request id req-346a5553-6b1f-4506-9487-c60a92f96ab1
network endpoint in service catalog
Connection: <openstack.connection.Connection object at 0x32f94d0>
Network client initialized using OpenStack SDK: <openstack.network.v2._proxy.Proxy object at 0x34bc150>
Looking for versions at http://controller:9696
REQ: curl -g -i -X GET http://controller:9696 -H "User-Agent: openstacksdk/0.9.17 keystoneauth1/3.1.0 python-requests/2.14.2 CPython/2.7.5" -H "X-Auth-Token: {SHA1}############################"
Starting new HTTP connection (1): controller
http://controller:9696 "GET / HTTP/1.1" 200 119
RESP: [200] Content-Length: 119 Content-Type: application/json Date: Tue, 19 Dec 2017 02:34:01 GMT Connection: keep-alive
RESP BODY: {"versions": [{"status": "CURRENT", "id": "v2.0", "links": [{"href": "http://controller:9696/v2.0/", "rel": "self"}]}]}
Using http://controller:9696/v2.0 as public network endpoint
REQ: curl -g -i -X GET http://controller:9696/v2.0/networks/980b72ec-f4d1-48db-b552-4e0b918e2780 -H "User-Agent: openstacksdk/0.9.17 keystoneauth1/3.1.0 python-requests/2.14.2 CPython/2.7.5" -H "X-Auth-Token: {SHA1}#####################"
http://controller:9696 "GET /v2.0/networks/980b72ec-f4d1-48db-b552-4e0b918e2780 HTTP/1.1" 200 711
RESP: [200] Content-Type: application/json Content-Length: 711 X-Openstack-Request-Id: req-faa93af3-170f-4754-8e41-243c3f3272fb Date: Tue, 19 Dec 2017 02:34:04 GMT Connection: keep-alive
RESP BODY: {"network":{"provider:physical_network":"provider","ipv6_address_scope":null,"revision_number":4,"port_security_enabled":true,"provider:network_type":"flat","id":"980b72ec-f4d1-48db-b552-4e0b918e2780","router:external":false,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":true,"project_id":"b0551d7fa71e41db92a585af9eebe282","status":"ACTIVE","subnets":["9bf7fa3e-b670-4c7a-9dc4-86a2ed2a6432","ff39f731-e2bc-40fd-9282-ff2695d42066"],"description":"","tags":[],"updated_at":"2017-12-11T11:50:18Z","provider:segmentation_id":null,"name":"provider1","admin_state_up":true,"tenant_id":"b0551d7fa71e41db92a585af9eebe282","created_at":"2017-12-11T11:35:41Z","mtu":1500}}
GET call to network for http://controller:9696/v2.0/networks/980b72ec-f4d1-48db-b552-4e0b918e2780 used request id req-faa93af3-170f-4754-8e41-243c3f3272fb
network endpoint in service catalog
boot_args: [u'provider-instance1', {u'status': u'active', u'tags': [], u'container_format': u'bare', u'min_ram': 0, u'updated_at': u'2017-11-26T00:34:31Z', u'visibility': u'shared', u'owner': u'b0551d7fa71e41db92a585af9eebe282', u'file': u'/v2/images/4ef33669-6355-436b-b1a6-f8c54160069a/file', u'min_disk': 0, u'virtual_size': None, u'id': u'4ef33669-6355-436b-b1a6-f8c54160069a', u'size': 13267968, u'name': u'cirros', u'checksum': u'f8ab98ff5e73ebab884d80c9dc9c7290', u'created_at': u'2017-10-27T04:42:56Z', u'disk_format': u'qcow2', u'protected': True, u'schema': u'/v2/schemas/image'}, <Flavor: 1>]
boot_kwargs: {'files': {}, 'userdata': None, 'key_name': None, 'availability_zone': None, 'nics': [{'port-id': '', 'net-id': u'980b72ec-f4d1-48db-b552-4e0b918e2780', 'v4-fixed-ip': '', 'v6-fixed-ip': ''}], 'max_count': 1, 'meta': None, 'block_device_mapping_v2': [], 'min_count': 1, 'scheduler_hints': {}, 'reservation_id': None, 'security_groups': [], 'config_drive': None}
REQ: curl -g -i -X POST http://controller:8774/v2.1/servers -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}####################" -d '{"server": {"name": "provider-instance1", "imageRef": "4ef33669-6355-436b-b1a6-f8c54160069a", "flavorRef": "88534803-76b7-441d-b968-e46ab281ef57", "max_count": 1, "min_count": 1, "networks": [{"uuid": "980b72ec-f4d1-48db-b552-4e0b918e2780"}]}}'
http://controller:8774 "POST /v2.1/servers HTTP/1.1" 500 337
RESP: [500] 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: 337 X-Openstack-Request-Id: req-d584efe4-3019-4a0b-a027-770349c18867 X-Compute-Request-Id: req-d584efe4-3019-4a0b-a027-770349c18867 Date: Tue, 19 Dec 2017 02:34:12 GMT Connection: keep-alive
RESP BODY: {"computeFault": {"message": "\u53d1\u751f\u610f\u5916 API \u9519\u8bef\u3002\u8bf7\u5728 http://bugs.launchpad.net/nova/ \u5904\u62a5\u544a\u6b64\u9519\u8bef\uff0c\u5e76\u4e14\u9644\u4e0a Nova API \u65e5\u5fd7\uff08\u5982\u679c\u53ef\u80fd\uff09\u3002\n<class 'nova.exception.NeutronAdminCredentialConfigurationInvalid'>", "code": 500}}
POST call to compute for http://controller:8774/v2.1/servers used request id req-d584efe4-3019-4a0b-a027-770349c18867
API 。http://bugs.launchpad.net/nova/ Nova API 。
<class 'nova.exception.NeutronAdminCredentialConfigurationInvalid'> (HTTP 500) (Request-ID: req-d584efe4-3019-4a0b-a027-770349c18867)
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/server.py", line 769, in take_action
server = compute_client.servers.create(*boot_args, **boot_kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1403, in create
**boot_kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 802, in _boot
return_raw=return_raw, **kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 361, in _create
resp, body = self.api.client.post(url, body=body)
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 294, in post
return self.request(url, 'POST', **kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 83, in request
raise exceptions.from_response(resp, body, url, method)
ClientException: \u53d1\u751f\u610f\u5916 API \u9519\u8bef\u3002\u8bf7\u5728 http://bugs.launchpad.net/nova/ \u5904\u62a5\u544a\u6b64\u9519\u8bef\uff0c\u5e76\u4e14\u9644\u4e0a Nova API \u65e5\u5fd7\uff08\u5982\u679c\u53ef\u80fd\uff09\u3002
<class 'nova.exception.NeutronAdminCredentialConfigurationInvalid'> (HTTP 500) (Request-ID: req-d584efe4-3019-4a0b-a027-770349c18867)
clean_up CreateServer: API 。 http://bugs.launchpad.net/nova/ Nova API .
<class 'nova.exception.NeutronAdminCredentialConfigurationInvalid'> (HTTP 500) (Request-ID: req-d584efe4-3019-4a0b-a027-770349c18867)
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/server.py", line 769, in take_action
server = compute_client.servers.create(*boot_args, **boot_kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1403, in create
**boot_kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 802, in _boot
return_raw=return_raw, **kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 361, in _create
resp, body = self.api.client.post(url, body=body)
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 294, in post
return self.request(url, 'POST', **kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 83, in request
raise exceptions.from_response(resp, body, url, method)
ClientException: \u53d1\u751f\u610f\u5916 API \u9519\u8bef\u3002\u8bf7\u5728 http://bugs.launchpad.net/nova/ \u5904\u62a5\u544a\u6b64\u9519\u8bef\uff0c\u5e76\u4e14\u9644\u4e0a Nova API \u65e5\u5fd7\uff08\u5982\u679c\u53ef\u80fd\uff09\u3002
<class 'nova.exception.NeutronAdminCredentialConfigurationInvalid'> (HTTP 500) (Request-ID: req-d584efe4-3019-4a0b-a027-770349c18867)
END return value: 1
** Affects: nova
Importance: Undecided
Status: New
** Information type changed from Public to Private
--
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/1738933
Title:
openstack server create failed with http 500
Status in OpenStack Compute (nova):
New
Bug description:
START with options: [u'server', u'create', u'--flavor', u'1', u'--image', u'cirros', u'--nic', u'net-id=980b72ec-f4d1-48db-b552-4e0b918e2780', u'provider-instance1', 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: server create -> openstackclient.compute.v2.server.CreateServer (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 02:33:53 GMT Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 Vary: X-Auth-Token x-openstack-request-id: req-39ca3d9e-5a8d-4367-a060-9db4bc5e67a4 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-39ca3d9e-5a8d-4367-a060-9db4bc5e67a4
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-19T03:33:55.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": ["iHDX1Y0YRsyarTgHLKQdRQ"], "issued_at": "2017-12-19T02:33:55.000000Z"}}
run(Namespace(availability_zone=None, block_device_mapping={}, columns=[], config_drive=False, file=[], fit_width=False, flavor=u'1', formatter='table', hint=[], image=u'cirros', key_name=None, max=1, max_width=0, min=1, nic=[u'net-id=980b72ec-f4d1-48db-b552-4e0b918e2780'], noindent=False, prefix='', print_empty=False, property=None, security_group=[], server_name=u'provider-instance1', user_data=None, variables=[], volume=None, wait=False))
Instantiating compute client for API Version Major: 2, Minor: 0
Instantiating compute api: <class 'openstackclient.api.compute_v2.APIv2'>
Instantiating volume client: <class 'cinderclient.v2.client.Client'>
Instantiating image client: <class 'glanceclient.v2.client.Client'>
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-19T03:33:57.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": ["j8fRu-YzQymVErDC5oBfPQ"], "issued_at": "2017-12-19T02:33:57.000000Z"}}
Instantiating image api: <class 'openstackclient.api.image_v2.APIv2'>
curl -g -i -X GET -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: {SHA1}07a24609b77ec08d6b65dcd8ded4024331640bab' -H 'Content-Type: application/octet-stream' http://controller:9292/v2/images/cirros
Starting new HTTP connection (1): controller
http://controller:9292 "GET /v2/images/cirros HTTP/1.1" 404 226
GET call to image for http://controller:9292/v2/images/cirros used request id req-c190a992-154f-4522-886b-9573c6f17118
Request returned failure status 404.
curl -g -i -X GET -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: {SHA1}07a24609b77ec08d6b65dcd8ded4024331640bab' -H 'Content-Type: application/octet-stream' http://controller:9292/v2/images?limit=20
http://controller:9292 "GET /v2/images?limit=20 HTTP/1.1" 200 661
GET call to image for http://controller:9292/v2/images?limit=20 used request id req-fe732ea3-3cd2-4430-9921-b5e3687bc4e3
HTTP/1.1 200 OK
Content-Length: 661
Content-Type: application/json
X-Openstack-Request-Id: req-fe732ea3-3cd2-4430-9921-b5e3687bc4e3
Date: Tue, 19 Dec 2017 02:34:00 GMT
Connection: keep-alive
{"images": [{"status": "active", "name": "cirros", "tags": [],
"container_format": "bare", "created_at": "2017-10-27T04:42:56Z",
"size": 13267968, "disk_format": "qcow2", "updated_at":
"2017-11-26T00:34:31Z", "visibility": "shared", "self":
"/v2/images/4ef33669-6355-436b-b1a6-f8c54160069a", "min_disk": 0,
"protected": true, "id": "4ef33669-6355-436b-b1a6-f8c54160069a",
"file": "/v2/images/4ef33669-6355-436b-b1a6-f8c54160069a/file",
"checksum": "f8ab98ff5e73ebab884d80c9dc9c7290", "owner":
"b0551d7fa71e41db92a585af9eebe282", "virtual_size": null, "min_ram":
0, "schema": "/v2/schemas/image"}], "schema": "/v2/schemas/images",
"first": "/v2/images?limit=20"}
curl -g -i -X GET -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: {SHA1}07a24609b77ec08d6b65dcd8ded4024331640bab' -H 'Content-Type: application/octet-stream' http://controller:9292/v2/schemas/image
http://controller:9292 "GET /v2/schemas/image HTTP/1.1" 200 4799
GET call to image for http://controller:9292/v2/schemas/image used request id req-7c825354-2809-497b-91c4-529685e4c1c6
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 4799
X-Openstack-Request-Id: req-7c825354-2809-497b-91c4-529685e4c1c6
Date: Tue, 19 Dec 2017 02:34:00 GMT
Connection: keep-alive
{"additionalProperties": {"type": "string"}, "name": "image", "links":
[{"href": "{self}", "rel": "self"}, {"href": "{file}", "rel":
"enclosure"}, {"href": "{schema}", "rel": "describedby"}],
"properties": {"status": {"readOnly": true, "enum": ["queued",
"saving", "active", "killed", "deleted", "pending_delete",
"deactivated"], "type": "string", "description":
"\u6620\u50cf\u7684\u72b6\u6001"}, "tags": {"items": {"type":
"string", "maxLength": 255}, "type": "array", "description":
"\u4e0e\u6620\u50cf\u76f8\u5173\u7684\u5b57\u7b26\u4e32\u7684\u5217\u8868"},
"kernel_id": {"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-
fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$", "type": ["null",
"string"], "description": "ID of image stored in Glance that should be
used as the kernel when booting an AMI-style image.", "is_base":
false}, "container_format": {"enum": [null, "ami", "ari", "aki",
"bare", "ovf", "ova", "docker"], "type": ["null", "string"],
"description": "\u5bb9\u5668\u7684\u683c\u5f0f"}, "min_ram": {"type":
"integer", "description": "\u5f15\u5bfc\u6620\u50cf\u6240\u9700\u7684
ram \u91cf\uff08\u4ee5 MB \u8ba1\uff09\u3002"}, "ramdisk_id":
{"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0
-9a-fA-F]){4}-([0-9a-fA-F]){12}$", "type": ["null", "string"],
"description": "ID of image stored in Glance that should be used as
the ramdisk when booting an AMI-style image.", "is_base": false},
"locations": {"items": {"required": ["url", "metadata"], "type":
"object", "properties": {"url": {"type": "string", "maxLength": 255},
"metadata": {"type": "object"}}}, "type": "array", "description":
"\u7528\u4e8e\u8bbf\u95ee\u5916\u90e8\u5b58\u50a8\u5668\u4e2d\u4fdd\u7559\u7684\u6620\u50cf\u6587\u4ef6\u7684
URL\u96c6\u5408"}, "visibility": {"enum": ["community", "public",
"private", "shared"], "type": "string", "description":
"\u6620\u50cf\u8f85\u52a9\u529f\u80fd\u9009\u9879\u7684\u4f5c\u7528\u57df"},
"updated_at": {"readOnly": true, "type": "string", "description":
"\u6700\u8fd1\u4e00\u6b21\u4fee\u6539\u6620\u50cf\u7684\u65e5\u671f\u548c\u65f6\u95f4"},
"owner": {"type": ["null", "string"], "description":
"\u6620\u50cf\u7684\u6240\u6709\u8005", "maxLength": 255}, "file":
{"readOnly": true, "type": "string", "description":
"\u6620\u50cf\u6587\u4ef6\u7684 URL"}, "min_disk": {"type": "integer",
"description":
"\u5f15\u5bfc\u6620\u50cf\u6240\u9700\u7684\u78c1\u76d8\u7a7a\u95f4\u91cf\uff08\u4ee5
GB \u8ba1\uff09\u3002"}, "virtual_size": {"readOnly": true, "type":
["null", "integer"], "description":
"\u6620\u50cf\u7684\u865a\u62df\u5927\u5c0f\uff0c\u4ee5\u5b57\u8282\u8ba1"},
"id": {"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-
fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$", "type": "string",
"description": "\u6620\u50cf\u7684\u6807\u8bc6"}, "size": {"readOnly":
true, "type": ["null", "integer"], "description":
"\u6620\u50cf\u6587\u4ef6\u7684\u5927\u5c0f\uff0c\u4ee5\u5b57\u8282\u8ba1"},
"instance_uuid": {"type": "string", "description": "Metadata which can
be used to record which instance this image is associated with.
(Informational only, does not create an instance snapshot.)",
"is_base": false}, "os_distro": {"type": "string", "description":
"Common name of operating system distribution as specified in
https://docs.openstack.org/python-glanceclient/latest/cli/property-
keys.html", "is_base": false}, "name": {"type": ["null", "string"],
"description": "\u6620\u50cf\u7684\u63cf\u8ff0\u6027\u540d\u79f0",
"maxLength": 255}, "checksum": {"readOnly": true, "type": ["null",
"string"], "description": "\u6620\u50cf\u5185\u5bb9\u7684 md5
\u6563\u5217\u3002", "maxLength": 32}, "created_at": {"readOnly":
true, "type": "string", "description":
"\u6ce8\u518c\u6620\u50cf\u7684\u65e5\u671f\u548c\u65f6\u95f4"},
"disk_format": {"enum": [null, "ami", "ari", "aki", "vhd", "vhdx",
"vmdk", "raw", "qcow2", "vdi", "iso", "ploop"], "type": ["null",
"string"], "description": "\u78c1\u76d8\u683c\u5f0f"}, "os_version":
{"type": "string", "description": "Operating system version as
specified by the distributor", "is_base": false}, "protected":
{"type": "boolean", "description": "\u5982\u679c\u4e3a
true\uff0c\u90a3\u4e48\u6620\u50cf\u5c06\u4e0d\u53ef\u5220\u9664\u3002"},
"architecture": {"type": "string", "description": "Operating system
architecture as specified in https://docs.openstack.org/python-
glanceclient/latest/cli/property-keys.html", "is_base": false},
"direct_url": {"readOnly": true, "type": "string", "description":
"\u7528\u4e8e\u8bbf\u95ee\u5916\u90e8\u5b58\u50a8\u5668\u4e2d\u4fdd\u7559\u7684\u6620\u50cf\u6587\u4ef6\u7684
URL"}, "self": {"readOnly": true, "type": "string", "description":
"\u6620\u50cf\u672c\u8eab\u7684 URL"}, "schema": {"readOnly": true,
"type": "string", "description": "\u6620\u50cf\u6a21\u5f0f\u7684
URL"}}}
REQ: curl -g -i -X GET http://controller:8774/v2.1/flavors/1 -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/flavors/1 HTTP/1.1" 404 109
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: 109 X-Openstack-Request-Id: req-95d17091-fa0d-4a17-9270-1e6d3f7de8b5 X-Compute-Request-Id: req-95d17091-fa0d-4a17-9270-1e6d3f7de8b5 Date: Tue, 19 Dec 2017 02:34:01 GMT Connection: keep-alive
RESP BODY: {"itemNotFound": {"message": "\u4e91\u4e3b\u673a\u7c7b\u578b 1 \u6ca1\u6709\u627e\u5230\u3002", "code": 404}}
GET call to compute for http://controller:8774/v2.1/flavors/1 used request id req-95d17091-fa0d-4a17-9270-1e6d3f7de8b5
REQ: curl -g -i -X GET http://controller:8774/v2.1/flavors/1 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}##########################################"
http://controller:8774 "GET /v2.1/flavors/1 HTTP/1.1" 404 109
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: 109 X-Openstack-Request-Id: req-41fd6406-f4b9-47b3-801d-5551e056e835 X-Compute-Request-Id: req-41fd6406-f4b9-47b3-801d-5551e056e835 Date: Tue, 19 Dec 2017 02:34:01 GMT Connection: keep-alive
RESP BODY: {"itemNotFound": {"message": "\u4e91\u4e3b\u673a\u7c7b\u578b 1 \u6ca1\u6709\u627e\u5230\u3002", "code": 404}}
GET call to compute for http://controller:8774/v2.1/flavors/1 used request id req-41fd6406-f4b9-47b3-801d-5551e056e835
REQ: curl -g -i -X GET http://controller:8774/v2.1/flavors -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}##################################################"
http://controller:8774 "GET /v2.1/flavors HTTP/1.1" 200 571
RESP: [200] Content-Length: 571 Content-Type: application/json Openstack-Api-Version: compute 2.1 X-Openstack-Nova-Api-Version: 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Openstack-Request-Id: req-d9904567-edea-4cf2-b495-bcb25b89e2a4 X-Compute-Request-Id: req-d9904567-edea-4cf2-b495-bcb25b89e2a4 Date: Tue, 19 Dec 2017 02:34:01 GMT Connection: keep-alive
RESP BODY: {"flavors": [{"id": "88534803-76b7-441d-b968-e46ab281ef57", "links": [{"href": "http://controller:8774/v2.1/flavors/88534803-76b7-441d-b968-e46ab281ef57", "rel": "self"}, {"href": "http://controller:8774/flavors/88534803-76b7-441d-b968-e46ab281ef57", "rel": "bookmark"}], "name": "1"}, {"id": "93ae5232-a1db-499c-8072-627dbbf64859", "links": [{"href": "http://controller:8774/v2.1/flavors/93ae5232-a1db-499c-8072-627dbbf64859", "rel": "self"}, {"href": "http://controller:8774/flavors/93ae5232-a1db-499c-8072-627dbbf64859", "rel": "bookmark"}], "name": "m1.extra_tiny"}]}
GET call to compute for http://controller:8774/v2.1/flavors used request id req-d9904567-edea-4cf2-b495-bcb25b89e2a4
REQ: curl -g -i -X GET http://controller:8774/v2.1/flavors/88534803-76b7-441d-b968-e46ab281ef57 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}################################"
http://controller:8774 "GET /v2.1/flavors/88534803-76b7-441d-b968-e46ab281ef57 HTTP/1.1" 200 454
RESP: [200] Content-Length: 454 Content-Type: application/json Openstack-Api-Version: compute 2.1 X-Openstack-Nova-Api-Version: 2.1 Vary: OpenStack-API-Version, X-OpenStack-Nova-API-Version X-Openstack-Request-Id: req-346a5553-6b1f-4506-9487-c60a92f96ab1 X-Compute-Request-Id: req-346a5553-6b1f-4506-9487-c60a92f96ab1 Date: Tue, 19 Dec 2017 02:34:01 GMT Connection: keep-alive
RESP BODY: {"flavor": {"links": [{"href": "http://controller:8774/v2.1/flavors/88534803-76b7-441d-b968-e46ab281ef57", "rel": "self"}, {"href": "http://controller:8774/flavors/88534803-76b7-441d-b968-e46ab281ef57", "rel": "bookmark"}], "ram": 512, "OS-FLV-DISABLED:disabled": false, "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "disk": 40, "id": "88534803-76b7-441d-b968-e46ab281ef57", "name": "1", "vcpus": 4, "swap": "", "OS-FLV-EXT-DATA:ephemeral": 0}}
GET call to compute for http://controller:8774/v2.1/flavors/88534803-76b7-441d-b968-e46ab281ef57 used request id req-346a5553-6b1f-4506-9487-c60a92f96ab1
network endpoint in service catalog
Connection: <openstack.connection.Connection object at 0x32f94d0>
Network client initialized using OpenStack SDK: <openstack.network.v2._proxy.Proxy object at 0x34bc150>
Looking for versions at http://controller:9696
REQ: curl -g -i -X GET http://controller:9696 -H "User-Agent: openstacksdk/0.9.17 keystoneauth1/3.1.0 python-requests/2.14.2 CPython/2.7.5" -H "X-Auth-Token: {SHA1}############################"
Starting new HTTP connection (1): controller
http://controller:9696 "GET / HTTP/1.1" 200 119
RESP: [200] Content-Length: 119 Content-Type: application/json Date: Tue, 19 Dec 2017 02:34:01 GMT Connection: keep-alive
RESP BODY: {"versions": [{"status": "CURRENT", "id": "v2.0", "links": [{"href": "http://controller:9696/v2.0/", "rel": "self"}]}]}
Using http://controller:9696/v2.0 as public network endpoint
REQ: curl -g -i -X GET http://controller:9696/v2.0/networks/980b72ec-f4d1-48db-b552-4e0b918e2780 -H "User-Agent: openstacksdk/0.9.17 keystoneauth1/3.1.0 python-requests/2.14.2 CPython/2.7.5" -H "X-Auth-Token: {SHA1}#####################"
http://controller:9696 "GET /v2.0/networks/980b72ec-f4d1-48db-b552-4e0b918e2780 HTTP/1.1" 200 711
RESP: [200] Content-Type: application/json Content-Length: 711 X-Openstack-Request-Id: req-faa93af3-170f-4754-8e41-243c3f3272fb Date: Tue, 19 Dec 2017 02:34:04 GMT Connection: keep-alive
RESP BODY: {"network":{"provider:physical_network":"provider","ipv6_address_scope":null,"revision_number":4,"port_security_enabled":true,"provider:network_type":"flat","id":"980b72ec-f4d1-48db-b552-4e0b918e2780","router:external":false,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":true,"project_id":"b0551d7fa71e41db92a585af9eebe282","status":"ACTIVE","subnets":["9bf7fa3e-b670-4c7a-9dc4-86a2ed2a6432","ff39f731-e2bc-40fd-9282-ff2695d42066"],"description":"","tags":[],"updated_at":"2017-12-11T11:50:18Z","provider:segmentation_id":null,"name":"provider1","admin_state_up":true,"tenant_id":"b0551d7fa71e41db92a585af9eebe282","created_at":"2017-12-11T11:35:41Z","mtu":1500}}
GET call to network for http://controller:9696/v2.0/networks/980b72ec-f4d1-48db-b552-4e0b918e2780 used request id req-faa93af3-170f-4754-8e41-243c3f3272fb
network endpoint in service catalog
boot_args: [u'provider-instance1', {u'status': u'active', u'tags': [], u'container_format': u'bare', u'min_ram': 0, u'updated_at': u'2017-11-26T00:34:31Z', u'visibility': u'shared', u'owner': u'b0551d7fa71e41db92a585af9eebe282', u'file': u'/v2/images/4ef33669-6355-436b-b1a6-f8c54160069a/file', u'min_disk': 0, u'virtual_size': None, u'id': u'4ef33669-6355-436b-b1a6-f8c54160069a', u'size': 13267968, u'name': u'cirros', u'checksum': u'f8ab98ff5e73ebab884d80c9dc9c7290', u'created_at': u'2017-10-27T04:42:56Z', u'disk_format': u'qcow2', u'protected': True, u'schema': u'/v2/schemas/image'}, <Flavor: 1>]
boot_kwargs: {'files': {}, 'userdata': None, 'key_name': None, 'availability_zone': None, 'nics': [{'port-id': '', 'net-id': u'980b72ec-f4d1-48db-b552-4e0b918e2780', 'v4-fixed-ip': '', 'v6-fixed-ip': ''}], 'max_count': 1, 'meta': None, 'block_device_mapping_v2': [], 'min_count': 1, 'scheduler_hints': {}, 'reservation_id': None, 'security_groups': [], 'config_drive': None}
REQ: curl -g -i -X POST http://controller:8774/v2.1/servers -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}####################" -d '{"server": {"name": "provider-instance1", "imageRef": "4ef33669-6355-436b-b1a6-f8c54160069a", "flavorRef": "88534803-76b7-441d-b968-e46ab281ef57", "max_count": 1, "min_count": 1, "networks": [{"uuid": "980b72ec-f4d1-48db-b552-4e0b918e2780"}]}}'
http://controller:8774 "POST /v2.1/servers HTTP/1.1" 500 337
RESP: [500] 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: 337 X-Openstack-Request-Id: req-d584efe4-3019-4a0b-a027-770349c18867 X-Compute-Request-Id: req-d584efe4-3019-4a0b-a027-770349c18867 Date: Tue, 19 Dec 2017 02:34:12 GMT Connection: keep-alive
RESP BODY: {"computeFault": {"message": "\u53d1\u751f\u610f\u5916 API \u9519\u8bef\u3002\u8bf7\u5728 http://bugs.launchpad.net/nova/ \u5904\u62a5\u544a\u6b64\u9519\u8bef\uff0c\u5e76\u4e14\u9644\u4e0a Nova API \u65e5\u5fd7\uff08\u5982\u679c\u53ef\u80fd\uff09\u3002\n<class 'nova.exception.NeutronAdminCredentialConfigurationInvalid'>", "code": 500}}
POST call to compute for http://controller:8774/v2.1/servers used request id req-d584efe4-3019-4a0b-a027-770349c18867
API 。http://bugs.launchpad.net/nova/ Nova API 。
<class 'nova.exception.NeutronAdminCredentialConfigurationInvalid'> (HTTP 500) (Request-ID: req-d584efe4-3019-4a0b-a027-770349c18867)
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/server.py", line 769, in take_action
server = compute_client.servers.create(*boot_args, **boot_kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1403, in create
**boot_kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 802, in _boot
return_raw=return_raw, **kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 361, in _create
resp, body = self.api.client.post(url, body=body)
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 294, in post
return self.request(url, 'POST', **kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 83, in request
raise exceptions.from_response(resp, body, url, method)
ClientException: \u53d1\u751f\u610f\u5916 API \u9519\u8bef\u3002\u8bf7\u5728 http://bugs.launchpad.net/nova/ \u5904\u62a5\u544a\u6b64\u9519\u8bef\uff0c\u5e76\u4e14\u9644\u4e0a Nova API \u65e5\u5fd7\uff08\u5982\u679c\u53ef\u80fd\uff09\u3002
<class 'nova.exception.NeutronAdminCredentialConfigurationInvalid'> (HTTP 500) (Request-ID: req-d584efe4-3019-4a0b-a027-770349c18867)
clean_up CreateServer: API 。 http://bugs.launchpad.net/nova/ Nova API .
<class 'nova.exception.NeutronAdminCredentialConfigurationInvalid'> (HTTP 500) (Request-ID: req-d584efe4-3019-4a0b-a027-770349c18867)
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/server.py", line 769, in take_action
server = compute_client.servers.create(*boot_args, **boot_kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1403, in create
**boot_kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 802, in _boot
return_raw=return_raw, **kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 361, in _create
resp, body = self.api.client.post(url, body=body)
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 294, in post
return self.request(url, 'POST', **kwargs)
File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 83, in request
raise exceptions.from_response(resp, body, url, method)
ClientException: \u53d1\u751f\u610f\u5916 API \u9519\u8bef\u3002\u8bf7\u5728 http://bugs.launchpad.net/nova/ \u5904\u62a5\u544a\u6b64\u9519\u8bef\uff0c\u5e76\u4e14\u9644\u4e0a Nova API \u65e5\u5fd7\uff08\u5982\u679c\u53ef\u80fd\uff09\u3002
<class 'nova.exception.NeutronAdminCredentialConfigurationInvalid'> (HTTP 500) (Request-ID: req-d584efe4-3019-4a0b-a027-770349c18867)
END return value: 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1738933/+subscriptions
Follow ups