Bug 1464501 - tcmu-runner: Update spec with 'Requires: libtcmu'
Summary: tcmu-runner: Update spec with 'Requires: libtcmu'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: tcmu-runner
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.3.0
Assignee: Prasanna Kumar Kalever
QA Contact: Sweta Anandpara
URL:
Whiteboard: 3.3.0-devel-freeze-exception
Depends On:
Blocks: 1417151
TreeView+ depends on / blocked
 
Reported: 2017-06-23 15:11 UTC by Prasanna Kumar Kalever
Modified: 2017-09-21 04:20 UTC (History)
5 users (show)

Fixed In Version: tcmu-runner-1.2.0-7.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-21 04:20:54 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:2773 0 normal SHIPPED_LIVE new packages: gluster-block 2017-09-21 08:16:22 UTC

Description Prasanna Kumar Kalever 2017-06-23 15:11:32 UTC
Description of problem:
tcmu-runner.spec is missing ''Requires: libtcmu'

Hence as a consequence while 'yum remove tcmu-runner' libtcmu is not removed

Comment 5 Sweta Anandpara 2017-07-10 10:07:54 UTC
Summarizing the conversation with pkalevar.

The problem that we had before was when we updated gluster-block or tcmu-runner, they used to get updated to the latest.. but libtcmu package continued to remain of the older version. The spec file change has been done by making tcmu-runner dependent on libtcmu, thereby any update of 'gluster-block' or 'tcmu-runner' would pull in the latest 'libtcmu' as well. 

To verify this bug, I will be updating 'gluster-block' package which would pull in the latest tcmu-runner, which would in turn pull in the latest 'libtcmu' as well. 

Prasanna, please ack if you agree.. do write in more if I have missed something.

Comment 6 Prasanna Kumar Kalever 2017-07-10 10:13:55 UTC
(In reply to Sweta Anandpara from comment #5)
> Summarizing the conversation with pkalevar.
> 
> The problem that we had before was when we updated gluster-block or
> tcmu-runner, they used to get updated to the latest.. but libtcmu package
> continued to remain of the older version. The spec file change has been done
> by making tcmu-runner dependent on libtcmu, thereby any update of
> 'gluster-block' or 'tcmu-runner' would pull in the latest 'libtcmu' as well. 

Adding a bit here, the fix will add dependency on libtcmu + make sure it pulls a libtcmu of version, equivalent to that of tcmu-runner's version.


> 
> To verify this bug, I will be updating 'gluster-block' package which would
> pull in the latest tcmu-runner, which would in turn pull in the latest
> 'libtcmu' as well. 
> 
> Prasanna, please ack if you agree.. do write in more if I have missed
> something.

Plan looks good to me Sweta.

Comment 7 Sweta Anandpara 2017-07-11 06:01:09 UTC
Based on comment 6, went ahead in verifying the said BZ, on gluster-block-0.2.1-4 and tcmu-runner-1.2.0-7

Update of tcmu-runner pulls in the corresponding version of libtcmu as well- confirming the change added in the spec file of tcmu-runner. Logs are pasted below. 

Moving this BZ to verified in rhgs 3.3.

[root@dhcp47-115 gluster-block]# yum localupdate tcmu-runner-
tcmu-runner-1.2.0-9.el7rhgs.x86_64.rpm            tcmu-runner-debuginfo-1.2.0-9.el7rhgs.x86_64.rpm
[root@dhcp47-115 gluster-block]# yum localupdate tcmu-runner-1.2.0-9.el7rhgs.x86_64.rpm 
Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Examining tcmu-runner-1.2.0-9.el7rhgs.x86_64.rpm: tcmu-runner-1.2.0-9.el7rhgs.x86_64
Marking tcmu-runner-1.2.0-9.el7rhgs.x86_64.rpm as an update to tcmu-runner-1.2.0-7.el7rhgs.x86_64
Resolving Dependencies
--> Running transaction check
---> Package tcmu-runner.x86_64 0:1.2.0-7.el7rhgs will be updated
---> Package tcmu-runner.x86_64 0:1.2.0-9.el7rhgs will be an update
--> Processing Dependency: libtcmu = 1.2.0-9.el7rhgs for package: tcmu-runner-1.2.0-9.el7rhgs.x86_64
--> Running transaction check
---> Package libtcmu.x86_64 0:1.2.0-7.el7rhgs will be updated
---> Package libtcmu.x86_64 0:1.2.0-9.el7rhgs will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
 Package              Arch            Version                     Repository                                    Size
=====================================================================================================================
Updating:
 tcmu-runner          x86_64          1.2.0-9.el7rhgs             /tcmu-runner-1.2.0-9.el7rhgs.x86_64          136 k
Updating for dependencies:
 libtcmu              x86_64          1.2.0-9.el7rhgs             Server-RH-Gluster-3.3-Server                  38 k

Transaction Summary
=====================================================================================================================
Upgrade  1 Package (+1 Dependent package)

Total size: 174 k
Total download size: 38 k
Is this ok [y/d/N]:

Comment 10 errata-xmlrpc 2017-09-21 04:20:54 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.

https://access.redhat.com/errata/RHEA-2017:2773


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