r/openstack • • Feb 13 '14

OpenStack in Production

So this week I finally got my company's private cloud into full production. We are now hosting a major customer facing SaaS application out of our Havana cloud that I built! I'd love to answer any questions that people here have.

19 Upvotes

44 comments sorted by

View all comments

3

u/[deleted] Feb 13 '14

That's awesome - congrats. Which OpenStack components did you make use of?

4

u/squeaky19 Feb 13 '14

So to give a better overview,

We have 3x Controllers that are running a MariaDB Galera Cluster. All services are being presented HA using a combninatioon of HAProxy and keepalived. The services our controlers are providing are Keystone, Neutron w/ OVS/VLAN & LBaaS, Nova API/Schedulers,Glance and Cinder (with Ceph providing physical storage), and Horizon. We have Heat configured but we aren't using it yet.

The our compute nodes are using Ceph for the instance storage (mounted to /var/lib/nova/instances), right now we aren't using shared storage so we don't have instance portability, but we don't need it as our applications are very fault tolerant and new VMs can be spun up as needed.

All of our orchestration is run through a series of shell scripts and configuration of our instances is done with chef

Coming up, we plan to introduce Object Storage via RadosGW in Ceph with authentication provided by Keystone and presented as Swift using the S3 compatibility in Ceph. We also plan on introducing Ceilometer soon so we can get better metrics out of the system.

2

u/MadPhoenix Feb 13 '14

I applaud you for running Ceph and think it's neat, but doesn't running it locally negate the advantages of the system while also making it more complicated? I mean, since you can't take advantage of things like the cluster map and data replication among discrete failure domains (hosts, racks, rows, whatever) why not just use RAID (hardware or MD) with LVM on top of it for VM storage?

2

u/squeaky19 Feb 13 '14

Ceph is running on phsycially separate hardware. Sorry if I didn't make that clear. We don't have enough hardware yet to expand out further (racks/rows/etc), we used Ceph for fault tolerance, speed, and easy of expansion.

Right now our entire stack is living in two rather sparse racks, but if the company growth projections pan out we will be expanding that soon.

1

u/MadPhoenix Feb 13 '14

The our compute nodes are using Ceph for the instance storage (mounted to /var/lib/nova/instances), right now we aren't using shared storage so we don't have instance portability

So isn't that shared storage then? Why can't you do instance migration?

2

u/squeaky19 Feb 13 '14

Ah, I should have clarified this, we gave each node a separate ceph volume, while it's in a shared space, each node only mounts it's own volume.

We did this because we have no production faith in any of the filesystems that allowed for shared storage, so we just went with XFS, or as I like to refer to it "old faithful"

1

u/MadPhoenix Feb 13 '14

Gotcha. I thought that the Ceph QEMU driver was considered production ready, maybe it's not. Once that is production ready it will be really nice. I'm particularly intrigued by the ability to use the same Ceph backend for both Glance and Nova, and being able to make copy-on-write clones from Glance images to running virtual machine instances.

2

u/squeaky19 Feb 13 '14

I think it is, but time got the better of us and we decided to approach this at a later time.

1

u/Daviey Feb 14 '14

Why isn't non-shared storage live migration an option? Openstack+Libvirt+Qemu does a pretty good job at this...

1

u/MadPhoenix Feb 14 '14

Sure, but shared-storage live migration is a much quicker process and takes far fewer resources than a full block migration. That's why I was surprised that they're not using their shared storage for it. But it sounds like they had their own reasons to stick with XFS on Ceph, instead of using Ceph's RBD or QEMU integration (which would allow shared storage live migration).