Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Help Remote error: ProcessExecutionError nova-rootwrap

I'm having a problem, I've tried searching around, and found a few places to go, but this keeps perplexing me. I've followed the guide http://docs.openstack.org/icehouse/install-guide/install/apt/content/launch-instance-nova.html here, have a dashboard and other services going, I get errors trying to do an instance through dashboard, tired following the instance guide and got errors as well. I am not sure what I am looking at I've added the command as its what I've been trying to find errors from.

I use the following command, and when I look at the status, it errors out on nova list,

nova boot --flavor m1.tiny --image cirros-0.3.2-x86_64 --nic net-id=f48e62db-2d7b-4005-a0e7-f5ded9d0622c --security-group default --key-name demo-key demo-instance1 The output of the command: nova show demo-instance1 :

Any Ideas?

+--------------------------------------+----------------+--------+------------+-------------+----------------------+
| ID                                   | Name           | Status | Task State | Power State | Networks             |
+--------------------------------------+----------------+--------+------------+-------------+----------------------+
| 71cf7442-1b11-42c8-a455-4464d790391b | demo-instance1 | ERROR  | -          | NOSTATE     | demo-net=10.20.7.194 |
+--------------------------------------+----------------+--------+------------+-------------+----------------------+
root@cloudcontroller:/home/student# nova show demo-instance1
+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property                             | Value                                                                                                                                                                                                                                                                                                                 |
+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                                                                                                                                                                                                                                                                                                |
| OS-EXT-AZ:availability_zone          | nova                                                                                                                                                                                                                                                                                                                  |
| OS-EXT-SRV-ATTR:host                 | compute1                                                                                                                                                                                                                                                                                                              |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | compute1                                                                                                                                                                                                                                                                                                              |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000006                                                                                                                                                                                                                                                                                                     |
| 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                              | 2015-02-15T12:10:47Z                                                                                                                                                                                                                                                                                                  |
| demo-net network                     |                                                                                                                                                                                                                                                                                                                       |
| 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=/var/lib/", "code": 500, "details": "  File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 298, in decorated_function |
|                                      |     return function(self, context, *args, **kwargs)                                                                                                                                                                                                                                                                   |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2116, in run_instance                                                                                                                                                                                                                       |
|                                      |     do_run_instance()                                                                                                                                                                                                                                                                                                 |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py\", line 249, in inner                                                                                                                                                                                                                    |
|                                      |     return f(*args, **kwargs)                                                                                                                                                                                                                                                                                         |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2115, in do_run_instance                                                                                                                                                                                                                    |
|                                      |     legacy_bdm_in_spec)                                                                                                                                                                                                                                                                                               |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1229, in _run_instance                                                                                                                                                                                                                      |
|                                      |     notify(\"error\", fault=e)  # notify that build failed                                                                                                                                                                                                                                                            |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py\", line 68, in __exit__                                                                                                                                                                                                                   |
|                                      |     six.reraise(self.type_, self.value, self.tb)                                                                                                                                                                                                                                                                      |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1213, in _run_instance                                                                                                                                                                                                                      |
|                                      |     instance, image_meta, legacy_bdm_in_spec)                                                                                                                                                                                                                                                                         |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1377, in _build_instance                                                                                                                                                                                                                    |
|                                      |     filter_properties, bdms, legacy_bdm_in_spec)                                                                                                                                                                                                                                                                      |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1423, in _reschedule_or_error                                                                                                                                                                                                               |
|                                      |     self._log_original_error(exc_info, instance_uuid)                                                                                                                                                                                                                                                                 |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py\", line 68, in __exit__                                                                                                                                                                                                                   |
|                                      |     six.reraise(self.type_, self.value, self.tb)                                                                                                                                                                                                                                                                      |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1418, in _reschedule_or_error                                                                                                                                                                                                               |
|                                      |     bdms, requested_networks)                                                                                                                                                                                                                                                                                         |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2163, in _shutdown_instance                                                                                                                                                                                                                 |
|                                      |     self._try_deallocate_network(context, instance, requested_networks)                                                                                                                                                                                                                                               |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2127, in _try_deallocate_network                                                                                                                                                                                                            |
|                                      |     self._set_instance_error_state(context, instance['uuid'])                                                                                                                                                                                                                                                         |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py\", line 68, in __exit__                                                                                                                                                                                                                   |
|                                      |     six.reraise(self.type_, self.value, self.tb)                                                                                                                                                                                                                                                                      |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2122, in _try_deallocate_network                                                                                                                                                                                                            |
|                                      |     self._deallocate_network(context, instance, requested_networks)                                                                                                                                                                                                                                                   |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1797, in _deallocate_network                                                                                                                                                                                                                |
|                                      |     context, instance, requested_networks=requested_networks)                                                                                                                                                                                                                                                         |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/network/api.py\", line 101, in wrapped                                                                                                                                                                                                                                 |
|                                      |     return func(self, context, *args, **kwargs)                                                                                                                                                                                                                                                                       |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/network/api.py\", line 351, in deallocate_for_instance                                                                                                                                                                                                                 |
|                                      |     requested_networks=requested_networks)                                                                                                                                                                                                                                                                            |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py\", line 190, in deallocate_for_instance                                                                                                                                                                                                              |
|                                      |     return cctxt.call(ctxt, 'deallocate_for_instance', **kwargs)                                                                                                                                                                                                                                                      |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py\", line 150, in call                                                                                                                                                                                                                           |
|                                      |     wait_for_reply=True, timeout=timeout)                                                                                                                                                                                                                                                                             |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py\", line 90, in _send                                                                                                                                                                                                                            |
|                                      |     timeout=timeout)                                                                                                                                                                                                                                                                                                  |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py\", line 412, in send                                                                                                                                                                                                                  |
|                                      |     return self._send(target, ctxt, message, wait_for_reply, timeout)                                                                                                                                                                                                                                                 |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py\", line 405, in _send                                                                                                                                                                                                                 |
|                                      |     raise result                                                                                                                                                                                                                                                                                                      |
|                                      | ", "created": "2015-02-15T12:10:50Z"}                                                                                                                                                                                                                                                                                 |
| flavor                               | m1.tiny (1)                                                                                                                                                                                                                                                                                                           |
| hostId                               | e2f006b1b610cad81a5ba340f711c2a08572d861445be97190411844                                                                                                                                                                                                                                                              |
| id                                   | 71cf7442-1b11-42c8-a455-4464d790391b                                                                                                                                                                                                                                                                                  |
| image                                | cirros-0.3.2-x86_64 (866eec48-ffda-4e45-8d23-dde7d0158069)                                                                                                                                                                                                                                                            |
| key_name                             | demo-key                                                                                                                                                                                                                                                                                                              |
| metadata                             | {}                                                                                                                                                                                                                                                                                                                    |
| name                                 | demo-instance1                                                                                                                                                                                                                                                                                                        |
| os-extended-volumes:volumes_attached | []                                                                                                                                                                                                                                                                                                                    |
| security_groups                      | default                                                                                                                                                                                                                                                                                                               |
| status                               | ERROR                                                                                                                                                                                                                                                                                                                 |
| tenant_id                            | ddcb9ec38ec74ab9b174d96cea69e44e                                                                                                                                                                                                                                                                                      |
| updated                              | 2015-02-15T12:10:50Z                                                                                                                                                                                                                                                                                                  |
| user_id                              | 4643e144c8bb4874845ff4f4c3019643                                                                                                                                                                                                                                                                                      |
+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Help Remote error: ProcessExecutionError nova-rootwrap

I'm having a problem, I've tried searching around, and found a few places to go, but this keeps perplexing me. I've followed the guide http://docs.openstack.org/icehouse/install-guide/install/apt/content/launch-instance-nova.html here, have a dashboard and other services going, I get errors trying to do an instance through dashboard, tired following the instance guide and got errors as well. I am not sure what I am looking at I've added the command as its what I've been trying to find errors from.

Using Icehouse, and nova networking.

I use the following command, and when I look at the status, it errors out on nova list,

nova boot --flavor m1.tiny --image cirros-0.3.2-x86_64 --nic net-id=f48e62db-2d7b-4005-a0e7-f5ded9d0622c --security-group default --key-name demo-key demo-instance1 The output of the command: nova show demo-instance1 :

Any Ideas?

+--------------------------------------+----------------+--------+------------+-------------+----------------------+
| ID                                   | Name           | Status | Task State | Power State | Networks             |
+--------------------------------------+----------------+--------+------------+-------------+----------------------+
| 71cf7442-1b11-42c8-a455-4464d790391b | demo-instance1 | ERROR  | -          | NOSTATE     | demo-net=10.20.7.194 |
+--------------------------------------+----------------+--------+------------+-------------+----------------------+
root@cloudcontroller:/home/student# nova show demo-instance1
+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property                             | Value                                                                                                                                                                                                                                                                                                                 |
+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                                                                                                                                                                                                                                                                                                |
| OS-EXT-AZ:availability_zone          | nova                                                                                                                                                                                                                                                                                                                  |
| OS-EXT-SRV-ATTR:host                 | compute1                                                                                                                                                                                                                                                                                                              |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | compute1                                                                                                                                                                                                                                                                                                              |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000006                                                                                                                                                                                                                                                                                                     |
| 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                              | 2015-02-15T12:10:47Z                                                                                                                                                                                                                                                                                                  |
| demo-net network                     |                                                                                                                                                                                                                                                                                                                       |
| 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=/var/lib/", "code": 500, "details": "  File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 298, in decorated_function |
|                                      |     return function(self, context, *args, **kwargs)                                                                                                                                                                                                                                                                   |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2116, in run_instance                                                                                                                                                                                                                       |
|                                      |     do_run_instance()                                                                                                                                                                                                                                                                                                 |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py\", line 249, in inner                                                                                                                                                                                                                    |
|                                      |     return f(*args, **kwargs)                                                                                                                                                                                                                                                                                         |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2115, in do_run_instance                                                                                                                                                                                                                    |
|                                      |     legacy_bdm_in_spec)                                                                                                                                                                                                                                                                                               |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1229, in _run_instance                                                                                                                                                                                                                      |
|                                      |     notify(\"error\", fault=e)  # notify that build failed                                                                                                                                                                                                                                                            |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py\", line 68, in __exit__                                                                                                                                                                                                                   |
|                                      |     six.reraise(self.type_, self.value, self.tb)                                                                                                                                                                                                                                                                      |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1213, in _run_instance                                                                                                                                                                                                                      |
|                                      |     instance, image_meta, legacy_bdm_in_spec)                                                                                                                                                                                                                                                                         |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1377, in _build_instance                                                                                                                                                                                                                    |
|                                      |     filter_properties, bdms, legacy_bdm_in_spec)                                                                                                                                                                                                                                                                      |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1423, in _reschedule_or_error                                                                                                                                                                                                               |
|                                      |     self._log_original_error(exc_info, instance_uuid)                                                                                                                                                                                                                                                                 |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py\", line 68, in __exit__                                                                                                                                                                                                                   |
|                                      |     six.reraise(self.type_, self.value, self.tb)                                                                                                                                                                                                                                                                      |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1418, in _reschedule_or_error                                                                                                                                                                                                               |
|                                      |     bdms, requested_networks)                                                                                                                                                                                                                                                                                         |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2163, in _shutdown_instance                                                                                                                                                                                                                 |
|                                      |     self._try_deallocate_network(context, instance, requested_networks)                                                                                                                                                                                                                                               |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2127, in _try_deallocate_network                                                                                                                                                                                                            |
|                                      |     self._set_instance_error_state(context, instance['uuid'])                                                                                                                                                                                                                                                         |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py\", line 68, in __exit__                                                                                                                                                                                                                   |
|                                      |     six.reraise(self.type_, self.value, self.tb)                                                                                                                                                                                                                                                                      |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2122, in _try_deallocate_network                                                                                                                                                                                                            |
|                                      |     self._deallocate_network(context, instance, requested_networks)                                                                                                                                                                                                                                                   |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1797, in _deallocate_network                                                                                                                                                                                                                |
|                                      |     context, instance, requested_networks=requested_networks)                                                                                                                                                                                                                                                         |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/network/api.py\", line 101, in wrapped                                                                                                                                                                                                                                 |
|                                      |     return func(self, context, *args, **kwargs)                                                                                                                                                                                                                                                                       |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/network/api.py\", line 351, in deallocate_for_instance                                                                                                                                                                                                                 |
|                                      |     requested_networks=requested_networks)                                                                                                                                                                                                                                                                            |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py\", line 190, in deallocate_for_instance                                                                                                                                                                                                              |
|                                      |     return cctxt.call(ctxt, 'deallocate_for_instance', **kwargs)                                                                                                                                                                                                                                                      |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py\", line 150, in call                                                                                                                                                                                                                           |
|                                      |     wait_for_reply=True, timeout=timeout)                                                                                                                                                                                                                                                                             |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py\", line 90, in _send                                                                                                                                                                                                                            |
|                                      |     timeout=timeout)                                                                                                                                                                                                                                                                                                  |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py\", line 412, in send                                                                                                                                                                                                                  |
|                                      |     return self._send(target, ctxt, message, wait_for_reply, timeout)                                                                                                                                                                                                                                                 |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py\", line 405, in _send                                                                                                                                                                                                                 |
|                                      |     raise result                                                                                                                                                                                                                                                                                                      |
|                                      | ", "created": "2015-02-15T12:10:50Z"}                                                                                                                                                                                                                                                                                 |
| flavor                               | m1.tiny (1)                                                                                                                                                                                                                                                                                                           |
| hostId                               | e2f006b1b610cad81a5ba340f711c2a08572d861445be97190411844                                                                                                                                                                                                                                                              |
| id                                   | 71cf7442-1b11-42c8-a455-4464d790391b                                                                                                                                                                                                                                                                                  |
| image                                | cirros-0.3.2-x86_64 (866eec48-ffda-4e45-8d23-dde7d0158069)                                                                                                                                                                                                                                                            |
| key_name                             | demo-key                                                                                                                                                                                                                                                                                                              |
| metadata                             | {}                                                                                                                                                                                                                                                                                                                    |
| name                                 | demo-instance1                                                                                                                                                                                                                                                                                                        |
| os-extended-volumes:volumes_attached | []                                                                                                                                                                                                                                                                                                                    |
| security_groups                      | default                                                                                                                                                                                                                                                                                                               |
| status                               | ERROR                                                                                                                                                                                                                                                                                                                 |
| tenant_id                            | ddcb9ec38ec74ab9b174d96cea69e44e                                                                                                                                                                                                                                                                                      |
| updated                              | 2015-02-15T12:10:50Z                                                                                                                                                                                                                                                                                                  |
| user_id                              | 4643e144c8bb4874845ff4f4c3019643                                                                                                                                                                                                                                                                                      |
+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+