We rely on Juju to maintain our core infrastructure, we mainly deploy CentOS7 machines. But since the last 2.9.26 release, our operations have halted due to missing support for CentOS7. We have not changed our charms, but now we are unable to deploy them.
This is one example of error:
$ juju deploy slurmd --series centos7
ERROR series "centos7" not supported by charm, supported series are: focal,panther. Use --force to deploy the charm anyway.
$ juju info slurmd | grep centos
supports: focal, centos7
The recent post How to deploy an application with a specific series says that we canāt have a charm for both CentOS and Ubuntu, but it also seems to not be up to date anymore. I am confused about all of this.
Did Juju dropped support for deploying CentOS 7 charms?
Or is this an issue on how we pack our charms? Our charmcraft.yaml contains this:
Iām also worried about what will happen with centos8, 9 etc.
I have heared that the centos community has moved into a distro named ārockyā while RHEL is the only rpm based distro that will be officially supported by IBM/RedHat.
How will juju continue to support any other OS but Ubuntu future wise?
Which makes me wonder: what Juju needs from an OS image? I noticed the upstream LXD image for CentOS does not work with Juju directly. I couldnāt find much information about that either. And the recent LXD/Juju combo does not boot the CentOS image I haveā¦
That is a very good question as it would be relevant information for anyone trying to get juju ported to another distribution.
There should be a complete document on this topic really @tmihoc
Its for sure also something which would cut into the code base as I suspect there are hard coded references which hinders adding other/custom distributions to juju.
For example, the metadata.yaml and charmcraft.yaml will not allow āunidentifiedā series as far as I know. For example debian or suse, mint, rhel etc.
Iād love to see docs on how to create custom CentOS and Ubuntu images to use with Juju on LXD. I spent the last two weeks trying to do that, but so far no luckā¦