在阿里云ECS服务器上部署openstack train all-in-one
参考: https://www.cnblogs.com/davyyy/p/12196197.html
OS: Ubuntu 18.04.5 LTS 2核4G 网卡: 添加一块辅助网卡,共2块网卡 OpenStack: train ansible: 2.9.13 kolla-ansible: 9.2.0
安装docker-ce
apt-get update
apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository “deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable”
cat /etc/apt/sources.list
apt-get update
apt-get install docker-ce
systemctl enable docker systemctl start docker
tee /etc/docker/daemon.json <<-‘EOF’ { “registry-mirrors”: [“https://registry.docker-cn.com”] } EOF
systemctl daemon-reload systemctl restart docker
配置lvm作为cinder的后端存储