Kolla分布式三控环境部署实践

原创
2017/01/17 10:43
阅读数 1.5K

#Kolla分布式三控部署实践

部署环境Centos7.2 on KVM with kolla 3.0.1

参照文档 官方allinone部署说明 官方multinode部署说明

###基础节点部署 我在基于虚拟平台中新建了三台主机,分别为kolla01,kolla02,kolla3。
基础CPU4个、内存8G、硬盘80G,做做试验够了,不做细致划分了。
由于docker register的默认端口和keystone端口都是5000,所以我增加了一台节点专门部署register。
也可以部署到主节点,换个端口就好,下次我再试试这种方法。

###关于网卡 由于kolla节点需要两个网卡,所以我在每个Kolla节点上新增了一个虚拟网卡 我开始在KVM虚拟环境中创建虚拟网卡,但是后来在安装Kolla过程中,MariaDB集群验证一直过不去,怀疑是KVM环境网卡虚拟方式使得无法识别VIP导致的,后来采用与主机桥接的方式才成功安装,这块卡了我3天都没搞定,也算是个教训吧,另外也是由于我基础不牢,很多问题无法细致的查下去。

###kolla基础环境部署(其他系统参考官方quickstart,此处只列Centos7部分) 以下操作,我在每个节点都执行了 安装pip管理

yum install epel-release
yum install python-pip

部署pip相关依赖

yum install python-devel libffi-devel gcc openssl-devel

安装Docker,要求Docker版本在1.0以上,用这个方法装基本是最新的,所以版本没问题

curl -sSL https://get.docker.io | bash

然后就是建立systemd中注册服务

mkdir -p /etc/systemd/system/docker.service.d

tee /etc/systemd/system/docker.service.d/kolla.conf <<-'EOF'
[Service]
MountFlags=shared
EOF

然后启动服务试试

systemctl daemon-reload
systemctl restart docker

然后安装docker的python库,默认yum好像没有,我也没去找,直接用pip安装即可

pip install -U docker-py

###可选项:设置Docker开机自动启动

运行命令

systemctl enable docker

###插曲:docker-register安装 由于端口冲突,反正虚机也多得是,所以我就单独建了一台用作docker-register,省着捣乱,也试试正经的分布式 以上安装项目,这台docker-register也都做了,之后需要特殊配置下即可。 官方说先运行tools/start-registry,我发现标准安装的目录下没有这个文件,3.0.1的源码git压缩包也没有这个文件,3.0.0的git clone目录下有,就从原来测试allinone部署的机器上把这个文件copy下来了,其实文件内容很简单。我把内容列下面,没有这个文件的可以直接建立,运行:

#!/bin/bash

docker run -d \
	--name registry \
	--restart=always \
	-p 5000:5000 \
	-v registry:/var/lib/registry \
	registry:2

这块其实就完成了docker-register的安装了 ###插曲:docker-register的配置

这块我不建议先做,因为我的环境在后续kolla-build时候,很多镜像由于众所周知的原因会建立失败,所以我采用的是build结合从docker hub上pull的方式,也就是在执行完kolla-build后再做比较好。

然后在每台kolla节点中增加启动配置,这块官方的方法有点问题,我改动了下,首先是增加/etc/sysconfig/docker文件

vi /etc/sysconfig/docker

文件里添加如下内容

INSECURE_REGISTRY="--insecure-registry 192.168.1.100:5000"

在之前添加的/etc/systemd/system/docker.service.d/kolla.conf中改成以下内容,其中有一点和官方不一样的,按照官方的来会报参数错误...

[Service]
MountFlags=shared
EnvironmentFile=/etc/sysconfig/docker
#下面这行是测试了很多遍,看了很多文档,看别人有这行我就加上的,还没细研究为什么
ExecStart=
ExecStart=/usr/bin/docker daemon $INSECURE_REGISTRY

然后再重启动服务,没问题即可

systemctl daemon-reload
systemctl restart docker

###继续主节点的配置,我把第一台定义为主节点了 TODO:NTP是官方建议安装的,但是我看官方只写了个安装服务,我这块没研究,所以暂时先不写了
下面就是安装Ansible了

yum install ansible

之后是安装Kolla程序

pip install kolla

然后是拷贝关键的两个配置文件 globals.yml和password.yml 到/etc/kolla下面

cp -r /usr/share/kolla/etc_examples/kolla /etc/

我没计划弄成开发环境,所以源码我就没git下来,也没安装编译所需的那些关键包了

###集群环境准备 官方文档没细说这块,Ansible远程操作我按照理解是需要几台主机ssh互信的,我只在没ssh互信测试了下不行,然后就按照互信搞了。 先是修改/etc/hosts文件,把几台主机的ip和主机名都加进去,我是用root用户的,省着麻烦,单机用kolla用户时候,很多操作都需要sudu,下次我再研究普通用户的,应该差不多
直接在每台的root用户下执行

ssh-keygen -t rsa

一路回车,用默认参数生成密钥
然后每台执行几遍,过程输入密码,则保存了相关登录信息,在所有节点上,把每个主机名都设置下

ssh-copy-id 主机名

这样就完成了互信过程,ssh 主机名 试试,能不用密码登录就行了。

###编辑globals.yml 这个文件是核心配置文件,我就把我改动的几个点列出来说一下

#基础平台我选择centos
kolla_base_distro: "centos"
#安装类型,我选择源码方式,镜像建立会慢一些,但是没办法
kolla_install_type: "source"
#版本我特殊制定了下,这块最新的是3.0.1
openstack_release: "3.0.1"
#VIP地址,这个我设置了一个网卡所在网段,还没有被使用的地址
kolla_internal_vip_address: "172.30.242.250"
#docker的reistryIP和端口
docker_registry: "实际IP:5000"
默认服务绑定的网卡
network_interface: "eth0"
网络扩展模块使用的网卡,这块我选择虚拟网卡
neutron_external_interface: "eth0:1"
开启集群的日志模块,这个设置后会增加kibana和elasticsearch两个镜像
enable_central_logging: "yes"
以下两个设置会开启ceilometer模块
enable_ceilometer: "yes"
enable_mongodb: "yes"

其他设置都是默认的,以后再研究。 ###正式开始部署 我采用以centos为基础操作系统,source方式进行部署,这么选择是因为有些docker镜像建立不过去,我需要从docker hub 上pull下来,但是docker hub上的binary镜像貌似不全,所以我采用了source的方式

本来我以为编辑globals.yml相关内容,执行kolla-build就行了,结果发现,默认还是binary方式...从官方文档描述来看,build时候不读这个文件,好吧,反正要配置成一致的。

所以,我采用加参数方式编译

kolla-build --type source

这个过程大概2小时吧(网络不给力),然后就能看到有不少没有正常build的过程镜像。。。像下面这个<none>的就是

<none>                                           <none>              ece8ebee76f3        19 hours ago        588 MB
kolla/centos-binary-iscsid                       3.0.1               640822ffe70a        19 hours ago        402 MB
kolla/centos-binary-openvswitch-base             3.0.1               5bd8e91f0974        19 hours ago        407.9 MB

这样我就搞了一个简单的方法,把所有的的镜像再从新pull从docker hub上pull一遍,记得之前先不该docker register了吧,优势就在这块,为了方便,我把pull的文件统一编辑了下,复制,粘贴就让他一个个去下载好了。

docker pull kolla/centos-source-bifrost-deploy:3.0.1
docker pull kolla/centos-source-aodh-api:3.0.1
docker pull kolla/centos-source-aodh-evaluator:3.0.1
docker pull kolla/centos-source-aodh-expirer:3.0.1
docker pull kolla/centos-source-aodh-listener:3.0.1
docker pull kolla/centos-source-aodh-notifier:3.0.1
docker pull kolla/centos-source-swift-rsyncd:3.0.1
docker pull kolla/centos-source-neutron-sfc-agent:3.0.1
docker pull kolla/centos-source-neutron-lbaas-agent:3.0.1
docker pull kolla/centos-source-swift-proxy-server:3.0.1
docker pull kolla/centos-source-swift-object:3.0.1
docker pull kolla/centos-source-neutron-metadata-agent:3.0.1
docker pull kolla/centos-source-swift-container:3.0.1
docker pull kolla/centos-source-swift-object-expirer:3.0.1
docker pull kolla/centos-source-swift-account:3.0.1
docker pull kolla/centos-source-nova-compute:3.0.1
docker pull kolla/centos-source-neutron-linuxbridge-agent:3.0.1
docker pull kolla/centos-source-neutron-metering-agent:3.0.1
docker pull kolla/centos-source-neutron-vpnaas-agent:3.0.1
docker pull kolla/centos-source-ironic-inspector:3.0.1
docker pull kolla/centos-source-neutron-dhcp-agent:3.0.1
docker pull kolla/centos-source-nova-libvirt:3.0.1
docker pull kolla/centos-source-neutron-l3-agent:3.0.1
docker pull kolla/centos-source-neutron-server:3.0.1
docker pull kolla/centos-source-ironic-pxe:3.0.1
docker pull kolla/centos-source-neutron-openvswitch-agent:3.0.1
docker pull kolla/centos-source-nova-ssh:3.0.1
docker pull kolla/centos-source-ironic-conductor:3.0.1
docker pull kolla/centos-source-nova-spicehtml5proxy:3.0.1
docker pull kolla/centos-source-ironic-api:3.0.1
docker pull kolla/centos-source-nova-api:3.0.1
docker pull kolla/centos-source-nova-network:3.0.1
docker pull kolla/centos-source-bifrost-base:3.0.1
docker pull kolla/centos-source-nova-conductor:3.0.1
docker pull kolla/centos-source-nova-novncproxy:3.0.1
docker pull kolla/centos-source-nova-compute-ironic:3.0.1
docker pull kolla/centos-source-nova-serialproxy:3.0.1
docker pull kolla/centos-source-murano-api:3.0.1
docker pull kolla/centos-source-nova-consoleauth:3.0.1
docker pull kolla/centos-source-kuryr-libnetwork:3.0.1
docker pull kolla/centos-source-nova-scheduler:3.0.1
docker pull kolla/centos-source-mistral-api:3.0.1
docker pull kolla/centos-source-murano-engine:3.0.1
docker pull kolla/centos-source-glance-api:3.0.1
docker pull kolla/centos-source-mistral-engine:3.0.1
docker pull kolla/centos-source-mistral-executor:3.0.1
docker pull kolla/centos-source-barbican-api:3.0.1
docker pull kolla/centos-source-glance-registry:3.0.1
docker pull kolla/centos-source-barbican-keystone-listener:3.0.1
docker pull kolla/centos-source-barbican-worker:3.0.1
docker pull kolla/centos-source-keystone-fernet:3.0.1
docker pull kolla/centos-source-trove-api:3.0.1
docker pull kolla/centos-source-keystone-ssh:3.0.1
docker pull kolla/centos-source-trove-guestagent:3.0.1
docker pull kolla/centos-source-trove-taskmanager:3.0.1
docker pull kolla/centos-source-gnocchi-api:3.0.1
docker pull kolla/centos-source-cinder-volume:3.0.1
docker pull kolla/centos-source-trove-conductor:3.0.1
docker pull kolla/centos-source-gnocchi-statsd:3.0.1
docker pull kolla/centos-source-gnocchi-metricd:3.0.1
docker pull kolla/centos-source-cinder-backup:3.0.1
docker pull kolla/centos-source-cinder-api:3.0.1
docker pull kolla/centos-source-keystone:3.0.1
docker pull kolla/centos-source-cinder-rpcbind:3.0.1
docker pull kolla/centos-source-watcher-api:3.0.1
docker pull kolla/centos-source-senlin-api:3.0.1
docker pull kolla/centos-source-designate-central:3.0.1
docker pull kolla/centos-source-cinder-scheduler:3.0.1
docker pull kolla/centos-source-watcher-applier:3.0.1
docker pull kolla/centos-source-watcher-engine:3.0.1
docker pull kolla/centos-source-senlin-engine:3.0.1
docker pull kolla/centos-source-ceilometer-api:3.0.1
docker pull kolla/centos-source-designate-mdns:3.0.1
docker pull kolla/centos-source-designate-backend-bind9:3.0.1
docker pull kolla/centos-source-ceilometer-compute:3.0.1
docker pull kolla/centos-source-congress-api:3.0.1
docker pull kolla/centos-source-designate-api:3.0.1
docker pull kolla/centos-source-designate-sink:3.0.1
docker pull kolla/centos-source-designate-pool-manager:3.0.1
docker pull kolla/centos-source-congress-datasource:3.0.1
docker pull kolla/centos-source-aodh-base:3.0.1
docker pull kolla/centos-source-congress-policy-engine:3.0.1
docker pull kolla/centos-source-ceilometer-notification:3.0.1
docker pull kolla/centos-source-heat-api:3.0.1
docker pull kolla/centos-source-ceilometer-central:3.0.1
docker pull kolla/centos-source-manila-api:3.0.1
docker pull kolla/centos-source-ceilometer-collector:3.0.1
docker pull kolla/centos-source-heat-api-cfn:3.0.1
docker pull kolla/centos-source-heat-engine:3.0.1
docker pull kolla/centos-source-sahara-api:3.0.1
docker pull kolla/centos-source-manila-share:3.0.1
docker pull kolla/centos-source-swift-base:3.0.1
docker pull kolla/centos-source-sahara-engine:3.0.1
docker pull kolla/centos-source-manila-scheduler:3.0.1
docker pull kolla/centos-source-magnum-api:3.0.1
docker pull kolla/centos-source-neutron-base:3.0.1
docker pull kolla/centos-source-ironic-base:3.0.1
docker pull kolla/centos-source-magnum-conductor:3.0.1
docker pull kolla/centos-source-cloudkitty-api:3.0.1
docker pull kolla/centos-source-cloudkitty-processor:3.0.1
docker pull kolla/centos-source-tempest:3.0.1
docker pull kolla/centos-source-murano-base:3.0.1
docker pull kolla/centos-source-nova-base:3.0.1
docker pull kolla/centos-source-kuryr-base:3.0.1
docker pull kolla/centos-source-mistral-base:3.0.1
docker pull kolla/centos-source-glance-base:3.0.1
docker pull kolla/centos-source-barbican-base:3.0.1
docker pull kolla/centos-source-vmtp:3.0.1
docker pull kolla/centos-source-trove-base:3.0.1
docker pull kolla/centos-source-gnocchi-base:3.0.1
docker pull kolla/centos-source-keystone-base:3.0.1
docker pull kolla/centos-source-horizon:3.0.1
docker pull kolla/centos-source-cinder-base:3.0.1
docker pull kolla/centos-source-senlin-base:3.0.1
docker pull kolla/centos-source-rally:3.0.1
docker pull kolla/centos-source-designate-base:3.0.1
docker pull kolla/centos-source-congress-base:3.0.1
docker pull kolla/centos-source-ceilometer-base:3.0.1
docker pull kolla/centos-source-heat-base:3.0.1
docker pull kolla/centos-source-dind:3.0.1
docker pull kolla/centos-source-manila-base:3.0.1
docker pull kolla/centos-source-sahara-base:3.0.1
docker pull kolla/centos-source-magnum-base:3.0.1
docker pull kolla/centos-source-zaqar:3.0.1
docker pull kolla/centos-source-collectd:3.0.1
docker pull kolla/centos-source-cloudkitty-base:3.0.1
docker pull kolla/centos-source-openstack-base:3.0.1
docker pull kolla/centos-source-kolla-toolbox:3.0.1
docker pull kolla/centos-source-openvswitch-db-server:3.0.1
docker pull kolla/centos-source-openvswitch-vswitchd:3.0.1
docker pull kolla/centos-source-mariadb:3.0.1
docker pull kolla/centos-source-ceph-osd:3.0.1
docker pull kolla/centos-source-openvswitch-base:3.0.1
docker pull kolla/centos-source-ceph-mon:3.0.1
docker pull kolla/centos-source-iscsid:3.0.1
docker pull kolla/centos-source-ceph-rgw:3.0.1
docker pull kolla/centos-source-heka:3.0.1
docker pull kolla/centos-source-rabbitmq:3.0.1
docker pull kolla/centos-source-elasticsearch:3.0.1
docker pull kolla/centos-source-kibana:3.0.1
docker pull kolla/centos-source-influxdb:3.0.1
docker pull kolla/centos-source-mongodb:3.0.1
docker pull kolla/centos-source-keepalived:3.0.1
docker pull kolla/centos-source-ceph-base:3.0.1
docker pull kolla/centos-source-etcd:3.0.1
docker pull kolla/centos-source-grafana:3.0.1
docker pull kolla/centos-source-tgtd:3.0.1
docker pull kolla/centos-source-telegraf:3.0.1
docker pull kolla/centos-source-haproxy:3.0.1
docker pull kolla/centos-source-cron:3.0.1
docker pull kolla/centos-source-memcached:3.0.1
docker pull kolla/centos-source-multipathd:3.0.1
docker pull kolla/centos-source-base:3.0.1

然后就开始生成默认密码了,执行命令,会更新/etc/kolla/password.yml里面的内容

kolla-genpwd

###全面部署开始 之后就是检验之前操作是否完全正确的时候了,在这之前, 记得把docker register改成自己的。 编辑/usr/share/kolla/ansible/inventory/multinode文件,把主机名改一下,计划三台全部都部署,我的版本是这样的,其中计算,网络,存储,监控根据需求设置即可,核心是三控:

# These initial groups are the only groups required to be modified. The
# additional groups are for more control of the environment.
[control]
# These hostname must be resolvable from your deployment host
kolla01
kolla02
kolla03

# The above can also be specified as follows:
#control[01:03]     ansible_ssh_user=kolla

# The network nodes are where your l3-agent and loadbalancers will run
# This can be the same as a host in the control group
[network]
kolla01


[compute]
kolla0[1:3]

[monitoring]
kolla03

# When compute nodes and control nodes use different interfaces,
# you can specify "api_interface" and another interfaces like below:
#compute01 neutron_external_interface=eth0 api_interface=em1 storage_interface=em1 tunnel_interface=em1

[storage]
kolla02

然后就开始部署检查了

kolla-ansible prechecks -i /usr/share/kolla/ansible/inventory/multinode

都是新节点,部署没问题一般不会有错的,出现这个结果就是完美啦

PLAY RECAP *********************************************************************
kolla01                    : ok=80   changed=0    unreachable=0    failed=0
kolla02                    : ok=79   changed=0    unreachable=0    failed=0
kolla03                    : ok=79   changed=0    unreachable=0    failed=0

###又一个插曲:墙后的故事 因为我们之前采用build加pull结合的模式,所以,以下两个操作是附加的,如果采用标准build通过的,这步可以忽略了... 首先是改tag

docker tag kolla/centos-source-bifrost-deploy:3.0.1 172.30.242.177:5000/kolla/centos-source-bifrost-deploy:3.0.1
docker tag kolla/centos-source-aodh-api:3.0.1 172.30.242.177:5000/kolla/centos-source-aodh-api:3.0.1
docker tag kolla/centos-source-aodh-evaluator:3.0.1 172.30.242.177:5000/kolla/centos-source-aodh-evaluator:3.0.1
docker tag kolla/centos-source-aodh-expirer:3.0.1 172.30.242.177:5000/kolla/centos-source-aodh-expirer:3.0.1
docker tag kolla/centos-source-aodh-listener:3.0.1 172.30.242.177:5000/kolla/centos-source-aodh-listener:3.0.1
docker tag kolla/centos-source-aodh-notifier:3.0.1 172.30.242.177:5000/kolla/centos-source-aodh-notifier:3.0.1
docker tag kolla/centos-source-swift-rsyncd:3.0.1 172.30.242.177:5000/kolla/centos-source-swift-rsyncd:3.0.1
docker tag kolla/centos-source-neutron-sfc-agent:3.0.1 172.30.242.177:5000/kolla/centos-source-neutron-sfc-agent:3.0.1
docker tag kolla/centos-source-neutron-lbaas-agent:3.0.1 172.30.242.177:5000/kolla/centos-source-neutron-lbaas-agent:3.0.1
docker tag kolla/centos-source-swift-proxy-server:3.0.1 172.30.242.177:5000/kolla/centos-source-swift-proxy-server:3.0.1
docker tag kolla/centos-source-swift-object:3.0.1 172.30.242.177:5000/kolla/centos-source-swift-object:3.0.1
docker tag kolla/centos-source-neutron-metadata-agent:3.0.1 172.30.242.177:5000/kolla/centos-source-neutron-metadata-agent:3.0.1
docker tag kolla/centos-source-swift-container:3.0.1 172.30.242.177:5000/kolla/centos-source-swift-container:3.0.1
docker tag kolla/centos-source-swift-object-expirer:3.0.1 172.30.242.177:5000/kolla/centos-source-swift-object-expirer:3.0.1
docker tag kolla/centos-source-swift-account:3.0.1 172.30.242.177:5000/kolla/centos-source-swift-account:3.0.1
docker tag kolla/centos-source-nova-compute:3.0.1 172.30.242.177:5000/kolla/centos-source-nova-compute:3.0.1
docker tag kolla/centos-source-neutron-linuxbridge-agent:3.0.1 172.30.242.177:5000/kolla/centos-source-neutron-linuxbridge-agent:3.0.1
docker tag kolla/centos-source-neutron-metering-agent:3.0.1 172.30.242.177:5000/kolla/centos-source-neutron-metering-agent:3.0.1
docker tag kolla/centos-source-neutron-vpnaas-agent:3.0.1 172.30.242.177:5000/kolla/centos-source-neutron-vpnaas-agent:3.0.1
docker tag kolla/centos-source-ironic-inspector:3.0.1 172.30.242.177:5000/kolla/centos-source-ironic-inspector:3.0.1
docker tag kolla/centos-source-neutron-dhcp-agent:3.0.1 172.30.242.177:5000/kolla/centos-source-neutron-dhcp-agent:3.0.1
docker tag kolla/centos-source-nova-libvirt:3.0.1 172.30.242.177:5000/kolla/centos-source-nova-libvirt:3.0.1
docker tag kolla/centos-source-neutron-l3-agent:3.0.1 172.30.242.177:5000/kolla/centos-source-neutron-l3-agent:3.0.1
docker tag kolla/centos-source-neutron-server:3.0.1 172.30.242.177:5000/kolla/centos-source-neutron-server:3.0.1
docker tag kolla/centos-source-ironic-pxe:3.0.1 172.30.242.177:5000/kolla/centos-source-ironic-pxe:3.0.1
docker tag kolla/centos-source-neutron-openvswitch-agent:3.0.1 172.30.242.177:5000/kolla/centos-source-neutron-openvswitch-agent:3.0.1
docker tag kolla/centos-source-nova-ssh:3.0.1 172.30.242.177:5000/kolla/centos-source-nova-ssh:3.0.1
docker tag kolla/centos-source-ironic-conductor:3.0.1 172.30.242.177:5000/kolla/centos-source-ironic-conductor:3.0.1
docker tag kolla/centos-source-nova-spicehtml5proxy:3.0.1 172.30.242.177:5000/kolla/centos-source-nova-spicehtml5proxy:3.0.1
docker tag kolla/centos-source-ironic-api:3.0.1 172.30.242.177:5000/kolla/centos-source-ironic-api:3.0.1
docker tag kolla/centos-source-nova-api:3.0.1 172.30.242.177:5000/kolla/centos-source-nova-api:3.0.1
docker tag kolla/centos-source-nova-network:3.0.1 172.30.242.177:5000/kolla/centos-source-nova-network:3.0.1
docker tag kolla/centos-source-bifrost-base:3.0.1 172.30.242.177:5000/kolla/centos-source-bifrost-base:3.0.1
docker tag kolla/centos-source-nova-conductor:3.0.1 172.30.242.177:5000/kolla/centos-source-nova-conductor:3.0.1
docker tag kolla/centos-source-nova-novncproxy:3.0.1 172.30.242.177:5000/kolla/centos-source-nova-novncproxy:3.0.1
docker tag kolla/centos-source-nova-compute-ironic:3.0.1 172.30.242.177:5000/kolla/centos-source-nova-compute-ironic:3.0.1
docker tag kolla/centos-source-nova-serialproxy:3.0.1 172.30.242.177:5000/kolla/centos-source-nova-serialproxy:3.0.1
docker tag kolla/centos-source-murano-api:3.0.1 172.30.242.177:5000/kolla/centos-source-murano-api:3.0.1
docker tag kolla/centos-source-nova-consoleauth:3.0.1 172.30.242.177:5000/kolla/centos-source-nova-consoleauth:3.0.1
docker tag kolla/centos-source-kuryr-libnetwork:3.0.1 172.30.242.177:5000/kolla/centos-source-kuryr-libnetwork:3.0.1
docker tag kolla/centos-source-nova-scheduler:3.0.1 172.30.242.177:5000/kolla/centos-source-nova-scheduler:3.0.1
docker tag kolla/centos-source-mistral-api:3.0.1 172.30.242.177:5000/kolla/centos-source-mistral-api:3.0.1
docker tag kolla/centos-source-murano-engine:3.0.1 172.30.242.177:5000/kolla/centos-source-murano-engine:3.0.1
docker tag kolla/centos-source-glance-api:3.0.1 172.30.242.177:5000/kolla/centos-source-glance-api:3.0.1
docker tag kolla/centos-source-mistral-engine:3.0.1 172.30.242.177:5000/kolla/centos-source-mistral-engine:3.0.1
docker tag kolla/centos-source-mistral-executor:3.0.1 172.30.242.177:5000/kolla/centos-source-mistral-executor:3.0.1
docker tag kolla/centos-source-barbican-api:3.0.1 172.30.242.177:5000/kolla/centos-source-barbican-api:3.0.1
docker tag kolla/centos-source-glance-registry:3.0.1 172.30.242.177:5000/kolla/centos-source-glance-registry:3.0.1
docker tag kolla/centos-source-barbican-keystone-listener:3.0.1 172.30.242.177:5000/kolla/centos-source-barbican-keystone-listener:3.0.1
docker tag kolla/centos-source-barbican-worker:3.0.1 172.30.242.177:5000/kolla/centos-source-barbican-worker:3.0.1
docker tag kolla/centos-source-keystone-fernet:3.0.1 172.30.242.177:5000/kolla/centos-source-keystone-fernet:3.0.1
docker tag kolla/centos-source-trove-api:3.0.1 172.30.242.177:5000/kolla/centos-source-trove-api:3.0.1
docker tag kolla/centos-source-keystone-ssh:3.0.1 172.30.242.177:5000/kolla/centos-source-keystone-ssh:3.0.1
docker tag kolla/centos-source-trove-guestagent:3.0.1 172.30.242.177:5000/kolla/centos-source-trove-guestagent:3.0.1
docker tag kolla/centos-source-trove-taskmanager:3.0.1 172.30.242.177:5000/kolla/centos-source-trove-taskmanager:3.0.1
docker tag kolla/centos-source-gnocchi-api:3.0.1 172.30.242.177:5000/kolla/centos-source-gnocchi-api:3.0.1
docker tag kolla/centos-source-cinder-volume:3.0.1 172.30.242.177:5000/kolla/centos-source-cinder-volume:3.0.1
docker tag kolla/centos-source-trove-conductor:3.0.1 172.30.242.177:5000/kolla/centos-source-trove-conductor:3.0.1
docker tag kolla/centos-source-gnocchi-statsd:3.0.1 172.30.242.177:5000/kolla/centos-source-gnocchi-statsd:3.0.1
docker tag kolla/centos-source-gnocchi-metricd:3.0.1 172.30.242.177:5000/kolla/centos-source-gnocchi-metricd:3.0.1
docker tag kolla/centos-source-cinder-backup:3.0.1 172.30.242.177:5000/kolla/centos-source-cinder-backup:3.0.1
docker tag kolla/centos-source-cinder-api:3.0.1 172.30.242.177:5000/kolla/centos-source-cinder-api:3.0.1
docker tag kolla/centos-source-keystone:3.0.1 172.30.242.177:5000/kolla/centos-source-keystone:3.0.1
docker tag kolla/centos-source-cinder-rpcbind:3.0.1 172.30.242.177:5000/kolla/centos-source-cinder-rpcbind:3.0.1
docker tag kolla/centos-source-watcher-api:3.0.1 172.30.242.177:5000/kolla/centos-source-watcher-api:3.0.1
docker tag kolla/centos-source-senlin-api:3.0.1 172.30.242.177:5000/kolla/centos-source-senlin-api:3.0.1
docker tag kolla/centos-source-designate-central:3.0.1 172.30.242.177:5000/kolla/centos-source-designate-central:3.0.1
docker tag kolla/centos-source-cinder-scheduler:3.0.1 172.30.242.177:5000/kolla/centos-source-cinder-scheduler:3.0.1
docker tag kolla/centos-source-watcher-applier:3.0.1 172.30.242.177:5000/kolla/centos-source-watcher-applier:3.0.1
docker tag kolla/centos-source-watcher-engine:3.0.1 172.30.242.177:5000/kolla/centos-source-watcher-engine:3.0.1
docker tag kolla/centos-source-senlin-engine:3.0.1 172.30.242.177:5000/kolla/centos-source-senlin-engine:3.0.1
docker tag kolla/centos-source-ceilometer-api:3.0.1 172.30.242.177:5000/kolla/centos-source-ceilometer-api:3.0.1
docker tag kolla/centos-source-designate-mdns:3.0.1 172.30.242.177:5000/kolla/centos-source-designate-mdns:3.0.1
docker tag kolla/centos-source-designate-backend-bind9:3.0.1 172.30.242.177:5000/kolla/centos-source-designate-backend-bind9:3.0.1
docker tag kolla/centos-source-ceilometer-compute:3.0.1 172.30.242.177:5000/kolla/centos-source-ceilometer-compute:3.0.1
docker tag kolla/centos-source-congress-api:3.0.1 172.30.242.177:5000/kolla/centos-source-congress-api:3.0.1
docker tag kolla/centos-source-designate-api:3.0.1 172.30.242.177:5000/kolla/centos-source-designate-api:3.0.1
docker tag kolla/centos-source-designate-sink:3.0.1 172.30.242.177:5000/kolla/centos-source-designate-sink:3.0.1
docker tag kolla/centos-source-designate-pool-manager:3.0.1 172.30.242.177:5000/kolla/centos-source-designate-pool-manager:3.0.1
docker tag kolla/centos-source-congress-datasource:3.0.1 172.30.242.177:5000/kolla/centos-source-congress-datasource:3.0.1
docker tag kolla/centos-source-aodh-base:3.0.1 172.30.242.177:5000/kolla/centos-source-aodh-base:3.0.1
docker tag kolla/centos-source-congress-policy-engine:3.0.1 172.30.242.177:5000/kolla/centos-source-congress-policy-engine:3.0.1
docker tag kolla/centos-source-ceilometer-notification:3.0.1 172.30.242.177:5000/kolla/centos-source-ceilometer-notification:3.0.1
docker tag kolla/centos-source-heat-api:3.0.1 172.30.242.177:5000/kolla/centos-source-heat-api:3.0.1
docker tag kolla/centos-source-ceilometer-central:3.0.1 172.30.242.177:5000/kolla/centos-source-ceilometer-central:3.0.1
docker tag kolla/centos-source-manila-api:3.0.1 172.30.242.177:5000/kolla/centos-source-manila-api:3.0.1
docker tag kolla/centos-source-ceilometer-collector:3.0.1 172.30.242.177:5000/kolla/centos-source-ceilometer-collector:3.0.1
docker tag kolla/centos-source-heat-api-cfn:3.0.1 172.30.242.177:5000/kolla/centos-source-heat-api-cfn:3.0.1
docker tag kolla/centos-source-heat-engine:3.0.1 172.30.242.177:5000/kolla/centos-source-heat-engine:3.0.1
docker tag kolla/centos-source-sahara-api:3.0.1 172.30.242.177:5000/kolla/centos-source-sahara-api:3.0.1
docker tag kolla/centos-source-manila-share:3.0.1 172.30.242.177:5000/kolla/centos-source-manila-share:3.0.1
docker tag kolla/centos-source-swift-base:3.0.1 172.30.242.177:5000/kolla/centos-source-swift-base:3.0.1
docker tag kolla/centos-source-sahara-engine:3.0.1 172.30.242.177:5000/kolla/centos-source-sahara-engine:3.0.1
docker tag kolla/centos-source-manila-scheduler:3.0.1 172.30.242.177:5000/kolla/centos-source-manila-scheduler:3.0.1
docker tag kolla/centos-source-magnum-api:3.0.1 172.30.242.177:5000/kolla/centos-source-magnum-api:3.0.1
docker tag kolla/centos-source-neutron-base:3.0.1 172.30.242.177:5000/kolla/centos-source-neutron-base:3.0.1
docker tag kolla/centos-source-ironic-base:3.0.1 172.30.242.177:5000/kolla/centos-source-ironic-base:3.0.1
docker tag kolla/centos-source-magnum-conductor:3.0.1 172.30.242.177:5000/kolla/centos-source-magnum-conductor:3.0.1
docker tag kolla/centos-source-cloudkitty-api:3.0.1 172.30.242.177:5000/kolla/centos-source-cloudkitty-api:3.0.1
docker tag kolla/centos-source-cloudkitty-processor:3.0.1 172.30.242.177:5000/kolla/centos-source-cloudkitty-processor:3.0.1
docker tag kolla/centos-source-tempest:3.0.1 172.30.242.177:5000/kolla/centos-source-tempest:3.0.1
docker tag kolla/centos-source-murano-base:3.0.1 172.30.242.177:5000/kolla/centos-source-murano-base:3.0.1
docker tag kolla/centos-source-nova-base:3.0.1 172.30.242.177:5000/kolla/centos-source-nova-base:3.0.1
docker tag kolla/centos-source-kuryr-base:3.0.1 172.30.242.177:5000/kolla/centos-source-kuryr-base:3.0.1
docker tag kolla/centos-source-mistral-base:3.0.1 172.30.242.177:5000/kolla/centos-source-mistral-base:3.0.1
docker tag kolla/centos-source-glance-base:3.0.1 172.30.242.177:5000/kolla/centos-source-glance-base:3.0.1
docker tag kolla/centos-source-barbican-base:3.0.1 172.30.242.177:5000/kolla/centos-source-barbican-base:3.0.1
docker tag kolla/centos-source-vmtp:3.0.1 172.30.242.177:5000/kolla/centos-source-vmtp:3.0.1
docker tag kolla/centos-source-trove-base:3.0.1 172.30.242.177:5000/kolla/centos-source-trove-base:3.0.1
docker tag kolla/centos-source-gnocchi-base:3.0.1 172.30.242.177:5000/kolla/centos-source-gnocchi-base:3.0.1
docker tag kolla/centos-source-keystone-base:3.0.1 172.30.242.177:5000/kolla/centos-source-keystone-base:3.0.1
docker tag kolla/centos-source-horizon:3.0.1 172.30.242.177:5000/kolla/centos-source-horizon:3.0.1
docker tag kolla/centos-source-cinder-base:3.0.1 172.30.242.177:5000/kolla/centos-source-cinder-base:3.0.1
docker tag kolla/centos-source-senlin-base:3.0.1 172.30.242.177:5000/kolla/centos-source-senlin-base:3.0.1
docker tag kolla/centos-source-rally:3.0.1 172.30.242.177:5000/kolla/centos-source-rally:3.0.1
docker tag kolla/centos-source-designate-base:3.0.1 172.30.242.177:5000/kolla/centos-source-designate-base:3.0.1
docker tag kolla/centos-source-congress-base:3.0.1 172.30.242.177:5000/kolla/centos-source-congress-base:3.0.1
docker tag kolla/centos-source-ceilometer-base:3.0.1 172.30.242.177:5000/kolla/centos-source-ceilometer-base:3.0.1
docker tag kolla/centos-source-heat-base:3.0.1 172.30.242.177:5000/kolla/centos-source-heat-base:3.0.1
docker tag kolla/centos-source-dind:3.0.1 172.30.242.177:5000/kolla/centos-source-dind:3.0.1
docker tag kolla/centos-source-manila-base:3.0.1 172.30.242.177:5000/kolla/centos-source-manila-base:3.0.1
docker tag kolla/centos-source-sahara-base:3.0.1 172.30.242.177:5000/kolla/centos-source-sahara-base:3.0.1
docker tag kolla/centos-source-magnum-base:3.0.1 172.30.242.177:5000/kolla/centos-source-magnum-base:3.0.1
docker tag kolla/centos-source-zaqar:3.0.1 172.30.242.177:5000/kolla/centos-source-zaqar:3.0.1
docker tag kolla/centos-source-collectd:3.0.1 172.30.242.177:5000/kolla/centos-source-collectd:3.0.1
docker tag kolla/centos-source-cloudkitty-base:3.0.1 172.30.242.177:5000/kolla/centos-source-cloudkitty-base:3.0.1
docker tag kolla/centos-source-openstack-base:3.0.1 172.30.242.177:5000/kolla/centos-source-openstack-base:3.0.1
docker tag kolla/centos-source-kolla-toolbox:3.0.1 172.30.242.177:5000/kolla/centos-source-kolla-toolbox:3.0.1
docker tag kolla/centos-source-openvswitch-db-server:3.0.1 172.30.242.177:5000/kolla/centos-source-openvswitch-db-server:3.0.1
docker tag kolla/centos-source-openvswitch-vswitchd:3.0.1 172.30.242.177:5000/kolla/centos-source-openvswitch-vswitchd:3.0.1
docker tag kolla/centos-source-mariadb:3.0.1 172.30.242.177:5000/kolla/centos-source-mariadb:3.0.1
docker tag kolla/centos-source-ceph-osd:3.0.1 172.30.242.177:5000/kolla/centos-source-ceph-osd:3.0.1
docker tag kolla/centos-source-openvswitch-base:3.0.1 172.30.242.177:5000/kolla/centos-source-openvswitch-base:3.0.1
docker tag kolla/centos-source-ceph-mon:3.0.1 172.30.242.177:5000/kolla/centos-source-ceph-mon:3.0.1
docker tag kolla/centos-source-iscsid:3.0.1 172.30.242.177:5000/kolla/centos-source-iscsid:3.0.1
docker tag kolla/centos-source-ceph-rgw:3.0.1 172.30.242.177:5000/kolla/centos-source-ceph-rgw:3.0.1
docker tag kolla/centos-source-heka:3.0.1 172.30.242.177:5000/kolla/centos-source-heka:3.0.1
docker tag kolla/centos-source-rabbitmq:3.0.1 172.30.242.177:5000/kolla/centos-source-rabbitmq:3.0.1
docker tag kolla/centos-source-elasticsearch:3.0.1 172.30.242.177:5000/kolla/centos-source-elasticsearch:3.0.1
docker tag kolla/centos-source-kibana:3.0.1 172.30.242.177:5000/kolla/centos-source-kibana:3.0.1
docker tag kolla/centos-source-influxdb:3.0.1 172.30.242.177:5000/kolla/centos-source-influxdb:3.0.1
docker tag kolla/centos-source-mongodb:3.0.1 172.30.242.177:5000/kolla/centos-source-mongodb:3.0.1
docker tag kolla/centos-source-keepalived:3.0.1 172.30.242.177:5000/kolla/centos-source-keepalived:3.0.1
docker tag kolla/centos-source-ceph-base:3.0.1 172.30.242.177:5000/kolla/centos-source-ceph-base:3.0.1
docker tag kolla/centos-source-etcd:3.0.1 172.30.242.177:5000/kolla/centos-source-etcd:3.0.1
docker tag kolla/centos-source-grafana:3.0.1 172.30.242.177:5000/kolla/centos-source-grafana:3.0.1
docker tag kolla/centos-source-tgtd:3.0.1 172.30.242.177:5000/kolla/centos-source-tgtd:3.0.1
docker tag kolla/centos-source-telegraf:3.0.1 172.30.242.177:5000/kolla/centos-source-telegraf:3.0.1
docker tag kolla/centos-source-haproxy:3.0.1 172.30.242.177:5000/kolla/centos-source-haproxy:3.0.1
docker tag kolla/centos-source-cron:3.0.1 172.30.242.177:5000/kolla/centos-source-cron:3.0.1
docker tag kolla/centos-source-memcached:3.0.1 172.30.242.177:5000/kolla/centos-source-memcached:3.0.1
docker tag kolla/centos-source-multipathd:3.0.1 172.30.242.177:5000/kolla/centos-source-multipathd:3.0.1
docker tag kolla/centos-source-base:3.0.1 172.30.242.177:5000/kolla/centos-source-base:3.0.1

其次是向私有register push

docker push 172.30.242.177:5000/kolla/centos-source-bifrost-deploy:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-aodh-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-aodh-evaluator:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-aodh-expirer:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-aodh-listener:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-aodh-notifier:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-swift-rsyncd:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-neutron-sfc-agent:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-neutron-lbaas-agent:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-swift-proxy-server:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-swift-object:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-neutron-metadata-agent:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-swift-container:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-swift-object-expirer:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-swift-account:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-nova-compute:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-neutron-linuxbridge-agent:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-neutron-metering-agent:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-neutron-vpnaas-agent:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-ironic-inspector:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-neutron-dhcp-agent:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-nova-libvirt:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-neutron-l3-agent:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-neutron-server:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-ironic-pxe:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-neutron-openvswitch-agent:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-nova-ssh:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-ironic-conductor:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-nova-spicehtml5proxy:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-ironic-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-nova-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-nova-network:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-bifrost-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-nova-conductor:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-nova-novncproxy:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-nova-compute-ironic:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-nova-serialproxy:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-murano-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-nova-consoleauth:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-kuryr-libnetwork:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-nova-scheduler:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-mistral-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-murano-engine:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-glance-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-mistral-engine:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-mistral-executor:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-barbican-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-glance-registry:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-barbican-keystone-listener:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-barbican-worker:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-keystone-fernet:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-trove-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-keystone-ssh:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-trove-guestagent:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-trove-taskmanager:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-gnocchi-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-cinder-volume:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-trove-conductor:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-gnocchi-statsd:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-gnocchi-metricd:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-cinder-backup:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-cinder-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-keystone:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-cinder-rpcbind:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-watcher-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-senlin-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-designate-central:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-cinder-scheduler:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-watcher-applier:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-watcher-engine:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-senlin-engine:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-ceilometer-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-designate-mdns:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-designate-backend-bind9:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-ceilometer-compute:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-congress-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-designate-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-designate-sink:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-designate-pool-manager:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-congress-datasource:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-aodh-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-congress-policy-engine:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-ceilometer-notification:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-heat-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-ceilometer-central:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-manila-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-ceilometer-collector:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-heat-api-cfn:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-heat-engine:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-sahara-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-manila-share:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-swift-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-sahara-engine:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-manila-scheduler:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-magnum-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-neutron-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-ironic-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-magnum-conductor:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-cloudkitty-api:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-cloudkitty-processor:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-tempest:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-murano-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-nova-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-kuryr-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-mistral-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-glance-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-barbican-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-vmtp:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-trove-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-gnocchi-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-keystone-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-horizon:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-cinder-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-senlin-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-rally:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-designate-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-congress-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-ceilometer-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-heat-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-dind:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-manila-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-sahara-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-magnum-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-zaqar:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-collectd:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-cloudkitty-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-openstack-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-kolla-toolbox:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-openvswitch-db-server:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-openvswitch-vswitchd:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-mariadb:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-ceph-osd:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-openvswitch-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-ceph-mon:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-iscsid:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-ceph-rgw:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-heka:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-rabbitmq:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-elasticsearch:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-kibana:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-influxdb:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-mongodb:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-keepalived:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-ceph-base:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-etcd:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-grafana:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-tgtd:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-telegraf:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-haproxy:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-cron:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-memcached:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-multipathd:3.0.1
docker push 172.30.242.177:5000/kolla/centos-source-base:3.0.1

###继续回到主线上来 做完以上操作,就可以进行镜像的pull操作了

kolla-ansible pull -i /usr/share/kolla/ansible/inventory/multinode

看到这个结果就没事偷着乐吧。呵呵

PLAY RECAP *********************************************************************
kolla01                    : ok=96   changed=0    unreachable=0    failed=0
kolla02                    : ok=96   changed=35   unreachable=0    failed=0
kolla03                    : ok=96   changed=35   unreachable=0    failed=0

然后就是最后阶段的正式部署

kolla-ansible deploy -i /usr/share/kolla/ansible/inventory/multinode

之前说过了,我第一次部署在这块失败了很多次,我判断主要就是由于网卡设置问题倒是VIP网卡状态异常,一直开在MariaDB集群状态监测部分,所以我建议如何这块异常,多考虑下网卡设置问题。在换了桥接网卡后,系统正常了,最终状态我没截取数据,总之就是所有都OK就行,然后就可以看到所有Docker镜像都启动了,看一下就行

	docker ps

最后登录VIP的80端口,应该可以看到horizon的登录界面了,输入admin和密码即可(/etc/kolla/password.yml里的keystone admin密码),然后里面修改密码即可。

###最后一个小插曲 我也不知道什么原因,开始horizon登录就报内部错误,查问题是多语言导致的,我就把浏览器切换到英语就ok拉,现在3.0.2的版本已经出来了,不知道这个问题是否解决,还是我镜像build过程中的问题,回头再查。

展开阅读全文
打赏
0
1 收藏
分享
加载中
兄弟,我使用xenserver来部署的, 三台节点,现在也卡在mariadb这儿了,不知如何解决
2017/03/31 15:36
回复
举报
更多评论
打赏
1 评论
1 收藏
0
分享
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部