cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrija Panic <andrija.pa...@gmail.com>
Subject Re: VirtIO not detected by guest on new ACS with new KVM host. I have moved a CentOS 7 template from another ACS to new one. The guests deployed from same template on old ACS detects disk devices as vda but a guest deployed from same template on new ACS detects disks as sda. To move the template I went to old ACS and requested download link for template. Then registered it on new one and selected VirtIO-SCSI as well. Why VirtIO is not enabled for guests on new ACS
Date Mon, 02 Sep 2019 12:32:15 GMT
lspci inside that OS ?

On Mon, 2 Sep 2019 at 14:25, Fariborz Navidan <mdvlinquest@gmail.com> wrote:

> Hi,
>
> XML says it is using virtio-scsi but guest detects disk device at /dev/sda
>
> [root@fr-kvm1 ~]# virsh dumpxml i-2-53-VM | grep controller
>       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
>       <address type='drive' controller='0' bus='1' target='0' unit='0'/>
>     <controller type='scsi' index='0' model='virtio-scsi'>
>     </controller>
>     <controller type='usb' index='0' model='piix3-uhci'>
>     </controller>
>     <controller type='pci' index='0' model='pci-root'>
>     </controller>
>     <controller type='ide' index='0'>
>     </controller>
>     <controller type='virtio-serial' index='0'>
>     </controller>
>       <address type='virtio-serial' controller='0' bus='0' port='1'/>
>
>
> On Mon, Sep 2, 2019 at 10:12 AM Andrija Panic <andrija.panic@gmail.com>
> wrote:
>
> > Kindly double check if both OS type and the controller defined are
> > identical - it makes no sense to me to use same settings but get
> different
> > results.
> >
> > Also, try CentOS 7.2 on the new installation (though, explicitly settings
> > the controller on the template should override whatever controller is
> > defined IN the OS Type).
> >
> > Can you do the "lspci" inside the OS/VM, to show the controller? Or
> > actually "virsh dumpxml i-x-y-VM" would be good as well (grepping the
> > controller...)
> >
> > Best,
> > Andrija
> >
> > On Sun, Sep 1, 2019, 23:37 Fariborz Navidan <mdvlinquest@gmail.com>
> wrote:
> >
> > > Hi,
> > >
> > > :D I just noticed right now that I have pasted my question into subject
> > > line instead of message body ;D
> > >
> > > Both are version 4.12.0.0. A guest running CentOS 7.6 on old ACS
> detects
> > > disk as vda but same guest on  new one detects as sda. Templates on ACS
> > > installation. OS type "CentOS 7" gives virtio access to CentOS 7.6 on
> old
> > > ACS.
> > > ------------
> > >
> > > On Mon, Sep 2, 2019 at 1:18 AM Andrija Panic <andrija.panic@gmail.com>
> > > wrote:
> > >
> > > > That's a nice email subject indeed :)
> > > >
> > > > For template, make sure that you are using identical OS type for that
> > > > template, on the new ACS as on the old one. Are these ACS
> installations
> > > of
> > > > the same version?
> > > >
> > > > Keep in mind that "CentOS 7" is not the same as "CentOS 7.2" from ACS
> > > > perspective and the last one will consume virtio, while the previous
> > one
> > > > will spin IDE controller inside a VM...
> > > >
> > > > Andrija
> > > >
> > > > On Sun, Sep 1, 2019, 12:14 Fariborz Navidan <mdvlinquest@gmail.com>
> > > wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > I have configured a new ACS?
> > > > >
> > > >
> > >
> >
>


-- 

Andrija Panić

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message