Anyone tried to upgrade DS running as k8s statefulsets

Hi All,

I am looking for information around DS running as k8s statefulsets. I have build private docker images using samples given inside DS zip file. I was able to build DS 7.1.1 image and able to run it as CTS servers attached to my AM.
Now I am trying in-place upgrade of those containers to DS 7.2. Its failing while upgrade command is running.
Is anyone hit similar issue?

Thanks
Deepak

Get the below error.

 * OpenDJ data will be upgraded from version
 7.1.1.0e6b9886a201af7b45e4081b2e36def45f87d724 to
 7.2.0.9799e558d11bc6318e3de265fbcb32b45888b240
 * See '/opt/opendj/logs/upgrade.log' for a detailed log of this operation

>>>> Preparing to upgrade

  The upgrade is ready to proceed. Do you wish to continue? (yes/no) yes


>>>> Performing upgrade

  Renaming replication changelog files from .log to .cdb suffix.......   100%
  Archiving concatenated schema.......................................   FAIL
  Archiving concatenated schema.......................................   FAIL

>>>> The upgrade failed because 1 errors were encountered. Please check log for
further details

 * See '/opt/opendj/logs/upgrade.log' for a detailed log of this operation

So the error message ask you to “check log for further details”, any findings?

1 Like

Hi Deepak,

I am not sure an in-place upgrade is the best way. I cannot see this being documented. This error might suggest that schema files could not be overwritten, but this is simply a guess.
A blue/green upgrade might be a better approach.