Bug 1489744 - gluster-block spec: remove targetcli higher version dependency check than what rhel provides
Summary: gluster-block spec: remove targetcli higher version dependency check than wha...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-block
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:
Depends On:
Blocks: 1417151
TreeView+ depends on / blocked
 
Reported: 2017-09-08 09:22 UTC by Prasanna Kumar Kalever
Modified: 2017-09-21 04:22 UTC (History)
5 users (show)

Fixed In Version: gluster-block-0.2.1-11.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-21 04:22:29 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-09-08 09:22:25 UTC
Description of problem:
$sub

currently gluster-block spec file has

[...]
Requires:         targetcli >= 2.1.fb46-2
[...]

but rhel provides targetcli >= 2.1.fb46-1.


This kind of though unresolved dependency errors while package installation.

Comment 2 Prasanna Kumar Kalever 2017-09-08 09:26:17 UTC
typo in description:

s/provides targetcli >= 2.1.fb46-1/provides targetcli-2.1.fb46-1/

Comment 5 Sweta Anandpara 2017-09-14 07:34:18 UTC
Tested and verified this on the build glusterfs-3.8.4-44, gluster-block-0.2.1-13 and tcmu-runner-1.2.0-14.

Steps followed:
---------------
1. On an existing gluster-block setup, 'yum remove targetcli'
That removed tcmu-runner and gluster-block
2. yum install gluster-block
That pulled in targetcli-2.1.fb46-1 from rhel-server channel, as expected.

Moving this bug to verified for rhgs 3.3.0. Logs are pasted below:

[root@dhcp47-121 ~]# rpm -qa | grep targetcli
targetcli-2.1.fb46-2.el7rhgs.noarch
[root@dhcp47-121 ~]# 
[root@dhcp47-121 ~]# 
[root@dhcp47-121 yum.repos.d]# yum clean all
Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos, subscription-manager
Cleaning repos: Server-RH-Gluster-3.3-Samba Server-RH-Gluster-3.3-Server rh-gluster-3-for-rhel-7-server-rpms
              : rhel-7-server-rpms rhel-x86_64-server-7 rhel-x86_64-server-7-rh-gluster-3
              : rhel-x86_64-server-7-rh-gluster-3-nagios rhel-x86_64-server-7-rh-gluster-3-samba
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
[root@dhcp47-121 yum.repos.d]# rm -rf /var/cache/yum
[root@dhcp47-121 yum.repos.d]#
[root@dhcp47-121 ~]# yum remove targetcli
Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Resolving Dependencies
--> Running transaction check
---> Package targetcli.noarch 0:2.1.fb46-2.el7rhgs will be erased
--> Processing Dependency: targetcli >= 2.1.fb46-1 for package: gluster-block-0.2.1-11.el7rhgs.x86_64
--> Processing Dependency: targetcli >= 2.1.fb46-1 for package: tcmu-runner-1.2.0-14.el7rhgs.x86_64
--> Running transaction check
---> Package gluster-block.x86_64 0:0.2.1-11.el7rhgs will be erased
---> Package tcmu-runner.x86_64 0:1.2.0-14.el7rhgs will be erased
--> Finished Dependency Resolution
Server-RH-Gluster-3.3-Samba/x86_64                                                            | 1.2 kB  00:00:00     
Server-RH-Gluster-3.3-Samba/x86_64/primary                                                    |  14 kB  00:00:00     
Server-RH-Gluster-3.3-Server/x86_64                                                           | 1.2 kB  00:00:00     
Server-RH-Gluster-3.3-Server/x86_64/primary                                                   |  28 kB  00:00:00     
rh-gluster-3-for-rhel-7-server-rpms/7Server/x86_64                                            | 4.0 kB  00:00:00     
rh-gluster-3-for-rhel-7-server-rpms/7Server/x86_64/group                                      |  53 kB  00:00:00     
rh-gluster-3-for-rhel-7-server-rpms/7Server/x86_64/updateinfo                                 | 122 kB  00:00:00     
rh-gluster-3-for-rhel-7-server-rpms/7Server/x86_64/primary_db                                 | 284 kB  00:00:02     
rhel-7-server-rpms/7Server/x86_64                                                             | 3.5 kB  00:00:00     
rhel-7-server-rpms/7Server/x86_64/group                                                       | 709 kB  00:00:02     
rhel-7-server-rpms/7Server/x86_64/updateinfo                                                  | 2.3 MB  00:00:07     
rhel-7-server-rpms/7Server/x86_64/primary_db                                                  |  43 MB  00:01:09     
rhel-x86_64-server-7                                                                          | 1.5 kB  00:00:00     
rhel-x86_64-server-7/group                                                                    | 636 kB  00:00:00     
rhel-x86_64-server-7/updateinfo                                                               | 2.0 MB  00:00:00     
rhel-x86_64-server-7/primary                                                                  |  24 MB  00:00:02     
rhel-x86_64-server-7-rh-gluster-3                                                             | 1.5 kB  00:00:00     
rhel-x86_64-server-7-rh-gluster-3/group                                                       |  44 kB  00:00:00     
rhel-x86_64-server-7-rh-gluster-3/updateinfo                                                  | 107 kB  00:00:00     
rhel-x86_64-server-7-rh-gluster-3/primary                                                     | 142 kB  00:00:00     
rhel-x86_64-server-7-rh-gluster-3-nagios                                                      | 1.5 kB  00:00:00     
rhel-x86_64-server-7-rh-gluster-3-nagios/group                                                |  44 kB  00:00:00     
rhel-x86_64-server-7-rh-gluster-3-nagios/updateinfo                                           | 6.3 kB  00:00:00     
rhel-x86_64-server-7-rh-gluster-3-nagios/primary                                              |  10 kB  00:00:00     
rhel-x86_64-server-7-rh-gluster-3-samba                                                       | 1.5 kB  00:00:00     
rhel-x86_64-server-7-rh-gluster-3-samba/group                                                 |  44 kB  00:00:00     
rhel-x86_64-server-7-rh-gluster-3-samba/updateinfo                                            |  29 kB  00:00:00     
rhel-x86_64-server-7-rh-gluster-3-samba/primary                                               | 157 kB  00:00:00     

Dependencies Resolved

=====================================================================================================================
 Package                 Arch             Version                      Repository                               Size
=====================================================================================================================
Removing:
 targetcli               noarch           2.1.fb46-2.el7rhgs           @Server-RH-Gluster-3.3-Server           224 k
Removing for dependencies:
 gluster-block           x86_64           0.2.1-11.el7rhgs             @Server-RH-Gluster-3.3-Server           262 k
 tcmu-runner             x86_64           1.2.0-14.el7rhgs             @Server-RH-Gluster-3.3-Server           136 k

Transaction Summary
=====================================================================================================================
Remove  1 Package (+2 Dependent packages)

Installed size: 622 k
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : gluster-block-0.2.1-11.el7rhgs.x86_64                                                             1/3 
warning: /etc/sysconfig/gluster-blockd saved as /etc/sysconfig/gluster-blockd.rpmsave
  Erasing    : tcmu-runner-1.2.0-14.el7rhgs.x86_64                                                               2/3 
  Erasing    : targetcli-2.1.fb46-2.el7rhgs.noarch                                                               3/3 
rh-gluster-3-for-rhel-7-server-rpms/7Server/x86_64/productid                                  | 2.1 kB  00:00:00     
rhel-7-server-rpms/7Server/x86_64/productid                                                   | 2.1 kB  00:00:00     
Server-RH-Gluster-3.3-Samba                                                                                    42/42
Server-RH-Gluster-3.3-Server                                                                                 119/119
rhel-x86_64-server-7                                                                                     17202/17202
rhel-x86_64-server-7-rh-gluster-3                                                                            520/520
rhel-x86_64-server-7-rh-gluster-3-nagios                                                                       30/30
rhel-x86_64-server-7-rh-gluster-3-samba                                                                      377/377
  Verifying  : gluster-block-0.2.1-11.el7rhgs.x86_64                                                             1/3 
  Verifying  : tcmu-runner-1.2.0-14.el7rhgs.x86_64                                                               2/3 
  Verifying  : targetcli-2.1.fb46-2.el7rhgs.noarch                                                               3/3 

Removed:
  targetcli.noarch 0:2.1.fb46-2.el7rhgs                                                                              

Dependency Removed:
  gluster-block.x86_64 0:0.2.1-11.el7rhgs                    tcmu-runner.x86_64 0:1.2.0-14.el7rhgs                   

Complete!
[root@dhcp47-121 ~]#
[root@dhcp47-121 ~]# yum install tcmu-runner
Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Resolving Dependencies
--> Running transaction check
---> Package tcmu-runner.x86_64 0:1.2.0-14.el7rhgs will be installed
--> Processing Dependency: targetcli >= 2.1.fb46-1 for package: tcmu-runner-1.2.0-14.el7rhgs.x86_64
--> Running transaction check
---> Package targetcli.noarch 0:2.1.fb46-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
 Package                Arch              Version                      Repository                               Size
=====================================================================================================================
Installing:
 tcmu-runner            x86_64            1.2.0-14.el7rhgs             Server-RH-Gluster-3.3-Server             53 k
Installing for dependencies:
 targetcli              noarch            2.1.fb46-1.el7               rhel-7-server-rpms                       64 k

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

Total download size: 118 k
Installed size: 360 k
Is this ok [y/d/N]: n
Exiting on user command
Your transaction was saved, rerun it with:
 yum load-transaction /tmp/yum_save_tx.2017-09-14.03-17.AX7xZz.yumtx
[root@dhcp47-121 ~]# yum install gluster-block
Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Resolving Dependencies
--> Running transaction check
---> Package gluster-block.x86_64 0:0.2.1-11.el7rhgs will be installed
--> Processing Dependency: tcmu-runner >= 1.2.0-13 for package: gluster-block-0.2.1-11.el7rhgs.x86_64
--> Processing Dependency: targetcli >= 2.1.fb46-1 for package: gluster-block-0.2.1-11.el7rhgs.x86_64
--> Running transaction check
---> Package targetcli.noarch 0:2.1.fb46-1.el7 will be installed
---> Package tcmu-runner.x86_64 0:1.2.0-14.el7rhgs will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================
 Package                 Arch             Version                       Repository                              Size
=====================================================================================================================
Installing:
 gluster-block           x86_64           0.2.1-11.el7rhgs              Server-RH-Gluster-3.3-Server            87 k
Installing for dependencies:
 targetcli               noarch           2.1.fb46-1.el7                rhel-7-server-rpms                      64 k
 tcmu-runner             x86_64           1.2.0-14.el7rhgs              Server-RH-Gluster-3.3-Server            53 k

Transaction Summary
=====================================================================================================================
Install  1 Package (+2 Dependent packages)

Total download size: 205 k
Installed size: 622 k
Is this ok [y/d/N]: y
Downloading packages:
(1/3): tcmu-runner-1.2.0-14.el7rhgs.x86_64.rpm                                                |  53 kB  00:00:01     
(2/3): gluster-block-0.2.1-11.el7rhgs.x86_64.rpm                                              |  87 kB  00:00:01     
(3/3): targetcli-2.1.fb46-1.el7.noarch.rpm                                                    |  64 kB  00:00:03     
---------------------------------------------------------------------------------------------------------------------
Total                                                                                 51 kB/s | 205 kB  00:00:03     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : targetcli-2.1.fb46-1.el7.noarch                                                                   1/3 
  Installing : tcmu-runner-1.2.0-14.el7rhgs.x86_64                                                               2/3 
  Installing : gluster-block-0.2.1-11.el7rhgs.x86_64                                                             3/3 
  Verifying  : gluster-block-0.2.1-11.el7rhgs.x86_64                                                             1/3 
  Verifying  : tcmu-runner-1.2.0-14.el7rhgs.x86_64                                                               2/3 
  Verifying  : targetcli-2.1.fb46-1.el7.noarch                                                                   3/3 

Installed:
  gluster-block.x86_64 0:0.2.1-11.el7rhgs                                                                            

Dependency Installed:
  targetcli.noarch 0:2.1.fb46-1.el7                       tcmu-runner.x86_64 0:1.2.0-14.el7rhgs                      

Complete!
[root@dhcp47-121 ~]#

Comment 7 errata-xmlrpc 2017-09-21 04:22:29 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.