HOWTO: add glance and cinder to oVirt - docker solution
Install kolla:
git clone https://git.openstack.org/openstack/kolla
cd kolla
sudo pip install -r requirements.txt
Install deps:# Ubuntu
apt-get install -y python-dev python-pip libffi-dev libssl-dev
# Fedora
yum install -y python-devel python-pip libffi-devel openssl-devel
# Centos
easy_install pip
yum install -y python-devel libffi-devel openssl-devel
And openstack client
pip install -U python-openstackclient
Install latest docker:
curl -sSL https://get.docker.io | bash
Add line into /etc/kolla/kolla-build.conf:
=>In section [profiles]:
ovirt = cinder,data,keystone,mariadb,rabbitmq,rsyslog
Build kolla docker images:
kolla-build -p ovirt
Setup Ansible deployment:
Passwords in /etc/kolla/passwords.yml (replace password with different random passwords each time)
Deployed containers:
add in /etc/kolla/globals.yml:
enable_glance: "yes"
enable_cinder: "yes"
enable_heat: "no"
enable_magnum: "no"
enable_haproxy: "no"
enable_elk: "no"
enable_memcached: "no"
enable_swift: "no"
enable_nova: "no"
enable_neutron: "no"
enable_horizon: "no"
enable_murano: "no"
enable_ironic: "no"
enable_mistral: "no"
enable_ceph: "no"
enable_mongodb: "no"
# uncomment if ceph wanted
#cinder_volume_driver: "ceph"
Run ansible playbook:
kolla-ansible -i ansible/inventory/all-in-one -p ansible/site.yml deploy
- Identifiez-vous pour poster des commentaires