Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-11683

Setting image tag in Sydesis CR prevents deployment

    XMLWordPrintable

Details

    • Fuse 7.5 Sprint 52 - Bug fix

    Description

      https://github.com/syndesisio/syndesis/pull/6346 introduced a way to specify a tag for each of the syndesis images separately. Setting this tag in a CR correctly changes the tag in image stream, however, it does not update the expected tag in deployment config.

      For instance:

      # create new project
      oc new-project syndesis
      
      # install the 1.8.1-20190918 operator
      docker run --entrypoint operator syndesis/syndesis-operator:1.8.1-20190918 install operator -e yaml | oc create -f -
      
      # install a syndesis from a CR with the server tag set to 1.8.1-201909014
      docker run --entrypoint operator syndesis/syndesis-operator:1.8.1-20190918 install app -e json | jq --arg servertag 1.8.1-20190914 '. *  {spec: {components: {server: {tag: $servertag}}}}' | oc create -f -
      

      Now oc get imagestream correctly shows the image tags, all images are 1.8.1-20190918 except for syndesis-server, which is 1.8.1-20190914

      However, the syndesis-server does not get deployed, because it's waiting for an image in the 1.8.1-20190918 tag

      $ oc describe dc/syndesis-server
      ...
      Latest Version:	Not deployed
      ...
      Triggers:	Image(syndesis-server@1.8.1-20190918, auto=true), Config
      ...
      

      Attachments

        Activity

          People

            lgarciaac Luis GarcĂ­a Acosta
            asmigala@redhat.com Andrej Smigala
            Andrej Smigala Andrej Smigala
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: