Bug 1036632 - [RHS-C] "rhsc-setup" is not updating "rhsc-branding-rhs" and "rhsc-cli" packages automatically
Summary: [RHS-C] "rhsc-setup" is not updating "rhsc-branding-rhs" and "rhsc-cli" packa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: 2.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHGS 2.1.2
Assignee: Bala.FA
QA Contact: Prasanth
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-02 11:34 UTC by Prasanth
Modified: 2015-05-15 18:34 UTC (History)
9 users (show)

Fixed In Version: rhsc-setup-2.1.2-0.32.el6rhs
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-25 08:07:01 UTC
Embargoed:


Attachments (Terms of Use)
rhsc-setuo output (14.59 KB, text/plain)
2013-12-02 11:34 UTC, Prasanth
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0208 0 normal SHIPPED_LIVE Red Hat Storage 2.1 enhancement and bug fix update #2 2014-02-25 12:20:30 UTC

Description Prasanth 2013-12-02 11:34:39 UTC
Created attachment 831545 [details]
rhsc-setuo output

Description of problem:

"rhsc-setup" is not updating the "rhsc-branding-rhs" package automatically

Version-Release number of selected component (if applicable): Upgrade from cb9 build to cb10


How reproducible: Always


Steps to Reproduce:
1. Have cb9 build installed as per: http://rhsm.pad.engineering.redhat.com/rhsc-build-cb9
2. Add the cb10 repos mentioned in: http://rhsm.pad.engineering.redhat.com/rhsc-build-cb10
3. Run # yum update rhsc-setup
4. Run # rhsc-setup


Actual results: All the rhsc related packages seems to be updated correctly expect the following:

----
rhsc-branding-rhs
rhsc-cli
rhsc-sdk-python
----

It makes sense not to update the "rhsc-cli" and "rhsc-sdk-python" packages automatically as it keeps backward compatibility. However, is that the same case with "rhsc-branding-rhs"?


Expected results: Branding version should be tied with engine version. So whenever engine is updated, branding should be updated automatically.


Additional info: Output results of "rhsc-setup" is attached for reference.

Comment 1 Prasanth 2013-12-03 09:04:58 UTC
As per the discussion, we have decided to update the "rhsc-cli" and "rhsc-sdk-python" packages as well along with "rhsc-branding-rhs" during "rhsc-setup"

Comment 2 Bala.FA 2013-12-05 10:38:12 UTC
rhsc-sdk-python is not a dependency for rhsc package, but rhsc-branding-rhs and rhsc-cli are required for rhsc package.

Currently rhsc-setup checks for update of rhsc package and their dependencies only.

For more information about this issue available at https://bugzilla.redhat.com/show_bug.cgi?id=1030566

Comment 3 Bala.FA 2013-12-10 09:25:17 UTC
Patch is under review at https://code.engineering.redhat.com/gerrit/17137

Comment 4 Dustin Tsang 2013-12-14 00:19:53 UTC
verified in rhsc-cb10 to rhsc-cb11


during rhsc-setup 
[ INFO  ] Stage: Package installation
[ INFO  ] Yum Status: Downloading Packages
[ INFO  ] Yum Download/Verify: ovirt-host-deploy-1.1.2-1.el6ev.noarch
[ INFO  ] Yum Download/Verify: ovirt-host-deploy-java-1.1.2-1.el6ev.noarch
[ INFO  ] Yum Download/Verify: rhsc-2.1.2-0.27.beta.el6_5.noarch
[ INFO  ] Yum Download/Verify: rhsc-backend-2.1.2-0.27.beta.el6_5.noarch
[ INFO  ] Yum Download/Verify: rhsc-branding-rhs-2.1.2-5.0.el6rhs.noarch
[ INFO  ] Yum Download/Verify: rhsc-dbscripts-2.1.2-0.27.beta.el6_5.noarch
[ INFO  ] Yum Download/Verify: rhsc-doc-2.1.2-4.el6eng.noarch
[ INFO  ] Yum Download/Verify: rhsc-restapi-2.1.2-0.27.beta.el6_5.noarch
[ INFO  ] Yum Download/Verify: rhsc-tools-2.1.2-0.27.beta.el6_5.noarch
[ INFO  ] Yum Download/Verify: rhsc-webadmin-portal-2.1.2-0.27.beta.el6_5.noarch

Comment 5 Dustin Tsang 2013-12-14 00:40:19 UTC
Hi Bala,

I didn't see rhsc-cli get updated during setup. Is rhsc-cli supposed to be updated?

Comment 6 Bala.FA 2013-12-14 02:30:02 UTC
(In reply to Dustin Tsang from comment #5)
> Hi Bala,
> 
> I didn't see rhsc-cli get updated during setup. Is rhsc-cli supposed to be
> updated?

Yes.  But there is no build made for cb11.  What version of rhsc-cli is installed in your machine?

Comment 7 Prasanth 2013-12-20 18:13:09 UTC
(In reply to Bala.FA from comment #6)
> (In reply to Dustin Tsang from comment #5)
> > Hi Bala,
> > 
> > I didn't see rhsc-cli get updated during setup. Is rhsc-cli supposed to be
> > updated?
> 
> Yes.  But there is no build made for cb11.  What version of rhsc-cli is
> installed in your machine?

rhsc-setup is NOT updating rhsc-cli as part of the fix mentioned in the bug, even though an update is available. Hence moving back to Assigned.

See below:

Before Upgrade:

[root@localhost ]# rpm -qa |grep rhsc
rhsc-setup-2.1.2-0.28.beta.el6_5.noarch
rhsc-restapi-2.1.2-0.27.beta.el6_5.noarch
rhsc-sdk-python-2.1.2.0-2.el6rhs.noarch
rhsc-dbscripts-2.1.2-0.27.beta.el6_5.noarch
rhsc-webadmin-portal-2.1.2-0.27.beta.el6_5.noarch
rhsc-log-collector-2.1.2.0-0.3.el6rhs.noarch
rhsc-branding-rhs-2.1.2-5.0.el6rhs.noarch
rhsc-backend-2.1.2-0.27.beta.el6_5.noarch
rhsc-cli-2.1.2.1-1.el6rhs.noarch
rhsc-tools-2.1.2-0.27.beta.el6_5.noarch
redhat-access-plugin-rhsc-2.1.2-1.el6rhs.noarch
rhsc-lib-2.1.2-0.28.beta.el6_5.noarch
rhsc-2.1.2-0.27.beta.el6_5.noarch
rhsc-doc-2.1.2-4.el6eng.noarch


After Upgrade:

[root@localhost ]# rpm -qa |grep rhsc
rhsc-tools-2.1.2-0.30.el6rhs.noarch
rhsc-sdk-python-2.1.2.0-2.el6rhs.noarch
rhsc-webadmin-portal-2.1.2-0.30.el6rhs.noarch
rhsc-backend-2.1.2-0.30.el6rhs.noarch
rhsc-log-collector-2.1.2.0-0.3.el6rhs.noarch
rhsc-branding-rhs-2.1.2-5.0.el6rhs.noarch
rhsc-lib-2.1.2-0.30.el6rhs.noarch
rhsc-restapi-2.1.2-0.30.el6rhs.noarch
rhsc-cli-2.1.2.1-1.el6rhs.noarch
rhsc-dbscripts-2.1.2-0.30.el6rhs.noarch
redhat-access-plugin-rhsc-2.1.2-1.el6rhs.noarch
rhsc-2.1.2-0.30.el6rhs.noarch
rhsc-doc-2.1.2-4.el6eng.noarch
rhsc-setup-2.1.2-0.30.el6rhs.noarch


[root@localhost ]# yum update rhsc-cli

---> Package rhsc-cli.noarch 0:2.1.2.1-1.el6rhs will be updated
---> Package rhsc-cli.noarch 0:2.1.2.2-1.el6rhs will be an update
--> Processing Dependency: rhsc-sdk-python >= 2.1.2.1-1 for package: rhsc-cli-2.1.2.2-1.el6rhs.noarch
--> Running transaction check
---> Package rhsc-sdk-python.noarch 0:2.1.2.0-2.el6rhs will be updated
---> Package rhsc-sdk-python.noarch 0:2.1.2.1-1.el6rhs will be an update
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package           Arch     Version               Repository                                                                     Size
======================================================================================================================================
Updating:
 rhsc-cli          noarch   2.1.2.2-1.el6rhs      download.eng.bos.redhat.com_rel-eng_RHS_2.1_2013-12-19.5_Console_x86_64_os_   164 k
Updating for dependencies:
 rhsc-sdk-python   noarch   2.1.2.1-1.el6rhs      download.eng.bos.redhat.com_rel-eng_RHS_2.1_2013-12-19.5_Console_x86_64_os_   294 k

Transaction Summary
======================================================================================================================================
Upgrade       2 Package(s)

Total download size: 458 k
Is this ok [y/N]:

Comment 8 Bala.FA 2013-12-24 06:38:26 UTC
This fix is done by setting minimal version of rhsc-cli and rhsc-branding-rhs to rhsc and rhsc-setup packages.

Please note that bz#1030566 from rhevm got closed as NOTABUG which talks about cli/sdk upgrade by ovirt-setup.  This is admin choice whether new cli/sdk packages are needed or not.

According to rhsc, we set minimal version as previous releases are tech previews.

As per comment #7, we can't verify this fix by upgrade one cb qa release to another which is not supported though.

Expected behavior is that upcoming releases (denali and beyond) should work with minimal version of rhsc-cli and rhsc-branding-rhs mentioned in corbett rhsc.

Comment 9 Bala.FA 2013-12-26 10:35:24 UTC
new patch is at https://code.engineering.redhat.com/gerrit/#/c/17890/

Comment 10 Prasanth 2014-01-03 13:47:30 UTC
Verified in rhsc-setup-2.1.2-0.32.el6rhs



----
          Please confirm installation settings (OK, Cancel) [OK]: 
[ INFO  ] Cleaning async tasks and compensations
[ INFO  ] Checking the DB consistency
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stopping engine service
[ INFO  ] Stage: Misc configuration
[ INFO  ] Fixing DB inconsistencies
[ INFO  ] Stage: Package installation
[ INFO  ] Yum Status: Downloading Packages
[ INFO  ] Yum Download/Verify: rhsc-2.1.2-0.32.el6rhs.noarch
[ INFO  ] Yum Download/Verify: rhsc-backend-2.1.2-0.32.el6rhs.noarch
[ INFO  ] Yum Download/Verify: rhsc-branding-rhs-2.1.2-6.0.el6rhs.noarch
----

Comment 12 errata-xmlrpc 2014-02-25 08:07: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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0208.html


Note You need to log in before you can comment on or make changes to this bug.