I am in the process of following a guide to setup various oracle vm templates, so far I have installed OVS 2. 2 and got the OVM Manager working, imported the template for OEL5U5 and created a vm from it.. the problem comes when starting that vm.
The log in the OVMM console shows the following;
Update VM Status - Running
Configure CPU Cap
Set CPU Cap: failed:<Exception: failed:<Exception: ['xm', 'sched-credit', '-d', '32_EM11g_OVM', '-c', '0'] => Error: Domain '32_EM11g_OVM' does not exist.
File "/opt/ovs-agent-2.3/OVSXXenVMConfig.py", line 2531, in xen_set_cpu_cap
File "/opt/ovs-agent-2.3/OVSCommons.py", line 92, in run_cmd
raise Exception('%s => %s' % (args, err))
The xend.log shows;
[2012-11-12 16:42:01 7581] DEBUG (DevController:139) Waiting for devices vtpm.
[2012-11-12 16:42:01 7581] INFO (XendDomain:1180) Domain 32_EM11g_OVM (3) unpaused.
[2012-11-12 16:42:03 7581] WARNING (XendDomainInfo:1907) Domain has crashed: name=32_EM11g_OVM id=3.
[2012-11-12 16:42:03 7581] ERROR (XendDomainInfo:2041) VM 32_EM11g_OVM restarting too fast (Elapsed time: 11.377262 seconds). Refusing to restart to avoid loops .
[2012-11-12 16:42:03 7581] DEBUG (XendDomainInfo:2757) XendDomainInfo.destroy: domid=3
[2012-11-12 16:42:12 7581] DEBUG (XendDomainInfo:2230) Destroying device model
[2012-11-12 16:42:12 7581] INFO (image:553) 32_EM11g_OVM device model terminated
I have had word from Oracle on this and apparently it is a known issue with my server (Dell 815), our processors (Opterons), our OVS version (2.2) and the kernel verion of OEL 5u5 not working in combination together. change any of the variables and it works... which is brilliant except we have to use this server with this version of OVS for the particular 5u5 templates we are installing :D
We are going to try a work around with live CD and upgrade the kernel once the templates are installed.