Description of problem: Subscription page, InstallPlan shows a 'None' value even if there is an installplan for the subscription Version-Release number of selected component (if applicable): 4.7.0-0.nightly-2021-01-19-095812 How reproducible: Always Steps to Reproduce: 1. subscribe etcd operator and wait it to be succeed 2. check subscription and installplan $ oc get sub etcd -n default -o json | jq '.status.installPlan' null $ oc get sub etcd -n default -o json | jq '.status.installplan' { "apiVersion": "operators.coreos.com/v1alpha1", "kind": "InstallPlan", "name": "install-dwvjp", "uuid": "7599059a-8b1c-44c3-9499-bfca07cd1e11" } 3. Goes to Operators -> Installed Operators -> etcd operator -> click on Subscription tab -> check InstallPlan value Actual results: 3. It shows 'None' Expected results: 3. It should show correct IP name and a link to it Additional info: We are querying subscription.status.installPlan.name for subscription's installplan, but it has changed in 4.7, now it is subscription.status.installplan.name export const installPlanForSubscription = ( installPlans: InstallPlanKind[] = [], subscription: SubscriptionKind, ): InstallPlanKind => installPlans.find((ip) => ip?.metadata?.name === subscription?.status?.installPlan?.name);
Now the install plan value shows the correct value instead of null. Screen shot attached. Version: 4.7.0-0.nightly-2021-01-26-162323 Steps to verify: follows the steps in the description (https://bugzilla.redhat.com/show_bug.cgi?id=1918648#c0)
Created attachment 1751081 [details] Install plan not null
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.7.0 security, bug fix, and enhancement 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-2020:5633