[Openstack] Auto sizing filesystem using cloud-init is not always working

gustavo panizzo (gfa) gfa at zumbi.com.ar
Thu Jan 15 10:34:26 UTC 2015



On 01/15/2015 06:28 PM, mad Engineer wrote:
> i have
> cloud-utils.x86_64
> cloud-init.x86_64
> cloud-utils-growpart.x86_64 installed
> i think the other is for debian distros as i can not find in yum
> repos.I am using centos6.6.
>
> One strange thing is if i restart instance after creating,its
> working,But not during the first boot.
yeah, you need dracut-modules-growroot

it comes from epel repo


after install (in your golde image), rebuild your /boot/initramfs 
mkinitrd is your friend ,not as good friend as update-initramfs but 
still a friend.


the old kernel that comes with centos 6 is to blame

-- 
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333




More information about the Openstack mailing list