Setup Octavia and Babrican in OpenStack for load balancer with SSL “big thanks to spatel / and johnsom on freenode. openstack_user_config.yml cidr_networks lbaas: 172.29.232.0/22 used_ips: – “172.29.232.100,172.29.235.250” ## same range as octavia_management_net_subnet_allocation_pools: – network: container_bridge: “br-lbaas” container_type: “veth” container_interface: “eth14” host_bind_override: “eth14” ip_from_q: “lbaas” type: “raw” net_name: “lbaas” group_binds: – neutron_linuxbridge_agent – octavia-worker – octavia-housekeeping […]
All posts by Sashi Dahal
OpenStack & CEPH
This post is on how to setup OSA ( Openstack Ansible) with CEPH, where both projects are independent of one another. Setup CEPH using ceph-ansible. Create the necessary pools and logins . For example, here I am using the same CEPH storage for 2 different OpenStack Setups. ceph osd pool create osa-volumes ceph osd pool […]
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 […]
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 […]
OpenStack setup – all in one
This tutorial is to get you running openstack inside virtualbox/vm for development and testing. You can do this in windows or in linux host machine. All you need is virtualbox installed. vagrant box add ubuntu/focal64 vagrant plugin install vagrant-disksize mkdir aio cd aio vagrant init ubuntu/focal64 notepad Vagrantfile below the line that says:config.vm.box = “ubuntu/focal64” […]
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 […]
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 […]
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 | […]
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 […]
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 […]