Bug 1796664

Summary: OperatorHub: marketplace.openshift.io annotations ignored
Product: OpenShift Container Platform Reporter: Samuel Padgett <spadgett>
Component: Management ConsoleAssignee: ralpert
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, hasha, jokerman, yanpzhan
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-29 14:26:48 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 Samuel Padgett 2020-01-30 21:37:13 UTC
We're not honoring the marketplace.openshift.io/action-text and marketplace.openshift.io/remote-workflow annotations.

Comment 2 shahan 2020-02-03 10:14:00 UTC
Goto operators hub page, check Provider Type->Marketplaceand->CockroachDB, the view detail link is something like "https://**.openshift.com/operatorhub/ns/https://marketplace.redhat.com/en-us/operators/cockroachdb-certified-rhmp/pricing" . That bring us to 403 page
4.4.0-0.nightly-2020-02-02-225006

Comment 3 shahan 2020-02-04 01:35:14 UTC
The related annotations in the operator like:  
 marketplace.openshift.io/remote-workflow: >-
      https://marketplace.redhat.com/en-us/operators/cockroachdb-certified-rhmp/pricing
marketplace.openshift.io/support-workflow: >-
      https://marketplace.redhat.com/en-us/operators/cockroachdb-certified-rhmp/support

Comment 5 Yanping Zhang 2020-02-12 08:37:47 UTC
Hi, Sam! Do you know where can we get an operator contains annotation "marketplace.openshift.io/action-text" for test? is there existing operator in OCP operator hub containing this annotation?

Comment 6 shahan 2020-02-13 05:21:52 UTC
Goto operators hub page, check Provider Type->Marketplaceand->CockroachDB, the action text is "Purchase", and href is "https://marketplace.redhat.com/en-us/operators/cockroachdb-certified-rhmp/pricing"
same as annotation in csv:
    marketplace.openshift.io/remote-workflow: >-
      https://marketplace.redhat.com/en-us/operators/cpx-cic-operator-rhmp/pricing

But I did not find the marketplace.openshift.io/action-text annotation in the CockroachDB csv. And the action text is not "View Detail" that seems means the value of action-text should be "Purchase".
So can I verify the bug now? @ralpert

Comment 7 shahan 2020-02-14 03:57:37 UTC
Verified this bug, feel free to reopen if you have any concern.
4.4.0-0.nightly-2020-02-13-192852

Comment 8 ralpert 2020-02-14 15:54:00 UTC
Hey - I asked Robb Hamilton if any operators have action-text annotations and he said "i dont think any are doing it at this point. this is more to be future proof when we have the ability to check if you have access to a trial and we can set the annotation appropriately." It's expected that CockroachDB would not have the annotation.