Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-615

Operator error report "Status: True" when error on kogitoapp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 0.11.0
    • None
    • Operator
    • Hide

      Deploy a new service:

      ktest deploy-service example-quarkus https://github.com/kiegroup/kogito-examples/ --context-dir=drools-quarkus-example
      

      Edit the buildconfig and remove the ownerReferences on Operator:

      oc edit bc example-quarkus-builder
      

      Check the kogitoapp:

      oc describe kogitoapp example-quarkus
      
      Show
      Deploy a new service: ktest deploy-service example-quarkus https://github.com/kiegroup/kogito-examples/ --context-dir=drools-quarkus-example Edit the buildconfig and remove the ownerReferences on Operator: oc edit bc example-quarkus-builder Check the kogitoapp: oc describe kogitoapp example-quarkus
    • 2019 Week 50-52 (from Dec 9), 2020 Week 01-03 (from Dec 30), 2020 Week 04-06 (from Jan 20), 2020 Week 07-09 (from Feb 10), 2020 Week 13-15 (from Mar 23), 2020 Week 16-18 (from Apr 13), 2020 Week 19-21 (from May 4)

      When an error is occurring for the deployment of a KogitoApp, the Operator is logging the error into the Status.Conditions of the kogitoapp.

      For example, I get this error when typing `oc describe kogitoapp myapp`

          Last Transition Time:  2019-11-18T15:25:29Z
          Message:               buildconfigs.build.openshift.io "example-quarkus-builder" already exists
          Reason:                CreateResourceFailed
          Status:                True
          Type:                  Failed
      

      The Status here should be False

            vajain Vaibhav Jain
            tradisso@redhat.com Tristan Radisson
            Tristan Radisson Tristan Radisson
            Tristan Radisson Tristan Radisson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: