← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1579231] Re: Openstack server create error oslo_messaging.exceptions.MessagingTimeout (HTTP 500)

 

These are general support requests, which aren't valid bugs. There is a
problem in your environment, check to make sure the nova-network (or
neutron) services are running and the status is OK when listing
services.

Check the networking logs to see if there are errors. Something is
taking too long and the nova-api call to validate networking is timing
out. If you're running openstack on a VM, make sure it's big enough to
boot instances (the openstack CI system uses an 8VCPU, 8GB RAM flavor).

Otherwise use ask.openstack.org, or the general mailing list, or the
#openstack channel in freenode IRC.

** Changed in: nova
       Status: New => Invalid

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

Title:
  Openstack server create error
  oslo_messaging.exceptions.MessagingTimeout (HTTP 500)

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  Hello,

  When I try to "Launch instance" with the following command, I receive
  the message "Unexpected API Error".

  openstack --debug server create --flavor m1.nano --image cirros  --nic
  net-id=88cdb332-1e82-40c9-aa3b-6b9bb6994063 --security-group default
  --key-name mykey Instance_test

  
  Environment:
  OS: Centos 7

  Version:
   rpm -qa | grep openstack
  openstack-nova-scheduler-13.0.0.0b4-0.20160304162843.c5a45a2.el7.centos.noarch
  openstack-neutron-8.0.0.0b4-0.20160304174813.0ae20a3.el7.centos.noarch
  python-django-openstack-auth-2.1.2-0.20160229114842.9de5d87.el7.centos.noarch
  centos-release-openstack-mitaka-1-3.el7.noarch
  openstack-nova-common-13.0.0.0b4-0.20160304162843.c5a45a2.el7.centos.noarch
  openstack-nova-console-13.0.0.0b4-0.20160304162843.c5a45a2.el7.centos.noarch
  openstack-nova-novncproxy-13.0.0.0b4-0.20160304162843.c5a45a2.el7.centos.noarch
  openstack-neutron-common-8.0.0.0b4-0.20160304174813.0ae20a3.el7.centos.noarch
  openstack-neutron-linuxbridge-8.0.0.0b4-0.20160304174813.0ae20a3.el7.centos.noarch
  openstack-dashboard-9.0.0.0b4-0.20160304094124.ecaf1a4.el7.centos.noarch
  openstack-keystone-9.0.0.0b4-0.20160304193251.9d6ab5d.el7.centos.noarch
  openstack-utils-2015.2-1.el7.noarch
  openstack-glance-12.0.0.0b4-0.20160304173252.b887746.el7.centos.noarch
  openstack-nova-api-13.0.0.0b4-0.20160304162843.c5a45a2.el7.centos.noarch
  openstack-nova-conductor-13.0.0.0b4-0.20160304162843.c5a45a2.el7.centos.noarch
  openstack-neutron-ml2-8.0.0.0b4-0.20160304174813.0ae20a3.el7.centos.noarch
  python2-openstacksdk-0.8.1-0.20160303025243.1417c9a.el7.centos.noarch
  python-openstackclient-2.2.1-0.20160304180510.0bf6536.el7.centos.noarch
  openstack-selinux-0.7.2-1.el7.noarch
  openstack-cinder-8.0.0.0b4-0.20160304194935.ad1d103.el7.centos.noarch


  Debug output:

  openstack --debug server create --flavor m1.nano --image cirros  --nic
  net-id=88cdb332-1e82-40c9-aa3b-6b9bb6994063 --security-group default
  --key-name mykey Instance_test

  START with options: ['--debug', 'server', 'create', '--flavor', 'm1.nano', '--image', 'cirros', '--nic', 'net-id=88cdb332-1e82-40c9-aa3b-6b9bb6994063', '--security-group', 'default', '--key-name', 'mykey', 'Instance_test']
  options: Namespace(access_token_endpoint='', auth_type='', auth_url='http://srvoskhost01:5000/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, interface='', log_file=None, os_compute_api_version='', os_data_processing_api_version='1.1', os_data_processing_url='', os_identity_api_version='3', os_image_api_version='2', os_network_api_version='', os_object_api_version='', os_orchestration_api_version='1', os_project_id=None, os_project_name=None, os_volume_api_version='', password='***', profile=None, project_domain_id='', project_domain_name='default', project_id='', project_name='CPF', protocol='', region_name='', scope='', service_provider_endpoint='', timing=False, token='***', trust_id='', url='', user_domain_id='', user_domain_name='default', user_id='', username='CPF', 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', u'network_api_version': u'2', u'image_format': u'qcow2', u'image_api_version': '2', 'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'username': 'CPF', 'project_name': 'CPF', 'user_domain_name': 'default', 'auth_url': 'http://srvoskhost01:5000/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, 'cacert': None, u'key_manager_api_version': u'v1', u'metering_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', '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
  data_processing API version 1.1, cmd group openstack.data_processing.v1
  orchestration API version 1, cmd group openstack.orchestration.v1
  command: server create -> openstackclient.compute.v2.server.CreateServer
  Auth plugin password selected
  auth_type: password
  Using auth plugin: password
  Using parameters {'username': 'CPF', 'project_name': 'CPF', 'auth_url': 'http://srvoskhost01:5000/v3', 'user_domain_name': 'default', 'password': '***', 'project_domain_name': 'default'}
  Get auth_ref
  REQ: curl -g -i -X GET http://srvoskhost01:5000/v3 -H "Accept: application/json" -H "User-Agent: python-openstackclient keystoneauth1/2.3.1 python-requests/2.9.1 CPython/2.7.5"
  Starting new HTTP connection (1): srvoskhost01
  "GET /v3 HTTP/1.1" 200 251
  RESP: [200] Content-Length: 251 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 Connection: Keep-Alive Date: Fri, 06 May 2016 20:26:18 GMT Content-Type: application/json x-openstack-request-id: req-ed339704-5b10-4f4e-a089-6678138910b4
  RESP BODY: {"version": {"status": "stable", "updated": "2015-09-15T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.5", "links": [{"href": "http://srvoskhost01:5000/v3/";, "rel": "self"}]}}

  Making authentication request to http://srvoskhost01:5000/v3/auth/tokens
  "POST /v3/auth/tokens HTTP/1.1" 201 4456
  run(Namespace(availability_zone=None, block_device_mapping=[], columns=[], config_drive=False, file=[], flavor='m1.nano', formatter='table', hint=[], image='cirros', key_name='mykey', max=1, max_width=0, min=1, nic=['net-id=88cdb332-1e82-40c9-aa3b-6b9bb6994063'], noindent=False, prefix='', property=None, security_group=['default'], server_name='Instance_test', user_data=None, variables=[], volume=None, wait=False))
  Instantiating compute client for VAPI Version Major: 2, Minor: 0
  Instantiating volume client: <class 'cinderclient.v2.client.Client'>
  Making authentication request to http://srvoskhost01:5000/v3/auth/tokens
  "POST /v3/auth/tokens HTTP/1.1" 201 4456
  REQ: curl -g -i -X GET http://srvoskhost01:8774/v2.1/d106693daaf1475c9855b7f880d7a275/images/cirros -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}decc4a2c1bca195547a0214b7cb4e4820b58adc0"
  Starting new HTTP connection (1): srvoskhost01
  "GET /v2.1/d106693daaf1475c9855b7f880d7a275/images/cirros HTTP/1.1" 404 62
  RESP: [404] Content-Length: 62 X-Compute-Request-Id: req-b9162077-e582-4ec1-96bc-4391407d8bff Vary: X-OpenStack-Nova-API-Version Connection: keep-alive X-Openstack-Nova-Api-Version: 2.1 Date: Fri, 06 May 2016 20:26:22 GMT Content-Type: application/json; charset=UTF-8
  RESP BODY: {"itemNotFound": {"message": "Image not found.", "code": 404}}

  REQ: curl -g -i -X GET http://srvoskhost01:8774/v2.1/d106693daaf1475c9855b7f880d7a275/images -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}decc4a2c1bca195547a0214b7cb4e4820b58adc0"
  "GET /v2.1/d106693daaf1475c9855b7f880d7a275/images HTTP/1.1" 200 1000
  RESP: [200] Content-Length: 1000 X-Compute-Request-Id: req-441a43c1-cddc-4d88-bf32-8b17357b9301 Vary: X-OpenStack-Nova-API-Version Connection: keep-alive X-Openstack-Nova-Api-Version: 2.1 Date: Fri, 06 May 2016 20:26:22 GMT Content-Type: application/json
  RESP BODY: {"images": [{"id": "f34d3715-b81a-49ad-b6d3-91c2f837aa67", "links": [{"href": "http://srvoskhost01:8774/v2.1/d106693daaf1475c9855b7f880d7a275/images/f34d3715-b81a-49ad-b6d3-91c2f837aa67";, "rel": "self"}, {"href": "http://srvoskhost01:8774/d106693daaf1475c9855b7f880d7a275/images/f34d3715-b81a-49ad-b6d3-91c2f837aa67";, "rel": "bookmark"}, {"href": "http://192.168.1.240:9292/images/f34d3715-b81a-49ad-b6d3-91c2f837aa67";, "type": "application/vnd.openstack.image", "rel": "alternate"}], "name": "Windows_XP"}, {"id": "9e1b55bd-1fec-45cf-9cc9-cfe8c66e3120", "links": [{"href": "http://srvoskhost01:8774/v2.1/d106693daaf1475c9855b7f880d7a275/images/9e1b55bd-1fec-45cf-9cc9-cfe8c66e3120";, "rel": "self"}, {"href": "http://srvoskhost01:8774/d106693daaf1475c9855b7f880d7a275/images/9e1b55bd-1fec-45cf-9cc9-cfe8c66e3120";, "rel": "bookmark"}, {"href": "http://192.168.1.240:9292/images/9e1b55bd-1fec-45cf-9cc9-cfe8c66e3120";, "type": "application/vnd.openstack.image", "rel": "alternate"}], "name": "cirros"}]}

  REQ: curl -g -i -X GET http://srvoskhost01:8774/v2.1/d106693daaf1475c9855b7f880d7a275/images/9e1b55bd-1fec-45cf-9cc9-cfe8c66e3120 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}decc4a2c1bca195547a0214b7cb4e4820b58adc0"
  "GET /v2.1/d106693daaf1475c9855b7f880d7a275/images/9e1b55bd-1fec-45cf-9cc9-cfe8c66e3120 HTTP/1.1" 200 685
  RESP: [200] Content-Length: 685 X-Compute-Request-Id: req-9efda52b-898b-414d-b01a-370410bb3c32 Vary: X-OpenStack-Nova-API-Version Connection: keep-alive X-Openstack-Nova-Api-Version: 2.1 Date: Fri, 06 May 2016 20:26:22 GMT Content-Type: application/json
  RESP BODY: {"image": {"status": "ACTIVE", "updated": "2016-05-06T13:41:31Z", "links": [{"href": "http://srvoskhost01:8774/v2.1/d106693daaf1475c9855b7f880d7a275/images/9e1b55bd-1fec-45cf-9cc9-cfe8c66e3120";, "rel": "self"}, {"href": "http://srvoskhost01:8774/d106693daaf1475c9855b7f880d7a275/images/9e1b55bd-1fec-45cf-9cc9-cfe8c66e3120";, "rel": "bookmark"}, {"href": "http://192.168.1.240:9292/images/9e1b55bd-1fec-45cf-9cc9-cfe8c66e3120";, "type": "application/vnd.openstack.image", "rel": "alternate"}], "id": "9e1b55bd-1fec-45cf-9cc9-cfe8c66e3120", "OS-EXT-IMG-SIZE:size": 13287936, "name": "cirros", "created": "2016-05-06T13:41:30Z", "minDisk": 0, "progress": 100, "minRam": 0, "metadata": {}}}

  REQ: curl -g -i -X GET http://srvoskhost01:8774/v2.1/d106693daaf1475c9855b7f880d7a275/flavors/m1.nano -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}decc4a2c1bca195547a0214b7cb4e4820b58adc0"
  "GET /v2.1/d106693daaf1475c9855b7f880d7a275/flavors/m1.nano HTTP/1.1" 404 80
  RESP: [404] Content-Length: 80 X-Compute-Request-Id: req-144ff9df-1032-4e83-8a26-80f0ab7a8d9b Vary: X-OpenStack-Nova-API-Version Connection: keep-alive X-Openstack-Nova-Api-Version: 2.1 Date: Fri, 06 May 2016 20:26:22 GMT Content-Type: application/json; charset=UTF-8
  RESP BODY: {"itemNotFound": {"message": "Flavor m1.nano could not be found.", "code": 404}}

  REQ: curl -g -i -X GET http://srvoskhost01:8774/v2.1/d106693daaf1475c9855b7f880d7a275/flavors -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}decc4a2c1bca195547a0214b7cb4e4820b58adc0"
  "GET /v2.1/d106693daaf1475c9855b7f880d7a275/flavors HTTP/1.1" 200 1483
  RESP: [200] Content-Length: 1483 X-Compute-Request-Id: req-a26de10e-7137-4634-af62-dd9fd066efe8 Vary: X-OpenStack-Nova-API-Version Connection: keep-alive X-Openstack-Nova-Api-Version: 2.1 Date: Fri, 06 May 2016 20:26:22 GMT Content-Type: application/json
  RESP BODY: {"flavors": [{"id": "0", "links": [{"href": "http://srvoskhost01:8774/v2.1/d106693daaf1475c9855b7f880d7a275/flavors/0";, "rel": "self"}, {"href": "http://srvoskhost01:8774/d106693daaf1475c9855b7f880d7a275/flavors/0";, "rel": "bookmark"}], "name": "m1.nano"}, {"id": "1", "links": [{"href": "http://srvoskhost01:8774/v2.1/d106693daaf1475c9855b7f880d7a275/flavors/1";, "rel": "self"}, {"href": "http://srvoskhost01:8774/d106693daaf1475c9855b7f880d7a275/flavors/1";, "rel": "bookmark"}], "name": "m1.tiny"}, {"id": "2", "links": [{"href": "http://srvoskhost01:8774/v2.1/d106693daaf1475c9855b7f880d7a275/flavors/2";, "rel": "self"}, {"href": "http://srvoskhost01:8774/d106693daaf1475c9855b7f880d7a275/flavors/2";, "rel": "bookmark"}], "name": "m1.small"}, {"id": "3", "links": [{"href": "http://srvoskhost01:8774/v2.1/d106693daaf1475c9855b7f880d7a275/flavors/3";, "rel": "self"}, {"href": "http://srvoskhost01:8774/d106693daaf1475c9855b7f880d7a275/flavors/3";, "rel": "bookmark"}], "name": "m1.medium"}, {"id": "4", "links": [{"href": "http://srvoskhost01:8774/v2.1/d106693daaf1475c9855b7f880d7a275/flavors/4";, "rel": "self"}, {"href": "http://srvoskhost01:8774/d106693daaf1475c9855b7f880d7a275/flavors/4";, "rel": "bookmark"}], "name": "m1.large"}, {"id": "5", "links": [{"href": "http://srvoskhost01:8774/v2.1/d106693daaf1475c9855b7f880d7a275/flavors/5";, "rel": "self"}, {"href": "http://srvoskhost01:8774/d106693daaf1475c9855b7f880d7a275/flavors/5";, "rel": "bookmark"}], "name": "m1.xlarge"}]}

  REQ: curl -g -i -X GET http://srvoskhost01:8774/v2.1/d106693daaf1475c9855b7f880d7a275/flavors/0 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}decc4a2c1bca195547a0214b7cb4e4820b58adc0"
  "GET /v2.1/d106693daaf1475c9855b7f880d7a275/flavors/0 HTTP/1.1" 200 423
  RESP: [200] Content-Length: 423 X-Compute-Request-Id: req-d568944f-6af4-4a46-98cb-f80b147ca434 Vary: X-OpenStack-Nova-API-Version Connection: keep-alive X-Openstack-Nova-Api-Version: 2.1 Date: Fri, 06 May 2016 20:26:22 GMT Content-Type: application/json
  RESP BODY: {"flavor": {"name": "m1.nano", "links": [{"href": "http://srvoskhost01:8774/v2.1/d106693daaf1475c9855b7f880d7a275/flavors/0";, "rel": "self"}, {"href": "http://srvoskhost01:8774/d106693daaf1475c9855b7f880d7a275/flavors/0";, "rel": "bookmark"}], "ram": 64, "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": 1, "id": "0"}}

  Network endpoint in service catalog
  Connection: <openstack.connection.Connection object at 0x427aa10>
  Network client initialized using OpenStack SDK: <openstack.network.v2._proxy.Proxy object at 0x436dcd0>
  REQ: curl -g -i -X GET http://srvoskhost01:9696/v2.0/networks/88cdb332-1e82-40c9-aa3b-6b9bb6994063 -H "User-Agent: openstacksdk/0.8.1 keystoneauth1/2.3.1 python-requests/2.9.1 CPython/2.7.5" -H "X-Auth-Token: {SHA1}decc4a2c1bca195547a0214b7cb4e4820b58adc0"
  Starting new HTTP connection (1): srvoskhost01
  "GET /v2.0/networks/88cdb332-1e82-40c9-aa3b-6b9bb6994063 HTTP/1.1" 200 445
  RESP: [200] Date: Fri, 06 May 2016 20:26:23 GMT Connection: keep-alive Content-Type: application/json; charset=UTF-8 Content-Length: 445 X-Openstack-Request-Id: req-03460292-1f10-467e-87da-3c7a9b0d5ce6
  RESP BODY: {"network": {"status": "ACTIVE", "subnets": ["99e73104-0938-418f-8f85-0daaec98a6d8"], "availability_zone_hints": [], "availability_zones": ["nova"], "name": "DMZ_Public", "admin_state_up": true, "shared": false, "tenant_id": "d106693daaf1475c9855b7f880d7a275", "tags": [], "ipv6_address_scope": null, "mtu": 1450, "router:external": false, "ipv4_address_scope": null, "port_security_enabled": true, "id": "88cdb332-1e82-40c9-aa3b-6b9bb6994063"}}

  boot_args: ['Instance_test', <Image: cirros>, <Flavor: m1.nano>]
  boot_kwargs: {'files': {}, 'userdata': None, 'availability_zone': None, 'nics': [{'port-id': '', 'net-id': u'88cdb332-1e82-40c9-aa3b-6b9bb6994063', 'v4-fixed-ip': '', 'v6-fixed-ip': ''}], 'block_device_mapping': {}, 'max_count': 1, 'meta': None, 'key_name': 'mykey', 'min_count': 1, 'scheduler_hints': {}, 'reservation_id': None, 'security_groups': ['default'], 'config_drive': None}
  REQ: curl -g -i -X POST http://srvoskhost01:8774/v2.1/d106693daaf1475c9855b7f880d7a275/servers -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}decc4a2c1bca195547a0214b7cb4e4820b58adc0" -d '{"server": {"name": "Instance_test", "imageRef": "9e1b55bd-1fec-45cf-9cc9-cfe8c66e3120", "key_name": "mykey", "flavorRef": "0", "max_count": 1, "min_count": 1, "networks": [{"uuid": "88cdb332-1e82-40c9-aa3b-6b9bb6994063"}], "security_groups": [{"name": "default"}]}}'

  "POST /v2.1/d106693daaf1475c9855b7f880d7a275/servers HTTP/1.1" 500 216
  RESP: [500] Content-Length: 216 X-Compute-Request-Id: req-cf3da236-0bd0-427d-bfa3-900f3976fe90 Vary: X-OpenStack-Nova-API-Version Connection: keep-alive X-Openstack-Nova-Api-Version: 2.1 Date: Fri, 06 May 2016 20:27:23 GMT Content-Type: application/json; charset=UTF-8
  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<class 'oslo_messaging.exceptions.MessagingTimeout'>", "code": 500}}

  Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'oslo_messaging.exceptions.MessagingTimeout'> (HTTP 500) (Request-ID: req-cf3da236-0bd0-427d-bfa3-900f3976fe90)
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/cliff/app.py", line 346, in run_subcommand
      result = cmd.run(parsed_args)
    File "/usr/lib/python2.7/site-packages/openstackclient/common/command.py", line 38, in run
      return super(Command, self).run(parsed_args)
    File "/usr/lib/python2.7/site-packages/cliff/display.py", line 79, in run
      column_names, data = self.take_action(parsed_args)
    File "/usr/lib/python2.7/site-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/site-packages/novaclient/v2/servers.py", line 1233, in create
      **boot_kwargs)
    File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 667, in _boot
      return_raw=return_raw, **kwargs)
    File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 345, in _create
      resp, body = self.api.client.post(url, body=body)
    File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 179, in post
      return self.request(url, 'POST', **kwargs)
    File "/usr/lib/python2.7/site-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.
  <class 'oslo_messaging.exceptions.MessagingTimeout'> (HTTP 500) (Request-ID: req-cf3da236-0bd0-427d-bfa3-900f3976fe90)
  clean_up CreateServer: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'oslo_messaging.exceptions.MessagingTimeout'> (HTTP 500) (Request-ID: req-cf3da236-0bd0-427d-bfa3-900f3976fe90)
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 118, in run
      ret_val = super(OpenStackShell, self).run(argv)
    File "/usr/lib/python2.7/site-packages/cliff/app.py", line 226, in run
      result = self.run_subcommand(remainder)
    File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 153, in run_subcommand
      ret_value = super(OpenStackShell, self).run_subcommand(argv)
    File "/usr/lib/python2.7/site-packages/cliff/app.py", line 346, in run_subcommand
      result = cmd.run(parsed_args)
    File "/usr/lib/python2.7/site-packages/openstackclient/common/command.py", line 38, in run
      return super(Command, self).run(parsed_args)
    File "/usr/lib/python2.7/site-packages/cliff/display.py", line 79, in run
      column_names, data = self.take_action(parsed_args)
    File "/usr/lib/python2.7/site-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/site-packages/novaclient/v2/servers.py", line 1233, in create
      **boot_kwargs)
    File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 667, in _boot
      return_raw=return_raw, **kwargs)
    File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 345, in _create
      resp, body = self.api.client.post(url, body=body)
    File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 179, in post
      return self.request(url, 'POST', **kwargs)
    File "/usr/lib/python2.7/site-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.
  <class 'oslo_messaging.exceptions.MessagingTimeout'> (HTTP 500) (Request-ID: req-cf3da236-0bd0-427d-bfa3-900f3976fe90)

  END return value: 1

  Thanks for your help.

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


References