Bug 1376338

Summary: Confusion between platform and cfme updates in UI
Product: Red Hat CloudForms Management Engine Reporter: Tsai Li Ming <ltsai>
Component: ApplianceAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED WONTFIX QA Contact: luke couzens <lcouzens>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: abellott, dajohnso, hkataria, jhardy, lcouzens, mpovolny, obarenbo, slukasik
Target Milestone: GAKeywords: RFE
Target Release: 5.7.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: 2016-09-22 23:16:55 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:

Description Tsai Li Ming 2016-09-15 07:30:21 UTC
Description of problem:
Under the SSUI -> Red Hat Updates, we have the option to check the appliance for update. However we can only apply "CFME update" and not platform updates.

Despite having platform updates available as shown in the UI, we cannot apply such updates via the UI. The button "CFME update" seem to only apply CFME updates only and nothing gets updated. 

Can we update the platform via the UI?

Version-Release number of selected component (if applicable):
cfme-5.6.1.2-1.el7cf.x86_64
5.6.1.2.20160810181333_8ba817b


How reproducible:
Always

Steps to Reproduce:
1. Register the appliance
2. Check for updates
3.

Actual results:
Cannot apply platform updates

Expected results:
Are we expected to be able to apply platform updates via the UI? 

Additional info:

Comment 2 Tsai Li Ming 2016-09-15 07:37:33 UTC
As part of the registration process via the UI, I found out several rhel 7 repos were attached, such as:

Repo ID:   rhel-7-server-htb-rpms
Repo ID:   rhel-server-rhscl-7-rpms
Repo ID:   rhel-7-server-tus-rpms
Repo ID:   rhel-7-server-aus-rpms
Repo ID:   rhel-7-server-nfv-rpms
Repo ID:   rhel-7-server-rt-htb-rpms
Repo ID:   rhel-sap-hana-for-rhel-7-server-rpms
Repo ID:   rhel-sap-hana-for-rhel-7-server-eus-rpms
Repo ID:   rhel-7-fast-datapath-htb-rpms
Repo ID:   rhel-ha-for-rhel-7-server-htb-rpms
Repo ID:   rhel-rs-for-rhel-7-server-htb-rpms
Repo ID:   rhel-7-server-eus-rpms
Repo ID:   rhel-sap-for-rhel-7-server-rpms
Repo ID:   cf-me-5.6-for-rhel-7-rpms
Repo ID:   rhel-sjis-for-rhel-7-server-rpms
Repo ID:   rhel-7-server-rpms
Repo ID:   rhel-7-server-rt-rpms
Repo ID:   qci-1.0-for-rhel-7-rpms
Repo ID:   rhel-rs-for-rhel-7-server-eus-rpms
Repo ID:   rhel-ha-for-rhel-7-server-eus-rpms
Repo ID:   rhel-lb-for-rhel-7-server-htb-rpms
Repo ID:   rhel-7-server-rt-beta-rpms
Repo ID:   rhel-rs-for-rhel-7-server-rpms
Repo ID:   rhel-ha-for-rhel-7-server-rpms
Repo ID:   rhel-sap-for-rhel-7-server-eus-rpms

Is this intentional? At the time of writing, the rhel-7-server-tus-rpms link is broken thus causing yum to fail. 

subscription-manager list shows that I only need the following:
Product Name:   Red Hat Software Collections (for RHEL Server)
Product Name:   Red Hat Enterprise Linux Server
Product Name:   Red Hat CloudForms

Comment 3 Šimon Lukašík 2016-09-18 16:01:04 UTC
> Can we update the platform via the UI?

No, at the moment. The platform update may include postgresql update. Given how the postgresql updates work, it requires manual planned downtime.

Flagging as RFE.

Comment 5 Dave Johnson 2016-09-22 23:18:36 UTC
Luke, can you confirm the behavior in comment 2 and open a separate BZ if you can reproduce.

Comment 7 luke couzens 2016-09-23 14:46:01 UTC
It seems the repository was broken for some time but it's working fine for me now.

Comment 8 Tsai Li Ming 2016-09-23 15:17:56 UTC
@luke, I believe cf is doing auto attachment of the subs, thus all the relevant  rhel7 subs (sap, lb, ham etc) are added. Is this an intended behaviour?