Re: [Openstack] Configuring instances during first boot
Hello, Thank you for your answers, Effectively I did'nt see this point ... I must now think about it ... I hope that copy ganlance image to cinder bootable volume will answer to this probleme. That's because in our hand made cloud, we use cobbler/kickstart to deploy every VM ... so no resize needed during the installation. Regards, 2013/1/30 Juerg Haefliger jue...@gmail.com: On Wed, Jan 30, 2013 at 10:19 AM, Benoit ML ben4...@gmail.com wrote: Hello, I' new in openstack world (but not in virtualisation/cloud) and I'm asking myself (and you ;) ) what's the objective and interest to resize disk at boot time ? Cloud images are usually built as small as possible. For example the Ubuntu images are 2 GB in size. When an instance is launched, Nova resizes the image file according to the instance flavor selected (for example 10 GB for a small instance, 100 GB for an X large instance, aso). It is then up to the guest to make use of that additional disk space. One approach is to have a script the initramfs that enlarges the root partition to the max available size, ideally consuming the whole disk. Later in the boot process, cloud-init runs and online-resizes the root filesystem. Thus you end up with an instance with a root filesystem that consumes the whole disk. ...Juerg Thank you in advance. Regards, 2013/1/29 Juerg Haefliger jue...@gmail.com: On Tue, Jan 29, 2013 at 3:03 PM, Pádraig Brady p...@draigbrady.com wrote: On 01/29/2013 01:08 PM, JuanFra Rodriguez Cardoso wrote: Thanks for your replies!! Has anyone tried to resize root disk of Centos/Fedora instances with cloud-init? I assume you're referring to resizing the root partition? Juerg Haefliger is working on cloud-utils and cloud-initramfs-tools packages for Fedora/Red Hat, which support the growroot feature. He might have some packages for you to test. Yes working on packaging for RHEL and adding support for GPT partition tables for Fedora. I could give you preliminary RHEL6 packages but Fedora is not quite there yet. Let me know. ...Juerg thanks, Pádraig. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- -- Benoit -- -- Benoit ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Configuring instances during first boot
On Tue, 29 Jan 2013, Juerg Haefliger wrote: On Tue, Jan 29, 2013 at 3:03 PM, Pádraig Brady p...@draigbrady.com wrote: On 01/29/2013 01:08 PM, JuanFra Rodriguez Cardoso wrote: Thanks for your replies!! Has anyone tried to resize root disk of Centos/Fedora instances with cloud-init? I assume you're referring to resizing the root partition? Juerg Haefliger is working on cloud-utils and cloud-initramfs-tools packages for Fedora/Red Hat, which support the growroot feature. He might have some packages for you to test. Yes working on packaging for RHEL and adding support for GPT partition tables for Fedora. I could give you preliminary RHEL6 packages but Fedora is not quite there yet. Let me know. Juerg, I'm interested/willing to help with this. I'd like for growpart to have support for GPT partitions also. Please let me know how I can help. One exciting thing is that newer kernels now support 'update' of a partition table, that should be a good fit for simplistic growing like we're interested in. util-linux has recently gained the ability to tell the kernel to update its partition table view at [1]. What that means is that going forward we won't have to do this stuff inside the initramfs, and I'd like for cloud-init to be able to drive it itself. -- [1] http://git.kernel.org/?p=utils/util-linux/util-linux.git;a=commitdiff;h=3b905b794e93609af7e42459d32b27e7c18ce02e ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Configuring instances during first boot
On Wed, Jan 30, 2013 at 3:08 PM, Scott Moser smo...@ubuntu.com wrote: On Tue, 29 Jan 2013, Juerg Haefliger wrote: On Tue, Jan 29, 2013 at 3:03 PM, Pádraig Brady p...@draigbrady.com wrote: On 01/29/2013 01:08 PM, JuanFra Rodriguez Cardoso wrote: Thanks for your replies!! Has anyone tried to resize root disk of Centos/Fedora instances with cloud-init? I assume you're referring to resizing the root partition? Juerg Haefliger is working on cloud-utils and cloud-initramfs-tools packages for Fedora/Red Hat, which support the growroot feature. He might have some packages for you to test. Yes working on packaging for RHEL and adding support for GPT partition tables for Fedora. I could give you preliminary RHEL6 packages but Fedora is not quite there yet. Let me know. Hi Scott, Juerg, I'm interested/willing to help with this. I'd like for growpart to have support for GPT partitions also. Please let me know how I can help. I'm almost there. Expect a merge request either later today or tomorrow :-) One exciting thing is that newer kernels now support 'update' of a partition table, that should be a good fit for simplistic growing like we're interested in. util-linux has recently gained the ability to tell the kernel to update its partition table view at [1]. What that means is that going forward we won't have to do this stuff inside the initramfs, and I'd like for cloud-init to be able to drive it itself. That is indeed good news. Are you working on the cloud-init changes already? ...Juerg -- [1] http://git.kernel.org/?p=utils/util-linux/util-linux.git;a=commitdiff;h=3b905b794e93609af7e42459d32b27e7c18ce02e ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
[Openstack] Configuring instances during first boot
Hi stackers! Does anyone use initial scripts for resizing disks, adding username and hostame to instances during first boot? Do you know any example of these utils like cloud-init? Thanks! Regards, -- JuanFra ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Configuring instances during first boot
package cloud-init? https://launchpad.net/cloud-init 2013/1/29 JuanFra Rodriguez Cardoso juanfra.rodriguez.card...@gmail.com: Hi stackers! Does anyone use initial scripts for resizing disks, adding username and hostame to instances during first boot? Do you know any example of these utils like cloud-init? Thanks! Regards, -- JuanFra ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Configuring instances during first boot
cloud-init and it's variants: https://help.ubuntu.com/community/CloudInit -- Diego Parrilla http://www.stackops.com/*CEO* *www.stackops.com | * diego.parri...@stackops.com** | +34 649 94 43 29 | skype:diegoparrilla* * http://www.stackops.com/ * * On Tue, Jan 29, 2013 at 10:42 AM, JuanFra Rodriguez Cardoso juanfra.rodriguez.card...@gmail.com wrote: Hi stackers! Does anyone use initial scripts for resizing disks, adding username and hostame to instances during first boot? Do you know any example of these utils like cloud-init? Thanks! Regards, -- JuanFra ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Configuring instances during first boot
Thanks for your replies!! Has anyone tried to resize root disk of Centos/Fedora instances with cloud-init? 2013/1/29 Diego Parrilla Santamaría diego.parrilla.santama...@gmail.com cloud-init and it's variants: https://help.ubuntu.com/community/CloudInit -- Diego Parrilla http://www.stackops.com/*CEO* *www.stackops.com | * diego.parri...@stackops.com** | +34 649 94 43 29 | skype:diegoparrilla* * http://www.stackops.com/ * * On Tue, Jan 29, 2013 at 10:42 AM, JuanFra Rodriguez Cardoso juanfra.rodriguez.card...@gmail.com wrote: Hi stackers! Does anyone use initial scripts for resizing disks, adding username and hostame to instances during first boot? Do you know any example of these utils like cloud-init? Thanks! Regards, -- JuanFra ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp -- JuanFra ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Configuring instances during first boot
On 01/29/2013 01:08 PM, JuanFra Rodriguez Cardoso wrote: Thanks for your replies!! Has anyone tried to resize root disk of Centos/Fedora instances with cloud-init? Juerg Haefliger is working on cloud-utils and cloud-initramfs-tools packages for Fedora/Red Hat, which support the growroot feature. He might have some packages for you to test. thanks, Pádraig. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Configuring instances during first boot
Ok Pádraig, thanks! I will contact him. Regards, JuanFra. 2013/1/29 Pádraig Brady p...@draigbrady.com On 01/29/2013 01:08 PM, JuanFra Rodriguez Cardoso wrote: Thanks for your replies!! Has anyone tried to resize root disk of Centos/Fedora instances with cloud-init? Juerg Haefliger is working on cloud-utils and cloud-initramfs-tools packages for Fedora/Red Hat, which support the growroot feature. He might have some packages for you to test. thanks, Pádraig. -- JuanFra ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] Configuring instances during first boot
On Tue, Jan 29, 2013 at 3:03 PM, Pádraig Brady p...@draigbrady.com wrote: On 01/29/2013 01:08 PM, JuanFra Rodriguez Cardoso wrote: Thanks for your replies!! Has anyone tried to resize root disk of Centos/Fedora instances with cloud-init? I assume you're referring to resizing the root partition? Juerg Haefliger is working on cloud-utils and cloud-initramfs-tools packages for Fedora/Red Hat, which support the growroot feature. He might have some packages for you to test. Yes working on packaging for RHEL and adding support for GPT partition tables for Fedora. I could give you preliminary RHEL6 packages but Fedora is not quite there yet. Let me know. ...Juerg thanks, Pádraig. ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp