Bug 2218008 - After upgrade from 5.1z2 to latest iSCSI Service is unable to work until iSCSI GW reboot.
Summary: After upgrade from 5.1z2 to latest iSCSI Service is unable to work until iSCS...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: iSCSI
Version: 5.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 5.3z4
Assignee: Xiubo Li
QA Contact: Preethi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-27 19:29 UTC by Raimund Sacherer
Modified: 2023-07-19 16:20 UTC (History)
7 users (show)

Fixed In Version: ceph-iscsi-3.6-2.el8cp
Doc Type: Bug Fix
Doc Text:
Cause: rtslib now requires /etc/target or /var/target to be setup (it depends on the version). The issue is that rtslib does not make those dirs and instead relies on targetcli or ceph-iscsi to make them. For container cases we do not install targetcli, but the ceph-iscsi will skip creating these target dirs. Consequence: So ceph-iscsi's daemons will crash or fail to setup disks, when we make rtslib calls that try to access the etc/var target dirs. Fix: Always create the target dirs when installing the ceph-iscsi package. Result: No crash happen.
Clone Of:
Environment:
Last Closed: 2023-07-19 16:19:11 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-iscsi pull 271 0 None Merged spec: make sure we always have the target dir 2023-07-07 04:46:29 UTC
Red Hat Issue Tracker RHCEPH-6931 0 None None None 2023-06-27 19:29:26 UTC
Red Hat Product Errata RHBA-2023:4213 0 None None None 2023-07-19 16:20:02 UTC

Comment 47 Preethi 2023-07-10 13:28:34 UTC
(In reply to Preethi from comment #46)
> Was able to repro the issue and verify the bug with the fix provided,
> Working as expected with the fix build.
> 
> NOTE: 1)Used build registry.redhat.io/rhceph/rhceph-5-rhel8:5-416
> for issue repro and
> registry-proxy.engineering.redhat.com/rh-osbs/rhceph:5-446 for verification 
> Ceph version - 16.2.10-185.el8cp
> 2) redeploy works fine with the above image withoout any issues 
> 3) We see the /etc/target and /var/target directories inside the container
> with the fix

Comment 51 errata-xmlrpc 2023-07-19 16:19:11 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 5.3 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:4213


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