Bug 1975824 - Alert InstallPlanStepAppliedWithWarnings does not resolve
Summary: Alert InstallPlanStepAppliedWithWarnings does not resolve
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.9.0
Assignee: Kevin Rizza
QA Contact: Jian Zhang
URL:
Whiteboard:
Depends On:
Blocks: 1975432
TreeView+ depends on / blocked
 
Reported: 2021-06-24 13:59 UTC by Ben Luddy
Modified: 2021-10-18 17:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1975432
Environment:
Last Closed: 2021-10-18 17:36:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift operator-framework-olm pull 103 0 None open Bug 1975824: Resolve InstallPlanStepAppliedWithWarnings alert after some time. 2021-06-24 14:02:57 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:36:48 UTC

Comment 2 Jian Zhang 2021-06-28 04:00:08 UTC
[cloud-user@preserve-olm-env jian]$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.9.0-0.nightly-2021-06-27-223612   True        False         59m     Cluster version is 4.9.0-0.nightly-2021-06-27-223612

1, Install the community etcd-operator which is using the v1beta1.
[cloud-user@preserve-olm-env jian]$ oc get sub -n default
NAME   PACKAGE   SOURCE                CHANNEL
etcd   etcd      community-operators   singlenamespace-alpha
[cloud-user@preserve-olm-env jian]$ oc get csv -n default
NAME                  DISPLAY   VERSION   REPLACES              PHASE
etcdoperator.v0.9.4   etcd      0.9.4     etcdoperator.v0.9.2   Succeeded
[cloud-user@preserve-olm-env jian]$ oc get pods -n default
NAME                            READY   STATUS    RESTARTS   AGE
etcd-operator-7ff66d9d5-httkg   3/3     Running   0          43s

2, Check the Prometheus Warnings: "InstallPlanStepAppliedWithWarnings"

[cloud-user@preserve-olm-env jian]$ oc get route -n openshift-monitoring 
NAME                HOST/PORT                                                                                           PATH   SERVICES            PORT    TERMINATION          WILDCARD
alertmanager-main   alertmanager-main-openshift-monitoring.apps.ci-ln-kim5iw2-d5d6b.origin-ci-int-aws.dev.rhcloud.com          alertmanager-main   web     reencrypt/Redirect   None
grafana             grafana-openshift-monitoring.apps.ci-ln-kim5iw2-d5d6b.origin-ci-int-aws.dev.rhcloud.com                    grafana             https   reencrypt/Redirect   None
prometheus-k8s      prometheus-k8s-openshift-monitoring.apps.ci-ln-kim5iw2-d5d6b.origin-ci-int-aws.dev.rhcloud.com             prometheus-k8s      web     reencrypt/Redirect   None
thanos-querier      thanos-querier-openshift-monitoring.apps.ci-ln-kim5iw2-d5d6b.origin-ci-int-aws.dev.rhcloud.com             thanos-querier      web     reencrypt/Redirect   None



[cloud-user@preserve-olm-env jian]$ curl -k -H "Authorization: Bearer $(oc -n openshift-monitoring sa get-token prometheus-k8s)" https://alertmanager-main-openshift-monitoring.apps.ci-ln-kim5iw2-d5d6b.origin-ci-int-aws.dev.rhcloud.com/api/v1/alerts| jq |grep -i "InstallPlanStepApplied" -A20
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2577    0  2577    0     0  33907      0 --:--:-- --:--:-- --:--:-- 33907
        "alertname": "InstallPlanStepAppliedWithWarnings",
        "prometheus": "openshift-monitoring/k8s",
        "severity": "warning"
      },
      "annotations": {
        "message": "The API server returned a warning during installation or upgrade of an operator. An Event with reason \"AppliedWithWarnings\" has been created with complete details, including a reference to the InstallPlan step that generated the warning."
      },
      "startsAt": "2021-06-28T03:11:04.233Z",
      "endsAt": "2021-06-28T03:16:34.233Z",
      "generatorURL": "https://prometheus-k8s-openshift-monitoring.apps.ci-ln-kim5iw2-d5d6b.origin-ci-int-aws.dev.rhcloud.com/graph?g0.expr=sum%28increase%28installplan_warnings_total%5B5m%5D%29%29+%3E+0&g0.tab=1",
      "status": {
        "state": "active",
        "silencedBy": [],
        "inhibitedBy": []
      },
      "receivers": [
        "Default"
      ],
      "fingerprint": "fe12e9a2d3e5ccd7"
    }
  ]

3, waiting for 10 mins.

4, Check it again,
[cloud-user@preserve-olm-env jian]$ curl -k -H "Authorization: Bearer $(oc -n openshift-monitoring sa get-token prometheus-k8s)" https://alertmanager-main-openshift-monitoring.apps.ci-ln-kim5iw2-d5d6b.origin-ci-int-aws.dev.rhcloud.com/api/v1/alerts| jq |grep -i "InstallPlanStepApplied" -A20
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1782  100  1782    0     0  20022      0 --:--:-- --:--:-- --:--:-- 20022


No "InstallPlanStepAppliedWithWarnings" found, verify it.

Comment 5 errata-xmlrpc 2021-10-18 17:36:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:3759


Note You need to log in before you can comment on or make changes to this bug.