← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1556758] Re: Instance create error because of timeout

 

** No longer affects: heat

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

Title:
  Instance create error because of  timeout

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  2016-03-14 14:19:47.620 TRACE heat.engine.resource Traceback (most recent call last):
  2016-03-14 14:19:47.620 TRACE heat.engine.resource   File "/opt/stack/heat/heat/engine/resource.py", line 688, in _action_recorder
  2016-03-14 14:19:47.620 TRACE heat.engine.resource     yield
  1). my yaml file as blow:
  heat_template_version: 2015-10-15
   
  description: HOT template for one interconnected VMs with floating ips.
   
  parameters:
    image_id:
      type: string
      description: Image Name
      default: cirros-0.3.4-x86_64-uec
   
    public_net:
      type: string
      description: public network id
      default: a059ae2f-0eed-468f-b2a2-a0427f621da1 
   
  resources:
    private_net:
      type: OS::Neutron::Net
      properties:
        name: private-net
        
    private_subnet:
      type: OS::Neutron::Subnet
      properties:
        network_id: { get_resource: private_net }
        cidr: 172.16.2.0/24
        gateway_ip: 172.16.2.1
   
    server1:
      type: OS::Nova::Server
      properties:
        name: Server1
        image: { get_param: image_id }
        flavor: m1.tiny
        networks:
          - network: {get_resource: private_net }

  
  2). when i try to create an instance, i get an error.(since )
  2016-03-14 14:28:36.237 TRACE heat.engine.resource Traceback (most recent call last):
  2016-03-14 14:28:36.237 TRACE heat.engine.resource   File "/opt/stack/heat/heat/engine/resource.py", line 688, in _action_recorder
  2016-03-14 14:28:36.237 TRACE heat.engine.resource     yield
  2016-03-14 14:28:36.237 TRACE heat.engine.resource   File "/opt/stack/heat/heat/engine/resource.py", line 759, in _do_action
  2016-03-14 14:28:36.237 TRACE heat.engine.resource     yield self.action_handler_task(action, args=handler_args)
  2016-03-14 14:28:36.237 TRACE heat.engine.resource   File "/opt/stack/heat/heat/engine/scheduler.py", line 297, in wrapper
  2016-03-14 14:28:36.237 TRACE heat.engine.resource     step = next(subtask)
  2016-03-14 14:28:36.237 TRACE heat.engine.resource   File "/opt/stack/heat/heat/engine/resource.py", line 730, in action_handler_task
  2016-03-14 14:28:36.237 TRACE heat.engine.resource     handler_data = handler(*args)
  2016-03-14 14:28:36.237 TRACE heat.engine.resource   File "/opt/stack/heat/heat/engine/resources/openstack/nova/server.py", line 822, in handle_create
  2016-03-14 14:28:36.237 TRACE heat.engine.resource     admin_pass=admin_pass)
  2016-03-14 14:28:36.237 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 1038, in create
  2016-03-14 14:28:36.237 TRACE heat.engine.resource     **boot_kwargs)
  2016-03-14 14:28:36.237 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 555, in _boot
  2016-03-14 14:28:36.237 TRACE heat.engine.resource     return_raw=return_raw, **kwargs)
  2016-03-14 14:28:36.237 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 302, in _create
  2016-03-14 14:28:36.237 TRACE heat.engine.resource     _resp, body = self.api.client.post(url, body=body)
  2016-03-14 14:28:36.237 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 451, in post
  2016-03-14 14:28:36.237 TRACE heat.engine.resource     return self._cs_request(url, 'POST', **kwargs)
  2016-03-14 14:28:36.237 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 426, in _cs_request
  2016-03-14 14:28:36.237 TRACE heat.engine.resource     resp, body = self._time_request(url, method, **kwargs)
  2016-03-14 14:28:36.237 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 399, in _time_request
  2016-03-14 14:28:36.237 TRACE heat.engine.resource     resp, body = self.request(url, method, **kwargs)
  2016-03-14 14:28:36.237 TRACE heat.engine.resource   File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 393, in request
  2016-03-14 14:28:36.237 TRACE heat.engine.resource     raise exceptions.from_response(resp, body, url, method)
  2016-03-14 14:28:36.237 TRACE heat.engine.resource ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  2016-03-14 14:28:36.237 TRACE heat.engine.resource <class 'oslo_messaging.exceptions.MessagingTimeout'> (HTTP 500) (Request-ID: req-d1fb3f88-9623-47b6-b3cd-74703e2ae89e)

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


References