freeipa / freeipa-openshift-container

FreeIPA container for OpenShift 4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrading existing data volumes to newer versions fails

jngrb opened this issue · comments

I would like to use the freeipa-openshift-container with a persistent volume. As of now, I cannot upgrade to newer image versions because the upgrade job fails.

Steps to reproduce:

  • Start with a fresh data volume
  • Initialize volume with an older image (say for free-ipa 4.9.8)
  • Stop old container and start a new container derived from a newer image (say for free-ipa 4.9.10).
  • The container will notice that it has to run an upgrade but it fails midway due to missing systemd requirements (since systemd-tmpfiles was removed/replaced)

I provided a fix in !38

can be alleviated by replacing system requirements of the upgrade job and the main target ( see my pull request #38 )