Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM
- Original Message - > From: "Gianluca Cecchi" > To: "Omer Frenkel" > Cc: "users" > Sent: Wednesday, November 26, 2014 7:20:23 PM > Subject: Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM > > On Wed, Nov 26, 2014 at 6:03 PM, Omer Frenkel wrote: > > > > > > > - Original Message - > > > From: "Gianluca Cecchi" > > > To: "Omer Frenkel" > > > Cc: "users" > > > Sent: Wednesday, November 26, 2014 2:13:29 AM > > > Subject: Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM > > > > > > On Sun, Sep 28, 2014 at 9:15 AM, Omer Frenkel > > wrote: > > > > > > > > > > > > > > > There is an open bug on that > > > > Bug 1145728 - change cd fail on 'Drive is not a vdsm image' > > > > https://bugzilla.redhat.com/show_bug.cgi?id=1145728 > > > > > > > > > > Hello, > > > on final 3.5 (ovirt-engine-3.5.0.1-1.el6.noarch) I still have this > > problem > > > attaching CD: > > > > > > Error while executing action Change CD: Drive image file could not be > > found > > > > > > How can I test the fix that makes the bugzilla entry in VERIFIED status > > now? > > > Is the status to be considered for 3.5.1 or can we have the fix in 3.5 > > too? > > > > > > Gianluca > > > > > > > looking at git log the fix should be in the 3.5.0 GA > > so maybe its something else.. can you share the engine.log and vdsm.log > > for the time of the failure? > > > > Created a new CentOS 7 VM and indeed it doesn't show the problem at first > sight. > You are right that there was a problem with the ISO Domain going up and > down (for the moment I stopped iptales on engine and this fixed the > problem... going to check further) > > The pre-existing one instead (c65new) is ok too now. > I presume there is nothing to run against db or similar to fix the problem > for pre-existing VMs, correct? > Gianluca > right, the fix was done in the engine code, nothing to do in the db. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM
On Wed, Nov 26, 2014 at 6:03 PM, Omer Frenkel wrote: > > > - Original Message - > > From: "Gianluca Cecchi" > > To: "Omer Frenkel" > > Cc: "users" > > Sent: Wednesday, November 26, 2014 2:13:29 AM > > Subject: Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM > > > > On Sun, Sep 28, 2014 at 9:15 AM, Omer Frenkel > wrote: > > > > > > > > > > > There is an open bug on that > > > Bug 1145728 - change cd fail on 'Drive is not a vdsm image' > > > https://bugzilla.redhat.com/show_bug.cgi?id=1145728 > > > > > > > Hello, > > on final 3.5 (ovirt-engine-3.5.0.1-1.el6.noarch) I still have this > problem > > attaching CD: > > > > Error while executing action Change CD: Drive image file could not be > found > > > > How can I test the fix that makes the bugzilla entry in VERIFIED status > now? > > Is the status to be considered for 3.5.1 or can we have the fix in 3.5 > too? > > > > Gianluca > > > > looking at git log the fix should be in the 3.5.0 GA > so maybe its something else.. can you share the engine.log and vdsm.log > for the time of the failure? Created a new CentOS 7 VM and indeed it doesn't show the problem at first sight. You are right that there was a problem with the ISO Domain going up and down (for the moment I stopped iptales on engine and this fixed the problem... going to check further) The pre-existing one instead (c65new) is ok too now. I presume there is nothing to run against db or similar to fix the problem for pre-existing VMs, correct? Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM
- Original Message - > From: "Gianluca Cecchi" > To: "Omer Frenkel" > Cc: "users" > Sent: Wednesday, November 26, 2014 2:13:29 AM > Subject: Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM > > On Sun, Sep 28, 2014 at 9:15 AM, Omer Frenkel wrote: > > > > > > > There is an open bug on that > > Bug 1145728 - change cd fail on 'Drive is not a vdsm image' > > https://bugzilla.redhat.com/show_bug.cgi?id=1145728 > > > > Hello, > on final 3.5 (ovirt-engine-3.5.0.1-1.el6.noarch) I still have this problem > attaching CD: > > Error while executing action Change CD: Drive image file could not be found > > How can I test the fix that makes the bugzilla entry in VERIFIED status now? > Is the status to be considered for 3.5.1 or can we have the fix in 3.5 too? > > Gianluca > looking at git log the fix should be in the 3.5.0 GA so maybe its something else.. can you share the engine.log and vdsm.log for the time of the failure? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM
On Sun, Sep 28, 2014 at 9:15 AM, Omer Frenkel wrote: > > > There is an open bug on that > Bug 1145728 - change cd fail on 'Drive is not a vdsm image' > https://bugzilla.redhat.com/show_bug.cgi?id=1145728 > Hello, on final 3.5 (ovirt-engine-3.5.0.1-1.el6.noarch) I still have this problem attaching CD: Error while executing action Change CD: Drive image file could not be found How can I test the fix that makes the bugzilla entry in VERIFIED status now? Is the status to be considered for 3.5.1 or can we have the fix in 3.5 too? Gianluca ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM
- Original Message - > From: "Gianluca Cecchi" > To: "Omer Frenkel" > Cc: "users" > Sent: Wednesday, September 24, 2014 8:58:37 PM > Subject: Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM > > On Wed, Sep 24, 2014 at 12:58 PM, Omer Frenkel wrote: > > > > > > > - Original Message - > > > From: "Gianluca Cecchi" > > > To: "users" > > > Sent: Tuesday, September 23, 2014 1:56:07 AM > > > Subject: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM > > > > > No errors in vdsm.log of host and in VM logfile under > > /var/log/libvirt/qemu > > > on hypervisor. > > > > > > > do you see the call for changeCD in vdsm? > > it looks like the call somehow failed > > does it happens all the time? > > > > > Hello, > I have only created a CentOS 6.5 VM and an ubuntu 14.04.1 VM both 64 bit. > Both have the problem. > See vdsm.log compressed here: > https://drive.google.com/file/d/0BwoPbcrMv8mvRzlvcjdzd0Q5Q00/edit?usp=sharing > > mount attempt around 19:47 and I actually see this in vdsm.log; previously > I searched for ERROR messages only, but it seems it is identified as a > WARNING level message): > > Thread-837731::DEBUG::2014-09-24 > 19:47:21,928::__init__::467::jsonrpc.JsonRpcServer::(_serveRequest) Calling > 'VM.changeCD' in bridge with {u'driveSpec': > u'/rhev/data-center/mnt/ovirtmgr.localdomain.local:_var_lib_exports_iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/----/ovirt-guest-tools-3.5_5.iso', > u'vmID': u'168470b1-b7eb-4dab-8fa4-6b744e2ad738'} > Thread-837731::INFO::2014-09-24 > 19:47:21,931::clientIF::331::vds::(prepareVolumePath) prepared volume path: > /rhev/data-center/mnt/ovirtmgr.localdomain.local:_var_lib_exports_iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/----/ovirt-guest-tools-3.5_5.iso > Thread-837731::WARNING::2014-09-24 > 19:47:21,951::clientIF::361::vds::(teardownVolumePath) Drive is not a vdsm > image: None > Traceback (most recent call last): > File "/usr/share/vdsm/clientIF.py", line 354, in teardownVolumePath > if vm.isVdsmImage(drive): > File "/usr/share/vdsm/virt/vm.py", line 112, in isVdsmImage > return all(k in drive for k in required) > File "/usr/share/vdsm/virt/vm.py", line 112, in > return all(k in drive for k in required) > TypeError: argument of type 'NoneType' is not iterable > There is an open bug on that Bug 1145728 - change cd fail on 'Drive is not a vdsm image' https://bugzilla.redhat.com/show_bug.cgi?id=1145728 > > I see also these kind of messages > > Thread-838408::WARNING::2014-09-24 > 19:57:20,583::Bridge::210::root::(_typeFixup) Fixing up type VmDevice > Thread-838408::WARNING::2014-09-24 > 19:57:20,583::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType > Thread-838408::WARNING::2014-09-24 > 19:57:20,583::Bridge::210::root::(_typeFixup) Fixing up type VmDevice > Thread-838408::WARNING::2014-09-24 > 19:57:20,583::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType > Thread-838408::WARNING::2014-09-24 > 19:57:20,583::Bridge::210::root::(_typeFixup) Fixing up type VmDevice > Thread-838408::WARNING::2014-09-24 > 19:57:20,584::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType > Thread-838408::WARNING::2014-09-24 > 19:57:20,584::Bridge::210::root::(_typeFixup) Fixing up type VmDevice > Thread-838408::WARNING::2014-09-24 > 19:57:20,584::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType > Thread-838408::WARNING::2014-09-24 > 19:57:20,584::Bridge::210::root::(_typeFixup) Fixing up type VmDevice > Thread-838408::WARNING::2014-09-24 > 19:57:20,584::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType > Thread-838408::WARNING::2014-09-24 > 19:57:20,585::Bridge::210::root::(_typeFixup) Fixing up type VmDevice > Thread-838408::WARNING::2014-09-24 > 19:57:20,585::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType > Thread-838408::WARNING::2014-09-24 > 19:57:20,585::Bridge::210::root::(_typeFixup) Fixing up type VmDevice > Thread-838408::WARNING::2014-09-24 > 19:57:20,585::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType > Thread-838408::WARNING::2014-09-24 > 19:57:20,585::Bridge::210::root::(_typeFixup) Fixing up type VmDevice > Thread-838408::WARNING::2014-09-24 > 19:57:20,586::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType > Thread-838408::WARNING::2014-09-24 > 19:57:20,586::Bridge::210::root::(_typeFixup) Fixing up
Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM
On Wed, Sep 24, 2014 at 12:58 PM, Omer Frenkel wrote: > > > - Original Message - > > From: "Gianluca Cecchi" > > To: "users" > > Sent: Tuesday, September 23, 2014 1:56:07 AM > > Subject: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM > > > No errors in vdsm.log of host and in VM logfile under > /var/log/libvirt/qemu > > on hypervisor. > > > > do you see the call for changeCD in vdsm? > it looks like the call somehow failed > does it happens all the time? > > Hello, I have only created a CentOS 6.5 VM and an ubuntu 14.04.1 VM both 64 bit. Both have the problem. See vdsm.log compressed here: https://drive.google.com/file/d/0BwoPbcrMv8mvRzlvcjdzd0Q5Q00/edit?usp=sharing mount attempt around 19:47 and I actually see this in vdsm.log; previously I searched for ERROR messages only, but it seems it is identified as a WARNING level message): Thread-837731::DEBUG::2014-09-24 19:47:21,928::__init__::467::jsonrpc.JsonRpcServer::(_serveRequest) Calling 'VM.changeCD' in bridge with {u'driveSpec': u'/rhev/data-center/mnt/ovirtmgr.localdomain.local:_var_lib_exports_iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/----/ovirt-guest-tools-3.5_5.iso', u'vmID': u'168470b1-b7eb-4dab-8fa4-6b744e2ad738'} Thread-837731::INFO::2014-09-24 19:47:21,931::clientIF::331::vds::(prepareVolumePath) prepared volume path: /rhev/data-center/mnt/ovirtmgr.localdomain.local:_var_lib_exports_iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/----/ovirt-guest-tools-3.5_5.iso Thread-837731::WARNING::2014-09-24 19:47:21,951::clientIF::361::vds::(teardownVolumePath) Drive is not a vdsm image: None Traceback (most recent call last): File "/usr/share/vdsm/clientIF.py", line 354, in teardownVolumePath if vm.isVdsmImage(drive): File "/usr/share/vdsm/virt/vm.py", line 112, in isVdsmImage return all(k in drive for k in required) File "/usr/share/vdsm/virt/vm.py", line 112, in return all(k in drive for k in required) TypeError: argument of type 'NoneType' is not iterable I see also these kind of messages Thread-838408::WARNING::2014-09-24 19:57:20,583::Bridge::210::root::(_typeFixup) Fixing up type VmDevice Thread-838408::WARNING::2014-09-24 19:57:20,583::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType Thread-838408::WARNING::2014-09-24 19:57:20,583::Bridge::210::root::(_typeFixup) Fixing up type VmDevice Thread-838408::WARNING::2014-09-24 19:57:20,583::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType Thread-838408::WARNING::2014-09-24 19:57:20,583::Bridge::210::root::(_typeFixup) Fixing up type VmDevice Thread-838408::WARNING::2014-09-24 19:57:20,584::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType Thread-838408::WARNING::2014-09-24 19:57:20,584::Bridge::210::root::(_typeFixup) Fixing up type VmDevice Thread-838408::WARNING::2014-09-24 19:57:20,584::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType Thread-838408::WARNING::2014-09-24 19:57:20,584::Bridge::210::root::(_typeFixup) Fixing up type VmDevice Thread-838408::WARNING::2014-09-24 19:57:20,584::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType Thread-838408::WARNING::2014-09-24 19:57:20,585::Bridge::210::root::(_typeFixup) Fixing up type VmDevice Thread-838408::WARNING::2014-09-24 19:57:20,585::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType Thread-838408::WARNING::2014-09-24 19:57:20,585::Bridge::210::root::(_typeFixup) Fixing up type VmDevice Thread-838408::WARNING::2014-09-24 19:57:20,585::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType Thread-838408::WARNING::2014-09-24 19:57:20,585::Bridge::210::root::(_typeFixup) Fixing up type VmDevice Thread-838408::WARNING::2014-09-24 19:57:20,586::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType Thread-838408::WARNING::2014-09-24 19:57:20,586::Bridge::210::root::(_typeFixup) Fixing up type VmDevice Thread-838408::WARNING::2014-09-24 19:57:20,586::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType Thread-838408::WARNING::2014-09-24 19:57:20,586::Bridge::210::root::(_typeFixup) Fixing up type VmDevice Thread-838408::WARNING::2014-09-24 19:57:20,586::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType Thread-838408::WARNING::2014-09-24 19:57:20,586::Bridge::210::root::(_typeFixup) Fixing up type VmDevice Thread-838408::WARNING::2014-09-24 19:57:20,587::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType Thread-838408::WARNING::2014-09-24 19:57:20,587::Bridge::210::root::(_typeFixup) Fixing up type VmDevice Thread-838408::WARNING::2014-09-24 19:57:20,587::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType Thread-838408::WARNING::2014-09-24 19:57:20,587::Bridge::210::root::(_typeFixup) Fixing up type VmDevice Thread-838408::WARNING::2014-09-24 19:57:20,587::Bridge::448::root::(fieldClone) fieldClone: type -> deviceType Thread-838408::WARNING::2014-09-24 19:57:20,588::Bridge::210::root::(_typeFi
Re: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM
- Original Message - > From: "Gianluca Cecchi" > To: "users" > Sent: Tuesday, September 23, 2014 1:56:07 AM > Subject: [ovirt-users] ovirt 3.5 rc2 unable to mount cd on running VM > > Hello, > installed a CentOS 6.5 x86_64 vm from iso (create VM and then run once > connecting CD iso). > > System reboot several times and power on from web admin gui and all seems ok. > > At a certain point I upload guest-tools iso to my engine for future windows > VMs. > Taken ovirt-guest-tools-3.5_5.iso and try to mount it > > In engine the downloaded file seems ok and I can loop mount it for test. > [root@ovirtmgr ~]# mount -o loop ovirt-guest-tools-3.5_5.iso /media > [root@ovirtmgr ~]# ll /media > total 19382 > dr-xr-xr-x. 4 root root 2048 Jul 7 13:21 bin > dr-xr-xr-x. 4 root root 2048 Jul 6 17:25 drivers > -r--r--r--. 1 root root 19839504 Jul 17 12:49 ovirt-guest-tools-setup.exe > -r--r--r--. 1 root root 88 Jul 7 13:18 version.txt > -r--r--r--. 1 root root 2266 Jul 2 16:40 win-driver-license.txt > [root@ovirtmgr ~]# umount /media > > [root@ovirtmgr ~]# md5sum ovirt-guest-tools-3.5_5.iso > ad98fc5db09183acd1620b5effb5e151 ovirt-guest-tools-3.5_5.iso > > Also the uploaded file seems ok > [root@ovirtmgr ovirt-engine]# md5sum > /var/lib/exports/iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/----/ovirt-guest-tools-3.5_5.iso > ad98fc5db09183acd1620b5effb5e151 > /var/lib/exports/iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/----/ovirt-guest-tools-3.5_5.iso > > If I try to connect cd to the running VM from web admin portal I get a window > with the error: > > Error while executing action Change CD: Internal Engine Error > > In events: > Failed to change disk in VM c65new (Host: ovnode04, User: admin). > > In engine.log > 2014-09-23 00:33:43,022 INFO [org.ovirt.engine.core.bll.ChangeDiskCommand] > (ajp--127.0.0.1-8702-5) [22041 > 702] Running command: ChangeDiskCommand internal: false. Entities affected : > ID: 0ce8ebc0-8464-4e9a-b382-1836234b3560 Type: VMAction group CHANGE_VM_CD > with role type USER > 2014-09-23 00:33:43,028 INFO > [org.ovirt.engine.core.vdsbroker.vdsbroker.IsoPrefixVDSCommand] > (ajp--127.0.0.1-8702-5) [22041702] START, IsoPrefixVDSCommand(HostName = > ovnode04, HostId = 36fec87b-c21f-4157-ab2f-434b67c05cb9, > storagePoolId=4512e567-f94e-476a-a050-6cd0a15e260a), log id: 26c82fe2 > 2014-09-23 00:33:43,028 INFO > [org.ovirt.engine.core.vdsbroker.vdsbroker.IsoPrefixVDSCommand] > (ajp--127.0.0.1-8702-5) [22041702] FINISH, IsoPrefixVDSCommand, return: > /rhev/data-center/mnt/ovirtmgr.localdomain.local:_var_lib_exports_iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/----, > log id: 26c82fe2 > 2014-09-23 00:33:43,029 INFO > [org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand] > (ajp--127.0.0.1-8702-5) [22041702] START, ChangeDiskVDSCommand(HostName = > ovnode04, HostId = 36fec87b-c21f-4157-ab2f-434b67c05cb9, > vmId=0ce8ebc0-8464-4e9a-b382-1836234b3560, > diskPath=/rhev/data-center/mnt/ovirtmgr.localdomain.local:_var_lib_exports_iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/----/ovirt-guest-tools-3.5_5.iso), > log id: 12ce4870 > 2014-09-23 00:33:43,060 ERROR > [org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand] > (ajp--127.0.0.1-8702-5) [22041702] Failed in ChangeDiskVDS method, for vds: > ovnode04; host: 192.168.1.74 > 2014-09-23 00:33:43,061 ERROR > [org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand] > (ajp--127.0.0.1-8702-5) [22041702] Command ChangeDiskVDSCommand(HostName = > ovnode04, HostId = 36fec87b-c21f-4157-ab2f-434b67c05cb9, > vmId=0ce8ebc0-8464-4e9a-b382-1836234b3560, > diskPath=/rhev/data-center/mnt/ovirtmgr.localdomain.local:_var_lib_exports_iso/3b23161a-18a3-4cfa-bc78-f4fe2052b19e/images/----/ovirt-guest-tools-3.5_5.iso) > execution failed. Exception: NullPointerException: > 2014-09-23 00:33:43,063 INFO > [org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand] > (ajp--127.0.0.1-8702-5) [22041702] FINISH, ChangeDiskVDSCommand, log id: > 12ce4870 > 2014-09-23 00:33:43,063 ERROR [org.ovirt.engine.core.bll.ChangeDiskCommand] > (ajp--127.0.0.1-8702-5) [22041702] Command > org.ovirt.engine.core.bll.ChangeDiskCommand throw Vdc Bll exception. With > error message VdcBLLException: java.lang.NullPointerException (Failed with > error ENGINE and code 5001) > 2014-09-23 00:33:43,069 ERROR [org.ovirt.engine.core.bll.ChangeDiskCommand] > (ajp--127.0.0.1-8702-5) [22041702] Transaction rolled-back for command: > org.ovirt.engine.core.bll.ChangeDiskCommand. > 2014-09-23 00:33:43,083 ERROR > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] > (ajp--127.0.0.1-8702-5) [22041702] Correlation ID: 22041702, Job ID: > a6be11b2-bb67-49ec-b3fc-695e8eab36b2, Call Stack: null, Custom Event ID: -1, > Message: Failed to change disk in VM c65new (Host: ovnode04, User: admin). > > No