[Users] accessing console from firefox.

kumar shantanu k.shantanu2006 at gmail.com
Mon Mar 12 08:01:31 UTC 2012


Hi Moran.

Thanks for the reply when I try starting vm I can see error in vdsm logs.
Below is the libvirt and vdsm logs.

***
==> libvirt.log <==
13:26:55.967: 6259: debug : virDomainCreateXML:1817 : conn=0x7f316801af10,
xmlDesc=<?xml version="1.0" encoding="utf-8"?>
<domain type="kvm">
    <name>Ubuntu</name>
    <uuid>bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16</uuid>
    <memory>524288</memory>
    <currentMemory>524288</currentMemory>
    <vcpu>1</vcpu>
    <devices>
        <channel type="unix">
            <target name="com.redhat.rhevm.vdsm" type="virtio"/>
            <source mode="bind"
path="/var/lib/libvirt/qemu/channels/Ubuntu.com.redhat.rhevm.vdsm"/>
        </channel>
        <input bus="ps2" type="mouse"/>
        <channel type="spicevmc">
            <target name="com.redhat.spice.0" type="virtio"/>
        </channel>
        <graphics autoport="yes" keymap="en-us" listen="0" passwd="*****"
passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1" type="spice">
            <channel mode="secure" name="main"/>
            <channel mode="secure" name="inputs"/>
        </graphics>
        <console type="pty">
            <target port="0" type="virtio"/>
        </console>
        <memballoon model="none"/>
        <controller index="0" ports="16" type="virtio-serial"/>
        <video>
            <model heads="1" type="qxl" vram="65536"/>
        </video>
        <interface type="bridge">
            <mac address="00:1a:4a:07:40:01"/>
            <model type="virtio"/>
            <source bridge="ovirtmgmt"/>
        </interface>
        <disk device="disk" snapshot="no" type="file">
            <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"/>
            <target bus="virtio" dev="vda"/>
            <serial>559ede25-e21b-4970-b7ef-4731ed95073e</serial>
            <driver cache="none" error_policy="stop" io="threads"
name="qemu" type="raw"/>
        </disk>
        <disk device="cdrom" snapshot="no" type="file">
            <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"/>
            <target bus="ide" dev="hdc"/>
            <serial></serial>
        </disk>
    </devices>
    <os>
        <type arch="x86_64" machine="pc-0.14">hvm</type>
        <boot dev="cdrom"/>
        <boot dev="hd"/>
        <boot dev="network"/>
        <smbios mode="sysinfo"/>
    </os>
    <sysinfo type="smbios">
        <system>
            <entry name="manufacturer">Red Hat</entry>
            <entry name="product">RHEV Hypervisor</entry>
            <entry name="version">6-2.el6.centos.7</entry>
            <entry
name="serial">4C4C4544-005A-5A10-8052-C8C04F575131_D0:67:E5:1B:04:79</entry>
            <entry name="uuid">bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16</entry>
        </system>
    </sysinfo>
    <clock adjustment="0" offset="variable">
        <timer name="rtc" tickpolicy="catchup"/>
    </clock>
    <features>
        <acpi/>
    </features>
    <cpu match="exact">
        <model>Westmere</model>
        <topology cores="1" sockets="1" threads="1"/>
    </cpu>
</domain>
, flags=0
13:26:56.339: 6259: error : virNetClientProgramDispatchError:170 : internal
error Process exited while reading console log output: Supported machines
are:
pc         RHEL 6.2.0 PC (alias of rhel6.2.0)
rhel6.2.0  RHEL 6.2.0 PC (default)
rhel6.1.0  RHEL 6.1.0 PC
rhel6.0.0  RHEL 6.0.0 PC
rhel5.5.0  RHEL 5.5.0 PC
rhel5.4.4  RHEL 5.4.4 PC
rhel5.4.0  RHEL 5.4.0 PC


==> vdsm.log <==
Thread-179874::DEBUG::2012-03-12
13:26:56,339::vm::577::vm.Vm::(_startUnderlyingVm)
vmId=`bd7c2e08-1ec1-4c6c-9029-b2d9bb4b2c16`::_ongoingCreations released
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
Traceback (most recent call last):
  File "/usr/share/vdsm/vm.py", line 567, in _startUnderlyingVm
    self._run()
  File "/usr/share/vdsm/libvirtvm.py", line 1306, in _run
    self._connection.createXML(domxml, flags),
  File "/usr/share/vdsm/libvirtconnection.py", line 82, in wrapper
    ret = f(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2087, in
createXML
    if ret is None:raise libvirtError('virDomainCreateXML() failed',
conn=self)
libvirtError: internal error Process exited while reading console log
output: Supported machines are:
pc         RHEL 6.2.0 PC (alias of rhel6.2.0)
rhel6.2.0  RHEL 6.2.0 PC (default)
rhel6.1.0  RHEL 6.1.0 PC
rhel6.0.0  RHEL 6.0.0 PC
rhel5.5.0  RHEL 5.5.0 PC
rhel5.4.4  RHEL 5.4.4 PC
rhel5.4.0  RHEL 5.4.0 PC

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:
pc         RHEL 6.2.0 PC (alias of rhel6.2.0)
rhel6.2.0  RHEL 6.2.0 PC (default)
rhel6.1.0  RHEL 6.1.0 PC
rhel6.0.0  RHEL 6.0.0 PC
rhel5.5.0  RHEL 5.5.0 PC
rhel5.4.4  RHEL 5.4.4 PC
rhel5.4.0  RHEL 5.4.0 PC

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',) {}
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}]}

**




On Sun, Mar 11, 2012 at 3:21 PM, Moran Goldboim <mgoldboi at redhat.com> wrote:

> **
> 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.
> 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.
>
> Moran.
>
>
> On 03/09/2012 06:55 PM, kumar shantanu wrote:
>
> Just to add , I am getting these error message in ovirt engine log.
>
> 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
> 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
> 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
> 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 at ab1ce897),
> log id: 6b59dd0c
> 2012-03-09 22:18:55,262 INFO
> [org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand]
> (pool-5-thread-50) FINISH, UpdateVdsDynamicDataVDSCommand, log id: 6b59dd0c
> 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
> 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
> 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
> 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
> 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
> 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
> 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
> 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
> 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
> 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
> 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
> 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
> 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 at 1aa2def), log id:
> 3111b59c
> 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 at 1aa2def), log id:
> 78110a1
> 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
> 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
> 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
> 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
> 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
> 2012-03-09 22:19:51,990 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand]
> (QuartzScheduler_Worker-43) FINISH, DestroyVDSCommand, log id: 365c71b
> 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
> 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
> 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
> 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 at 785706cd),
> log id: 4a707df9
> 2012-03-09 22:19:52,030 INFO
> [org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand]
> (pool-5-thread-50) FINISH, UpdateVdsDynamicDataVDSCommand, log id: 4a707df9
> 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
> 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
> 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
> 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
> 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
>
> On Fri, Mar 9, 2012 at 10:07 PM, kumar shantanu <k.shantanu2006 at gmail.com>wrote:
>
> Dear All,
>
> 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.
> 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.
>
> Can anyone please give me any pointer on this.
>
> Thanks in Advanced.
>
>
>
> Regards,
> --
> Kumar Shantanu
>
>
>
>
> --
> Kumar Shantanu
> Senior System Administrator
> Techblue Softwares Pvt Ltd (Gurgaon)
>
>
> _______________________________________________
> Users mailing listUsers at ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
>
>


-- 
Kumar Shantanu
Senior System Administrator
Techblue Softwares Pvt Ltd (Gurgaon)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120312/6a8c823b/attachment-0001.html>


More information about the Users mailing list