Uploaded image for project: 'Maistra'
  1. Maistra
  2. MAISTRA-746

SMCP marked Ready despite Prometheus not being Ready

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • maistra-rc1
    • maistra-rc1
    • operator
    • None
    • RC1

      My cluster has just come to a state where SMCP is shown as ready, but one container in the Prometheus pod isn't ready at all:

      $ kubectl get smcp
      NAME                  READY
      multitenant-install   True
      
      $ kubectl -n istio-system get po
      NAME                                      READY   STATUS             RESTARTS   AGE
      istio-citadel-6cfd696fc5-6qpwx            1/1     Running            0          7m
      istio-egressgateway-bd9d5d4ff-97s2t       1/1     Running            0          6m
      istio-galley-7c77bbf7bd-j954b             1/1     Running            0          7m
      istio-ingressgateway-7f745d4648-66tcq     1/1     Running            0          6m
      istio-pilot-77f85bfb64-hvbgj              2/2     Running            0          4m
      istio-policy-5c848d464d-7cg6h             2/2     Running            0          4m
      istio-sidecar-injector-5dbf7d896d-clczw   1/1     Running            0          6m
      istio-telemetry-6459c95cf4-86zk5          2/2     Running            0          4m
      prometheus-b9b78d986-tmdcw                1/2     ImagePullBackOff   0          5m
      
      $ kubectl -n istio-system get deploy prometheus
      NAME         DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
      prometheus   1         1         1            0           10m
      
      $ kubectl -n istio-system get deploy prometheus -o json | jq .status
      {
        "conditions": [
          {
            "lastTransitionTime": "2019-08-09T15:12:16Z",
            "lastUpdateTime": "2019-08-09T15:12:16Z",
            "message": "Deployment has minimum availability.",
            "reason": "MinimumReplicasAvailable",
            "status": "True",
            "type": "Available"
          },
          {
            "lastTransitionTime": "2019-08-09T15:12:16Z",
            "lastUpdateTime": "2019-08-09T15:13:18Z",
            "message": "ReplicaSet \"prometheus-546c8fc656\" has successfully progressed.",
            "reason": "NewReplicaSetAvailable",
            "status": "True",
            "type": "Progressing"
          }
        ],
        "observedGeneration": 4,
        "replicas": 1,
        "unavailableReplicas": 1,
        "updatedReplicas": 1
      }
      
      

            dgrimm@redhat.com Daniel Grimm
            mluksa@redhat.com Marko Luksa
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: