Hi folks,
I became aware that OpenStack stops official support for Python 3.6, which is the default Python in CentOS 8 and thus the version we use in upstream (and OpenShift too) images. While nothing is broken right now, chances are high some dependency will eventually become incompatible with Python 3.6, breaking ironic-image.
Now, Stream/RHEL 8 does provide Python 3.8 and 3.9, but they come with no other packages. Meaning, we cannot use python3-mod_wsgi, nor can we rely on RDO (IIUC they're planning on moving to Stream 9 instead).
Our options seem to be:
1) Move to Stream 9.
Pros:
- Benefit from newer packages.
- The base container image seems significantly (156M vs 436M) smaller than Stream 8.
- Keep using RDO.
Cons:
- RHEL 9 is beta, so we can assume Stream 9 is beta quality as well.
- RDO support for Stream 9 is also very new.
2) Move to source installation with a non-default Python (3.9). Replace mod_wsgi with something we can install, most likely return the ironic-api process and use Apache only for TLS termination the same way it's done for Inspector.
Pros:
- Riccardo has already done the heavy lifting.
- Closer to upstream.
- Better control over dependencies.
Cons:
- Repeating the job RDO has done for us.
- Redoing the WSGI approach.
- Non-default Python will make images even larger.
- Building IPA from source (may be a pro too).
3) Ask OpenStack to reconsider.
Pros:
- No actions from us.
Cons:
- They won't keep 3.6 support forever, we'll need to decide something.
- 3.6 runs out of security updates this December.
4) Do nothing, wait.
Pros:
- Do nothing at all.
- Support for 3.6 won't disappear overnight.
Cons:
- Support for 3.6 will disappear sooner or later.
Any ideas?
Dmitry
--
Red Hat GmbH,
https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill