Install kolla Multinode Openstack xena

memberikan akses “root/sudo” pada user Kolla tanpa password

sudo usermod -aG sudo kolla
echo "openstack ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/kolla

update dan upgrade system

sudo apt-get update && sudo apt-get upgrade -y

install tools yang dibutuhkan

sudo apt install python3-dev libffi-dev gcc libssl-dev -y

membuat dan menggunakan virtual environtment

sudo apt install python3.8-venv -y
python3 -m venv /home/openstack/venv1
source /home/openstack/venv1/bin/activate

Install kolla ansible dengan pip

pip install -U pip
pip install 'ansible<5.0'
pip install git+

buat folder kolla dan memasukan sample configuration

sudo mkdir -p /etc/kolla
sudo chown $USER:$USER /etc/kolla
cp -r /home/openstack/venv1/share/kolla-ansible/etc_examples/kolla/* /etc/kolla
cp /home/openstack/venv1/share/kolla-ansible/ansible/inventory/* .

buat configurasi ansible

sudo nano /etc/ansible/ansible.cfg





Generate password kolla


setup konfigurasi Globals.yml

sudo nano /etc/kolla/globals.yml

kolla_base_distro: “ubuntu”

kolla_install_type: “source”

network_interface: “ens18”

enable_cinder: “yes”

kolla_internal_vip_address: “”

enable_haproxy: “no”

keepalived_virtual_router_id: “55”

enable_cinder_backend_lvm: “yes”

nova_compute_virt_type: “kvm”

verifikasi konfigurasi

cat /etc/kolla/globals.yml | grep -v "#" |  tr -s [:space:]

cek disk yg kosong/bukan os


buat physical volume dan volume group pada disk yang kosong

sudo pvcreate /dev/vdb /dev/vdc
sudo vgcreate cinder-volumes /dev/vdb /dev/vdc
sudo vgs

konfigurasi host yang akan menjalankan ansible

10.0.0.[10:12] ansible_user=kolla ansible_password=123456 ansible_become=true ansible_sudo_pass=123456
# Ansible supports syntax like [10:12] - that means 10, 11 and 12.
# Become clause means "use sudo".


10.0.0.[10:12] ansible_user=kolla ansible_password=123456 ansible_become=true ansible_sudo_pass=123456


# This group is for monitoring node.
# Fill it with one of the controllers' IP address or some others.


localhost       ansible_connection=local become=true
# use localhost and sudo

bootstrap precheck deploy

kolla-ansible -i ./multinode bootstrap-servers
kolla-ansible -i ./multinode prechecks
kolla-ansible -i ./multinode deploy

DANGER!!!! do not run this!!! use this only in emergency condition.

kolla-ansible -i ./multinode destroy

install openstack clients

pip install python-openstackclient -c
kolla-ansible post-deploy
. /etc/kolla/

inisiasi pertama


Leave a Reply

Your email address will not be published. Required fields are marked *