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

  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 least 8GB of RAM. config.vm.provider :virtualbox do |vb| # # Don’t boot with headless mode # […]

Read More

cinder multiple backends

You can configure multiple back ends in cinder at the same time

 

Read More

OpenStack add project and users

 

 

   

  ## please replace the password with a secure password ..[do not blindly copy/paste 🙂 ]

 

 

 

 

Read More

OpenStack VXLAN

Lets create another network in the same tenant, and create 3 more VMS.

Lets check where these VMs are running [you can also do nova show $uuid  and get the host where its running currently]

  neutron net-list

neutron net-show c4520434-aea7-4263-b714-ac0b6fcdc57a

check segmentation_id — its 87 neutron net-show officeNet-2  [using name […]

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.

  Upload the image to openstack

 

 

Read More

openstack ansible ceph

in the deploy server

copy the config folder to /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

# /etc/openstack_deploy/openstack_user_config.yml

    run playbooks

ceph df

  upload cirros image

create a volume ( i used the cirros images )

create an […]

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

create /etc/openstack_deploy/env.d/ceph.yml to define the structure, same as other  components

create /etc/openstack_deploy/user_extra_variables

create /opt/openstack-ansible/playbooks/ceph-mon.yml

create ceph-osd.yml under playbooks

under roles checkout […]

Read More