Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 705282

Summary: VDSM: VdsClient create acpiEnable default value is wrong
Product: Red Hat Enterprise Linux 6 Reporter: Oded Ramraz <oramraz>
Component: vdsmAssignee: Dan Kenigsberg <danken>
Status: CLOSED ERRATA QA Contact: Dafna Ron <dron>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3CC: abaron, bazulay, iheim, ilvovsky, ogvura, yeylon, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: vdsm-4.9-68.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 07:18:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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