openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #20624
Re: Cant start nova vm's - iptables-restore error
I suspect you are suffering from this recently fixed bug:
https://bugs.launchpad.net/nova/+bug/1103436
If you update your nova code and and run everything you should be ok.
Vish
On Feb 1, 2013, at 10:20 AM, Wojciech Dec <wdec.ietf@xxxxxxxxx> wrote:
> Hi All,
>
> while testing the latest code under devstackon a multi-node setup, I'm having problems starting up VMs, with the following symptoms.
> Any hints as to causes or possible fixes?
>
> Thanks,
> Woj.
>
> controller:~/devstack$ nova show test1
> +-------------------------------------+------------------------------------------------------------------------------------------------------------+
> | Property | Value |
> +-------------------------------------+------------------------------------------------------------------------------------------------------------+
> | status | ERROR |
> | updated | 2013-02-01T18:10:22Z |
> | OS-EXT-STS:task_state | None |
> | OS-EXT-SRV-ATTR:host | comp1 |
> | key_name | None |
> | image | cirros-0.3.0-x86_64-uec (cee50310-6b6c-46ca-acfd-e69c53b4a475) |
> | private network | 10.0.0.3 |
> | hostId | 3f02ed3670b7d77f5fff336b6d99083ffb9de4021a15ee9bc7871536 |
> | OS-EXT-STS:vm_state | error |
> | OS-EXT-SRV-ATTR:instance_name | instance-0000000c |
> | OS-EXT-SRV-ATTR:hypervisor_hostname | comp1 |
> | flavor | m1.tiny (1) |
> | id | 86f90ed0-82fd-44fc-bc61-98f1dbbc7a5b |
> | security_groups | [{u'name': u'default'}] |
> | user_id | f92ba21f5c464c77a383e939153472a2 |
> | name | test1 |
> | created | 2013-02-01T18:09:53Z |
> | tenant_id | 9690f85f9c20486cbf6be83cc02c92b7 |
> | OS-DCF:diskConfig | MANUAL |
> | accessIPv4 | |
> | accessIPv6 | |
> | fault | {u'message': u'ProcessExecutionError', u'code': 500, u'details': u'Unexpected error while running command. |
> | | Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-restore -c |
> | | Exit code: 1 |
> | | Stdout: \'\' |
> | | Stderr: \'iptables-restore: line 1 failed\ |
> | | \' |
> | | File "/opt/stack/nova/nova/compute/manager.py", line 690, in _run_instance |
> | | injected_files, admin_password) |
> | | File "/opt/stack/nova/nova/compute/manager.py", line 962, in _spawn |
> | | block_device_info) |
> | | File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1059, in spawn |
> | | block_device_info) |
> | | File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1978, in _create_domain_and_network |
> | | self.firewall_driver.setup_basic_filtering(instance, network_info) |
> | | File "/opt/stack/nova/nova/virt/libvirt/firewall.py", line 234, in setup_basic_filtering |
> | | self.refresh_provider_fw_rules() |
> | | File "/opt/stack/nova/nova/virt/firewall.py", line 457, in refresh_provider_fw_rules |
> | | self.iptables.apply() |
> | | File "/opt/stack/nova/nova/network/linux_net.py", line 358, in apply |
> | | self._apply() |
> | | File "/opt/stack/nova/nova/openstack/common/lockutils.py", line 221, in inner |
> | | retval = f(*args, **kwargs) |
> | | File "/opt/stack/nova/nova/network/linux_net.py", line 384, in _apply |
> | | attempts=5) |
> | | File "/opt/stack/nova/nova/network/linux_net.py", line 1040, in _execute |
> | | return utils.execute(*cmd, **kwargs) |
> | | File "/opt/stack/nova/nova/utils.py", line 232, in execute |
> | | cmd=\' \'.join(cmd)) |
> | | ', u'created': u'2013-02-01T18:10:04Z'} |
> | OS-EXT-STS:power_state | 4 |
> | metadata | {} |
> | config_drive | |
> +-------------------------------------+------------------------------------------------------------------------------------------------------------+
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
References