cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nux! <...@li.nux.ro>
Subject Re: CentOS 7 templates lack virtio
Date Thu, 22 Oct 2015 08:38:12 GMT
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" <oruzgarkaraman@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! <nux@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" <oruzgarkaraman@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

Mime
View raw message