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

Bug 1795704

Summary: most of links from API explorer are broken
Product: OpenShift Container Platform Reporter: Lukasz Szaszkiewicz <lszaszki>
Component: kube-apiserverAssignee: Lukasz Szaszkiewicz <lszaszki>
Status: CLOSED WONTFIX QA Contact: Xingxing Xia <xxia>
Severity: low Docs Contact:
Priority: low    
Version: 4.2.0CC: aos-bugs, jlee, jokerman, mfojtik, sttts, xxia, yanpzhan
Target Milestone: ---   
Target Release: 4.2.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1780327 Environment:
Last Closed: 2020-05-18 13:02:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1780327    
Bug Blocks:    

Description Lukasz Szaszkiewicz 2020-01-28 16:45:13 UTC
+++ This bug was initially created as a clone of Bug #1780327 +++

Description of problem:
API explorer page has a bunch of wrong links 

(Example)
https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

==> result in 404 pages.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Go webconsole console
2.Click explorer
3.Click any of objects


Actual results:
Links are broken.

Expected results:
Links show a right page.

Additional info:

--- Additional comment from Samuel Padgett on 2019-12-05 19:08:30 UTC ---

This isn't specific to console and happens with `oc explain` as well. The links in the API doc itself are broken. Looks like the pages moved in the community repo.

--- Additional comment from Lukasz Szaszkiewicz on 2020-01-08 09:47:59 UTC ---

The link to the api-conventions doc is part of the API types definition, for example, https://github.com/openshift/origin/blob/release-4.2/vendor/k8s.io/kubernetes/staging/src/k8s.io/api/core/v1/types.go#L3179
 
To fix the link we would have to identify every occurrence of it in all types and regenerate the swagger spec.
Additionally, we would have check if the other links are not outdated too.

This seems to be only broken in 4.2 (4.3 and 4.4 look good).

--- Additional comment from Samuel Padgett on 2020-01-09 21:19:00 UTC ---

Comment 1 Michal Fojtik 2020-05-12 10:47:22 UTC
This bug hasn't had any activity in the last 30 days. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

As such, we're marking this bug as "LifecycleStale".

If you have further information on the current state of the bug, please update it, otherwise this bug will be automatically closed in 7 days. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.