yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #10271
[Bug 1285013] [NEW] Failed to launch instance
Public bug reported:
I am not able to create instances successfully. You can check the error below.
ostack@xnode02:~/devstack$ source openrc admin
ostack@xnode02:~/devstack$ nova list
+--------------------------------------+-------------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-------------+--------+------------+-------------+----------+
| b8bf3f3f-40c4-444b-b363-3571c5fac7ae | ex-bfv-inst | ERROR | - | NOSTATE | |
| 389e154a-f00b-4e90-af36-46f382484165 | ex-float | ERROR | - | NOSTATE | |
| 806ca8e7-3589-4f4b-80f8-e2f7a31346b0 | ex-vol-inst | ERROR | - | NOSTATE | |
+--------------------------------------+-------------+--------+------------+-------------+----------+
ostack@xnode02:~/devstack$ nova show b8bf3f3f-40c4-444b-b363-3571c5fac7ae
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property | Value |
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | xnode02 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | xnode02 |
| OS-EXT-SRV-ATTR:instance_name | instance-00000001 |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | - |
| OS-EXT-STS:vm_state | error |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2014-02-26T06:54:06Z |
| fault | {"message": "Remote error: ProcessExecutionError Unexpected error while running command. |
| | Command: sudo nova-rootwrap /etc/nova/rootwrap.conf env CONFIG_FILE=[\"/etc/nova/nova.conf\"] NETWORK_ID=1 dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/opt/stac", "code": 500, "details": " File \"/opt/stack/nova/nova/compute/manager.py\", line 258, in decorated_function |
| | return function(self, context, *args, **kwargs) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1863, in run_instance |
| | do_run_instance() |
| | File \"/opt/stack/nova/nova/openstack/common/lockutils.py\", line 249, in inner |
| | return f(*args, **kwargs) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1862, in do_run_instance |
| | legacy_bdm_in_spec) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 996, in _run_instance |
| | notify(\"error\", msg=unicode(e)) # notify that build failed |
| | File \"/opt/stack/nova/nova/openstack/common/excutils.py\", line 68, in __exit__ |
| | six.reraise(self.type_, self.value, self.tb) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 980, in _run_instance |
| | instance, image_meta, legacy_bdm_in_spec) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1106, in _build_instance |
| | filter_properties, bdms, legacy_bdm_in_spec) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1150, in _reschedule_or_error |
| | self._log_original_error(exc_info, instance_uuid) |
| | File \"/opt/stack/nova/nova/openstack/common/excutils.py\", line 68, in __exit__ |
| | six.reraise(self.type_, self.value, self.tb) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1145, in _reschedule_or_error |
| | bdms, requested_networks) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1915, in _shutdown_instance |
| | self._try_deallocate_network(context, instance, requested_networks) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1874, in _try_deallocate_network |
| | self._set_instance_error_state(context, instance['uuid']) |
| | File \"/opt/stack/nova/nova/openstack/common/excutils.py\", line 68, in __exit__ |
| | six.reraise(self.type_, self.value, self.tb) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1869, in _try_deallocate_network |
| | self._deallocate_network(context, instance, requested_networks) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1534, in _deallocate_network |
| | context, instance, requested_networks=requested_networks) |
| | File \"/opt/stack/nova/nova/network/api.py\", line 94, in wrapped |
| | return func(self, context, *args, **kwargs) |
| | File \"/opt/stack/nova/nova/network/api.py\", line 319, in deallocate_for_instance |
| | self.network_rpcapi.deallocate_for_instance(context, **args) |
| | File \"/opt/stack/nova/nova/network/rpcapi.py\", line 176, in deallocate_for_instance |
| | host=host, requested_networks=requested_networks) |
| | File \"/opt/stack/oslo.messaging/oslo/messaging/rpc/client.py\", line 361, in call |
| | return self.prepare().call(ctxt, method, **kwargs) |
| | File \"/opt/stack/oslo.messaging/oslo/messaging/rpc/client.py\", line 150, in call |
| | wait_for_reply=True, timeout=timeout) |
| | File \"/opt/stack/oslo.messaging/oslo/messaging/transport.py\", line 87, in _send |
| | timeout=timeout) |
| | File \"/opt/stack/oslo.messaging/oslo/messaging/_drivers/amqpdriver.py\", line 393, in send |
| | return self._send(target, ctxt, message, wait_for_reply, timeout) |
| | File \"/opt/stack/oslo.messaging/oslo/messaging/_drivers/amqpdriver.py\", line 386, in _send |
| | raise result |
| | ", "created": "2014-02-26T06:54:17Z"} |
| flavor | m1.tiny (1) |
| hostId | a36f7d0252ec74ba906d35815ae777a3396b97d9b7c9a09343a9887b |
| id | b8bf3f3f-40c4-444b-b363-3571c5fac7ae |
| image | cirros-0.3.1-x86_64-uec (71d8c5d3-c9c4-4f90-a73f-65c68a89befa) |
| key_name | test_key |
| metadata | {} |
| name | ex-bfv-inst |
| os-extended-volumes:volumes_attached | [{"id": "a97901cf-16ac-496a-8909-81219d9c9820"}] |
| private network | |
| security_groups | boot_secgroup |
| status | ERROR |
| tenant_id | 72612b289f414ec89c2c7111c5d589f9 |
| updated | 2014-02-26T06:54:18Z |
| user_id | f853940f34c7419db828e0a5761882d7 |
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
ostack@xnode02:~/devstack$
** Affects: nova
Importance: Undecided
Status: New
--
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/1285013
Title:
Failed to launch instance
Status in OpenStack Compute (Nova):
New
Bug description:
I am not able to create instances successfully. You can check the error below.
ostack@xnode02:~/devstack$ source openrc admin
ostack@xnode02:~/devstack$ nova list
+--------------------------------------+-------------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-------------+--------+------------+-------------+----------+
| b8bf3f3f-40c4-444b-b363-3571c5fac7ae | ex-bfv-inst | ERROR | - | NOSTATE | |
| 389e154a-f00b-4e90-af36-46f382484165 | ex-float | ERROR | - | NOSTATE | |
| 806ca8e7-3589-4f4b-80f8-e2f7a31346b0 | ex-vol-inst | ERROR | - | NOSTATE | |
+--------------------------------------+-------------+--------+------------+-------------+----------+
ostack@xnode02:~/devstack$ nova show b8bf3f3f-40c4-444b-b363-3571c5fac7ae
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property | Value |
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | xnode02 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | xnode02 |
| OS-EXT-SRV-ATTR:instance_name | instance-00000001 |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | - |
| OS-EXT-STS:vm_state | error |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2014-02-26T06:54:06Z |
| fault | {"message": "Remote error: ProcessExecutionError Unexpected error while running command. |
| | Command: sudo nova-rootwrap /etc/nova/rootwrap.conf env CONFIG_FILE=[\"/etc/nova/nova.conf\"] NETWORK_ID=1 dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/opt/stac", "code": 500, "details": " File \"/opt/stack/nova/nova/compute/manager.py\", line 258, in decorated_function |
| | return function(self, context, *args, **kwargs) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1863, in run_instance |
| | do_run_instance() |
| | File \"/opt/stack/nova/nova/openstack/common/lockutils.py\", line 249, in inner |
| | return f(*args, **kwargs) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1862, in do_run_instance |
| | legacy_bdm_in_spec) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 996, in _run_instance |
| | notify(\"error\", msg=unicode(e)) # notify that build failed |
| | File \"/opt/stack/nova/nova/openstack/common/excutils.py\", line 68, in __exit__ |
| | six.reraise(self.type_, self.value, self.tb) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 980, in _run_instance |
| | instance, image_meta, legacy_bdm_in_spec) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1106, in _build_instance |
| | filter_properties, bdms, legacy_bdm_in_spec) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1150, in _reschedule_or_error |
| | self._log_original_error(exc_info, instance_uuid) |
| | File \"/opt/stack/nova/nova/openstack/common/excutils.py\", line 68, in __exit__ |
| | six.reraise(self.type_, self.value, self.tb) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1145, in _reschedule_or_error |
| | bdms, requested_networks) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1915, in _shutdown_instance |
| | self._try_deallocate_network(context, instance, requested_networks) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1874, in _try_deallocate_network |
| | self._set_instance_error_state(context, instance['uuid']) |
| | File \"/opt/stack/nova/nova/openstack/common/excutils.py\", line 68, in __exit__ |
| | six.reraise(self.type_, self.value, self.tb) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1869, in _try_deallocate_network |
| | self._deallocate_network(context, instance, requested_networks) |
| | File \"/opt/stack/nova/nova/compute/manager.py\", line 1534, in _deallocate_network |
| | context, instance, requested_networks=requested_networks) |
| | File \"/opt/stack/nova/nova/network/api.py\", line 94, in wrapped |
| | return func(self, context, *args, **kwargs) |
| | File \"/opt/stack/nova/nova/network/api.py\", line 319, in deallocate_for_instance |
| | self.network_rpcapi.deallocate_for_instance(context, **args) |
| | File \"/opt/stack/nova/nova/network/rpcapi.py\", line 176, in deallocate_for_instance |
| | host=host, requested_networks=requested_networks) |
| | File \"/opt/stack/oslo.messaging/oslo/messaging/rpc/client.py\", line 361, in call |
| | return self.prepare().call(ctxt, method, **kwargs) |
| | File \"/opt/stack/oslo.messaging/oslo/messaging/rpc/client.py\", line 150, in call |
| | wait_for_reply=True, timeout=timeout) |
| | File \"/opt/stack/oslo.messaging/oslo/messaging/transport.py\", line 87, in _send |
| | timeout=timeout) |
| | File \"/opt/stack/oslo.messaging/oslo/messaging/_drivers/amqpdriver.py\", line 393, in send |
| | return self._send(target, ctxt, message, wait_for_reply, timeout) |
| | File \"/opt/stack/oslo.messaging/oslo/messaging/_drivers/amqpdriver.py\", line 386, in _send |
| | raise result |
| | ", "created": "2014-02-26T06:54:17Z"} |
| flavor | m1.tiny (1) |
| hostId | a36f7d0252ec74ba906d35815ae777a3396b97d9b7c9a09343a9887b |
| id | b8bf3f3f-40c4-444b-b363-3571c5fac7ae |
| image | cirros-0.3.1-x86_64-uec (71d8c5d3-c9c4-4f90-a73f-65c68a89befa) |
| key_name | test_key |
| metadata | {} |
| name | ex-bfv-inst |
| os-extended-volumes:volumes_attached | [{"id": "a97901cf-16ac-496a-8909-81219d9c9820"}] |
| private network | |
| security_groups | boot_secgroup |
| status | ERROR |
| tenant_id | 72612b289f414ec89c2c7111c5d589f9 |
| updated | 2014-02-26T06:54:18Z |
| user_id | f853940f34c7419db828e0a5761882d7 |
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
ostack@xnode02:~/devstack$
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1285013/+subscriptions
Follow ups
References