HPE Nimble Storage Solution Specialists

Modify Volume ACL with CLI

 
tkutil115
Occasional Contributor

Modify Volume ACL with CLI

I have both an initiator group and chap user on my volumes. I want to remove the chap user and i dont want to use the gui. 

Im trying to use this command: vol --removeacl VMWARE7-002 --apply_acl_to both --chapuser WCG-CLUSTER and keep getting this. ERROR: Failed to remove access control record. AccessControlRecord '064ebc54516d750de1000000000000000000000144' was not found.

 

1 REPLY 1
Candhade
HPE Pro

Re: Modify Volume ACL with CLI

I replicated the issue in our lab array. If i try removing the ACL using the below command, i also received the same error.
Nimble OS $ vol --removeacl <VOLUME NAME> --apply_acl_to both --chapuser <CHAP USER NAME>
ERROR: Failed to remove access control record. AccessControlRecord '06151cd5223c3835bc000000000000000000000002' was not found.

It worked when i used the command with --initiatorgrp <INITIATOR GROUP NAME>
Nimble OS $ vol --removeacl <VOLUME NAME> --apply_acl_to both --chapuser <CHAP USER NAME> --initiatorgrp <INITIATOR GROUP NAME>

After the above step in CLI, I observed in GUI, the CHAP user is no longer linked to the volume.


I work for HPE

Accept or Kudo