Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1109841

Summary: vdc_options' GuestToolsSetupIsoPrefix uses downstream value, prevents auto-attaching ovirt-guest-tools
Product: [Retired] oVirt Reporter: Jiri Belka <jbelka>
Component: ovirt-engine-coreAssignee: Vinzenz Feenstra [evilissimo] <vfeenstr>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Belka <jbelka>
Severity: high Docs Contact:
Priority: urgent    
Version: 3.5CC: bzrh.bobd, emesika, gklein, iheim, lveyde, ofrenkel, rbalakri, sbonazzo, yeylon
Target Milestone: ---Keywords: TestBlocker, Triaged
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: ovirt-engine-3.5.0_beta Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1111125 (view as bug list) Environment:
Last Closed: 2014-10-17 12:23:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1026933, 1111125    

Description Jiri Belka 2014-06-16 13:12:24 UTC
Description of problem:

engine=# select * from vdc_options where option_name = 'GuestToolsSetupIsoPrefix';
 option_id |       option_name        |   option_value   | version 
-----------+--------------------------+------------------+---------
       111 | GuestToolsSetupIsoPrefix | RHEV-toolsSetup_ | general
(1 row)

This is wrong for upstream, it should be 'ovirt-guest-tools'.

# ps aux | grep '[q]emu.*test' | grep --color \.iso
qemu      4341  0.9  0.4 1572944 34148 ?       Sl   15:01   0:05 /usr/libexec/qemu-kvm -name test -S -M rhel6.5.0 -cpu SandyBridge -enable-kvm -m 1024 -realtime mlock=off -smp 1,maxcpus=160,sockets=160,cores=1,threads=1 -uuid 297ccf28-02c7-479a-a25a-b5708b14b814 -smbios type=1,manufacturer=oVirt,product=oVirt Node,version=6Server-6.5.0.1.el6,serial=4C4C4544-0058-3410-8058-C3C04F38354A,uuid=297ccf28-02c7-479a-a25a-b5708b14b814 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/test.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=2014-06-16T14:01:12,driftfix=slew -no-kvm-pit-reinjection -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x3 -drive file=/var/run/vdsm/payload/297ccf28-02c7-479a-a25a-b5708b14b814.0050275e26c68d6bf5ce80dac059cd3b.img,if=none,id=drive-fdc0-0-0,readonly=on,format=raw,serial= -global isa-fdc.driveA=drive-fdc0-0-0 -drive file=/rhev/data-center/mnt/10.34.63.204:_home_iso_shared/0c78b4d6-ba00-4d3e-9f9f-65c7d5899d71/images/11111111-1111-1111-1111-111111111111/RHEV-toolsSetup_3.4_7.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw,serial= -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive file=/rhev/data-center/mnt/10.34.63.199:_jbelka_jb-ovirt35/02d76ff3-6edc-4d75-8d78-1211b77f2354/images/cfb25184-3e3f-4452-bf73-cc6daeca7178/a12b761d-18d5-4384-b5f0-bd1bc6730384,if=none,id=drive-virtio-disk0,format=raw,serial=cfb25184-3e3f-4452-bf73-cc6daeca7178,cache=none,werror=stop,rerror=stop,aio=threads -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/297ccf28-02c7-479a-a25a-b5708b14b814.com.redhat.rhevm.vdsm,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm -chardev socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/297ccf28-02c7-479a-a25a-b5708b14b814.org.qemu.guest_agent.0,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0 -chardev spicevmc,id=charchannel2,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0 -spice port=5900,tls-port=5901,addr=10.34.63.222,x509-dir=/etc/pki/vdsm/libvirt-spice,tls-channel=main,tls-channel=display,tls-channel=inputs,tls-channel=cursor,tls-channel=playback,tls-channel=record,tls-channel=smartcard,tls-channel=usbredir,seamless-migration=on -k en-us -vga qxl -global qxl-vga.ram_size=67108864 -global qxl-vga.vram_size=33554432

Version-Release number of selected component (if applicable):
ovirt-engine-3.5.0-0.0.master.20140605145557.git3ddd2de.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. check vdc_option's GuestToolsSetupIsoPrefix value
2. upload ovirt-guest-tools-3.5-2.iso to iso domain and start Windows VM
3.

Actual results:
1. downstream value
2. ovirt GT not attached

Expected results:
1. upstream value
2. should be attached

Additional info:

Comment 1 Vinzenz Feenstra [evilissimo] 2014-06-19 10:25:46 UTC
Merged to u/s master as http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=a839dc312d41ee59fcf13def700f122587126746

Comment 2 Jiri Belka 2014-07-14 10:19:08 UTC
ok, ovirt-engine-dbscripts-3.5.0-0.0.master.20140629172257.git0b16ed7.el6.noarch

Comment 3 Sandro Bonazzola 2014-10-17 12:23:23 UTC
oVirt 3.5 has been released and should include the fix for this issue.