r/openstack • • Oct 22 '22

Charmed Openstack - Nova-compute failures due to requiring Ceph?

I've made several iterations to try and build out Openstack using Juju, MAAS and a "charmed" Openstack installation (to more closely mimic what we have at work) and I've hit a significant roadblock.

Following the instructions here, the process wants me to install Ceph, but I don't want to use Ceph for block storage, instead wanting to use TrueNAS for iscsi mounts (here). Either way, I never get to TrueNAS setup as Ceph not being present causes Nova-Compute to never go ready in 'juju status'. Our work cluster uses NetApp for its storage backend.

Has anyone here successfully built a charmed Openstack cluster, or a charmed Openstack cluster without Ceph for block storage management (separate from Cinder, I believe Ceph is the storage backend for volumes).

The last time I built Openstack (Queens, lol), it was by manually installing the services and configuring a service node, then by building hypervisors that just ran nova-compute and cinder-volume. Now that Juju is the new hotness and we already have a cluster based on it (engineered by Canoncial), I'm trying to get the experience of putting one together so I know how it all works.

Thank you.

7 Upvotes

10 comments sorted by

5

u/SilverSQL Oct 22 '22

Going the Juju way greatly limits the backends you can configure Cinder to work with. If I recall correctly, you can drop the relation for Ceph, as it's not obligatory. However, the main problem I see with your setup is that afaik Cinder doesn't have a TrueNAS driver so it won't be able to provision volumes. A setup that would work is to expose one or a couple of large volumes via iSCSI to the hosts and then run clustered LVM over them and use the LVM Juju charm. Feel free to DM me if you need any assistance with the bundle

1

u/The_Valyard Oct 22 '22

Uh .. when did juju become the new hotness...

2

u/firestorm_v1 Oct 22 '22

I don't know about how 'new' Juju is, but Canonical's engineer insisted on using it, all of my interactions with Canonical's support have required juju commands, and all the cluster's configs are managed using it.

Personally.... I don't like it.

2

u/The_Valyard Oct 22 '22

I recommend you try RDO, and for production you can always upgrade to RHOSP if you want support.

RDO is upstream RHOSP.

2

u/psycocyst Oct 22 '22

When they try push it on everyone "ooh look how quick and easy I can deploy" yeah but how do I upgrade "oh well you can pay for support on that" and trap set.

0

u/[deleted] Oct 23 '22

[deleted]

1

u/psycocyst Oct 23 '22

I'm guessing you have never done a series upgrade and have the charm completely flake out because I fails to exec because of some random error like oh I have an python 3.6 venv but the system has a python3.8 I can't run this command sorry upgrade failed you going to have to delete the unit. Or oh now that you trying to delete the unit it hangs trying to remove relations no error log nothing 3 days later you force it because you want a life and you now have ghost relations that break other units.

There is just no need to make pets out of a system that should be cattle. Maas and juju lock and hard code the series which I find creates mass technical debit and increase time to upgrade. So as much as you think what you have provided is class as updating that is the easy part the other day 2 operations are completely over complicated due to a poorly designed system.

1

u/psycocyst Oct 22 '22

Yeah if you wanting to use anything other then what canonical will support you very limited it a really bad deployment tool and you should rather look at something like kayobe or even openstack Ansible deployment they are much better and don't have operational nightmares that juju brings with trying to lock everything down and only canonical support can help you.

1

u/amarao_san Oct 22 '22

Juju has baked set of use-cases, much less than Openstack can do. If you deviate from it, you are on your own (and need actively fight juju).

Openstack has incomplete scary no-docs land by itself; when you throw in additional layer of indirection for orchestration, it become maddeningly hard to understand and debug.

In my experience, the way to work with it, is to make it to bootstrap openstack, then get the configs you want, and then reverse engineer what should be thrown into orchestrator to make desired config. Hard to do, zero reduction of complexity, and demand to understanding tons of complicated software on your own before getting to openstack. Sad, but this is O/S.

1

u/midgetparty Oct 22 '22

Is the cinder service in the catalog? Healthy? When I used openstack we did have a ceph cluster but essentially you just configure 'backends' in cinder.conf that actually do the heavy lifting for you via their configured driver. Then make a corresponding tag for each.

https://docs.openstack.org/cinder/latest/admin/multi-backend.html looks like a good place to start.

1

u/Imonfiyah Oct 22 '22

Don’t use juju, use openstack-ansible or kills-ansible.