You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Nux! <nu...@li.nux.ro> on 2015/10/22 10:38:12 UTC
Re: CentOS 7 templates lack virtio
Ozhan,
I think it's in the agent code somewhere.
CC-ing dev@ - guys can you suggest a quick workaround for this? The CentOS7 KVM profile does not come with VirtIO, instead it exposes IDE disks and such.
Lucian
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
----- Original Message -----
> From: "Özhan Rüzgar Karaman" <or...@gmail.com>
> To: users@cloudstack.apache.org
> Sent: Thursday, 22 October, 2015 08:43:16
> Subject: Re: Enabling virtio for CentOS 7 templates
> ok Nux! i have created a bug report:
> https://issues.apache.org/jira/browse/CLOUDSTACK-8979
>
> also do you know where we hold this Centos7 vm's disk creation/access
> template details? I like to fix it on my system.
>
> Thanks
> Özhan
>
> On Wed, Oct 21, 2015 at 8:42 PM, Nux! <nu...@li.nux.ro> wrote:
>
>> Özhan,
>>
>> Looks like the CentOS7 is b0rk3d. Can you please open a bug report in
>> https://issues.apache.org/jira/ to get it fixed?
>> In the meanwhile using the latest CentOS6 profile should work just as well.
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> ----- Original Message -----
>> > From: "Özhan Rüzgar Karaman" <or...@gmail.com>
>> > To: users@cloudstack.apache.org
>> > Sent: Wednesday, 21 October, 2015 17:54:54
>> > Subject: Enabling virtio for CentOS 7 templates
>>
>> > Hi;
>> > Today i noticed that when you create a Centos 7 vm by choosing os type as
>> > CentOS7 then the created vm did not use virtio it uses old hda/ide access
>> > technique this problem makes Centos 7 vm's to boot slowly, i nearly wait
>> 30
>> > seconds after grub loads for CentOS 7. When i change this value to virtio
>> > it boots without any wait.
>> >
>> > So how could i change this Centos 7 vm's default disk access type to
>> > virtio? This problem creates real headache on my system :)
>> >
>> > Example CentOS libvirt disk part:
>> > <emulator>/usr/bin/kvm-spice</emulator>
>> > <disk type='network' device='disk'>
>> > <driver name='qemu' type='raw' cache='none'/>
>> > <auth username=xx'>
>> > <secret type='ceph' uuid='xsw'/>
>> > </auth>
>> > <source protocol='rbd'
>> > name='jacknode/4e2cd1be-5c7f-43ff-b44b-bf9f87e84b19'>
>> > <host name='172.16.44.22' port='6789'/>
>> > </source>
>> > * <target dev='hda' bus='ide'/>*
>> > <address type='drive' controller='0' bus='0' target='0' unit='0'/>
>> > </disk>
>> >
>> > Example Ubuntu Trusty libvirt disk part:
>> > <disk type='network' device='disk'>
>> > <driver name='qemu' type='raw' cache='none'/>
>> > <auth username='xx'>
>> > <secret type='ceph' uuid='xsw'/>
>> > </auth>
>> > <source protocol='rbd'
>> name='xx/cfafb241-b9c7-4d41-acdc-aac937d96a19'>
>> > <host name='172.16.44.22' port='6789'/>
>> > </source>
>> > * <target dev='vda' bus='virtio'/>*
>> > <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
>> > function='0x0'/>
>> > </disk>
>> >
>> > Thanks
>> > Özhan Ruzgar Karaman
Re: CentOS 7 templates lack virtio
Posted by Nux! <nu...@li.nux.ro>.
And thanks to you, too, keep testing and reporting. This is how open source works. :-)
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
----- Original Message -----
> From: "Özhan Rüzgar Karaman" <or...@gmail.com>
> To: users@cloudstack.apache.org
> Sent: Thursday, 22 October, 2015 12:23:52
> Subject: Re: CentOS 7 templates lack virtio
> Hi Lucian;
> Issue is fixed, thanks to you and all development team :)
>
> Özhan
>
> On Thu, Oct 22, 2015 at 11:40 AM, Nux! <nu...@li.nux.ro> wrote:
>
>> @dev btw we should fix this in 4.6 as well
>> https://issues.apache.org/jira/browse/CLOUDSTACK-8979
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> ----- Original Message -----
>> > From: "Nux!" <nu...@li.nux.ro>
>> > To: users@cloudstack.apache.org
>> > Cc: "dev" <de...@cloudstack.apache.org>
>> > Sent: Thursday, 22 October, 2015 09:38:12
>> > Subject: Re: CentOS 7 templates lack virtio
>>
>> > Ozhan,
>> >
>> > I think it's in the agent code somewhere.
>> > CC-ing dev@ - guys can you suggest a quick workaround for this? The
>> CentOS7 KVM
>> > profile does not come with VirtIO, instead it exposes IDE disks and such.
>> >
>> > Lucian
>> >
>> > --
>> > Sent from the Delta quadrant using Borg technology!
>> >
>> > Nux!
>> > www.nux.ro
>> >
>> > ----- Original Message -----
>> >> From: "Özhan Rüzgar Karaman" <or...@gmail.com>
>> >> To: users@cloudstack.apache.org
>> >> Sent: Thursday, 22 October, 2015 08:43:16
>> >> Subject: Re: Enabling virtio for CentOS 7 templates
>> >
>> >> ok Nux! i have created a bug report:
>> >> https://issues.apache.org/jira/browse/CLOUDSTACK-8979
>> >>
>> >> also do you know where we hold this Centos7 vm's disk creation/access
>> >> template details? I like to fix it on my system.
>> >>
>> >> Thanks
>> >> Özhan
>> >>
>> >> On Wed, Oct 21, 2015 at 8:42 PM, Nux! <nu...@li.nux.ro> wrote:
>> >>
>> >>> Özhan,
>> >>>
>> >>> Looks like the CentOS7 is b0rk3d. Can you please open a bug report in
>> >>> https://issues.apache.org/jira/ to get it fixed?
>> >>> In the meanwhile using the latest CentOS6 profile should work just as
>> well.
>> >>>
>> >>> --
>> >>> Sent from the Delta quadrant using Borg technology!
>> >>>
>> >>> Nux!
>> >>> www.nux.ro
>> >>>
>> >>> ----- Original Message -----
>> >>> > From: "Özhan Rüzgar Karaman" <or...@gmail.com>
>> >>> > To: users@cloudstack.apache.org
>> >>> > Sent: Wednesday, 21 October, 2015 17:54:54
>> >>> > Subject: Enabling virtio for CentOS 7 templates
>> >>>
>> >>> > Hi;
>> >>> > Today i noticed that when you create a Centos 7 vm by choosing os
>> type as
>> >>> > CentOS7 then the created vm did not use virtio it uses old hda/ide
>> access
>> >>> > technique this problem makes Centos 7 vm's to boot slowly, i nearly
>> wait
>> >>> 30
>> >>> > seconds after grub loads for CentOS 7. When i change this value to
>> virtio
>> >>> > it boots without any wait.
>> >>> >
>> >>> > So how could i change this Centos 7 vm's default disk access type to
>> >>> > virtio? This problem creates real headache on my system :)
>> >>> >
>> >>> > Example CentOS libvirt disk part:
>> >>> > <emulator>/usr/bin/kvm-spice</emulator>
>> >>> > <disk type='network' device='disk'>
>> >>> > <driver name='qemu' type='raw' cache='none'/>
>> >>> > <auth username=xx'>
>> >>> > <secret type='ceph' uuid='xsw'/>
>> >>> > </auth>
>> >>> > <source protocol='rbd'
>> >>> > name='jacknode/4e2cd1be-5c7f-43ff-b44b-bf9f87e84b19'>
>> >>> > <host name='172.16.44.22' port='6789'/>
>> >>> > </source>
>> >>> > * <target dev='hda' bus='ide'/>*
>> >>> > <address type='drive' controller='0' bus='0' target='0'
>> unit='0'/>
>> >>> > </disk>
>> >>> >
>> >>> > Example Ubuntu Trusty libvirt disk part:
>> >>> > <disk type='network' device='disk'>
>> >>> > <driver name='qemu' type='raw' cache='none'/>
>> >>> > <auth username='xx'>
>> >>> > <secret type='ceph' uuid='xsw'/>
>> >>> > </auth>
>> >>> > <source protocol='rbd'
>> >>> name='xx/cfafb241-b9c7-4d41-acdc-aac937d96a19'>
>> >>> > <host name='172.16.44.22' port='6789'/>
>> >>> > </source>
>> >>> > * <target dev='vda' bus='virtio'/>*
>> >>> > <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
>> >>> > function='0x0'/>
>> >>> > </disk>
>> >>> >
>> >>> > Thanks
>> > >> > Özhan Ruzgar Karaman
Re: CentOS 7 templates lack virtio
Posted by Özhan Rüzgar Karaman <or...@gmail.com>.
Hi Lucian;
Issue is fixed, thanks to you and all development team :)
Özhan
On Thu, Oct 22, 2015 at 11:40 AM, Nux! <nu...@li.nux.ro> wrote:
> @dev btw we should fix this in 4.6 as well
> https://issues.apache.org/jira/browse/CLOUDSTACK-8979
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> ----- Original Message -----
> > From: "Nux!" <nu...@li.nux.ro>
> > To: users@cloudstack.apache.org
> > Cc: "dev" <de...@cloudstack.apache.org>
> > Sent: Thursday, 22 October, 2015 09:38:12
> > Subject: Re: CentOS 7 templates lack virtio
>
> > Ozhan,
> >
> > I think it's in the agent code somewhere.
> > CC-ing dev@ - guys can you suggest a quick workaround for this? The
> CentOS7 KVM
> > profile does not come with VirtIO, instead it exposes IDE disks and such.
> >
> > Lucian
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
> > ----- Original Message -----
> >> From: "Özhan Rüzgar Karaman" <or...@gmail.com>
> >> To: users@cloudstack.apache.org
> >> Sent: Thursday, 22 October, 2015 08:43:16
> >> Subject: Re: Enabling virtio for CentOS 7 templates
> >
> >> ok Nux! i have created a bug report:
> >> https://issues.apache.org/jira/browse/CLOUDSTACK-8979
> >>
> >> also do you know where we hold this Centos7 vm's disk creation/access
> >> template details? I like to fix it on my system.
> >>
> >> Thanks
> >> Özhan
> >>
> >> On Wed, Oct 21, 2015 at 8:42 PM, Nux! <nu...@li.nux.ro> wrote:
> >>
> >>> Özhan,
> >>>
> >>> Looks like the CentOS7 is b0rk3d. Can you please open a bug report in
> >>> https://issues.apache.org/jira/ to get it fixed?
> >>> In the meanwhile using the latest CentOS6 profile should work just as
> well.
> >>>
> >>> --
> >>> Sent from the Delta quadrant using Borg technology!
> >>>
> >>> Nux!
> >>> www.nux.ro
> >>>
> >>> ----- Original Message -----
> >>> > From: "Özhan Rüzgar Karaman" <or...@gmail.com>
> >>> > To: users@cloudstack.apache.org
> >>> > Sent: Wednesday, 21 October, 2015 17:54:54
> >>> > Subject: Enabling virtio for CentOS 7 templates
> >>>
> >>> > Hi;
> >>> > Today i noticed that when you create a Centos 7 vm by choosing os
> type as
> >>> > CentOS7 then the created vm did not use virtio it uses old hda/ide
> access
> >>> > technique this problem makes Centos 7 vm's to boot slowly, i nearly
> wait
> >>> 30
> >>> > seconds after grub loads for CentOS 7. When i change this value to
> virtio
> >>> > it boots without any wait.
> >>> >
> >>> > So how could i change this Centos 7 vm's default disk access type to
> >>> > virtio? This problem creates real headache on my system :)
> >>> >
> >>> > Example CentOS libvirt disk part:
> >>> > <emulator>/usr/bin/kvm-spice</emulator>
> >>> > <disk type='network' device='disk'>
> >>> > <driver name='qemu' type='raw' cache='none'/>
> >>> > <auth username=xx'>
> >>> > <secret type='ceph' uuid='xsw'/>
> >>> > </auth>
> >>> > <source protocol='rbd'
> >>> > name='jacknode/4e2cd1be-5c7f-43ff-b44b-bf9f87e84b19'>
> >>> > <host name='172.16.44.22' port='6789'/>
> >>> > </source>
> >>> > * <target dev='hda' bus='ide'/>*
> >>> > <address type='drive' controller='0' bus='0' target='0'
> unit='0'/>
> >>> > </disk>
> >>> >
> >>> > Example Ubuntu Trusty libvirt disk part:
> >>> > <disk type='network' device='disk'>
> >>> > <driver name='qemu' type='raw' cache='none'/>
> >>> > <auth username='xx'>
> >>> > <secret type='ceph' uuid='xsw'/>
> >>> > </auth>
> >>> > <source protocol='rbd'
> >>> name='xx/cfafb241-b9c7-4d41-acdc-aac937d96a19'>
> >>> > <host name='172.16.44.22' port='6789'/>
> >>> > </source>
> >>> > * <target dev='vda' bus='virtio'/>*
> >>> > <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
> >>> > function='0x0'/>
> >>> > </disk>
> >>> >
> >>> > Thanks
> > >> > Özhan Ruzgar Karaman
>
Re: CentOS 7 templates lack virtio
Posted by Nux! <nu...@li.nux.ro>.
@dev btw we should fix this in 4.6 as well
https://issues.apache.org/jira/browse/CLOUDSTACK-8979
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
----- Original Message -----
> From: "Nux!" <nu...@li.nux.ro>
> To: users@cloudstack.apache.org
> Cc: "dev" <de...@cloudstack.apache.org>
> Sent: Thursday, 22 October, 2015 09:38:12
> Subject: Re: CentOS 7 templates lack virtio
> Ozhan,
>
> I think it's in the agent code somewhere.
> CC-ing dev@ - guys can you suggest a quick workaround for this? The CentOS7 KVM
> profile does not come with VirtIO, instead it exposes IDE disks and such.
>
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> ----- Original Message -----
>> From: "Özhan Rüzgar Karaman" <or...@gmail.com>
>> To: users@cloudstack.apache.org
>> Sent: Thursday, 22 October, 2015 08:43:16
>> Subject: Re: Enabling virtio for CentOS 7 templates
>
>> ok Nux! i have created a bug report:
>> https://issues.apache.org/jira/browse/CLOUDSTACK-8979
>>
>> also do you know where we hold this Centos7 vm's disk creation/access
>> template details? I like to fix it on my system.
>>
>> Thanks
>> Özhan
>>
>> On Wed, Oct 21, 2015 at 8:42 PM, Nux! <nu...@li.nux.ro> wrote:
>>
>>> Özhan,
>>>
>>> Looks like the CentOS7 is b0rk3d. Can you please open a bug report in
>>> https://issues.apache.org/jira/ to get it fixed?
>>> In the meanwhile using the latest CentOS6 profile should work just as well.
>>>
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>>
>>> Nux!
>>> www.nux.ro
>>>
>>> ----- Original Message -----
>>> > From: "Özhan Rüzgar Karaman" <or...@gmail.com>
>>> > To: users@cloudstack.apache.org
>>> > Sent: Wednesday, 21 October, 2015 17:54:54
>>> > Subject: Enabling virtio for CentOS 7 templates
>>>
>>> > Hi;
>>> > Today i noticed that when you create a Centos 7 vm by choosing os type as
>>> > CentOS7 then the created vm did not use virtio it uses old hda/ide access
>>> > technique this problem makes Centos 7 vm's to boot slowly, i nearly wait
>>> 30
>>> > seconds after grub loads for CentOS 7. When i change this value to virtio
>>> > it boots without any wait.
>>> >
>>> > So how could i change this Centos 7 vm's default disk access type to
>>> > virtio? This problem creates real headache on my system :)
>>> >
>>> > Example CentOS libvirt disk part:
>>> > <emulator>/usr/bin/kvm-spice</emulator>
>>> > <disk type='network' device='disk'>
>>> > <driver name='qemu' type='raw' cache='none'/>
>>> > <auth username=xx'>
>>> > <secret type='ceph' uuid='xsw'/>
>>> > </auth>
>>> > <source protocol='rbd'
>>> > name='jacknode/4e2cd1be-5c7f-43ff-b44b-bf9f87e84b19'>
>>> > <host name='172.16.44.22' port='6789'/>
>>> > </source>
>>> > * <target dev='hda' bus='ide'/>*
>>> > <address type='drive' controller='0' bus='0' target='0' unit='0'/>
>>> > </disk>
>>> >
>>> > Example Ubuntu Trusty libvirt disk part:
>>> > <disk type='network' device='disk'>
>>> > <driver name='qemu' type='raw' cache='none'/>
>>> > <auth username='xx'>
>>> > <secret type='ceph' uuid='xsw'/>
>>> > </auth>
>>> > <source protocol='rbd'
>>> name='xx/cfafb241-b9c7-4d41-acdc-aac937d96a19'>
>>> > <host name='172.16.44.22' port='6789'/>
>>> > </source>
>>> > * <target dev='vda' bus='virtio'/>*
>>> > <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
>>> > function='0x0'/>
>>> > </disk>
>>> >
>>> > Thanks
> >> > Özhan Ruzgar Karaman
Re: CentOS 7 templates lack virtio
Posted by Nux! <nu...@li.nux.ro>.
@dev btw we should fix this in 4.6 as well
https://issues.apache.org/jira/browse/CLOUDSTACK-8979
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
----- Original Message -----
> From: "Nux!" <nu...@li.nux.ro>
> To: users@cloudstack.apache.org
> Cc: "dev" <de...@cloudstack.apache.org>
> Sent: Thursday, 22 October, 2015 09:38:12
> Subject: Re: CentOS 7 templates lack virtio
> Ozhan,
>
> I think it's in the agent code somewhere.
> CC-ing dev@ - guys can you suggest a quick workaround for this? The CentOS7 KVM
> profile does not come with VirtIO, instead it exposes IDE disks and such.
>
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> ----- Original Message -----
>> From: "Özhan Rüzgar Karaman" <or...@gmail.com>
>> To: users@cloudstack.apache.org
>> Sent: Thursday, 22 October, 2015 08:43:16
>> Subject: Re: Enabling virtio for CentOS 7 templates
>
>> ok Nux! i have created a bug report:
>> https://issues.apache.org/jira/browse/CLOUDSTACK-8979
>>
>> also do you know where we hold this Centos7 vm's disk creation/access
>> template details? I like to fix it on my system.
>>
>> Thanks
>> Özhan
>>
>> On Wed, Oct 21, 2015 at 8:42 PM, Nux! <nu...@li.nux.ro> wrote:
>>
>>> Özhan,
>>>
>>> Looks like the CentOS7 is b0rk3d. Can you please open a bug report in
>>> https://issues.apache.org/jira/ to get it fixed?
>>> In the meanwhile using the latest CentOS6 profile should work just as well.
>>>
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>>
>>> Nux!
>>> www.nux.ro
>>>
>>> ----- Original Message -----
>>> > From: "Özhan Rüzgar Karaman" <or...@gmail.com>
>>> > To: users@cloudstack.apache.org
>>> > Sent: Wednesday, 21 October, 2015 17:54:54
>>> > Subject: Enabling virtio for CentOS 7 templates
>>>
>>> > Hi;
>>> > Today i noticed that when you create a Centos 7 vm by choosing os type as
>>> > CentOS7 then the created vm did not use virtio it uses old hda/ide access
>>> > technique this problem makes Centos 7 vm's to boot slowly, i nearly wait
>>> 30
>>> > seconds after grub loads for CentOS 7. When i change this value to virtio
>>> > it boots without any wait.
>>> >
>>> > So how could i change this Centos 7 vm's default disk access type to
>>> > virtio? This problem creates real headache on my system :)
>>> >
>>> > Example CentOS libvirt disk part:
>>> > <emulator>/usr/bin/kvm-spice</emulator>
>>> > <disk type='network' device='disk'>
>>> > <driver name='qemu' type='raw' cache='none'/>
>>> > <auth username=xx'>
>>> > <secret type='ceph' uuid='xsw'/>
>>> > </auth>
>>> > <source protocol='rbd'
>>> > name='jacknode/4e2cd1be-5c7f-43ff-b44b-bf9f87e84b19'>
>>> > <host name='172.16.44.22' port='6789'/>
>>> > </source>
>>> > * <target dev='hda' bus='ide'/>*
>>> > <address type='drive' controller='0' bus='0' target='0' unit='0'/>
>>> > </disk>
>>> >
>>> > Example Ubuntu Trusty libvirt disk part:
>>> > <disk type='network' device='disk'>
>>> > <driver name='qemu' type='raw' cache='none'/>
>>> > <auth username='xx'>
>>> > <secret type='ceph' uuid='xsw'/>
>>> > </auth>
>>> > <source protocol='rbd'
>>> name='xx/cfafb241-b9c7-4d41-acdc-aac937d96a19'>
>>> > <host name='172.16.44.22' port='6789'/>
>>> > </source>
>>> > * <target dev='vda' bus='virtio'/>*
>>> > <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
>>> > function='0x0'/>
>>> > </disk>
>>> >
>>> > Thanks
> >> > Özhan Ruzgar Karaman