Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-1957

[Common] Kube Ping warnings when service account has insufficient permissions

XMLWordPrintable

    • CLOUD Maintenance Sprint 15

      We have tests in our startup scripts to determine whether the service accounts have sufficient permissions for kube ping to work however the kube ping code continues to assume access and logs failures on the console.

      https://github.com/jboss-openshift/cct_module/blob/master/os-eap64-launch/added/launch/ha.sh#L35-L39

      A better way to handle this would be to suppress error messages until we have succeeded, i.e. while we expect failures to occur we should not pollute the logs until we have successfully queried kube ping. After a success we can then display errors.

      This impacts all A-MQ/EAP based images.

              rhn-support-rmartine Ricardo Martinelli
              kconner@redhat.com Kevin Conner (Inactive)
              Marek Schmidt Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: