][Thread Next][Date Index
[openstack-ansible] Documentation of host OS major upgrade
You'll need to re-run repo-build.yml playbook once have at least one host running another OS. So repo-server is designed to support different operating systems, and required packages would be built for every OS. You should be able to see such selection inside repo container in /var/www/repo/pools/
LXC OS is based on the host OS, but this might be overrided: https://github.com/openstack/openstack-ansible-lxc_hosts/blob/stable/rocky/defaults/main.yml#L166 Mixed containers are ok as well. And Ubuntu 18.04 on the host supports Ubuntu 16.04 containers, so it's possible to upgrade host and only after that rebuild containers on this node. The only tricky thing is that Ubuntu 18.04 runs lxc 3, while 16.04 is running lxc 2. This migration is covered by Kevin's note inside etherpad, so shouldn't be a big problem.
13.04.2019, 20:28, "Gilles Mocellin" <gilles.mocellin at nuagelibre.org>:
> Le samedi 13 avril 2019, 12:11:37 CEST Ð Ð°Ð±Ð¾Ñ?Ñ?Ð³Ð¾Ð² Ð?Ð¼Ð¸Ñ?Ñ?Ð¸Ð¹ a Ã©crit :
>> Â Hi Gilles,
>> Â Regarding Xenial - Bionic upgrade - it's a possible upgrade, but it looks
>> Â like more one-by-one re-setup than upgrade, if you wish to upgrade not only
>> Â host OS, but containers as well. First of all you'll need to complete Q->R
>> Â upgrade, after that you'll be able to upgrade Ubuntu. For instance I've
>> Â completed such upgrade for my deployments, and it was pretty successful.
>> Â We've got some notes regarding such upgrade on
>> Â etherpad:https://etherpad.openstack.org/p/osa-rocky-bionic-upgrade
>> Â Mixed deployments are supported by OSA as well - you may easily use
>> Â different operating systems in one deployment, you just need wheels and
>> Â packages to be build on the repo-server for this OS.
>> Â --
>> Â Kind Regards,
>> Â Dmitriy Rabotyagov
> Thank you Dmitry for your notes !
> But one question : when you say the wheels need to be rebuild for the OS in
> repo-server, how do we do that, and keep and maintain the two versions ?
> Doing a rolling remove/rebuild/re-add for each server seems fine if a mixed OS
> deployment is supported for the hosts OS.
> Concerning the LXC OS, is it built based on the host one, or a config
> somewhere ?
> Do all the containers need to be the same version ?
> Again, it can be fine, but time consuming, if we first need to upgrade all
> hosts, recreating containers in xenial on them until all hosts are upgraded.
> And only after, recreate all containers in bionic.
>> Â As far as I know work
>> Â on upgrade Rocky->Stein is still in progress.
> Of course, but it would be great if that sort of documentation is ready when
> OSA Stein is out !