Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1694542

Summary: Click 'View clusterServiceVersion' prompt "404: Not Found" in Operator Hub
Product: OpenShift Container Platform Reporter: ge liu <geliu>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: aos-bugs, jokerman, mmccomas, wsun, yapei
Target Milestone: ---   
Target Release: 4.1.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-14 11:54:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ge liu 2019-04-01 04:38:21 UTC
Description of problem:
Setup ocp 4.0 cluster with etcd-operator v0.9.4, login web console, and navigate to 'Operator Hub', select etcd-operator,
follow defualt config, in web page:"Create Operator Subscription", click 'Subscription', in prompt page,
click 'Action' in right-top, choose "View ClusterServiceVersion", prompt "404: Not Found" .

NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.0.0-0.nightly-2019-03-28-030453   True        False         33m     Cluster version is 4.0.0-0.nightly-2019-03-28-030453


How reproducible:
Always

Steps to Reproduce:
As description.
Actual results:
As title
Expected results:
There is not unexpected error msg prompt.

Comment 1 Samuel Padgett 2019-04-02 12:36:03 UTC
I can reproduce. It's going to path: `/k8s/ns/openshift-operators/clusterserviceversions/undefined`.

Comment 2 Samuel Padgett 2019-04-02 12:37:13 UTC
This seems to happen when there isn't yet an installed CSV

Comment 3 Samuel Padgett 2019-04-02 13:01:04 UTC
Fix is to hide the action until the CSV is ready:

https://github.com/openshift/console/pull/1370

Comment 4 Wei Sun 2019-04-10 03:04:13 UTC
Please help check if it could be verified.

Comment 5 Yadan Pei 2019-04-12 03:10:40 UTC
1. Create etcd operator from Operator Hub
2. Operator Management -> Operator Subscriptions, click on etcd subscription. When ClusterServiceVersion is not ready,  View ClusterServiceVersion is not available in Actions kebab dropdown, after CSV is ready, click "View ClusterServiceVersion" will redirects to clusterserviceversions page and CSV details are shown

Verified on
console image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:1f2ceacf044e29e75c488e5e641598015b2fff97274ab898409be5e020fea029
io.openshift.build.commit.id=d86dbff35d53acd8a0a48cde98cb6037d9577edb
io.openshift.build.commit.url=https://github.com/openshift/console/commit/d86dbff35d53acd8a0a48cde98cb6037d9577edb

Comment 6 ge liu 2019-04-12 03:13:09 UTC
Verified with 4.0.0-0.ci-2019-04-10-033454,