Install Openstack Client

add-apt-repository cloud-archive:wallaby
apt update && apt dist-upgrade
apt install python3-openstackclient -y

Generate rc file

kolla-ansible -i multinode post-deploy
cp /etc/kolla/ ./
chmod +x

OVS br-ex bridge

root@ems-la4-staging:~/openstack/ansible-infra# ansible-playbook ansible-post-ovs.yml --limit compute --ask-become-pass
root@ems-la4-staging:~/openstack/ansible-infra# ansible-playbook ansible-post-ovs.yml --limit controller --ask-become-pass


root@ems-la4-staging:~/openstack/ansible-infra# ansible-playbook ansible-post-octavia.yml --limit controller --ask-become-pass


root@ems-la4-staging:~/openstack/ansible-infra# ansible-playbook ansible-post-magnum.yml --limit controller --ask-become-pass

Create flavors

openstack flavor create c1m1s40 --id auto --ram 1024 --disk 40 --vcpus 1
openstack flavor create c1m2s40 --id auto --ram 2048 --disk 40 --vcpus 1
openstack flavor create c1m4s40 --id auto --ram 4096 --disk 40 --vcpus 1
openstack flavor create c1m4s80 --id auto --ram 4096 --disk 80 --vcpus 1
openstack flavor create c2m4s40 --id auto --ram 4096 --disk 40 --vcpus 2
openstack flavor create c2m8s40 --id auto --ram 8192 --disk 40 --vcpus 2
openstack flavor create c2m8s80 --id auto --ram 8192 --disk 80 --vcpus 2
openstack flavor create c4m8s40 --id auto --ram 8192 --disk 40 --vcpus 4
openstack flavor create c4m16s40 --id auto --ram 16384 --disk 40 --vcpus 4
openstack flavor create c4m16s80 --id auto --ram 16384 --disk 80 --vcpus 4
openstack flavor create c8m16s80 --id auto --ram 16384 --disk 80 --vcpus 8
openstack flavor create c8m32s80 --id auto --ram 32768 --disk 80 --vcpus 8


Could not get lock /var/lib/dpkg/lock-frontend

root@openstack-compute02:/home/kevin# sudo apt-get install python3-dev libffi-dev libssl-dev -y
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 10748 (unattended-upgr)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?


root@openstack-compute02:/home/kevin# vi /etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Update-Package-Lists "0"; # change from 1 to 0
APT::Periodic::Unattended-Upgrade "0";



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store