-
Bug
-
Resolution: Unresolved
-
Critical
-
1.36.0
-
None
-
False
-
-
False
-
-
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
- Install operator
- Deploy workflow in preview mode, but make sure it build fails. ( Can be done by setting MAVEN_MIRROR_URL to something inaccessible. )
- Check SonataFlow status
- No edit the SonataFlow and fix the URL to working mirror
- Wait for the build to succeed
- Check SonataFlow status
- 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