Ask Your Question
0

Compute(Nova)--Spawning error

asked 2012-07-17 09:34:28 -0500

There are two nodes, one is control node,contain "keystone", "glance" “nova”, the other only contains "nvoa-compute". when i launch an instance , if on the control node ,the instance can be create correctly, otherwise there get below error could you help me to resolve this problem:

u201ssion deniedm-07-17 16:59:07 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 438, in _run_instance 2012-07-17 16:59:07 TRACE nova.rpc.amqp self._deallocate_network(context, instance) 2012-07-17 16:59:07 TRACE nova.rpc.amqp File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__ 2012-07-17 16:59:07 TRACE nova.rpc.amqp self.gen.next() 2012-07-17 16:59:07 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 435, in _run_instance 2012-07-17 16:59:07 TRACE nova.rpc.amqp injected_files, admin_password) 2012-07-17 16:59:07 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 598, in _spawn 2012-07-17 16:59:07 TRACE nova.rpc.amqp self._legacy_nw_info(network_info), block_device_info) 2012-07-17 16:59:07 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/exception.py", line 114, in wrapped 2012-07-17 16:59:07 TRACE nova.rpc.amqp return f(args, *kw) 2012-07-17 16:59:07 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/connection.py", line 925, in spawn 2012-07-17 16:59:07 TRACE nova.rpc.amqp self.firewall_driver.setup_basic_filtering(instance, network_info) 2012-07-17 16:59:07 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/firewall.py", line 235, in setup_basic_filtering 2012-07-17 16:59:07 TRACE nova.rpc.amqp self.refresh_provider_fw_rules() 2012-07-17 16:59:07 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/virt/firewall.py", line 368, in refresh_provider_fw_rules 2012-07-17 16:59:07 TRACE nova.rpc.amqp self.iptables.apply() 2012-07-17 16:59:07 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/utils.py", line 944, in inner 2012-07-17 16:59:07 TRACE nova.rpc.amqp retval = f(args, *kwargs) 2012-07-17 16:59:07 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 328, in apply 2012-07-17 16:59:07 TRACE nova.rpc.amqp attempts=5) 2012-07-17 16:59:07 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 812, in _execute 2012-07-17 16:59:07 TRACE nova.rpc.amqp return utils.execute(cmd, *kwargs) 2012-07-17 16:59:07 TRACE nova.rpc.amqp File "/usr/lib/python2.6/site-packages/nova/utils.py", line 243, in execute 2012-07-17 16:59:07 TRACE nova.rpc.amqp cmd=' '.join(cmd)) 2012-07-17 16:59:07 TRACE nova.rpc.amqp ProcessExecutionError: Unexpected error while running command. 2012-07-17 16:59:07 TRACE nova.rpc.amqp Command: sudo nova-rootwrap iptables-save -t filter 2012-07-17 16:59:07 TRACE nova.rpc.amqp Exit code: 1 2012-07-17 16:59:07 TRACE nova.rpc.amqp Stdout: '' 2012-07-17 16:59:07 TRACE nova.rpc.amqp ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2012-07-18 10:14:47 -0500

i do not close selinux

edit flag offensive delete link more

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: 2012-07-17 09:34:28 -0500

Seen: 40 times

Last updated: Jul 18 '12