You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Fariborz Navidan <md...@gmail.com> on 2019/09/01 10:14:10 UTC

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

Hello,

I have configured a new ACS?

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

Posted by Fariborz Navidan <md...@gmail.com>.
Yes. I just noticed it right now myself. I dumped xml for a centos 7 guest
on both installations and for the one that detects as /dev/vda, there is no
virtio-scsi controller type in it's xml. However for another running on new
ACS installation which detects disk as /dev/sda, there is "virtio-scsi"
controller type in it's xml. I even tested it's write speed using dd and it
is was awesome. I was worried wrongly :)

Thanks

On Mon, Sep 2, 2019 at 5:11 PM Ivan Kudryavtsev <ku...@bw-sw.com>
wrote:

> Virtio scsi is detected as sdX. It's absolutely fine.
>
> пн, 2 сент. 2019 г., 19:32 Andrija Panic <an...@gmail.com>:
>
> > lspci inside that OS ?
> >
> > On Mon, 2 Sep 2019 at 14:25, Fariborz Navidan <md...@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 <md...@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ć
> >
>

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

Posted by Ivan Kudryavtsev <ku...@bw-sw.com>.
Virtio scsi is detected as sdX. It's absolutely fine.

пн, 2 сент. 2019 г., 19:32 Andrija Panic <an...@gmail.com>:

> lspci inside that OS ?
>
> On Mon, 2 Sep 2019 at 14:25, Fariborz Navidan <md...@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 <an...@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 <md...@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ć
>

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

Posted by Andrija Panic <an...@gmail.com>.
lspci inside that OS ?

On Mon, 2 Sep 2019 at 14:25, Fariborz Navidan <md...@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 <an...@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 <md...@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 <an...@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 <md...@gmail.com>
> > > wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > I have configured a new ACS?
> > > > >
> > > >
> > >
> >
>


-- 

Andrija Panić

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

Posted by Fariborz Navidan <md...@gmail.com>.
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 <an...@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 <md...@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 <an...@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 <md...@gmail.com>
> > wrote:
> > >
> > > > Hello,
> > > >
> > > > I have configured a new ACS?
> > > >
> > >
> >
>

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

Posted by Andrija Panic <an...@gmail.com>.
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 <md...@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 <an...@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 <md...@gmail.com>
> wrote:
> >
> > > Hello,
> > >
> > > I have configured a new ACS?
> > >
> >
>

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

Posted by Fariborz Navidan <md...@gmail.com>.
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 <an...@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 <md...@gmail.com> wrote:
>
> > Hello,
> >
> > I have configured a new ACS?
> >
>

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

Posted by Andrija Panic <an...@gmail.com>.
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 <md...@gmail.com> wrote:

> Hello,
>
> I have configured a new ACS?
>