Bug 2047694 - [cee/sd][ceph-iscsi] Upgrading ceph-iscsi from RHCS 3 to RHCS 4 fails if ceph-iscsi-tools is installed in the cluster. [4.3]
Summary: [cee/sd][ceph-iscsi] Upgrading ceph-iscsi from RHCS 3 to RHCS 4 fails if ceph...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: iSCSI
Version: 4.3
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 4.3
Assignee: Ilya Dryomov
QA Contact: Preethi
URL:
Whiteboard:
: 2071971 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-28 10:32 UTC by Ilya Dryomov
Modified: 2022-05-05 07:54 UTC (History)
10 users (show)

Fixed In Version: ceph-iscsi-3.4-5.el8cp, ceph-iscsi-3.4-5.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2026582
Environment:
Last Closed: 2022-05-05 07:54:39 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-3068 0 None None None 2022-01-28 10:51:09 UTC
Red Hat Knowledge Base (Solution) 6827391 0 None None None 2022-04-05 15:58:34 UTC
Red Hat Product Errata RHSA-2022:1716 0 None None None 2022-05-05 07:54:57 UTC

Comment 8 Gopi 2022-01-29 11:55:44 UTC
Working with latest ceph-iscsi packages.

Before upgrade:
[root@ceph-pg-958pbh-node2 yum.repos.d]# ceph -v
ceph version 12.2.12-139.el7cp (e6f9ac0c7c2320bd7232cd8ef7154bb30216d9fc) luminous (stable)

[root@ceph-gpatta-rcir5u-node2 yum.repos.d]# gwcli ls
Warning: Could not load preferences file /root/.gwcli/prefs.bin.
o- / ......................................................................................................................... [...]
  o- clusters ........................................................................................................ [Clusters: 1]
  | o- ceph .......................................................................................................... [HEALTH_WARN]
  |   o- pools .......................................................................................................... [Pools: 3]
  |   | o- cephfs_data ........................................................... [(x3), Commit: 0.00Y/40910628K (0%), Used: 0.00Y]
  |   | o- cephfs_metadata ....................................................... [(x3), Commit: 0.00Y/40910628K (0%), Used: 2246b]
  |   | o- rbd .................................................................... [(x3), Commit: 30G/40910628K (76%), Used: 4111b]
  |   o- topology ................................................................................................ [OSDs: 9,MONs: 3]
  o- disks ......................................................................................................... [30G, Disks: 1]
  | o- rbd.ansible1 ............................................................................................... [ansible1 (30G)]
  o- iscsi-target ..................................................................................................... [Targets: 1]
    o- iqn.2003-01.com.redhat.iscsi-gw:ceph-igw ...................................................................... [Gateways: 2]
      o- gateways ............................................................................................ [Up: 2/2, Portals: 2]
      | o- ceph-gpatta-rcir5u-node2 ............................................................................. [10.0.210.96 (UP)]
      | o- ceph-gpatta-rcir5u-node3 ............................................................................ [10.0.209.254 (UP)]
      o- host-groups .................................................................................................. [Groups : 0]
      o- hosts .............................................................................................. [Hosts: 1: Auth: CHAP]
        o- iqn.1994-05.com.redhat:rh7-iscsi-client ..................................................... [Auth: CHAP, Disks: 1(30G)]
          o- lun 0 ............................................................ [rbd.ansible1(30G), Owner: ceph-gpatta-rcir5u-node2]

[root@ceph-gpatta-rcir5u-node3 yum.repos.d]# rpm -qa |grep ceph-iscsi
ceph-iscsi-cli-2.7-17.el7cp.noarch
ceph-iscsi-tools-2.1-3.el7cp.noarch
ceph-iscsi-config-2.6-23.el7cp.noarch


After upgrade:
--------------
[root@ceph-gpatta-rcir5u-node2 yum.repos.d]# gwcli ls
o- / ......................................................................................................................... [...]
  o- cluster ......................................................................................................... [Clusters: 1]
  | o- ceph .......................................................................................................... [HEALTH_WARN]
  |   o- pools .......................................................................................................... [Pools: 3]
  |   | o- cephfs_data ........................................................... [(x3), Commit: 0.00Y/56544804K (0%), Used: 0.00Y]
  |   | o- cephfs_metadata ....................................................... [(x3), Commit: 0.00Y/56544804K (0%), Used: 5487b]
  |   | o- rbd .................................................................... [(x3), Commit: 30G/56544804K (55%), Used: 5584b]
  |   o- topology ................................................................................................ [OSDs: 9,MONs: 3]
  o- disks ......................................................................................................... [30G, Disks: 1]
  | o- rbd ............................................................................................................. [rbd (30G)]
  |   o- ansible1 ............................................................................................. [rbd/ansible1 (30G)]
  o- iscsi-targets ............................................................................... [DiscoveryAuth: None, Targets: 1]
    o- iqn.2003-01.com.redhat.iscsi-gw:ceph-igw .......................................................... [Auth: None, Gateways: 2]
      o- disks .......................................................................................................... [Disks: 1]
      | o- rbd/ansible1 .................................................................. [Owner: ceph-gpatta-rcir5u-node2, Lun: 0]
      o- gateways ............................................................................................ [Up: 2/2, Portals: 2]
      | o- ceph-gpatta-rcir5u-node2 ............................................................................. [10.0.210.96 (UP)]
      | o- ceph-gpatta-rcir5u-node3 ............................................................................ [10.0.209.254 (UP)]
      o- host-groups .................................................................................................. [Groups : 0]
      o- hosts ....................................................................................... [Auth: ACL_ENABLED, Hosts: 1]
        o- iqn.1994-05.com.redhat:rh7-iscsi-client ..................................................... [Auth: CHAP, Disks: 1(30G)]
          o- lun 0 ............................................................ [rbd/ansible1(30G), Owner: ceph-gpatta-rcir5u-node2]

[root@ceph-gpatta-rcir5u-node2 yum.repos.d]# rpm -qa | grep ceph-iscsi
ceph-iscsi-3.4-5.el7cp.noarch
[root@ceph-gpatta-rcir5u-node2 yum.repos.d]# yum install ceph-iscsi-tools
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Package ceph-iscsi-tools-2.1-3.el7cp.noarch is obsoleted by ceph-iscsi-3.4-5.el7cp.noarch which is already installed
Nothing to do

Comment 9 Ilya Dryomov 2022-04-05 15:58:35 UTC
*** Bug 2071971 has been marked as a duplicate of this bug. ***

Comment 11 errata-xmlrpc 2022-05-05 07:54:39 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: Red Hat Ceph Storage 4.3 Security and Bug Fix update), 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-2022:1716


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