Hi Slavka,
Deployment is done via WebUI. In this case i choose the target host
(since only this one has debug enabled), then choose service, disk and
network offering, activate advanced boot options and check UEFI Legacy.
After setting the name the vm is started.
The XML of the VM is attached.
There you see
<target dev='hda' bus='ide'/>
But the VM will work with sata instead of ide. I tested it by defining a
VM via virt-manager and choosing sata for the bus type.
See also:
https://bugs.launchpad.net/nova/+bug/1831538
Regards Udo
Am 01.06.21 um 16:16 schrieb Slavka Peleva:
Hi Udo,
Could you please share more information about the deployment of a VM?
Are you creating a new instance from ISO or a template? Also, can you set
the DEBUG level at the agent, and is it possible to share the XML that
CloudStack sends to libvirt (it's in the
/var/log/cloudstack/agent/agent.log)?
One more question did you update and the management with the 4.15.1.0
version?
Kind regards,
Slavka
On Tue, Jun 1, 2021 at 4:33 PM Udo Müller <[email protected]> wrote:
Hi guys,
I played around with cloudstack 4.15 and UEFI boot until someone here
pointed me to a PR which fixes the problem with the missing q35 chipset.
Thats the reason why I just installed the 4.15.1 SNAPSHOT.
Now I get the following problem:
Unable to start VM on Host... due to Unsupported Configuration: IDE
controllers
are unsupported for this QEMU binary or machine type
I am using cloudstack on CentOS 7.9 with
# rpm -qa | egrep "(qemu|libvirtd|OVMF|cloudstack)"
*cloudstack*-agent-4.15.1.0-SNAPSHOT.20210601.el7.x86_64
*qemu*-kvm-ev-2.12.0-44.1.el7_8.1.x86_64
ipxe-roms-*qemu*-20180825-3.git133f4c.el7.noarch
libvirt-daemon-driver-*qemu*-4.5.0-36.el7.x86_64
*OVMF*-20180508-6.gitee3198e672e2.el7.noarch
*qemu*-img-ev-2.12.0-44.1.el7_8.1.x86_64
*cloudstack*-common-4.15.1.0-SNAPSHOT.20210601.el7.x86_64
*qemu*-kvm-common-ev-2.12.0-44.1.el7_8.1.x86_64
1) Is the PR regarding the q35 chipset already included in the SNAPSHOT?
I guess yes, because with 4.15.0 and i440 chipset the VM could be
created and was running.
2) What do I have to change inside my settings to switch from IDE to
SCSI or SATA?
Regards Udo
<domain type='kvm'> [175/1177]
<name>i-4-10-VM</name>
<uuid>95a92efb-d5c5-4b27-ac52-8c9cb7bdba3e</uuid>
<description>Other (32-bit)</description>
<cpu></cpu><sysinfo type='smbios'>
<system>
<entry name='manufacturer'>Apache Software Foundation</entry>
<entry name='product'>CloudStack KVM Hypervisor</entry>
<entry name='uuid'>95a92efb-d5c5-4b27-ac52-8c9cb7bdba3e</entry>
</system>
</sysinfo>
<os>
<type arch='x86_64' machine='q35'>hvm</type>
<loader readonly='yes' secure='no' type='pflash'>/usr/share/OVMF/OVMF_CODE.secboot.fd</loader>
<nvram template='/usr/share/OVMF/OVMF_VARS.fd'>/var/lib/libvirt/qemu/nvram/95a92efb-d5c5-4b27-ac52-8c9cb7bdba3e.fd</nvram><boot dev='cdrom'/>
<boot dev='hd'/>
<smbios mode='sysinfo'/>
</os>
<on_reboot>restart</on_reboot>
<on_poweroff>destroy</on_poweroff>
<on_crash>destroy</on_crash>
<memory>524288</memory>
<devices>
<memballoon model='none'/>
</devices>
<vcpu>1</vcpu>
<features>
<pae/> [148/1177]
<apic/>
<acpi/>
</features>
<cputune>
<shares>500</shares>
</cputune>
<clock offset='utc'>
</clock>
<devices>
<emulator>/usr/libexec/qemu-kvm</emulator>
<watchdog model='i6300esb' action='none'/>
<console type='pty'>
<target port='0'/>
</console>
<disk device='disk' type='file'>
<driver name='qemu' type='qcow2' cache='none' />
<source file='/mnt/554365ca-05eb-352f-ab64-c5fbf9949264/dd1a64ae-cc3c-455e-ac6f-4c21fa869ddf'/>
<target dev='hda' bus='ide'/>
<serial>dd1a64aecc3c455eac6f</serial></disk>
<disk device='cdrom' type='file'>
<driver name='qemu' type='raw' />
<source file='/mnt/3aec1457-9476-300e-86a3-96d95918e9fc/203-4-46138750-c8dc-38d9-a22a-4b7900302403.iso'/>
<target dev='sdd' bus='sata'/>
</disk>
<serial type='pty'>
<target port='0'/>
</serial>
<graphics type='vnc' autoport='yes' listen='10.252.56.50' passwd='7g-BGGMRmZMGqauWlvG1Ww'/>
<channel type='unix'>
<source mode='bind' path='/var/lib/libvirt/qemu/i-4-10-VM.org.qemu.guest_agent.0'/>
<address type='virtio-serial'/>
<target type='virtio' name='org.qemu.guest_agent.0'/>
</channel>
<input type='tablet' bus='usb'/>
<interface type='bridge'>
<source bridge='brbond0-700'/>
<mac address='02:00:3a:15:00:07'/>
<model type='e1000'/>
<bandwidth>
<inbound average='25600' peak='25600'/>
<outbound average='25600' peak='25600'/>
</bandwidth>
<link state='up'/>
</interface>
</devices>
</domain>