Ask Your Question
0

Compute2 running instances

asked 2011-07-13 15:50:56 -0500

guidodavide-dallolio gravatar image

Hi, I installed a dual configuration of openstack(in both computer a new configuration from sources from scratch). In the first pc are running all services and when I try euca-run-instances it works(the instance run on the main pc itself with a compute1 service running). I see instances running and i ping, ssh them. But on the other pc, with only running nova-compute service, every time the main pc tries to run an instance on it i get this error on compute2: " libvir: QEMU error : request operation is not valid : domain is not running QEMU error : domain not found : no domain with matching name 'instance-0000000b' libvir: QEMU error : internal error Process exited while reading console log output : char device redirected to /dev/pts/0 QEMU: could not load kernel '/var/lib/nova/instances/instance-0000000b/kernel' : permission denied

" I don't know how to solve it..please help Thanks everyone who could help me

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2011-07-24 16:07:46 -0500

guidodavide-dallolio gravatar image

Solved by copying the folder _base in "instances" from controller in the same "instances" of compute2. That worked for me..now I have a second Compute running virtual machines

edit flag offensive delete link more
0

answered 2011-07-21 09:09:43 -0500

sunny790821 gravatar image

I have similar error.

2011-07-21 18:06:14,192 ERROR nova.exception [-] Uncaught exception (nova.exception): TRACE: Traceback (most recent call last): (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 120, in _wrap (nova.exception): TRACE: return f(args, *kw) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 617, in spawn (nova.exception): TRACE: domain = self._create_new_domain(xml) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt_conn.py", line 1079, in _create_new_domain (nova.exception): TRACE: domain.createWithFlags(launch_flags) (nova.exception): TRACE: File "/usr/lib/python2.6/dist-packages/libvirt.py", line 337, in createWithFlags (nova.exception): TRACE: if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) (nova.exception): TRACE: libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/2 (nova.exception): TRACE: qemu: could not load kernel '/var/lib/nova/instances/instance-0000005a/kernel': Permission denied (nova.exception): TRACE: (nova.exception): TRACE: 2011-07-21 18:06:14,193 ERROR nova.compute.manager [X58HFZS3AUFF8IYMP1EM novaadmin proj] Instance '90' failed to spawn. Is virtualization enabled in the BIOS? (nova.compute.manager): TRACE: Traceback (most recent call last): (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 234, in run_instance (nova.compute.manager): TRACE: self.driver.spawn(instance_ref) (nova.compute.manager): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 126, in _wrap (nova.compute.manager): TRACE: raise Error(str(e)) (nova.compute.manager): TRACE: Error: internal error Process exited while reading console log output: char device redirected to /dev/pts/2 (nova.compute.manager): TRACE: qemu: could not load kernel '/var/lib/nova/instances/instance-0000005a/kernel': Permission denied

answer plz!!

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: 2011-07-13 15:50:56 -0500

Seen: 93 times

Last updated: Jul 24 '11