START with options: ['--debug', 'server', 'create', '--image', '4652eafd-0ea6-4313-9d69-03c55d1ff561', '--flavor', 'd18e3be3-ff6e-4cca-b3ad-64a1626ba12d', '--security-group', 'cd662f83-b203-48d6-beea-79299cbaaefb', '--key-name', 'turbo', '--availability-zone', 'nova', 'testing'] options: Namespace(access_token_endpoint='', auth_type='', auth_url='http://control.domain.tld:35357/v3', cacert='', client_id='', client_secret='***', cloud='', debug=True, default_domain='default', deferred_help=False, domain_id='', domain_name='', endpoint='', identity_provider='', identity_provider_url='', insecure=None, inspector_api_version='1', inspector_url=None, interface='', log_file=None, os_application_catalog_api_version='1', os_baremetal_api_version='1.6', os_clustering_api_version='1', os_compute_api_version='', os_data_processing_api_version='1.1', os_data_processing_url='', 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_orchestration_api_version='1', os_policy_api_version='1', os_project_id=None, os_project_name=None, os_queues_api_version='1.1', os_volume_api_version='', os_workflow_api_version='2', password='***', profile=None, project_domain_id='', project_domain_name='default', project_id='', project_name='admin', protocol='', region_name='', scope='', service_provider_endpoint='', timing=False, token='***', trust_id='', url='', user_domain_id='', user_domain_name='default', user_id='', username='admin', verbose_level=3, verify=None) defaults: {u'auth_type': 'password', 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', 'cacert': None, u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', u'interface': None, u'network_api_version': u'2', u'image_format': u'qcow2', u'key_manager_api_version': u'v1', u'metering_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'disable_vendor_agent': {}} cloud cfg: {'auth_type': 'password', u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'data_processing_api_version': '1.1', 'inspector_api_version': '1', 'policy_api_version': '1', u'network_api_version': u'2', u'image_format': u'qcow2', u'image_api_version': '2', 'clustering_api_version': '1', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': '1.6', 'queues_api_version': '1.1', 'auth': {'username': 'admin', 'project_name': 'admin', 'user_domain_name': 'default', 'auth_url': 'http://control.domain.tld:35357/v3', 'password': '***', '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': '1', 'timing': False, 'application_catalog_api_version': '1', 'cacert': None, u'key_manager_api_version': '1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workflow_api_version': '2', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', '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 orchestration API version 1, cmd group openstack.orchestration.v1 congressclient API version 1, cmd group openstack.congressclient.v1 application_catalog API version 1, cmd group openstack.application_catalog.v1 messaging API version 1.1, cmd group openstack.messaging.v1 workflow_engine API version 2, cmd group openstack.workflow_engine.v2 key_manager API version 1, cmd group openstack.key_manager.v1 clustering API version 1, cmd group openstack.clustering.v1 baremetal_introspection API version 1, cmd group openstack.baremetal_introspection.v1 data_processing API version 1.1, cmd group openstack.data_processing.v1 dns API version 2, cmd group openstack.dns.v2 baremetal API version 1.6, cmd group openstack.baremetal.v1 command: server create -> openstackclient.compute.v2.server.CreateServer Auth plugin password selected auth_type: password Using auth plugin: password Using parameters {'username': 'admin', 'project_name': 'admin', 'auth_url': 'http://control.domain.tld:35357/v3', 'user_domain_name': 'default', 'password': '***', 'project_domain_name': 'default'} Get auth_ref REQ: curl -g -i -X GET http://control.domain.tld:35357/v3 -H "Accept: application/json" -H "User-Agent: python-openstackclient keystoneauth1/2.4.1 python-requests/2.10.0 CPython/2.7.11+" Starting new HTTP connection (1): control.domain.tld "GET /v3 HTTP/1.1" 200 260 RESP: [200] Vary: X-Auth-Token Content-Type: application/json Content-Length: 260 X-Openstack-Request-Id: req-b52641bd-203b-46b2-9f24-73df2dfb969f Date: Mon, 13 Jun 2016 23:41:36 GMT Connection: keep-alive RESP BODY: {"version": {"status": "stable", "updated": "2016-04-04T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.6", "links": [{"href": "http://control.domain.tld:35357/v3/", "rel": "self"}]}} Making authentication request to http://control.domain.tld:35357/v3/auth/tokens "POST /v3/auth/tokens HTTP/1.1" 201 11701 run(Namespace(availability_zone='nova', block_device_mapping=[], columns=[], config_drive=False, file=[], flavor='d18e3be3-ff6e-4cca-b3ad-64a1626ba12d', formatter='table', hint=[], image='4652eafd-0ea6-4313-9d69-03c55d1ff561', key_name='turbo', max=1, max_width=0, min=1, nic=[], noindent=False, prefix='', property=None, security_group=['cd662f83-b203-48d6-beea-79299cbaaefb'], server_name='testing', user_data=None, variables=[], volume=None, wait=False)) Instantiating compute client for VAPI Version Major: 2, Minor: 0 Instantiating volume client: Making authentication request to http://control.domain.tld:35357/v3/auth/tokens "POST /v3/auth/tokens HTTP/1.1" 201 11701 REQ: curl -g -i -X GET http://10.0.4.1:8774/v2/dd30640571db4298a0bca8c35359d263/images/4652eafd-0ea6-4313-9d69-03c55d1ff561 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}130bfc0c0ab494d743cd2fe140a5d3594901ea72" Starting new HTTP connection (1): 10.0.4.1 "GET /v2/dd30640571db4298a0bca8c35359d263/images/4652eafd-0ea6-4313-9d69-03c55d1ff561 HTTP/1.1" 200 751 RESP: [200] Content-Length: 751 Content-Type: application/json X-Compute-Request-Id: req-218e4560-2875-467b-bbb9-dc5f06eb96b4 Date: Mon, 13 Jun 2016 23:41:37 GMT Connection: keep-alive RESP BODY: {"image": {"status": "ACTIVE", "updated": "2016-06-13T14:36:58Z", "links": [{"href": "http://10.0.4.1:8774/v2/dd30640571db4298a0bca8c35359d263/images/4652eafd-0ea6-4313-9d69-03c55d1ff561", "rel": "self"}, {"href": "http://10.0.4.1:8774/dd30640571db4298a0bca8c35359d263/images/4652eafd-0ea6-4313-9d69-03c55d1ff561", "rel": "bookmark"}, {"href": "http://10.0.4.1:9292/images/4652eafd-0ea6-4313-9d69-03c55d1ff561", "type": "application/vnd.openstack.image", "rel": "alternate"}], "id": "4652eafd-0ea6-4313-9d69-03c55d1ff561", "OS-EXT-IMG-SIZE:size": 485465600, "name": "jessie", "created": "2016-06-13T14:35:33Z", "minDisk": 0, "progress": 100, "minRam": 0, "metadata": {"architecture": "amd64", "description": "Debian GNU/Linux Jessie 64bit (8.5.0)."}}} REQ: curl -g -i -X GET http://10.0.4.1:8774/v2/dd30640571db4298a0bca8c35359d263/flavors/d18e3be3-ff6e-4cca-b3ad-64a1626ba12d -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}130bfc0c0ab494d743cd2fe140a5d3594901ea72" "GET /v2/dd30640571db4298a0bca8c35359d263/flavors/d18e3be3-ff6e-4cca-b3ad-64a1626ba12d HTTP/1.1" 200 521 RESP: [200] Content-Length: 521 Content-Type: application/json X-Compute-Request-Id: req-39395089-d029-40fa-ad4f-8fbf01f48677 Date: Mon, 13 Jun 2016 23:41:38 GMT Connection: keep-alive RESP BODY: {"flavor": {"name": "m1.tiny", "links": [{"href": "http://10.0.4.1:8774/v2/dd30640571db4298a0bca8c35359d263/flavors/d18e3be3-ff6e-4cca-b3ad-64a1626ba12d", "rel": "self"}, {"href": "http://10.0.4.1:8774/dd30640571db4298a0bca8c35359d263/flavors/d18e3be3-ff6e-4cca-b3ad-64a1626ba12d", "rel": "bookmark"}], "ram": 1024, "OS-FLV-DISABLED:disabled": false, "vcpus": 1, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor": 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 10, "id": "d18e3be3-ff6e-4cca-b3ad-64a1626ba12d"}} boot_args: ['testing', , ] boot_kwargs: {'files': {}, 'userdata': None, 'availability_zone': 'nova', 'nics': [], 'block_device_mapping': {}, 'max_count': 1, 'meta': None, 'key_name': 'turbo', 'min_count': 1, 'scheduler_hints': {}, 'reservation_id': None, 'security_groups': ['cd662f83-b203-48d6-beea-79299cbaaefb'], 'config_drive': None} REQ: curl -g -i -X POST http://10.0.4.1:8774/v2/dd30640571db4298a0bca8c35359d263/servers -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}130bfc0c0ab494d743cd2fe140a5d3594901ea72" -d '{"server": {"name": "testing", "imageRef": "4652eafd-0ea6-4313-9d69-03c55d1ff561", "availability_zone": "nova", "key_name": "turbo", "flavorRef": "d18e3be3-ff6e-4cca-b3ad-64a1626ba12d", "max_count": 1, "min_count": 1, "security_groups": [{"name": "cd662f83-b203-48d6-beea-79299cbaaefb"}]}}' "POST /v2/dd30640571db4298a0bca8c35359d263/servers HTTP/1.1" 500 212 RESP: [500] Content-Type: application/json; charset=UTF-8 Content-Length: 212 X-Compute-Request-Id: req-e95e974b-1cfb-4ba6-b52c-d53ce8106e4a Date: Mon, 13 Jun 2016 23:41:38 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}} 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-e95e974b-1cfb-4ba6-b52c-d53ce8106e4a) Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 374, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7/dist-packages/openstackclient/common/command.py", line 38, in run return super(Command, self).run(parsed_args) File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 92, in run column_names, data = self.take_action(parsed_args) File "/usr/lib/python2.7/dist-packages/openstackclient/compute/v2/server.py", line 519, in take_action server = compute_client.servers.create(*boot_args, **boot_kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 1233, in create **boot_kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 667, in _boot return_raw=return_raw, **kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 345, in _create resp, body = self.api.client.post(url, body=body) File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 179, in post return self.request(url, 'POST', **kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 94, 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-e95e974b-1cfb-4ba6-b52c-d53ce8106e4a) 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-e95e974b-1cfb-4ba6-b52c-d53ce8106e4a) Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line 118, in run ret_val = super(OpenStackShell, self).run(argv) File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 255, in run result = self.run_subcommand(remainder) File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line 153, in run_subcommand ret_value = super(OpenStackShell, self).run_subcommand(argv) File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 374, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python2.7/dist-packages/openstackclient/common/command.py", line 38, in run return super(Command, self).run(parsed_args) File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 92, in run column_names, data = self.take_action(parsed_args) File "/usr/lib/python2.7/dist-packages/openstackclient/compute/v2/server.py", line 519, in take_action server = compute_client.servers.create(*boot_args, **boot_kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 1233, in create **boot_kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 667, in _boot return_raw=return_raw, **kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 345, in _create resp, body = self.api.client.post(url, body=body) File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 179, in post return self.request(url, 'POST', **kwargs) File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 94, 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-e95e974b-1cfb-4ba6-b52c-d53ce8106e4a) END return value: 1