Category: OpenStack

OpenStack: Recover Galera Cluster

OpenStack MySQL (MariaDB Galera Cluster) Recovery Problem: Your MySQL Secondary Database will not start because of disk space, InnoDB problems, etc. This hit me when the Keystone token cleanup got fouled up and I ended up with 900K expired token

Posted in OpenStack, SysAdmin, Teknocratica Tagged with: , ,

OpenStack Kilo and Docker: CentOS 7 Integration

Found a number of references but here’s the recipe from zero to hero. References Useful writeup on CentOS 7: https://ask.openstack.org/en/question/67682/docker-setup-on-kilo/ Discussion of Docker storage: http://www.projectatomic.io/blog/2015/06/notes-on-fedora-centos-and-docker-storage-drivers/ Writeup on resize Docker storage: https://jpetazzo.github.io/2014/01/29/docker-device-mapper-resize/ CentOS 7 bug with overlayfs on XFS filesystem (obviates

Posted in OpenStack, Teknocratica Tagged with: , ,

OpenStack One-Liners

Hi All. Here are some interesting one-liners I’ve used. Hope they help! And by “one-liner”, of course, I mean “a bunch of commands all typed on one line” 🙂 All one-liners assume you have sourced in your RC file so

Posted in OpenStack, Teknocratica Tagged with: , , ,

OpenStack Tenants and Nagios Integration Script

Hi All! A detailed article to integrate OpenStack tenants with Nagios! While my promised articles on implementing High Availability within OpenStack (which I’ve done now for Icehouse and Kilo) are still just in my brain, here’s something else to keep

Posted in OpenStack, Teknocratica Tagged with: , , , ,

OpenStack HA: Part 01: Accounts

Here is a writeup on what I did to implement HA within OpenStack Icehouse. I’m currently working on revamping / automating the entire process for Kilo – but that will be a while from now. We’ll walk through the entire

Posted in OpenStack, Teknocratica Tagged with: , ,

OpenStack Client Tools: Mac Install Errors

Today’s adventure is on the Mac OSX Mavericks, we tried to install OpenStack client tools and had some failures. Read on to see how we work around it.

Posted in Cloud, Mac, OpenStack, Teknocratica Tagged with: , , ,

OpenStack: Debugging Neutron DHCP Failures

Hi All. Today’s adventure touches on a common OpenStack Neutron theme: “I just created a VM. It’s running. It says it has an IP address. And I can’t ping it!!” Read on for how we debugged that in our lab.

Posted in Cloud, Network, OpenStack, Teknocratica Tagged with: , , ,

OpenStack: List State of All VMs

Hi All! Today’s post is a quick script to show how you can get all your OpenStack VMs and their state in a single command. Check it out!

Posted in OpenStack, Teknocratica Tagged with: , , ,

OpenStack: Fix “Missing” External IPs in Neutron

Have you ever assigned a “floating” IP on your external network to an OpenStack VM…but not been able to ping it? Read our article for info on how we workaround the problem!

Posted in Network, OpenStack, Teknocratica Tagged with: , , , ,

OpenStack: Find Orphaned Images in Glance

Hello All – today’s post is on identifying and removing Glance images that are truly not used anywhere, such as when deleting a project (tenant) without first deleting private images within that project. Check out our script!

Posted in OpenStack, Storage, Teknocratica Tagged with: , , ,