<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Kumar, you are running ovirt (upstream) with rhel hosts and not
fadora, emulated machine doesn't match the host capabilities, either
run it on fedora or change the emulated machine value on the
database, some functionality may be hurt and it's not really
supported.<br>
in general ovirt is meant to work with fedora hosts.<br>
<br>
Moran.<br>
<br>
On 03/12/2012 10:01 AM, kumar shantanu wrote:
<blockquote
cite="mid:CAHQviuHKGkPvA80qOzJC3umNdmGZO4jp-BF+PiYS612b_4o0Hw@mail.gmail.com"
type="cite">Hi Moran.<br>
<br>
Thanks for the reply when I try starting vm I can see error in
vdsm logs. <br>
Below is the libvirt and vdsm logs.<br>
<br>
***<br>
==> libvirt.log <==<br>
13:26:55.967: 6259: debug : virDomainCreateXML:1817 :
conn=0x7f316801af10, xmlDesc=<?xml version="1.0"
encoding="utf-8"?><br>
<domain type="kvm"><br>
<name>Ubuntu</name><br>
<uuid>bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16</uuid><br>
<memory>524288</memory><br>
<currentMemory>524288</currentMemory><br>
<vcpu>1</vcpu><br>
<devices><br>
<channel type="unix"><br>
<target name="com.redhat.rhevm.vdsm"
type="virtio"/><br>
<source mode="bind"
path="/var/lib/libvirt/qemu/channels/Ubuntu.com.redhat.rhevm.vdsm"/><br>
</channel><br>
<input bus="ps2" type="mouse"/><br>
<channel type="spicevmc"><br>
<target name="com.redhat.spice.0"
type="virtio"/><br>
</channel><br>
<graphics autoport="yes" keymap="en-us" listen="0"
passwd="*****" passwdValidTo="1970-01-01T00:00:01" port="-1"
tlsPort="-1" type="spice"><br>
<channel mode="secure" name="main"/><br>
<channel mode="secure" name="inputs"/><br>
</graphics><br>
<console type="pty"><br>
<target port="0" type="virtio"/><br>
</console><br>
<memballoon model="none"/><br>
<controller index="0" ports="16"
type="virtio-serial"/><br>
<video><br>
<model heads="1" type="qxl" vram="65536"/><br>
</video><br>
<interface type="bridge"><br>
<mac address="00:1a:4a:07:40:01"/><br>
<model type="virtio"/><br>
<source bridge="ovirtmgmt"/><br>
</interface><br>
<disk device="disk" snapshot="no" type="file"><br>
<source
file="/rhev/data-center/9c3672b4-69e6-11e1-90e5-cf93ece78b91/baa61d41-f111-4a24-a6ed-e643f12833f8/images/559ede25-e21b-4970-b7ef-4731ed95073e/7bc4ca54-f584-4977-9b34-a620165fc329"/><br>
<target bus="virtio" dev="vda"/><br>
<serial>559ede25-e21b-4970-b7ef-4731ed95073e</serial><br>
<driver cache="none" error_policy="stop"
io="threads" name="qemu" type="raw"/><br>
</disk><br>
<disk device="cdrom" snapshot="no" type="file"><br>
<source
file="/rhev/data-center/9c3672b4-69e6-11e1-90e5-cf93ece78b91/4d313edd-4904-44de-b761-d828c36d6116/images/11111111-1111-1111-1111-111111111111/ubuntu-10.04.3-desktop-amd64.iso"/><br>
<target bus="ide" dev="hdc"/><br>
<serial></serial><br>
</disk><br>
</devices><br>
<os><br>
<type arch="x86_64"
machine="pc-0.14">hvm</type><br>
<boot dev="cdrom"/><br>
<boot dev="hd"/><br>
<boot dev="network"/><br>
<smbios mode="sysinfo"/><br>
</os><br>
<sysinfo type="smbios"><br>
<system><br>
<entry name="manufacturer">Red Hat</entry><br>
<entry name="product">RHEV
Hypervisor</entry><br>
<entry
name="version">6-2.el6.centos.7</entry><br>
<entry
name="serial">4C4C4544-005A-5A10-8052-C8C04F575131_D0:67:E5:1B:04:79</entry><br>
<entry
name="uuid">bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16</entry><br>
</system><br>
</sysinfo><br>
<clock adjustment="0" offset="variable"><br>
<timer name="rtc" tickpolicy="catchup"/><br>
</clock><br>
<features><br>
<acpi/><br>
</features><br>
<cpu match="exact"><br>
<model>Westmere</model><br>
<topology cores="1" sockets="1" threads="1"/><br>
</cpu><br>
</domain><br>
, flags=0<br>
13:26:56.339: 6259: error : virNetClientProgramDispatchError:170 :
internal error Process exited while reading console log output:
Supported machines are:<br>
pc RHEL 6.2.0 PC (alias of rhel6.2.0)<br>
rhel6.2.0 RHEL 6.2.0 PC (default)<br>
rhel6.1.0 RHEL 6.1.0 PC<br>
rhel6.0.0 RHEL 6.0.0 PC<br>
rhel5.5.0 RHEL 5.5.0 PC<br>
rhel5.4.4 RHEL 5.4.4 PC<br>
rhel5.4.0 RHEL 5.4.0 PC<br>
<br>
<br>
==> vdsm.log <==<br>
Thread-179874::DEBUG::2012-03-12
13:26:56,339::vm::577::vm.Vm::(_startUnderlyingVm)
vmId=`bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16`::_ongoingCreations
released<br>
Thread-179874::ERROR::2012-03-12
13:26:56,340::vm::601::vm.Vm::(_startUnderlyingVm)
vmId=`bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16`::The vm start process
failed<br>
Traceback (most recent call last):<br>
File "/usr/share/vdsm/vm.py", line 567, in _startUnderlyingVm<br>
self._run()<br>
File "/usr/share/vdsm/libvirtvm.py", line 1306, in _run<br>
self._connection.createXML(domxml, flags),<br>
File "/usr/share/vdsm/libvirtconnection.py", line 82, in wrapper<br>
ret = f(*args, **kwargs)<br>
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2087,
in createXML<br>
if ret is None:raise libvirtError('virDomainCreateXML()
failed', conn=self)<br>
libvirtError: internal error Process exited while reading console
log output: Supported machines are:<br>
pc RHEL 6.2.0 PC (alias of rhel6.2.0)<br>
rhel6.2.0 RHEL 6.2.0 PC (default)<br>
rhel6.1.0 RHEL 6.1.0 PC<br>
rhel6.0.0 RHEL 6.0.0 PC<br>
rhel5.5.0 RHEL 5.5.0 PC<br>
rhel5.4.4 RHEL 5.4.4 PC<br>
rhel5.4.0 RHEL 5.4.0 PC<br>
<br>
Thread-179874::DEBUG::2012-03-12
13:26:56,341::vm::919::vm.Vm::(setDownStatus)
vmId=`bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16`::Changed state to
Down: internal error Process exited while reading console log
output: Supported machines are:<br>
pc RHEL 6.2.0 PC (alias of rhel6.2.0)<br>
rhel6.2.0 RHEL 6.2.0 PC (default)<br>
rhel6.1.0 RHEL 6.1.0 PC<br>
rhel6.0.0 RHEL 6.0.0 PC<br>
rhel5.5.0 RHEL 5.5.0 PC<br>
rhel5.4.4 RHEL 5.4.4 PC<br>
rhel5.4.0 RHEL 5.4.0 PC<br>
<br>
Thread-179877::DEBUG::2012-03-12
13:26:57,366::BindingXMLRPC::857::vds::(wrapper) client
[210.7.64.47]::call vmGetStats with
('bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16',) {}<br>
Thread-179877::DEBUG::2012-03-12
13:26:57,367::BindingXMLRPC::863::vds::(wrapper) return vmGetStats
with {'status': {'message': 'Done', 'code': 0}, 'statsList':
[{'status': 'Down', 'hash': '0', 'exitMessage': 'internal error
Process exited while reading console log output: Supported
machines are:\npc RHEL 6.2.0 PC (alias of
rhel6.2.0)\nrhel6.2.0 RHEL 6.2.0 PC (default)\nrhel6.1.0 RHEL
6.1.0 PC\nrhel6.0.0 RHEL 6.0.0 PC\nrhel5.5.0 RHEL 5.5.0
PC\nrhel5.4.4 RHEL 5.4.4 PC\nrhel5.4.0 RHEL 5.4.0 PC\n', 'vmId':
'bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16', 'timeOffset': '0',
'exitCode': 1}]}<br>
<br>
**<br>
<br>
<br>
<br>
<br>
<div class="gmail_quote">On Sun, Mar 11, 2012 at 3:21 PM, Moran
Goldboim <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:mgoldboi@redhat.com">mgoldboi@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff"> Kumar, looks like you
have a problem with this vm run itself (vm Ubuntu running in
db and not running in vds), can you please attach vdsm logs
from running host.<br>
I think libvirt has some problems running with
cpuType=Westmere,, try you lower your level of cpu in the
cluster to Nehalem and see if it helps.<br>
<br>
Moran.
<div>
<div class="h5"><br>
<br>
On 03/09/2012 06:55 PM, kumar shantanu wrote: </div>
</div>
<blockquote type="cite">
<div>
<div class="h5"> Just to add , I am getting these error
message in ovirt engine log.<br>
<br>
2012-03-09 22:18:55,228 INFO
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(QuartzScheduler_Worker-42) Running on vds during
rerun failed vm: null<br>
2012-03-09 22:18:55,232 INFO
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(QuartzScheduler_Worker-42) vm Ubuntu running in db
and not running in vds - add to rerun treatment. vds
Local<br>
2012-03-09 22:18:55,253 ERROR
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(QuartzScheduler_Worker-42) Rerun vm
bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16. Called from vds
Local<br>
2012-03-09 22:18:55,257 INFO
[org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand]
(pool-5-thread-50) START,
UpdateVdsDynamicDataVDSCommand(vdsId =
2d40ef8c-69e7-11e1-8c9c-27e55c9bdd2f,
vdsDynamic=org.ovirt.engine.core.common.businessentities.VdsDynamic@ab1ce897),
log id: 6b59dd0c<br>
2012-03-09 22:18:55,262 INFO
[org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand]
(pool-5-thread-50) FINISH,
UpdateVdsDynamicDataVDSCommand, log id: 6b59dd0c<br>
2012-03-09 22:18:55,285 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
(pool-5-thread-50) START,
IsValidVDSCommand(storagePoolId =
9c3672b4-69e6-11e1-90e5-cf93ece78b91,
ignoreFailoverLimit = false, compatabilityVersion =
null), log id: 6d43f31<br>
2012-03-09 22:18:55,287 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
(pool-5-thread-50) FINISH, IsValidVDSCommand, return:
true, log id: 6d43f31<br>
2012-03-09 22:18:55,339 INFO
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
(pool-5-thread-50) START,
IsVmDuringInitiatingVDSCommand(vmId =
bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16), log id:
76e8162b<br>
2012-03-09 22:18:55,340 INFO
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
(pool-5-thread-50) FINISH,
IsVmDuringInitiatingVDSCommand, return: false, log id:
76e8162b<br>
2012-03-09 22:18:55,342 WARN
[org.ovirt.engine.core.bll.RunVmOnceCommand]
(pool-5-thread-50) CanDoAction of action RunVmOnce
failed.
Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VDS_VM_CLUSTER<br>
2012-03-09 22:19:49,601 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
(http--0.0.0.0-8443-3) START,
IsValidVDSCommand(storagePoolId =
9c3672b4-69e6-11e1-90e5-cf93ece78b91,
ignoreFailoverLimit = false, compatabilityVersion =
null), log id: 2cb8b75f<br>
2012-03-09 22:19:49,602 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
(http--0.0.0.0-8443-3) FINISH, IsValidVDSCommand,
return: true, log id: 2cb8b75f<br>
2012-03-09 22:19:49,641 INFO
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
(http--0.0.0.0-8443-3) START,
IsVmDuringInitiatingVDSCommand(vmId =
bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16), log id:
70fdec7a<br>
2012-03-09 22:19:49,642 INFO
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
(http--0.0.0.0-8443-3) FINISH,
IsVmDuringInitiatingVDSCommand, return: false, log id:
70fdec7a<br>
2012-03-09 22:19:49,691 INFO
[org.ovirt.engine.core.bll.RunVmCommand]
(pool-5-thread-50) [6b8a595] Running command:
RunVmCommand internal: false. Entities affected : ID:
bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16 Type: VM<br>
2012-03-09 22:19:49,708 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsoPrefixVDSCommand]
(pool-5-thread-50) [6b8a595] START,
IsoPrefixVDSCommand(storagePoolId =
9c3672b4-69e6-11e1-90e5-cf93ece78b91,
ignoreFailoverLimit = false, compatabilityVersion =
null), log id: 2f19c35<br>
2012-03-09 22:19:49,708 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsoPrefixVDSCommand]
(pool-5-thread-50) [6b8a595] FINISH,
IsoPrefixVDSCommand, return:
/rhev/data-center/9c3672b4-69e6-11e1-90e5-cf93ece78b91/4d313edd-4904-44de-b761-d828c36d6116/images/11111111-1111-1111-1111-111111111111,
log id: 2f19c35<br>
2012-03-09 22:19:49,709 INFO
[org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
(pool-5-thread-50) [6b8a595] START,
CreateVmVDSCommand(vdsId =
2d40ef8c-69e7-11e1-8c9c-27e55c9bdd2f,
vmId=bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16,
vm=org.ovirt.engine.core.common.businessentities.VM@1aa2def),
log id: 3111b59c<br>
2012-03-09 22:19:49,714 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
(pool-5-thread-50) [6b8a595] START,
CreateVDSCommand(vdsId =
2d40ef8c-69e7-11e1-8c9c-27e55c9bdd2f,
vmId=bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16,
vm=org.ovirt.engine.core.common.businessentities.VM@1aa2def),
log id: 78110a1<br>
2012-03-09 22:19:49,732 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
(pool-5-thread-50) [6b8a595]
org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand
kvmEnable=true,nicModel=pv,keyboardLayout=en-us,nice=0,timeOffset=0,transparentHugePages=true,vmId=bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16,drives=[Ljava.util.Map;@4b3c1f80,acpiEnable=true,custom={},spiceSslCipherSuite=DEFAULT,memSize=512,boot=c,smp=1,emulatedMachine=pc-0.14,vmType=kvm,display=qxl,spiceSecureChannels=smain,sinputs,smpCoresPerSocket=1,spiceMonitors=1,cdrom=/rhev/data-center/9c3672b4-69e6-11e1-90e5-cf93ece78b91/4d313edd-4904-44de-b761-d828c36d6116/images/11111111-1111-1111-1111-111111111111/ubuntu-10.04.3-desktop-amd64.iso,macAddr=00:1a:4a:07:40:01,bridge=ovirtmgmt,vmName=Ubuntu,cpuType=Westmere<br>
2012-03-09 22:19:49,733 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand]
(pool-5-thread-50) [6b8a595] FINISH, CreateVDSCommand,
log id: 78110a1<br>
2012-03-09 22:19:49,735 INFO
[org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
(pool-5-thread-50) [6b8a595]
IncreasePendingVms::CreateVmIncreasing vds Local
pending vcpu count, now 1. Vm: Ubuntu<br>
2012-03-09 22:19:49,738 INFO
[org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand]
(pool-5-thread-50) [6b8a595] FINISH,
CreateVmVDSCommand, return: WaitForLaunch, log id:
3111b59c<br>
2012-03-09 22:19:51,830 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
(QuartzScheduler_Worker-43) START,
DestroyVDSCommand(vdsId =
2d40ef8c-69e7-11e1-8c9c-27e55c9bdd2f,
vmId=bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16,
force=false, secondsToWait=0, gracefully=false), log
id: 365c71b<br>
2012-03-09 22:19:51,990 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
(QuartzScheduler_Worker-43) FINISH, DestroyVDSCommand,
log id: 365c71b<br>
2012-03-09 22:19:52,005 INFO
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(QuartzScheduler_Worker-43) Running on vds during
rerun failed vm: null<br>
2012-03-09 22:19:52,008 INFO
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(QuartzScheduler_Worker-43) vm Ubuntu running in db
and not running in vds - add to rerun treatment. vds
Local<br>
2012-03-09 22:19:52,022 ERROR
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(QuartzScheduler_Worker-43) Rerun vm
bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16. Called from vds
Local<br>
2012-03-09 22:19:52,024 INFO
[org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand]
(pool-5-thread-50) START,
UpdateVdsDynamicDataVDSCommand(vdsId =
2d40ef8c-69e7-11e1-8c9c-27e55c9bdd2f,
vdsDynamic=org.ovirt.engine.core.common.businessentities.VdsDynamic@785706cd),
log id: 4a707df9<br>
2012-03-09 22:19:52,030 INFO
[org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand]
(pool-5-thread-50) FINISH,
UpdateVdsDynamicDataVDSCommand, log id: 4a707df9<br>
2012-03-09 22:19:52,054 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
(pool-5-thread-50) START,
IsValidVDSCommand(storagePoolId =
9c3672b4-69e6-11e1-90e5-cf93ece78b91,
ignoreFailoverLimit = false, compatabilityVersion =
null), log id: 5bbdee69<br>
2012-03-09 22:19:52,055 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
(pool-5-thread-50) FINISH, IsValidVDSCommand, return:
true, log id: 5bbdee69<br>
2012-03-09 22:19:52,089 INFO
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
(pool-5-thread-50) START,
IsVmDuringInitiatingVDSCommand(vmId =
bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16), log id:
15b818b0<br>
2012-03-09 22:19:52,089 INFO
[org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
(pool-5-thread-50) FINISH,
IsVmDuringInitiatingVDSCommand, return: false, log id:
15b818b0<br>
2012-03-09 22:19:52,092 WARN
[org.ovirt.engine.core.bll.RunVmCommand]
(pool-5-thread-50) CanDoAction of action RunVm failed.
Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,VAR__ACTION__RUN,VAR__TYPE__VM,VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VDS_VM_CLUSTER<br>
<br>
<div>On Fri, Mar 9, 2012 at 10:07 PM, kumar shantanu <span><<a
moz-do-not-send="true"
href="mailto:k.shantanu2006@gmail.com"
target="_blank">k.shantanu2006@gmail.com</a>></span>
wrote:<br>
<blockquote> Dear All,<br>
<br>
I installed ovirt on centos 6 and able to
configure it, and create guest etc. But the
problem is I can't start my guest.<br>
I am accessing ovirt admin interface from my
ubuntu machine and running firefox here. I tried
it from fedora with spice plugin installed in
firefox as well, but no luck.<br>
<br>
Can anyone please give me any pointer on this.<br>
<br>
Thanks in Advanced.<br>
<br>
<br>
<br>
Regards,<span> <br>
-- <br>
Kumar Shantanu<br>
<br>
</span></blockquote>
</div>
<br>
<br>
<br>
-- <br>
Kumar Shantanu<br>
Senior System Administrator<br>
Techblue Softwares Pvt Ltd (Gurgaon)<br>
</div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Kumar Shantanu<br>
Senior System Administrator<br>
Techblue Softwares Pvt Ltd (Gurgaon)<br>
</blockquote>
<br>
</body>
</html>