AttributeError type object 'deprecated' has no attribute 'ROCKY'

AttributeError type object 'deprecated' has no attribute 'ROCKY'

在使用kolla安装docker的时候遇到了AttributeError type object 'deprecated' has no attribute 'ROCKY'

google得知是osol.log版本的问题

但是在安装的时候,宿主机的环境和kolla,kolla-ansile的oslo的版本都是3.42而keystone的版本是3.36需要大于3.38(这里还没搞明白为什么),先解决问题

需要升级keystone镜像

docker run -it kolla/centos-source-keystone-base bash

进入容器镜像后

pip install -U oslo.log

然后更新镜像

docker commit -m="test update" -a="wuzs" 0ee9c1d4beea kolla/centos-source-keystone-base:6.1.1

这样就更新了,然后删除数据库中的keystone库,重启部署

猜你喜欢

转载自www.cnblogs.com/mrwuzs/p/10143031.html
今日推荐