Ask Your Question
0

Help Remote error: ProcessExecutionError nova-rootwrap

asked 2015-02-15 06:26:00 -0600

Wilken gravatar image

updated 2015-02-15 15:15:43 -0600

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 (http://docs.openstack.org/icehouse/in...) 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 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-02-15 15:14:29 -0600

Wilken gravatar image

Trying to finish things up, I've installed heat, and when trying to verify it, it errors, and the details show this as an error | stack_status_reason | Resource CREATE failed: BadRequest: Bad network format: missing 'uuid' (HTTP 400) (Request-ID: req-

I have reason to believe this is a nova error, but not sure where to begin to troubleshoot, any ideas?

edit flag offensive delete link more

Comments

Looking at horizon and the instance, I have the following error: 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 -

Wilken gravatar imageWilken ( 2015-02-16 01:20:32 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-02-15 06:26:00 -0600

Seen: 148 times

Last updated: Feb 15 '15