0
votes
SoftLayer_Exception_Network_Storage_Group_MassAccessControlModification: Errors occurred while modifying access for the requested SoftLayer_Virtual_Guest objects:
SoftLayer_Virtual_Guest #29063977: An error occurred while manipulating access control for this volume.  If this error persists, please contact Support.
(HTTP 500)

I get this exception intermittently while updating the authorized host list of a block storage. Possibly due to repeated calls to http://developer.softlayer.com/reference/services/SoftLayer_Network_Storage/allowAccessFromHost. To counter I tried checking active transactions from http://developer.softlayer.com/reference/services/SoftLayer_Network_Storage/getActiveTransactions hoping that while a host is being added to block storage the activeTransactions will populate but I'm still facing intermittent issue of MassAccessControlModification.

Is the error due to repeated allowAccessFromHost calls? If yes, how can I counter it?

1

1 Answers

1
votes

It seems that the error happens when you try to add twice the same host at same time, the http://developer.softlayer.com/reference/services/SoftLayer_Network_Storage/allowAccessFromHost. method does not generate any transaction, so will not help you to verify if the transaction has been accomplished.

You could try to verify if your machines has been added successfully using any of these methods:

http://developer.softlayer.com/reference/services/SoftLayer_Network_Storage/getAllowedVirtualGuests http://developer.softlayer.com/reference/services/SoftLayer_Network_Storage/getAllowedIpAddresses http://developer.softlayer.com/reference/services/SoftLayer_Network_Storage/getAllowedHardware

The methods return the machines with allow access to the storage.

Once you call the method SoftLayer_Network_Storage/allowAccessFromHost try calling any of the methods above to verify if your machines has been added successfully once you see them listed make your next call avoiding adding machines that al;ready has been added.

Regards