Thread: Cannot Power On the virtual machine

This question is answered.


Permlink Replies: 5 - Pages: 1 - Last Post: Feb 7, 2010 5:40 AM Last Post By: andrei048
tohkawa

Posts: 2
Registered: 03/02/09
Cannot Power On the virtual machine
Posted: Mar 2, 2009 6:32 PM
 
Click to report abuse...   Click to reply to this thread Reply
When I was trying Live Migration (hostname:'foo'), it failed. And I rebooted all Virtual Server and Management Server, but I can't boot the machine 'foo' anymore. The error log says,

failed:<Exception: vm('/OVS/running_pool/77_foo') status ('PROCESSING') not in ('DOWN', 'RUNNING', 'SUSPEND', 'ERROR')> StackTrace: File "/opt/ovs-agent-2.2/OVSSiteVM.py", line 107, in stop_vm db_chkset_vm_status(vm_path, ("DOWN", "RUNNING", "SUSPEND", "ERROR"), "PROCESSING") File "/opt/ovs-agent-2.2/OVSDB.py", line 159, in db_chkset_vm_status raise Exception(errmsg)

I can start 'foo' using 'xm create' command, but VM Manager status wouldn't change.

Any suggestions appreciated.

Thanks.

Tomohisa Ohkawa
djahnke

Posts: 8
Registered: 01/02/00
Re: Cannot Power On the virtual machine
Posted: Mar 6, 2009 12:56 AM   in response to: tohkawa in response to: tohkawa
Correct
Click to report abuse...   Click to reply to this thread Reply
Hi,

1. connect to your master server's shell
2. run
/opt/ovs-agent-2.2/db/db_kfv.py vm 999_YOUR_VM_NAME status
should be something like: "/OVS/running_pool/999_YOUR_VM_NAME status(now)=>PROCESSING"
3. if so, then issue
/opt/ovs-agent-2.2/db/db_kfv.py vm 999_YOUR_VM_NAME status DOWN
If the vm is still running you may try "xm shut" that vm or you set "RUNNING" instead of "DOWN" in the command above

Now Oracle VM and the local master database should be in sync again. At least this help me just 15min ago...

Have a nice weekend
Dirk
tohkawa

Posts: 2
Registered: 03/02/09
Re: Cannot Power On the virtual machine
Posted: Mar 6, 2009 9:14 PM   in response to: djahnke in response to: djahnke
 
Click to report abuse...   Click to reply to this thread Reply
Dirk, thanks for your reply.

The machine 'foo' now becomes managable and bootable from VM Manager. Thanks!
viorin

Posts: 9
Registered: 10/22/09
Re: Cannot Power On the virtual machine
Posted: Dec 8, 2009 8:40 PM   in response to: djahnke in response to: djahnke
 
Click to report abuse...   Click to reply to this thread Reply
how about vm 2.2 ?

Edited by: viorin on Dec 8, 2009 8:42 PM
viorin

Posts: 9
Registered: 10/22/09
Re: Cannot Power On the virtual machine
Posted: Dec 9, 2009 1:05 AM   in response to: viorin in response to: viorin
 
Click to report abuse...   Click to reply to this thread Reply
i m use ovm 2.2
agen : 2.3

some error when power on guest vm

Start - /OVS/running_pool/975_Linux_Name
PowerOff failed. Result -failed:<Exception: vm('/OVS/running_pool/975_Linux_Name') status ('PROCESSING') not in ('DOWN', 'RUNNING', 'SUSPEND', 'ERROR')>

StackTrace:
File "/opt/ovs-agent-2.3/OVSSiteVM.py", line 137, in stop_vm
db_chkset_vm_status(vm_path, ("DOWN", "RUNNING", "SUSPEND", "ERROR"), "PROCESSING")
File "/opt/ovs-agent-2.3/OVSDB.py", line 107, in db_chkset_vm_status
raise Exception(errmsg)

can help me?

thanks
vio
andrei048

Posts: 5
Registered: 07/17/08
Re: Cannot Power On the virtual machine
Posted: Feb 7, 2010 5:40 AM   in response to: viorin in response to: viorin
 
Click to report abuse...   Click to reply to this thread Reply
Hello,

Has anyone found an answer to this problem ?
Legend
Guru Guru : 2500 - 1000000 pts
Expert Expert : 1000 - 2499 pts
Pro Pro : 500 - 999 pts
Journeyman Journeyman : 200 - 499 pts
Newbie Newbie : 0 - 199 pts
Oracle ACE Director
Oracle ACE Member
Oracle Employee ACE
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums