Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3325

Creating BC object DeploymentConfig is stuck in loop in BA Operator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.9.1.GA
    • 7.9.1.GA
    • Cloud
    • None
    • OCP 4.6
      BA Operator 7.9.1

    • False
    • False
    • CR1
    • CR1
    • +
    • Undefined
      1. Install BA Operator
      2. Create KieApp with console, e.g. RHPAM Authoring application
    • ---
    • ---

      Business Central is in create loop because failure in startup probe check. In Operator log are repeating logs for comparator:

      "logger": "comparator",
          "msg": "Objects are not equal",
      

      There two objects for rhpamcentr, 'deployed' and 'requested', and in deployed object is only difference in startup probe:

      "startupProbe": {
                                  "httpGet": {
                                      "path": "/rest/healthy",
                                      "port": 8080,
                                      "scheme": "HTTP"
                                  },
                                  "initialDelaySeconds": 180,
                                  "timeoutSeconds": 2,
                                  "periodSeconds": 15,
                                  "successThreshold": 1,
                                  "failureThreshold": 36
                              },
      

      in requested object is not "successThreshold": 1

      Startup probe was added in KIECLOUD-438

      We are probably missing this field, successThreashold, in Operator common defaults. As it's not available, check of created object fails, and Operator tries to re-creating BC object to the correct state.

              tohughes Tommy Hughes
              jakubschwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: