RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1598969 - ocf::heartbeat:iSCSILogicalUnit -> This NodeACL already exists in configFS
Summary: ocf::heartbeat:iSCSILogicalUnit -> This NodeACL already exists in configFS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: resource-agents
Version: 7.5
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Oyvind Albrigtsen
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 1692413
TreeView+ depends on / blocked
 
Reported: 2018-07-07 12:08 UTC by Strahil Nikolov
Modified: 2020-03-31 19:48 UTC (History)
6 users (show)

Fixed In Version: resource-agents-4.1.1-32.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1692413 (view as bug list)
Environment:
Last Closed: 2020-03-31 19:47:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
debug start of iSCSILogicalUnit resource and cluster backup (5.28 KB, application/zip)
2018-07-07 12:08 UTC, Strahil Nikolov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1067 0 None None None 2020-03-31 19:48:00 UTC

Description Strahil Nikolov 2018-07-07 12:08:29 UTC
Created attachment 1457154 [details]
debug start of iSCSILogicalUnit resource and cluster backup

Description of problem:
iSCSILogicalUnit fails to start the resource from the first time with the error 'This NodeACL already exists in configFS' once the resource has failed on all nodes and the resource got clear && cleanup - the resource starts successfully.

Version-Release number of selected component (if applicable):
corosync-2.4.3-2.el7_5.1.x86_64
corosynclib-2.4.3-2.el7_5.1.x86_64
pacemaker-1.1.18-11.el7_5.3.x86_64
pacemaker-cli-1.1.18-11.el7_5.3.x86_64
pacemaker-cluster-libs-1.1.18-11.el7_5.3.x86_64
pacemaker-libs-1.1.18-11.el7_5.3.x86_64
resource-agents-3.9.5-124.el7.x86_64
targetcli-2.1.fb46-6.el7_5.noarch


How reproducible:
Always

Steps to Reproduce:
1. Disable firewall or allow port 7000/tcp
2. Set selinux to permissive
3. Configure 3 nodes with drbd and test them prior to setting it up in the cluster configuration:
3.1. Create drbd0 config file:
# cat /etc/drbd.d/drbd0.res 
resource drbd0 {
protocol C;
net {
        cram-hmac-alg sha1;
        shared-secret "SomePass";
}

 
volume 0 {
	device /dev/drbd0;
	disk /dev/drbd/drbd0;
	meta-disk internal;
}
 
on drbd1 {
	address 192.168.122.48:7000;
	node-id 1;
}
on drbd2 {
	address 192.168.122.49:7000;
	node-id 2;
}
on drbd3 {
	address 192.168.122.50:7000;
	node-id 3;
}
 
connection-mesh {
  hosts drbd1 drbd2 drbd3;
}
 
}

3.2 Prepare local storage for drbd on all nodes: 
drbdadm create-md drbd0
drbdadm up drbd0
3.3 Make one node primary for initial sync:
drbdadm primary --force drbd0

4.Configure the cluster by using the "pcs config restore cluster.bkp.tar.bz2" -> provided in the attached zip file


Actual results:
iSCSILogicalUnit fails to start properly.Manual intervention is needed via:
'pcs resource clear iscsi-lun0 && pcs resource cleanup iscsi-lun0'.
Once the nodes get rebooted -> they need to fail starting the resource and cleaned up again.

Expected results:
iSCSILogictalUnit to work as expected

Additional info:
I'm attaching the cluster config backup and output of the debug-start generated via:
pcs resource disable iscsi-lun0
#export OCF_ROOT=/usr/lib/ocf
#export OCF_RESKEY_allowed_initiators='iqn.2018-01.com.example:client01'
#export OCF_RESKEY_lun=0
#export OCF_RESKEY_path=/dev/drbd0
#export OCF_RESKEY_target_iqn='iqn.2018-01.com.example:centos'
#bash -x /usr/lib/ocf/resource.d/heartbeat/iSCSILogicalUnit start

Comment 2 Strahil Nikolov 2018-09-04 19:37:03 UTC
Have you managed to reproduce the issue ?

Comment 3 Oyvind Albrigtsen 2019-02-20 09:40:41 UTC
It seems like this patch should solve this issue: https://github.com/ClusterLabs/resource-agents/pull/1239

Comment 5 Patrik Hagara 2019-03-26 09:30:24 UTC
qa_ack+, reproducer in comment#4

Comment 10 Oyvind Albrigtsen 2019-07-30 09:28:03 UTC
Additional patch for iSCSILogicalUnit: https://github.com/ClusterLabs/resource-agents/pull/1371

Comment 13 Strahil Nikolov 2020-03-10 22:40:26 UTC
Shouldn't we close this one with errata ?

Comment 16 errata-xmlrpc 2020-03-31 19:47:12 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, 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-2020:1067


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