Bug 2096262 - [RFE] : ceph orch upgrade : block upgrade of cluster with iscsi service
Summary: [RFE] : ceph orch upgrade : block upgrade of cluster with iscsi service
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 6.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 6.0
Assignee: Adam King
QA Contact: Manasa
Masauso Lungu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-13 11:58 UTC by Vasishta
Modified: 2023-03-20 18:57 UTC (History)
7 users (show)

Fixed In Version: ceph-17.2.3-39.el9cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-20 18:56:39 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-4083 0 None None None 2022-06-13 11:58:13 UTC
Red Hat Issue Tracker RHCEPH-4520 0 None None None 2022-06-13 12:23:20 UTC
Red Hat Product Errata RHBA-2023:1360 0 None None None 2023-03-20 18:57:05 UTC

Description Vasishta 2022-06-13 11:58:13 UTC
Description of problem:
ISCsI is being dropped from RHCS 6.0 and orchestrator must block upgrade of clusters with iscsi services.

Steps to Reproduce:
1. Configure RHCS <6.0 cluster with iscsi service
2. Try upgrading cluster to 6.0
3. Upgrade must be blocked.

Comment 4 Preethi 2022-09-26 09:12:46 UTC
Issue is fixed in the latest RHCS 6.0 build

Below are the snippet

[ceph: root@magna021 /]# ceph orch upgrade status
{
    "target_image": "registry-proxy.engineering.redhat.com/rh-osbs/rhceph@sha256:9067726d198edafd890e84376796de613d2f63221374d104078b8a0ceec7c529",
    "in_progress": true,
    "which": "Upgrading all daemon types on all hosts",
    "services_complete": [],
    "progress": "1/89 daemons upgraded",
    "message": "Error: UPGRADE_ISCSI_UNSUPPORTED: Upgrade attempted to RHCS release not supporting iscsi with iscsi daemons present"
}
[ceph: root@magna021 /]# ceph orch ls      
NAME                       PORTS        RUNNING  REFRESHED  AGE  PLACEMENT                                     
alertmanager               ?:9093,9094      1/1  2m ago     5M   count:1                                       
crash                                     12/12  2m ago     5M   *                                             
grafana                    ?:3000           1/1  2m ago     5M   count:1                                       
iscsi.test                                  0/2  103s ago   3M   plena001;plena002                             
mgr                                         2/2  2m ago     5M   count:2                                       
mon                                         5/5  2m ago     4M   magna021;magna022;magna024;magna025;magna026  
node-exporter              ?:9100         12/12  2m ago     5w   count:12                                      
osd                                          38  2m ago     -    <unmanaged>                                   
osd.all-available-devices                    14  2m ago     2w   <unmanaged>                                   
prometheus                 ?:9095           1/1  2m ago     4w   count:1                                       
rbd-mirror                                  1/1  2m ago     4M   magna026   


[root@magna021 yum.repos.d]# ceph health detail
HEALTH_ERR 2 failed cephadm daemon(s); Upgrade attempted to RHCS release not supporting iscsi with iscsi daemons present
[WRN] CEPHADM_FAILED_DAEMON: 2 failed cephadm daemon(s)
    daemon iscsi.test.plena001.konnne on plena001 is in error state
    daemon iscsi.test.plena002.wgcgle on plena002 is in error state
[ERR] UPGRADE_ISCSI_UNSUPPORTED: Upgrade attempted to RHCS release not supporting iscsi with iscsi daemons present
    Iscsi is no longer supported in RHCS 6.
    Please remove any iscsi services/daemons from the cluster before upgrading.
    If you instead would rather keep using iscsi than upgrade, please manually downgrade any
    upgraded daemons with `ceph orch daemon redeploy <daemon-name> --image <previous-5.x-image-name>`
[root@magna021 yum.repos.d]# 



[root@magna021 yum.repos.d]# ceph health detail
HEALTH_ERR 2 failed cephadm daemon(s); Upgrade attempted to RHCS release not supporting iscsi with iscsi daemons present
[WRN] CEPHADM_FAILED_DAEMON: 2 failed cephadm daemon(s)
    daemon iscsi.test.plena001.konnne on plena001 is in error state
    daemon iscsi.test.plena002.wgcgle on plena002 is in error state
[ERR] UPGRADE_ISCSI_UNSUPPORTED: Upgrade attempted to RHCS release not supporting iscsi with iscsi daemons present
    Iscsi is no longer supported in RHCS 6.
    Please remove any iscsi services/daemons from the cluster before upgrading.
    If you instead would rather keep using iscsi than upgrade, please manually downgrade any
    upgraded daemons with `ceph orch daemon redeploy <daemon-name> --image <previous-5.x-image-name>`
[root@magna021 yum.repos.d]# 



cephadm version-
ceph-17.2.3-39.el9cp
ceph version
ceph-17.2.3-39.el9cp

Comment 17 errata-xmlrpc 2023-03-20 18:56: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 (Red Hat Ceph Storage 6.0 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/RHBA-2023:1360


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