MessagingTimeout is most of the time due to a configuration error where
the request from the API is not able to go to the compute node for
creating the instance, hence the error (because the message queue is
maybe not there, or because the creds are not good, etc.)

Please make sure your configuration is okay (and please use nova list
for checking, insteand of openstackclient) and in case you think it's
not a deployment issue, please modify back that bug report state to New.

** 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/1570719

Title:
   Compute node failed to create vm instance on launching command
  openstack server create

Status in OpenStack Compute (nova):
  Invalid

Bug description:
   Compute node failed to create vm instance on launching command
  openstack server create.

  [admin@controller ~]$ openstack server create --flavor m1.tiny --image cirros 
\
  >   --nic net-id=1aabac77-e3d1-4f4c-bfa0-dc32d24c0776 --security-group 
default \
  >   --key-name mykey selfservice-instance
  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-e63e0908-befa-43d5-b8a7-ec00a8b623a9)
  [admin@controller ~]$


  
  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-c5dadd4a-35cc-4abe-a9ad-e2e9dda15b88)
  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-c5dadd4a-35cc-4abe-a9ad-e2e9dda15b88)
  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-c5dadd4a-35cc-4abe-a9ad-e2e9dda15b88)
  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-c5dadd4a-35cc-4abe-a9ad-e2e9dda15b88)


  
  Error:

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to