andrijapanicsb commented on issue #3089: VMs with invalid IDE configuration 
when using Solidfire as primary storage
URL: https://github.com/apache/cloudstack/issues/3089#issuecomment-454940213
 
 
   @DennisKonrad @svenvogel I might sound silly - beside this being a potential 
bug, why would you want to ever use "windows server 2016" as OS type, since 
only "Windows PV" is the one offering VirtIO hardware/drivers ? Both disk and 
NIC are extremely slow - a.k.a. almost unusable ?
   
   Using any Windows Server XXX version as the OS Type- should NOT give any 
virtio drivers/hardware to VM - this is used for compatibility purposes, to be 
able to run UNMODIFIED Windows Server OS.
   
   On the other hand - did you observe this on 4.11.2 version ?
   
   I'm just testing as we speak (4.11.2) - and have successfully booted new VM 
from Centos5 template (which was marked as OS Type "Windows Server 2016 x64" - 
so binaries are not relevant here) - it started the VM just fine, as shown 
below - 2 disk with IDE, and another IDE cdrom
   
   I'm about to test spinning same setup as yours from ISO (with only 1 
additional IDE drive) - and will report here... (again in 4.11.2)
   
   BTW, if you deploy a VM with single volume - and later attach (hotplug 
multiple volumes - do they get VirtIO type or not ?) - if so, this is a known 
bug actually -after stopping the VM and starting it again I assume they will 
all get back to IDE drives (I observed this on NFS/CEPH back in 4.8 release)
   
   Please try using Windows PV - as this one is meant to be used to provide 
Virtio (SCSI and NIC) to OS.
   
   Thx.
   
   ```
   <domain type='kvm' id='4'>
     <name>i-2-9-VM</name>
     <uuid>888af124-031a-48f3-b8c6-e9df5ff295d7</uuid>
     <description>Windows Server 2016 (64-bit)</description>
     <memory unit='KiB'>33554432</memory>
     <currentMemory unit='KiB'>33554432</currentMemory>
     <vcpu placement='static'>4</vcpu>
     <cputune>
       <shares>8000</shares>
       <period>10000</period>
       <quota>5900</quota>
     </cputune>
     <resource>
       <partition>/machine</partition>
     </resource>
     <sysinfo type='smbios'>
       <system>
         <entry name='manufacturer'>Apache Software Foundation</entry>
         <entry name='product'>CloudStack KVM Hypervisor</entry>
         <entry name='uuid'>888af124-031a-48f3-b8c6-e9df5ff295d7</entry>
       </system>
     </sysinfo>
     <os>
       <type arch='x86_64' machine='pc-i440fx-2.5'>hvm</type>
       <boot dev='cdrom'/>
       <boot dev='hd'/>
       <smbios mode='sysinfo'/>
     </os>
     <features>
       <acpi/>
       <apic/>
       <pae/>
     </features>
     <cpu mode='custom' match='exact'>
       <model fallback='allow'>SandyBridge</model>
       <topology sockets='1' cores='4' threads='1'/>
     </cpu>
     <clock offset='localtime'>
       <timer name='rtc' tickpolicy='catchup'/>
     </clock>
     <on_poweroff>destroy</on_poweroff>
     <on_reboot>restart</on_reboot>
     <on_crash>destroy</on_crash>
     <devices>
       <emulator>/usr/bin/kvm-spice</emulator>
       <disk type='block' device='disk'>
         <driver name='qemu' type='raw' cache='none'/>
         <source 
dev='/dev/disk/by-path/ip-10.XX.YY.32:3260-iscsi-iqn.2010-01.com.solidfire:hdqi.root-9.8136-lun-0'/>
         <backingStore/>
         <target dev='hda' bus='ide'/>
         <serial>e951de35b9ab461f8b4c</serial>
         <alias name='ide0-0-0'/>
         <address type='drive' controller='0' bus='0' target='0' unit='0'/>
       </disk>
       <disk type='block' device='disk'>
         <driver name='qemu' type='raw' cache='none'/>
         <source 
dev='/dev/disk/by-path/ip-10.XX.YYY.32:3260-iscsi-iqn.2010-01.com.solidfire:hdqi.data-9.8137-lun-0'/>
         <backingStore/>
         <target dev='hdb' bus='ide'/>
         <serial>ef89722f275240458db8</serial>
         <alias name='ide0-0-1'/>
         <address type='drive' controller='0' bus='0' target='0' unit='1'/>
       </disk>
       <disk type='file' device='cdrom'>
         <driver name='qemu' type='raw'/>
         <backingStore/>
         <target dev='hdc' bus='ide'/>
         <readonly/>
         <alias name='ide0-1-0'/>
         <address type='drive' controller='0' bus='1' target='0' unit='0'/>
       </disk>
       <controller type='usb' index='0'>
         <alias name='usb'/>
         <address type='pci' domain='0x0000' bus='0x00' slot='0x01' 
function='0x2'/>
       </controller>
       <controller type='pci' index='0' model='pci-root'>
         <alias name='pci.0'/>
       </controller>
       <controller type='ide' index='0'>
         <alias name='ide'/>
         <address type='pci' domain='0x0000' bus='0x00' slot='0x01' 
function='0x1'/>
       </controller>
       <controller type='virtio-serial' index='0'>
         <alias name='virtio-serial0'/>
         <address type='pci' domain='0x0000' bus='0x00' slot='0x04' 
function='0x0'/>
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to