[Openstack] How to expand /boot size in Fuel deployment?

Vladimir Kozhukalov vkozhukalov at mirantis.com
Thu May 26 08:43:20 UTC 2016


Eddie,

Currently boot size is hard coded [1] (for most cases 200M is enough), but
it is definitely possible to change it. The following procedure could help

dockerctl shell nailgun
cd /usr/lib/python2.7/site-packages/nailgun
sed "s;'calc_boot_size': lambda: 200,;'calc_boot_size': lambda: 300,;"
extensions/volume_manager/manager.py
find -name "*.pyc" -delete
supervisorctl nailgun restart

Then add another node to the cluster, it should have 300M /boot partition.


[1]
https://github.com/openstack/fuel-web/blob/stable/7.0/nailgun/nailgun/extensions/volume_manager/manager.py#L810

Vladimir Kozhukalov

On Wed, May 25, 2016 at 1:03 PM, Eddie Yen <missile0407 at gmail.com> wrote:

> Hi everyone, this is my first time ask questions to this mailing list.
> Apologize first that I'm not good at English. I'll try to ask the question
> on English clearly.
> Welcome to ask if I got nay details that I'm not write it clear.
>
>
> I'm using Fuel 7.0 to deploy my OpenStack environment (Kilo, of course).
>
> Now I'm trying to add one of node into my exist environment.
> Problem is, this node will going to test kernel after the deployment.
> But the default /boot size is too small for me (which is 200MB only.)
>
> I searched Fuel documents and found that it can set on Fuel provisioning
> setting (by edit YAML file.)
> But I'm not sure how to edit it, because this node had 2 hard drives
> (without RAID).
> And I can see two /boot size options in YAML file.
>
> Does anyone know how to expand kernel partition?
>
> Many thanks,
> Eddie.
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160526/0da6ed30/attachment.html>


More information about the Openstack mailing list