Upgrading ceph-iscsi from RHCS 3 to RHCS 4 fails if ceph-iscsi-tools is installed in the cluster

Solution Verified - Updated -

Issue

  • While updating the ceph-iscsi package getting below error:
# yum update ceph-iscsi
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package ceph-iscsi.noarch 0:3.4-4.el7cp will be obsoleting
--> Processing Dependency: python-cryptography for package: ceph-iscsi-3.4-4.el7cp.noarch

[...]

Error: Package: ceph-iscsi-tools-2.1-3.el7cp.noarch (@rhel-7-server-rhceph-3-tools-rpms)
           Requires: ceph-iscsi-config >= 2.3-1
           Removing: ceph-iscsi-config-2.6-23.el7cp.noarch (@rhel-7-server-rhceph-3-tools-rpms)
               ceph-iscsi-config = 2.6-23.el7cp
           Obsoleted By: ceph-iscsi-3.4-4.el7cp.noarch (lo-rhel-7-server-rhceph-4-tools-rpms)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
  • Upgrading the cluster to RHCS 4.x fails to upgrade ceph-iscsi package if we have already installed ceph-iscsi-tools in RHCS 3.x environment.
  • ceph-iscsi rpm spec couldn't correctly handle the upgrading from old ceph-iscsi versions.

Environment

  • Red Hat Ceph Storage 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content