Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-2713

[OCP] Certification Command breaks with the default sidecar image versions.

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.3.0
    • None
    • testing
    • 1

    Description

      The images of sidecar components: backup, logging, exporter on Openshift platform are usually released with "-1" suffix.

      Eg: the backup image for 2.3.0 on redhat registry is processed to be released as couchbase/backup:1.3.0-1

      This was changed when uploading sidecar images for 2.3.0 and the default suffix is now "-2", so all the sidecar images will be released with template: "<version>-2"

      The suffix attached to the images in previous CND versions did not play a major role other than letting customers know of the image convention or an upgrade in image to "-2" or "-3" from the default "-1" suffix in case of a fix against the same version.

      So, why this ticket?:

      From 2.3.0 onwards, we are shipping test code as well in one of the release images which is operator-certification.

      Customers are given provisions to execute cao certify on their respective platforms to run a series of test cases to verify if their platform is compatible for the Operator to be deployed and used in various scenarios.

      The command as mentioned above takes in default values of different sidecars and components from the test code and pulls those images when required.

      These defaults for Openshift images are present with "-1" suffix in the test code.

      Hence, any customer trying to use Openshift images for certification process will run into errors when running test cases with these sidecar components and will have to explicitly override the default values: seems reasonable to me with a point in the known issue section of the docs asking them to modify the values.

      What is the solution:

      This can be fixed in the test code by simply changing the default values of the openshift images. However, the fix when merged will result in a new build of CND. 

      Issue with the solution:

      This new build will have change in the test codebase and strictly speaking affects only the openshift certification image

      But, there'll be a mismatch in the sha of the certification images of dockerhub and redhat if the dockerhub image is not changed/reuploaded with the new build: Are we ok with that?

      In any case, the openshift certification image is not stated to be released for the next 2-3 weeks as per comments on the release ticket(???) so we should be able to change.

      Change is required in this file: [https://github.com/couchbase/couchbase-operator/blob/master/test/e2e/framework/constants_redhat.go#L19]

      This can either be a docs ticket or a change in test code. Hence, assigned to you for further action.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          Tags can now be used instead of exact versions.

          However, I doubt we'll be able to make code changes into the 2.3.x branch for this.  My suggestion is to release note for Backup Certification using OpenShift.

          tommie Tommie McAfee added a comment - Tags can now be used instead of exact versions. However, I doubt we'll be able to make code changes into the 2.3.x branch for this.  My suggestion is to release note for Backup Certification using OpenShift.

           Tommie McAfee  This release note should be applicable for all sidecars certification: backup, exporter and fluent-bit.

          prateek.kumar Prateek Kumar (Inactive) added a comment -   Tommie McAfee   This release note should be applicable for all sidecars certification: backup, exporter and fluent-bit.

          People

            arunkumar Arunkumar Senthilnathan
            prateek.kumar Prateek Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty