Bug 1445215

Summary: [dedicated][ded-stage-aws] Many doc links wrongly point to welcome page
Product: OpenShift Online Reporter: shahan <hasha>
Component: WebsiteAssignee: Mike Dame <mdame>
Status: CLOSED CURRENTRELEASE QA Contact: shahan <hasha>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: abhgupta, aos-bugs, dgoodwin, jokerman, mdame, mmccomas, xiaocwan, xxia
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1440009 Environment:
Last Closed: 2017-11-09 18:46: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 shahan 2017-04-25 09:27:16 UTC
+++ This bug was initially created as a clone of Bug #1440009 +++

Same issue occurs in ded-stage-aws env

Comment 1 Devan Goodwin 2017-04-25 17:08:13 UTC
For clarity, steps to reproduce:

Create project and log in to web console.

Navigate to Resources -> [Quota|Config Maps|Secrets], the Learn More link at the top left by the resource name points to https://docs.openshift.com/dedicated/welcome/index.html.

Membership for some reason is fine: https://docs.openshift.com/dedicated/architecture/additional_concepts/authorization.html#roles

Comment 2 Devan Goodwin 2017-04-25 17:33:15 UTC
Looks like we may need equivalent to https://github.com/openshift/online/pull/1125 only for the dedicated-extensions.js file in openshift-scripts-dedicated. This would need to roll out only for 3.5 though from the looks of it.

Comment 3 Devan Goodwin 2017-04-25 17:41:40 UTC
This should be resolved by: https://github.com/openshift/online/pull/659

Comment 4 Mike Dame 2017-04-25 20:34:51 UTC
That PR has been merged but it is important that this is only applied if running OCP 3.5+

Comment 5 Devan Goodwin 2017-05-01 18:14:59 UTC
Fix is deployed in ded-stage-aws.
openshift-scripts-dedicated-3.5.0.20-1.el7.x86_64

Comment 6 shahan 2017-05-02 02:10:31 UTC
Checked this bug in [dedicated][ded-stage-aws] envs, the bug was fixed.

Comment 7 shahan 2017-05-02 03:20:29 UTC
Please ignore the previous comment.
I checked the Learn More link on the ded-stage-aws cluster again, noticed that now Learn More link not points to ded product welcome link but wrongly points to OCP product related doc link, include builds pages, resources pages and storage pages.

Comment 8 shahan 2017-05-02 03:34:50 UTC
Used below version to verified this bug:
 OpenShift Master: v3.5.5.10
 Kubernetes Master: v1.5.2+43a9be4

Comment 9 Devan Goodwin 2017-05-02 14:23:28 UTC
Mike do you have any idea how this is supposed to work? Do we need to set: https://github.com/openshift/openshift-docs/pull/3268/files ?

Comment 10 Mike Dame 2017-05-02 14:32:09 UTC
@Devan that Javascript variable is set by https://github.com/openshift/online/pull/659/files

For that to get set properly it requires that in the master-config.yaml, you have:

assetConfig:
  extensionProperties:
    doc_url: https://docs.openshift.com/dedicated/

Comment 11 Devan Goodwin 2017-05-02 17:23:07 UTC
Found a bug preventing the ops config loop from running, which is responsible for deploying this configuration, this is corrected now in ded-stage-aws.

Thanks Mike!

Comment 12 shahan 2017-05-03 02:12:25 UTC
Checked this bug in [dedicated][ded-stage-aws] env, the bug was fixed. The Learn More link correctly points to ded product related doc link, include builds pages, resources pages and storage pages. 
Used below version to verified this bug:
 OpenShift Master: v3.5.5.10
 Kubernetes Master: v1.5.2+43a9be4