Bug 705282 - VDSM: VdsClient create acpiEnable default value is wrong
Summary: VDSM: VdsClient create acpiEnable default value is wrong
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Dan Kenigsberg
QA Contact: Dafna Ron
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-17 09:15 UTC by Oded Ramraz
Modified: 2011-12-06 07:18 UTC (History)
7 users (show)

Fixed In Version: vdsm-4.9-68.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 07:18:30 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:1782 0 normal SHIPPED_LIVE new packages: vdsm 2011-12-06 11:55:51 UTC

Description Oded Ramraz 2011-05-17 09:15:33 UTC
Description of problem:

When I create new VM's using vdsClient create command they created with acpiEnable=False by default . 


Version-Release number of selected component (if applicable):

vdsm-4.9-65.el6.x86_64

How reproducible:

Always 

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:


vdsClient -s 0 create /dev/null display=vnc macAddr=00:1a:4a:16:94:65 bridge=rhevm nicModel=rtl8139 memSize=2048 vmId=00000000-0000-0001-1234-401000000002 drive=pool:00000000-0000-0000-0000-000000000002,domain:00000000-0000-0000-0000-000000000011,image:00000000-0000-0001-1234-401000000002,volume:11118227-3ff7-413a-bd3c-7dc0bab8ecef,format:cow,boot:true boot=c

Comment 1 Oded Ramraz 2011-05-17 09:17:13 UTC
Qemu command line example: 



qemu      7520     1 85 09:23 ?        00:15:19 /usr/libexec/qemu-kvm -S -M rhel5.5.0 -cpu qemu64,-svm -enable-kvm -m 2048 -smp 1,sockets=1,cores=1,threads=1 -name n00000000-0000-0001-1234-401100000003 -uuid 00000000-0000-0001-1234-401100000003 -smbios type=1,manufacturer=Red Hat,product=RHEL,version=6Server-6.1.0.2.el6,serial=44454C4C-3800-1034-8037-C7C04F4A334A_00:15:17:3d:15:a0,uuid=00000000-0000-0001-1234-401100000003 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/n00000000-0000-0001-1234-401100000003.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=2011-05-17T06:23:10 -no-acpi -boot c -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x4 -drive file=/rhev/data-center/00000000-0000-0000-0000-000000000002/00000000-0000-0000-0000-000000000011/images/00000000-0000-0001-1234-401100000003/111183b0-ccb3-4979-8da0-5899d82d2888,if=none,id=drive-ide0-0-0,format=qcow2,serial=01-1234-401100000003,cache=none,werror=stop,rerror=stop,aio=threads -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=24,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=00:1a:4a:16:94:64,bus=pci.0,addr=0x3 -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/n00000000-0000-0001-1234-401100000003.com.redhat.rhevm.vdsm,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm -usb -vnc 0:0,password -vga cirrus

Comment 3 Dan Kenigsberg 2011-05-17 09:58:24 UTC
http://gerrit.usersys.redhat.com/413

Comment 5 Ortal 2011-05-31 08:58:46 UTC
Verified on VDSM Version: vdsm-4.9-70.el6.x86_64
after creating new VM using vdsClient command:



[root@iron-vdsa ~]# vdsClient -s 0 create /dev/null display=vnc macAddr=00:1a:4a:16:94:65 bridge=rhevm nicModel=rtl8139 memSize=1024 vmId=00000000-0000-1234-1234-401123456782 drive=pool:00000000-0000-0000-0000-000000000002,domain:00000000-0000-0000-0000-000000000011,image:00000000-0000-0001-1234-401000000002,volume:11118227-3ff7-413a-bd3c-7dc0bab8ecef,format:cow,boot:true boot=c

00000000-0000-1234-1234-401123456782
        Status = WaitForLaunch
        bridge = rhevm
        macAddr = 00:1a:4a:16:94:65
        nicModel = rtl8139
        boot = c
        pid = 0
        drive = pool:00000000-0000-0000-0000-000000000002,domain:00000000-0000-0000-0000-000000000011,image:00000000-0000-0001-1234-401000000002,volume:11118227-3ff7-413a-bd3c-7dc0bab8ecef,format:cow,boot:true
        drives = [{'domainID': '00000000-0000-0000-0000-000000000011', 'format': 'cow', 'boot': 'true', 'volumeID': '11118227-3ff7-413a-bd3c-7dc0bab8ecef', 'imageID': '00000000-0000-0001-1234-401000000002', 'poolID': '00000000-0000-0000-0000-000000000002'}]
        vmType = kvm
        displayIp = 0
        displaySecurePort = -1
        memSize = 1024
        displayPort = -1
        clientIp =
        vmName = n00000000-0000-1234-1234-401123456782
        display = vnc
[root@iron-vdsa ~]#
[root@iron-vdsa ~]#
[root@iron-vdsa ~]#
[root@iron-vdsa ~]#
[root@iron-vdsa ~]#
[root@iron-vdsa ~]# ps -aux | grep qemu
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
qemu      1108 13.4 17.1 4543036 1058580 ?     Sl   11:31   3:31 /usr/libexec/qemu-kvm -S -M rhel6.0.0 -cpu Opteron_G3 -enable-nesting -enable-kvm -m 4096 -smp 1,sockets=1,cores=1,threads=1 -name RHEVM5_6 -uuid 390ebb14-8b05-46d2-8bc5-feb2bc17afce -smbios type=1,manufacturer=Red Hat,product=RHEL,version=6Server-6.1.0.2.el6,serial=44454C4C-3800-1046-8035-B3C04F34344A_00:22:19:14:7E:AC,uuid=390ebb14-8b05-46d2-8bc5-feb2bc17afce -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/RHEVM5_6.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=2011-05-31T08:31:52 -boot c -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x4 -drive file=/rhev/data-center/ffcaf44a-9e82-48f1-88be-1f1059ad9c97/08d53cf9-7eca-40ea-83c7-4b02a94d572d/images/c2d1813b-d110-4234-8db2-2181631f940c/da64e5fb-627a-425f-9d8f-5501ec9d3796,if=none,id=drive-ide0-0-0,format=qcow2,serial=34-8db2-2181631f940c,cache=none,werror=stop,rerror=stop,aio=native -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=24,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=00:1a:4a:16:84:0a,bus=pci.0,addr=0x3 -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/RHEVM5_6.com.redhat.rhevm.vdsm,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.rhevm.vdsm -usb -device usb-tablet,id=input0 -vnc 0:0,password -k en-us -vga cirrus
root     27071  0.0  0.0 103240   840 pts/0    S+   11:58   0:00 grep qemu
[root@iron-vdsa ~]#

Comment 7 Ortal 2011-05-31 09:44:25 UTC
Checked it with | grep 'acpi'.
Also checked it with virsh -r command to see the dumpxml...

Comment 8 errata-xmlrpc 2011-12-06 07:18:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2011-1782.html


Note You need to log in before you can comment on or make changes to this bug.