openstack kolla all in one

Please prepare a server or a virtual box with at least 2 interfaces and ubuntu 18.04 LTS.  You need minimum 20 GB of free space to just run the services, and will leave around 2GB free to test other stuff. To deploy any instances, prepare at least 40gb or more.  Your 1st interface will be […]

Read More

OpenStack Ansible with OpenVSwitch – osa with ovs

There needs to be a few workarounds to get openstack ansible working nicely with openvswitch. in controllers the network is like normal .. nothing changes .. everything is linuxbridge. Including if nodes are for ironic in compute nodes you use linuxbridge for br-storage and br-mgmt you use openvswitch for br-vlan and br-vxlan neutron agents must […]

Read More

OpenStack pike setup – all in one

vagrant box add ubuntu/xenial64 vagrant plugin install vagrant-disksize mkdir aio cd aio vagrant init ubuntu/xenial64 notepad Vagrantfile   below the line that says: config.vm.box = “ubuntu/xenial64” add, the following line config.disksize.size = ’60GB’   also find the line that says, and change the RAM and CPU to what you can give. Remember, you need at […]

Read More

cinder multiple backends

You can configure multiple back ends in cinder at the same time ## Do this for all 3 controllers ## example of 3 ceph pools and 1 QNAP pool .. ## you can add any supported example: LVM, NFS etc storage_hosts: infra1: ip: 172.29.236.11 container_vars: cinder_backends: limit_container_types: cinder_volume ceph-ssd: volume_driver: cinder.volume.drivers.rbd.RBDDriver volume_backend_name: CEPH-SSD rbd_pool: volumes-ssd […]

Read More

OpenStack add project and users

  openstack project create production +————-+———————————-+ | Field | Value | +————-+———————————-+ | description | | | domain_id | default | | enabled | True | | id | 983eae3e9f394996afcc3b3de640b8d3 | | is_domain | False | | name | production | | parent_id | default | +————-+———————————-+   openstack project create development +————-+———————————-+ | Field […]

Read More

OpenStack VXLAN

Lets create another network in the same tenant, and create 3 more VMS. +————————————–+———+———————————-+——–+————+————-+———————————+ | ID | Name | Tenant ID | Status | Task State | Power State | Networks | +————————————–+———+———————————-+——–+————+————-+———————————+ | ee98e356-e017-4cf1-93c7-7483370d4fe2 | vm201-1 | 3b86f724614540bc902d3570b0bf86f1 | ACTIVE | – | Running | dhcp-192-168-201=192.168.201.15 | | 756558c6-2064-4494-b432-26ac1c408f15 | vm201-2 | 3b86f724614540bc902d3570b0bf86f1 | […]

Read More

OpenStack migrate routers and dhcp

For various reasons, you might need to migrate routers and dhcp agents. For dhcp, they are already multiple and due to lease-timeout,  the migration is not noticable For routers, the downtime might be noticable from anywhere between 5 seconds to a minute as the ports will be recreated. Here is an example of such a […]

Read More

OpenStack add images to glance

You need to provide some images for your instances to be created. These can be any images. Login to the utility container (if using openstack-ansible deploy) or via cli as admin Download the image locally. wget http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img   Upload the image to openstack glance image-create –name “cirros-test” –file cirros-0.3.4-x86_64-disk.img –disk-format qcow2 –container-format bare –visibility public […]

Read More

openstack ansible ceph

in the deploy server git clone -b liberty https://github.com/openstack/openstack-ansible.git /opt/openstack-ansible cd /opt/openstack-ansible scripts/bootstrap-ansible.sh copy the config folder to /etc cp -a /opt/openstack-ansible/etc/openstack_deploy /etc/ Follow  ceph setup ubuntu three node tutorial disable is_metal from /etc/openstack_deploy/env.d/cinder.yml # /etc/openstack_deploy/user_variables.yml glance_default_store: rbd glance_notification_driver: noop glance_ceph_client: glance glance_rbd_store_pool: glance-images glance_rbd_store_chunk_size: 8 nova_libvirt_images_rbd_pool: ephemeral-vms cinder_ceph_client: cinder cephx: true ceph_mons:   – […]

Read More

openstack-ansible-managed-ceph

This method is not officially supported(yet) and  is a Jerry-rigged implementation Alternatively,  You can use the normal method to create your cluster create /etc/openstack_deploy/conf.d/ceph.yml  to define your ceph cluster — mons_hosts: ## can be same as my infra hosts ## c11: ip: 172.29.240.11 c12: ip: 172.29.240.12 c13: ip: 172.29.240.13 osds_hosts: c20: ip: 172.29.240.20 container_vars: raw_journal_devices: […]

Read More