更新块存储时出现软层 api MassAccessControlModification 错误

softlayer api MassAccessControlModification error while updating block storage

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)

我在更新块存储的授权主机列表时间歇性地收到此异常。可能是由于重复调用 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 希望在将主机添加到块存储时 activeTransactions 会填充,但我仍然面临 MassAccessControlModification.

的间歇性问题

是否由于重复allowAccessFromHost调用导致的错误? 如果是,我该如何应对?

似乎是当您尝试同时添加两次相同的主机时发生错误,http://developer.softlayer.com/reference/services/SoftLayer_Network_Storage/allowAccessFromHost。方法不会产生任何交易,因此不会帮助您验证交易是否已完成。

您可以尝试使用以下任一方法验证您的机器是否已成功添加:

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

方法 return 机器允许访问存储。

调用方法后 SoftLayer_Network_Storage/allowAccessFromHost 尝试调用上述任何方法来验证您的机器是否已成功添加,一旦您看到它们已列出,请进行下一次调用,避免添加已经添加的机器;准备好了.

此致