Bug 2228577

Summary: [GSS] Pods randomly failing to create with error "Multi-Attach error for volume "pvc-xxx" Volume is already exclusively attached to one node and can't be attached to another"
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Karun Josy <kjosy>
Component: csi-driverAssignee: Rakshith <rar>
Status: CLOSED DEFERRED QA Contact: krishnaram Karthick <kramdoss>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.12CC: hnallurv, odf-bz-bot, rar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-01 07:00:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Karun Josy 2023-08-02 17:51:09 UTC
* Description of problem (please be detailed as possible and provide log
snippets):


Pods randomly failing to create with error "Multi-Attach error for volume "pvc-xxx" Volume is already exclusively attached to one node and can't be attached to another"

PVC belongs to "ocs-storagecluster-cephfs"  and volume access mode is set to RWO.
they are using STS and .spec.updateStrategy.type is set to RollingUpdate, so the StatefulSet controller should delete and recreate each Pod in the StatefulSet


* Version of all relevant components (if applicable):
ODF 4.12

Comment 8 Niels de Vos 2023-09-01 07:00:20 UTC
This has been moved to an OpenShift bug, work is done there. If this does look like a Ceph-CSI issue, please open a new bug with a clear description and the relevant logs.