← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1130742] Re: Can't add Instances - state "build"

 

Converting this bug into a question.  Hopefully someone there can help
you further debug your setup.

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

** Converted to question:
   https://answers.launchpad.net/nova/+question/222855

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

Title:
  Can't add Instances - state "build"

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Hello, I can't launch the instances. When I am adding the instances, there are no errors in log files. However when I am doing "nova list" command,  I see that my instances are in " build" state all the time and don't change their state to active
  my nova.conf

  [DEFAULT]
  #Logs
  verbose=True
  logdir = /var/log/nova
  state_path = /var/lib/nova
  lock_path = /var/lib/nova/tmp

  #Authentication
  auth_strategy=keystone

  #Scheduler
  compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler

  #VOLUMES
  volume_api_class=nova.volume.cinder.API
  #DATABASES
  sql_connection = mysql://nova:nova@localhost/nova
  #COMPUTE
  libvirt_type=kvm
  connection_type=libvirt
  instance_name_template=instance-%08x
  api_paste_config=/etc/nova/api-paste.ini
  #APIS
  osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
  ec2_dmz_host=192.168.236.10
  s3_host=192.168.236.10
  enabled_apis=ec2,osapi_compute,metadata
  #RABBIT
  qpid_host = 192.168.236.10
  #GLANCE
  image_service=nova.image.glance.GlanceImageService
  glance_api_servers=192.168.236.10:9292
  # NETWORK
  network_manager=nova.network.manager.FlatDHCPManager
  force_dhcp_release=True
  dhcpbridge_flagfile=/etc/nova/nova.conf
  firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
  # Change my_ip to match each host
  my_ip=192.168.236.10
  dhcpbridge_flagfile = /etc/nova/nova.conf
  public_interface=eth0
  flat_network_bridge=br100
  flat_interface=eth0
  fixed_range=192.168.100.0/24
  rpc_backend = nova.openstack.common.rpc.impl_qpid
  rootwrap_config = /etc/nova/rootwrap.conf
  # NOVNC CONSOLE
  novncproxy_base_url=http://192.168.236.10:6080/vnc_auto.html
  # Change vncserver_proxyclient_address and vncserver_listen to match each compute host
  vncserver_proxyclient_address=192.168.236.10
  vncserver_listen=192.168.236.10

  my api.log

  2013-02-20 17:49:49 INFO nova.api.openstack.wsgi [req-ec4d10c7-7476-4be5-aa34-67bf68ad8e1b d97250db82fd4487baf7a14762004759 57cd74777b3d44dfbb7e89600ced2f07] GET http://192.168.236.10:8774/v2/57cd74777b3d44dfbb7e89600ced2f07/servers/43538968-221c-48af-9de9-b9558d5125a2
  2013-02-20 17:49:49 DEBUG nova.api.openstack.wsgi [req-ec4d10c7-7476-4be5-aa34-67bf68ad8e1b d97250db82fd4487baf7a14762004759 57cd74777b3d44dfbb7e89600ced2f07] No Content-Type provided in request get_body /usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py:794
  2013-02-20 17:49:49 DEBUG nova.api.openstack.wsgi [req-ec4d10c7-7476-4be5-aa34-67bf68ad8e1b d97250db82fd4487baf7a14762004759 57cd74777b3d44dfbb7e89600ced2f07] Calling method <bound method Controller.show of <nova.api.openstack.compute.servers.Controller object at 0x1db2710>> _process_stack /usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py:926
  2013-02-20 17:49:49 INFO nova.api.openstack.wsgi [req-ec4d10c7-7476-4be5-aa34-67bf68ad8e1b d97250db82fd4487baf7a14762004759 57cd74777b3d44dfbb7e89600ced2f07] http://192.168.236.10:8774/v2/57cd74777b3d44dfbb7e89600ced2f07/servers/43538968-221c-48af-9de9-b9558d5125a2 returned with HTTP 200
  2013-02-20 17:49:49 INFO nova.osapi_compute.wsgi.server [req-ec4d10c7-7476-4be5-aa34-67bf68ad8e1b d97250db82fd4487baf7a14762004759 57cd74777b3d44dfbb7e89600ced2f07] 192.168.236.10 - - [20/Feb/2013 17:49:49] "GET /v2/57cd74777b3d44dfbb7e89600ced2f07/servers/43538968-221c-48af-9de9-b9558d5125a2 HTTP/1.1" 200 1498 0.105021

  2013-02-20 17:49:49 INFO nova.api.openstack.wsgi [req-e5ed2ee9-363c-4837-950c-b38cc7c6b34c d97250db82fd4487baf7a14762004759 57cd74777b3d44dfbb7e89600ced2f07] GET http://192.168.236.10:8774/v2/57cd74777b3d44dfbb7e89600ced2f07/flavors/2
  2013-02-20 17:49:49 DEBUG nova.api.openstack.wsgi [req-e5ed2ee9-363c-4837-950c-b38cc7c6b34c d97250db82fd4487baf7a14762004759 57cd74777b3d44dfbb7e89600ced2f07] No Content-Type provided in request get_body /usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py:794
  2013-02-20 17:49:49 DEBUG nova.api.openstack.wsgi [req-e5ed2ee9-363c-4837-950c-b38cc7c6b34c d97250db82fd4487baf7a14762004759 57cd74777b3d44dfbb7e89600ced2f07] Calling method <bound method Controller.show of <nova.api.openstack.compute.flavors.Controller object at 0x2e6b0d0>> _process_stack /usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py:926
  2013-02-20 17:49:49 INFO nova.api.openstack.wsgi [req-e5ed2ee9-363c-4837-950c-b38cc7c6b34c d97250db82fd4487baf7a14762004759 57cd74777b3d44dfbb7e89600ced2f07] http://192.168.236.10:8774/v2/57cd74777b3d44dfbb7e89600ced2f07/flavors/2 returned with HTTP 200
  2013-02-20 17:49:49 INFO nova.osapi_compute.wsgi.server [req-e5ed2ee9-363c-4837-950c-b38cc7c6b34c d97250db82fd4487baf7a14762004759 57cd74777b3d44dfbb7e89600ced2f07] 192.168.236.10 - - [20/Feb/2013 17:49:49] "GET /v2/57cd74777b3d44dfbb7e89600ced2f07/flavors/2 HTTP/1.1" 200 602 0.059745

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