[root@openstack-controller-node1 nova]# openstack server create --flavor ty.tiny --image cirros-0.3.5-x86_64 --nic net-id=06f617c1-009c-4f84-ba66-43d0434d9a18 --security-group a57c5dda-47aa-4e2b-93ee-97cd6feb8364 --key demo-key provider-instance --debug START with options: [u'server', u'create', u'--flavor', u'ty.tiny', u'--image', u'cirros-0.3.5-x86_64', u'--nic', u'net-id=06f617c1-009c-4f84-ba66-43d0434d9a18', u'--security-group', u'a57c5dda-47aa-4e2b-93ee-97cd6feb8364', u'--key', u'demo-key', u'provider-instance', u'--debug'] options: Namespace(access_key='', access_secret='***', access_token='***', access_token_endpoint='', access_token_type='', application_credential_id='', application_credential_name='', application_credential_secret='***', auth_type='', auth_url='http://10.255.255.2: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_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='', remote_project_domain_id='', remote_project_domain_name='', remote_project_id='', remote_project_name='', service_provider='', service_provider_endpoint='', service_provider_entity_id='', system_scope='', 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://10.255.255.2: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': u'v1', 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://10.255.255.2: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': u'v1', 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 dns API version 2, cmd group openstack.dns.v2 neutronclient API version 2, cmd group openstack.neutronclient.v2 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://10.255.255.2: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': u'v1', 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://10.255.255.2: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': u'v1', 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://10.255.255.2: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': u'v1', 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://10.255.255.2:35357/v3', 'password': '***', 'project_domain_name': 'Default'} Get auth_ref REQ: curl -g -i -X GET http://10.255.255.2:35357/v3 -H "Accept: application/json" -H "User-Agent: osc-lib/1.9.0 keystoneauth1/3.4.0 python-requests/2.14.2 CPython/2.7.5" Starting new HTTP connection (1): 10.255.255.2 http://10.255.255.2:35357 "GET /v3 HTTP/1.1" 200 253 RESP: [200] Date: Wed, 12 Sep 2018 10:29:02 GMT Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 Vary: X-Auth-Token x-openstack-request-id: req-074e84fa-5b84-4331-b3a3-7932b3674aa2 Content-Length: 253 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json RESP BODY: {"version": {"status": "stable", "updated": "2018-02-28T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.10", "links": [{"href": "http://10.255.255.2:35357/v3/", "rel": "self"}]}} GET call to None for http://10.255.255.2:35357/v3 used request id req-074e84fa-5b84-4331-b3a3-7932b3674aa2 Making authentication request to http://10.255.255.2:35357/v3/auth/tokens http://10.255.255.2:35357 "POST /v3/auth/tokens HTTP/1.1" 201 3320 {"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "3265caa357634f898304d5723e09d178", "name": "admin"}], "expires_at": "2018-09-12T11:29:03.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "d391303ef44142abae708f99be11b2dd", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://10.255.255.2:8778", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "210533ea179e4b6680cd9810b8ad7e5d"}, {"url": "http://10.255.255.2:8778", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "bde3abf2274645a3946df258694606f8"}, {"url": "http://10.255.255.2:8778", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "c97fb6b49f1e4e6d9574b65a7eac89a1"}], "type": "placement", "id": "72c78d7cb2354a799a9dc4efdbbb9bd1", "name": "placement"}, {"endpoints": [{"url": "http://10.255.255.2:8774/v2.1", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "b8153d74e4f84bd4ade412bb97815059"}, {"url": "http://10.255.255.2:8774/v2.1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "ecb00e06416d4beb9dc808fa35e7ebd6"}, {"url": "http://10.255.255.2:8774/v2.1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "f1aeec963fbf400ab16d7166d446f70c"}], "type": "compute", "id": "adf14afee9d149329f361b601993c329", "name": "nova"}, {"endpoints": [{"url": "http://10.255.255.2:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "059ce0155d7d4502a857d0847d90d0cf"}, {"url": "http://10.255.255.2:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "878c869ec65547a68dce7311b40b6c3f"}, {"url": "http://10.255.255.2:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "cf181fd5d7844458a793949f287b5c4f"}], "type": "image", "id": "b0ec304b7ff04788a2447b4c9199b669", "name": "glance"}, {"endpoints": [{"url": "http://10.255.255.2:9696", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "3c2817cf1bfa4997bac873522c2a2a00"}, {"url": "http://10.255.255.2:9696", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "512b5bdb72c5436f881b216a5a8ed7d5"}, {"url": "http://10.255.255.2:9696", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "51db781cf25842d9b6ad6f97ab05a191"}], "type": "network", "id": "c91a850579924c7da1220acf301da11d", "name": "neutron"}, {"endpoints": [{"url": "http://10.255.255.2:5000/v3/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "4bbd0704837047bc8d6e36eb3acd8673"}, {"url": "http://10.255.255.2:5000/v3/", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "c535b9e6738a48ada9a6d34d00d71f89"}, {"url": "http://10.255.255.2:35357/v3/", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "f2aef7d0308e4dd8bf9549e236e96417"}], "type": "identity", "id": "e46a4d60d23245d9a2b88f2f870b3f40", "name": "keystone"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "admin", "id": "e7dcea3377c1400980af573dd23cd1f9"}, "audit_ids": ["sVyHnu2GTUC1B5qsJ8TJFw"], "issued_at": "2018-09-12T10:29:03.000000Z"}} run(Namespace(availability_zone=None, block_device_mapping={}, columns=[], config_drive=False, file=[], fit_width=False, flavor=u'ty.tiny', formatter='table', hint=[], image=u'cirros-0.3.5-x86_64', key_name=u'demo-key', max=1, max_width=0, min=1, nic=[u'net-id=06f617c1-009c-4f84-ba66-43d0434d9a18'], noindent=False, prefix='', print_empty=False, property=None, security_group=[u'a57c5dda-47aa-4e2b-93ee-97cd6feb8364'], server_name=u'provider-instance', user_data=None, variables=[], volume=None, wait=False)) Instantiating compute client for API Version Major: 2, Minor: 0 Instantiating compute api: Instantiating volume client: Instantiating image client: Making authentication request to http://10.255.255.2:35357/v3/auth/tokens http://10.255.255.2:35357 "POST /v3/auth/tokens HTTP/1.1" 201 3320 {"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "3265caa357634f898304d5723e09d178", "name": "admin"}], "expires_at": "2018-09-12T11:29:03.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "d391303ef44142abae708f99be11b2dd", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://10.255.255.2:8778", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "210533ea179e4b6680cd9810b8ad7e5d"}, {"url": "http://10.255.255.2:8778", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "bde3abf2274645a3946df258694606f8"}, {"url": "http://10.255.255.2:8778", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "c97fb6b49f1e4e6d9574b65a7eac89a1"}], "type": "placement", "id": "72c78d7cb2354a799a9dc4efdbbb9bd1", "name": "placement"}, {"endpoints": [{"url": "http://10.255.255.2:8774/v2.1", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "b8153d74e4f84bd4ade412bb97815059"}, {"url": "http://10.255.255.2:8774/v2.1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "ecb00e06416d4beb9dc808fa35e7ebd6"}, {"url": "http://10.255.255.2:8774/v2.1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "f1aeec963fbf400ab16d7166d446f70c"}], "type": "compute", "id": "adf14afee9d149329f361b601993c329", "name": "nova"}, {"endpoints": [{"url": "http://10.255.255.2:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "059ce0155d7d4502a857d0847d90d0cf"}, {"url": "http://10.255.255.2:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "878c869ec65547a68dce7311b40b6c3f"}, {"url": "http://10.255.255.2:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "cf181fd5d7844458a793949f287b5c4f"}], "type": "image", "id": "b0ec304b7ff04788a2447b4c9199b669", "name": "glance"}, {"endpoints": [{"url": "http://10.255.255.2:9696", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "3c2817cf1bfa4997bac873522c2a2a00"}, {"url": "http://10.255.255.2:9696", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "512b5bdb72c5436f881b216a5a8ed7d5"}, {"url": "http://10.255.255.2:9696", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "51db781cf25842d9b6ad6f97ab05a191"}], "type": "network", "id": "c91a850579924c7da1220acf301da11d", "name": "neutron"}, {"endpoints": [{"url": "http://10.255.255.2:5000/v3/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "4bbd0704837047bc8d6e36eb3acd8673"}, {"url": "http://10.255.255.2:5000/v3/", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "c535b9e6738a48ada9a6d34d00d71f89"}, {"url": "http://10.255.255.2:35357/v3/", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "f2aef7d0308e4dd8bf9549e236e96417"}], "type": "identity", "id": "e46a4d60d23245d9a2b88f2f870b3f40", "name": "keystone"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "admin", "id": "e7dcea3377c1400980af573dd23cd1f9"}, "audit_ids": ["yvCdg7NNRp2aiHcF0t_s8A"], "issued_at": "2018-09-12T10:29:03.000000Z"}} Instantiating image api: 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}5bfc15e300dc1ba941623576566ba80f8a362bd4' -H 'Content-Type: application/octet-stream' http://10.255.255.2:9292/v2/images/cirros-0.3.5-x86_64 Starting new HTTP connection (1): 10.255.255.2 http://10.255.255.2:9292 "GET /v2/images/cirros-0.3.5-x86_64 HTTP/1.1" 404 164 GET call to image for http://10.255.255.2:9292/v2/images/cirros-0.3.5-x86_64 used request id req-1e08db98-67d2-401a-afbf-d462d0b0f1aa 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}5bfc15e300dc1ba941623576566ba80f8a362bd4' -H 'Content-Type: application/octet-stream' http://10.255.255.2:9292/v2/images?limit=20 http://10.255.255.2:9292 "GET /v2/images?limit=20 HTTP/1.1" 200 675 GET call to image for http://10.255.255.2:9292/v2/images?limit=20 used request id req-76783c8d-fea7-41ce-ba48-db684a6ff0d2 HTTP/1.1 200 OK Content-Length: 675 Content-Type: application/json X-Openstack-Request-Id: req-76783c8d-fea7-41ce-ba48-db684a6ff0d2 Date: Wed, 12 Sep 2018 10:29:04 GMT Connection: keep-alive {"images": [{"status": "active", "name": "cirros-0.3.5-x86_64", "tags": [], "container_format": "bare", "created_at": "2018-09-11T03:16:38Z", "size": 13267968, "disk_format": "qcow2", "updated_at": "2018-09-11T03:16:38Z", "visibility": "public", "self": "/v2/images/b137df67-3956-4db6-9433-2fed2ded0f59", "min_disk": 0, "protected": false, "id": "b137df67-3956-4db6-9433-2fed2ded0f59", "file": "/v2/images/b137df67-3956-4db6-9433-2fed2ded0f59/file", "checksum": "f8ab98ff5e73ebab884d80c9dc9c7290", "owner": "d391303ef44142abae708f99be11b2dd", "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}5bfc15e300dc1ba941623576566ba80f8a362bd4' -H 'Content-Type: application/octet-stream' http://10.255.255.2:9292/v2/schemas/image http://10.255.255.2:9292 "GET /v2/schemas/image HTTP/1.1" 200 4183 GET call to image for http://10.255.255.2:9292/v2/schemas/image used request id req-be3f539a-9a0d-4245-9490-4f7a75ca50c3 HTTP/1.1 200 OK Content-Type: application/json Content-Length: 4183 X-Openstack-Request-Id: req-be3f539a-9a0d-4245-9490-4f7a75ca50c3 Date: Wed, 12 Sep 2018 10:29:04 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", "uploading", "importing", "pending_delete", "deactivated"], "type": "string", "description": "Status of the image"}, "tags": {"items": {"type": "string", "maxLength": 255}, "type": "array", "description": "List of strings related to the image"}, "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": "Format of the container"}, "min_ram": {"type": "integer", "description": "Amount of ram (in MB) required to boot image."}, "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": "A set of URLs to access the image file kept in external store"}, "visibility": {"enum": ["community", "public", "private", "shared"], "type": "string", "description": "Scope of image accessibility"}, "updated_at": {"readOnly": true, "type": "string", "description": "Date and time of the last image modification"}, "owner": {"type": ["null", "string"], "description": "Owner of the image", "maxLength": 255}, "file": {"readOnly": true, "type": "string", "description": "An image file url"}, "min_disk": {"type": "integer", "description": "Amount of disk space (in GB) required to boot image."}, "virtual_size": {"readOnly": true, "type": ["null", "integer"], "description": "Virtual size of image in bytes"}, "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": "An identifier for the image"}, "size": {"readOnly": true, "type": ["null", "integer"], "description": "Size of image file in bytes"}, "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": "Descriptive name for the image", "maxLength": 255}, "checksum": {"readOnly": true, "type": ["null", "string"], "description": "md5 hash of image contents.", "maxLength": 32}, "created_at": {"readOnly": true, "type": "string", "description": "Date and time of image registration"}, "disk_format": {"enum": [null, "ami", "ari", "aki", "vhd", "vhdx", "vmdk", "raw", "qcow2", "vdi", "iso", "ploop"], "type": ["null", "string"], "description": "Format of the disk"}, "os_version": {"type": "string", "description": "Operating system version as specified by the distributor", "is_base": false}, "protected": {"type": "boolean", "description": "If true, image will not be deletable."}, "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": "URL to access the image file kept in external store"}, "self": {"readOnly": true, "type": "string", "description": "An image self url"}, "schema": {"readOnly": true, "type": "string", "description": "An image schema url"}}} REQ: curl -g -i -X GET http://10.255.255.2:8774/v2.1/flavors/ty.tiny -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}5bfc15e300dc1ba941623576566ba80f8a362bd4" Starting new HTTP connection (1): 10.255.255.2 http://10.255.255.2:8774 "GET /v2.1/flavors/ty.tiny HTTP/1.1" 404 80 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: 80 X-Openstack-Request-Id: req-63ccc1a9-4f92-45fb-8f95-aaa0455145d3 X-Compute-Request-Id: req-63ccc1a9-4f92-45fb-8f95-aaa0455145d3 Date: Wed, 12 Sep 2018 10:29:04 GMT Connection: keep-alive RESP BODY: {"itemNotFound": {"message": "Flavor ty.tiny could not be found.", "code": 404}} GET call to compute for http://10.255.255.2:8774/v2.1/flavors/ty.tiny used request id req-63ccc1a9-4f92-45fb-8f95-aaa0455145d3 REQ: curl -g -i -X GET http://10.255.255.2:8774/v2.1/flavors -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}5bfc15e300dc1ba941623576566ba80f8a362bd4" http://10.255.255.2:8774 "GET /v2.1/flavors HTTP/1.1" 200 580 RESP: [200] Content-Length: 580 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-9aa32196-2062-4c2a-8a77-52fb5cec29e0 X-Compute-Request-Id: req-9aa32196-2062-4c2a-8a77-52fb5cec29e0 Date: Wed, 12 Sep 2018 10:29:04 GMT Connection: keep-alive RESP BODY: {"flavors": [{"id": "621905ac-cb98-4cc3-8e57-52f8436d9f0f", "links": [{"href": "http://10.255.255.2:8774/v2.1/flavors/621905ac-cb98-4cc3-8e57-52f8436d9f0f", "rel": "self"}, {"href": "http://10.255.255.2:8774/flavors/621905ac-cb98-4cc3-8e57-52f8436d9f0f", "rel": "bookmark"}], "name": "ty.small"}, {"id": "b8f9a8b8-a7fe-43c4-9fe6-a3717d36cf29", "links": [{"href": "http://10.255.255.2:8774/v2.1/flavors/b8f9a8b8-a7fe-43c4-9fe6-a3717d36cf29", "rel": "self"}, {"href": "http://10.255.255.2:8774/flavors/b8f9a8b8-a7fe-43c4-9fe6-a3717d36cf29", "rel": "bookmark"}], "name": "ty.tiny"}]} GET call to compute for http://10.255.255.2:8774/v2.1/flavors used request id req-9aa32196-2062-4c2a-8a77-52fb5cec29e0 REQ: curl -g -i -X GET http://10.255.255.2:8774/v2.1/flavors/b8f9a8b8-a7fe-43c4-9fe6-a3717d36cf29 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}5bfc15e300dc1ba941623576566ba80f8a362bd4" http://10.255.255.2:8774 "GET /v2.1/flavors/b8f9a8b8-a7fe-43c4-9fe6-a3717d36cf29 HTTP/1.1" 200 466 RESP: [200] Content-Length: 466 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-e95e4e7d-bec5-43ae-ab2c-56187d2fdf25 X-Compute-Request-Id: req-e95e4e7d-bec5-43ae-ab2c-56187d2fdf25 Date: Wed, 12 Sep 2018 10:29:05 GMT Connection: keep-alive RESP BODY: {"flavor": {"name": "ty.tiny", "links": [{"href": "http://10.255.255.2:8774/v2.1/flavors/b8f9a8b8-a7fe-43c4-9fe6-a3717d36cf29", "rel": "self"}, {"href": "http://10.255.255.2:8774/flavors/b8f9a8b8-a7fe-43c4-9fe6-a3717d36cf29", "rel": "bookmark"}], "ram": 1024, "OS-FLV-DISABLED:disabled": false, "vcpus": 1, "swap": "", "os-flavor-access:is_public": false, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 50, "id": "b8f9a8b8-a7fe-43c4-9fe6-a3717d36cf29"}} GET call to compute for http://10.255.255.2:8774/v2.1/flavors/b8f9a8b8-a7fe-43c4-9fe6-a3717d36cf29 used request id req-e95e4e7d-bec5-43ae-ab2c-56187d2fdf25 network endpoint in service catalog Connection: Network client initialized using OpenStack SDK: Manager unknown running task network.GET.networks REQ: curl -g -i -X GET http://10.255.255.2:9696 -H "Accept: application/json" -H "User-Agent: osc-lib/1.9.0 keystoneauth1/3.4.0 python-requests/2.14.2 CPython/2.7.5" Starting new HTTP connection (1): 10.255.255.2 http://10.255.255.2:9696 "GET / HTTP/1.1" 200 121 RESP: [200] Content-Length: 121 Content-Type: application/json Date: Wed, 12 Sep 2018 10:29:05 GMT Connection: keep-alive RESP BODY: {"versions": [{"status": "CURRENT", "id": "v2.0", "links": [{"href": "http://10.255.255.2:9696/v2.0/", "rel": "self"}]}]} REQ: curl -g -i -X GET http://10.255.255.2:9696/v2.0/networks/06f617c1-009c-4f84-ba66-43d0434d9a18 -H "User-Agent: osc-lib/1.9.0 keystoneauth1/3.4.0 python-requests/2.14.2 CPython/2.7.5" -H "X-Auth-Token: {SHA1}5bfc15e300dc1ba941623576566ba80f8a362bd4" http://10.255.255.2:9696 "GET /v2.0/networks/06f617c1-009c-4f84-ba66-43d0434d9a18 HTTP/1.1" 200 667 RESP: [200] Content-Type: application/json Content-Length: 667 X-Openstack-Request-Id: req-452da287-3054-40d6-afdb-78609891eab2 Date: Wed, 12 Sep 2018 10:29:05 GMT Connection: keep-alive RESP BODY: {"network":{"provider:physical_network":"provider","ipv6_address_scope":null,"revision_number":3,"port_security_enabled":true,"provider:network_type":"vlan","id":"06f617c1-009c-4f84-ba66-43d0434d9a18","router:external":false,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":false,"project_id":"d391303ef44142abae708f99be11b2dd","status":"ACTIVE","subnets":["36e8ecd5-c741-493c-af8f-22e3868abfe6"],"description":"","tags":[],"updated_at":"2018-09-12T09:34:31Z","provider:segmentation_id":195,"name":"demo","admin_state_up":true,"tenant_id":"d391303ef44142abae708f99be11b2dd","created_at":"2018-09-12T09:34:31Z","mtu":1500}} GET call to network for http://10.255.255.2:9696/v2.0/networks/06f617c1-009c-4f84-ba66-43d0434d9a18 used request id req-452da287-3054-40d6-afdb-78609891eab2 Manager unknown ran task network.GET.networks in 0.135568857193s network endpoint in service catalog Manager unknown running task network.GET.security-groups REQ: curl -g -i -X GET http://10.255.255.2:9696/v2.0/security-groups/a57c5dda-47aa-4e2b-93ee-97cd6feb8364 -H "User-Agent: osc-lib/1.9.0 keystoneauth1/3.4.0 python-requests/2.14.2 CPython/2.7.5" -H "X-Auth-Token: {SHA1}5bfc15e300dc1ba941623576566ba80f8a362bd4" http://10.255.255.2:9696 "GET /v2.0/security-groups/a57c5dda-47aa-4e2b-93ee-97cd6feb8364 HTTP/1.1" 200 2431 RESP: [200] Content-Type: application/json Content-Length: 2431 X-Openstack-Request-Id: req-bad76205-2f23-459e-963f-fe92b245c916 Date: Wed, 12 Sep 2018 10:29:05 GMT Connection: keep-alive RESP BODY: {"security_group": {"description": "Default security group", "tags": [], "tenant_id": "d391303ef44142abae708f99be11b2dd", "created_at": "2018-09-12T08:12:45Z", "updated_at": "2018-09-12T08:12:45Z", "security_group_rules": [{"direction": "ingress", "protocol": null, "description": null, "tags": [], "port_range_max": null, "updated_at": "2018-09-12T08:12:45Z", "revision_number": 0, "id": "10dbfea8-dd63-43f1-b78d-1378dbe4a0f9", "remote_group_id": "a57c5dda-47aa-4e2b-93ee-97cd6feb8364", "remote_ip_prefix": null, "created_at": "2018-09-12T08:12:45Z", "security_group_id": "a57c5dda-47aa-4e2b-93ee-97cd6feb8364", "tenant_id": "d391303ef44142abae708f99be11b2dd", "port_range_min": null, "ethertype": "IPv4", "project_id": "d391303ef44142abae708f99be11b2dd"}, {"direction": "ingress", "protocol": null, "description": null, "tags": [], "port_range_max": null, "updated_at": "2018-09-12T08:12:45Z", "revision_number": 0, "id": "12a40a94-b3b1-4f9a-a325-56a136c32453", "remote_group_id": "a57c5dda-47aa-4e2b-93ee-97cd6feb8364", "remote_ip_prefix": null, "created_at": "2018-09-12T08:12:45Z", "security_group_id": "a57c5dda-47aa-4e2b-93ee-97cd6feb8364", "tenant_id": "d391303ef44142abae708f99be11b2dd", "port_range_min": null, "ethertype": "IPv6", "project_id": "d391303ef44142abae708f99be11b2dd"}, {"direction": "egress", "protocol": null, "description": null, "tags": [], "port_range_max": null, "updated_at": "2018-09-12T08:12:45Z", "revision_number": 0, "id": "18a5e184-d3c8-4fbf-9e2e-e1d31b78157c", "remote_group_id": null, "remote_ip_prefix": null, "created_at": "2018-09-12T08:12:45Z", "security_group_id": "a57c5dda-47aa-4e2b-93ee-97cd6feb8364", "tenant_id": "d391303ef44142abae708f99be11b2dd", "port_range_min": null, "ethertype": "IPv4", "project_id": "d391303ef44142abae708f99be11b2dd"}, {"direction": "egress", "protocol": null, "description": null, "tags": [], "port_range_max": null, "updated_at": "2018-09-12T08:12:45Z", "revision_number": 0, "id": "dc092564-b5ad-45e2-9e2f-0aba346cf14c", "remote_group_id": null, "remote_ip_prefix": null, "created_at": "2018-09-12T08:12:45Z", "security_group_id": "a57c5dda-47aa-4e2b-93ee-97cd6feb8364", "tenant_id": "d391303ef44142abae708f99be11b2dd", "port_range_min": null, "ethertype": "IPv6", "project_id": "d391303ef44142abae708f99be11b2dd"}], "revision_number": 4, "project_id": "d391303ef44142abae708f99be11b2dd", "id": "a57c5dda-47aa-4e2b-93ee-97cd6feb8364", "name": "default"}} GET call to network for http://10.255.255.2:9696/v2.0/security-groups/a57c5dda-47aa-4e2b-93ee-97cd6feb8364 used request id req-bad76205-2f23-459e-963f-fe92b245c916 Manager unknown ran task network.GET.security-groups in 0.0517151355743s boot_args: [u'provider-instance', {u'status': u'active', u'tags': [], u'container_format': u'bare', u'min_ram': 0, u'updated_at': u'2018-09-11T03:16:38Z', u'visibility': u'public', u'owner': u'd391303ef44142abae708f99be11b2dd', u'file': u'/v2/images/b137df67-3956-4db6-9433-2fed2ded0f59/file', u'min_disk': 0, u'virtual_size': None, u'id': u'b137df67-3956-4db6-9433-2fed2ded0f59', u'size': 13267968, u'name': u'cirros-0.3.5-x86_64', u'checksum': u'f8ab98ff5e73ebab884d80c9dc9c7290', u'created_at': u'2018-09-11T03:16:38Z', u'disk_format': u'qcow2', u'protected': False, u'schema': u'/v2/schemas/image'}, ] boot_kwargs: {'files': {}, 'userdata': None, 'key_name': u'demo-key', 'availability_zone': None, 'nics': [{'port-id': '', 'net-id': u'06f617c1-009c-4f84-ba66-43d0434d9a18', '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': [u'a57c5dda-47aa-4e2b-93ee-97cd6feb8364'], 'config_drive': None} REQ: curl -g -i -X POST http://10.255.255.2:8774/v2.1/servers -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}5bfc15e300dc1ba941623576566ba80f8a362bd4" -d '{"server": {"name": "provider-instance", "imageRef": "b137df67-3956-4db6-9433-2fed2ded0f59", "key_name": "demo-key", "flavorRef": "b8f9a8b8-a7fe-43c4-9fe6-a3717d36cf29", "max_count": 1, "min_count": 1, "networks": [{"uuid": "06f617c1-009c-4f84-ba66-43d0434d9a18"}], "security_groups": [{"name": "a57c5dda-47aa-4e2b-93ee-97cd6feb8364"}]}}' http://10.255.255.2:8774 "POST /v2.1/servers HTTP/1.1" 500 218 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: 218 X-Openstack-Request-Id: req-9189cdb3-47d4-4ac3-a3da-3376aff74c60 X-Compute-Request-Id: req-9189cdb3-47d4-4ac3-a3da-3376aff74c60 Date: Wed, 12 Sep 2018 10:29:05 GMT Connection: keep-alive RESP BODY: {"computeFault": {"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n", "code": 500}} POST call to compute for http://10.255.255.2:8774/v2.1/servers used request id req-9189cdb3-47d4-4ac3-a3da-3376aff74c60 Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. (HTTP 500) (Request-ID: req-9189cdb3-47d4-4ac3-a3da-3376aff74c60) 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 116, in run column_names, data = self.take_action(parsed_args) File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 820, in take_action server = compute_client.servers.create(*boot_args, **boot_kwargs) File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1313, in create return self._boot(response_key, *boot_args, **boot_kwargs) File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 772, in _boot return_raw=return_raw, **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 366, in _create resp, body = self.api.client.post(url, body=body) File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 310, 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: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. (HTTP 500) (Request-ID: req-9189cdb3-47d4-4ac3-a3da-3376aff74c60) clean_up CreateServer: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. (HTTP 500) (Request-ID: req-9189cdb3-47d4-4ac3-a3da-3376aff74c60) 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 116, in run column_names, data = self.take_action(parsed_args) File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 820, in take_action server = compute_client.servers.create(*boot_args, **boot_kwargs) File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1313, in create return self._boot(response_key, *boot_args, **boot_kwargs) File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 772, in _boot return_raw=return_raw, **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 366, in _create resp, body = self.api.client.post(url, body=body) File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 310, 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: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. (HTTP 500) (Request-ID: req-9189cdb3-47d4-4ac3-a3da-3376aff74c60) END return value: 1