juju based openstack upgrade (by quqi99)
Posted quqi99
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了juju based openstack upgrade (by quqi99)相关的知识,希望对你有一定的参考价值。
作者:张华 发表于:2022-02-17
版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本版权声明
( http://blog.csdn.net/quqi99 )
问题
客户想将juju管理的openstack从xenial升级到bionic, 中间遇到了下面的错误:
django.db.utils.ProgrammingError: column maasserver_node.pool_id does not exist
升级过程理论梳理(未测试,不一定全对)
此步骤未测试,不一定全对,但可能辅助我们理解问题。
1, 得先准备bionic controller(juju-bionic-1,2,3),此时,3个maas节点(infr001, infr002, infr003)还是xenial,但在它上面将创建3个bionic虚机用于bionic controller
juju create bionic-controller on 3 maas nodes
create 3 VMs running bionic, juju create pod on each maas node for the new controller
deploy maas on 3 bionic VMs
juju bootstrap --to juju-bionic-1
juju add-machine -m bionic-controller juju-bionic-2 juju-bionic-3
juju enable-ha -c bionic-controller && juju controllers
以上是关于juju based openstack upgrade (by quqi99)的主要内容,如果未能解决你的问题,请参考以下文章