Bug 1925429

Summary: Add documentation button for Azure
Product: Red Hat Satellite Reporter: Kenny Tordeurs <ktordeur>
Component: Compute Resources - AzureAssignee: Chris Roberts <chrobert>
Status: CLOSED ERRATA QA Contact: Jitendra Yejare <jyejare>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: chrobert, egolov, pcreech, sshtein, zhunting
Target Milestone: 6.10.0Keywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman_theme_satellite-8.0.1.2-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 14:10:01 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:
Attachments:
Description Flags
gem none

Description Kenny Tordeurs 2021-02-05 08:00:10 UTC
Description of problem:
All compute resource providers have a 'Documentation' button aside from Azure Resource Manager when creating the Compute Resource

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

How reproducible:
100%

Steps to Reproduce:
1. Go to Compute Resources
2. Attempt to create Azure CR
3.

Actual results:
No Documentation button

Expected results:
Documentation button

Additional info:

Comment 2 Chris Roberts 2021-02-08 20:46:58 UTC
GH Link:

https://github.com/theforeman/foreman_azure_rm/pull/99

Comment 3 Patrick Creech 2021-03-09 16:38:41 UTC
Hey Chris!


Can we get a release of the foreman_azure_rm 2.1.z line with these fixes in it?

Comment 5 Chris Roberts 2021-03-10 16:11:14 UTC
Created attachment 1762372 [details]
gem

Comment 6 Jitendra Yejare 2021-03-22 10:37:08 UTC
Failed QA!

Steps to Reproduce:
1. Go to Compute Resources
2. Attempt to create Azure CR
3. Click on the documentation button.


Observation:

The documentation button redirects to upstream documentation `https://theforeman.org/plugins/foreman_azure/2.1.x/` for Azure CR whereas for other CRs its pointing to downstream documentation `https://access.redhat.com/documentation`.


Expected:

Azure CR also should point to the Downstream documentaion.

Comment 9 Jitendra Yejare 2021-06-16 12:03:43 UTC
@Chris,

I was trying to verify this on 6.10 latest snap but I see the documentation button is still pointing to upstream documentation (https://theforeman.org/plugins/foreman_azure/2.2.x/). 

This is the same reason for which I failedQA this bug in Comment 6.

Is the behaviour expected ? else Shall I FailQA this bug ?

Comment 10 Evgeni Golov 2021-06-23 17:31:30 UTC
Which version of tfm-rubygem-foreman_theme_satellite did you try this with?

I think this is only fixed in 8.0.x, which will ship in *this* snap.

Comment 12 Jitendra Yejare 2021-06-28 15:03:11 UTC
Failed QA! 

RPM : tfm-rubygem-foreman_theme_satellite-8.0.1.1-1.el7sat.noarch

Snap : Satellite 6.10 Snap 6.0

This is still redirecting to the foreman URL - https://theforeman.org/plugins/foreman_azure/2.2.x/

Expected Result: This should redirect to the downstream documentation!

Comment 14 Jitendra Yejare 2021-08-09 08:50:47 UTC
Verified!

@Satellite 6.10.0 Snap 12


Steps:
---------
1. Go to Infrastructure -> Azure Compute Resource.
2. Click on the documentation link.


Observation:
--------------
1. The 6.10 satellite redirects to the correct URL: https://access.redhat.com/documentation/en-us/red_hat_satellite/6.10/html/provisioning_guide/provisioning-cloud-instances-azure
2. Even though the redirected URL is not functional right now(since this testing is performed before the 6.10 release and the documentation for 6.10 published), but the corresponding URL for released version 6.9 works as expected: https://access.redhat.com/documentation/en-us/red_hat_satellite/6.9/html/provisioning_guide/provisioning-cloud-instances-azure

Note:
-------
If post GA, the Azure documentation is changed for 6.10 then this bug should be reopened or recreated.

Comment 17 errata-xmlrpc 2021-11-16 14:10:01 UTC
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: Satellite 6.10 Release), 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-2021:4702