Uploaded image for project: 'Serverless logic'
  1. Serverless logic
  2. SRVLOGIC-607

Workflow preview deployment is not being created when 1st build fails and gets fixed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 1.37.0
    • 1.36.0
    • Cloud:Operator
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      If you apply a SonataFlow to the Openshift cluster and the first SonataFlowBuild fails for any reason, the operator is unable to create deployment of your SonataFlow even after you resolve the build issue.
      Available workaround is described in the JIRA issue.
      Show
      If you apply a SonataFlow to the Openshift cluster and the first SonataFlowBuild fails for any reason, the operator is unable to create deployment of your SonataFlow even after you resolve the build issue. Available workaround is described in the JIRA issue.
    • Known Issue

      Summary


       

      When you create  workflow in preview profile in a OCP the operator will fail to create the deployment when the first build fails and gets corrected. The workflow deployment never gets created and the SonataFlow status won't get updated.

       

      Environment


      Openshift

       

      Steps to reproduce


       

      1. Install operator
      2. Deploy workflow in preview mode, but make sure it build fails. ( Can be done by setting MAVEN_MIRROR_URL to something inaccessible. )
      3. Check SonataFlow status
      4. No edit the SonataFlow and fix the URL to working mirror
      5. Wait for the build to succeed
      6. Check SonataFlow status
      7. Inspect deployments & pods

       

      Actual results


       

      • Status filed of SonataFlow is not updated and remains failed
      • Deployment and pod are not created for the workflow

       

      Expected results


       

      • Status filed of SonataFlow is updated to Build succeeded
      • Deployment and pod are created for the workflow

       

      Workaround


       

      Delete SonataFlow resource and recreate it with the build fixes so the build does not fail on first try.

       

      Testing


       

      Covered by manual test plan in the future

              wmedvede@redhat.com Walter Medvedeo
              dhanak@redhat.com Dominik Hanak
              Walter Medvedeo
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: