Error Failed to attach cloud volume 'NoneType' object has no attribute 'id'

Initial replication fails with a message similar to: Failed to attach cloud volume ad887e79-9857-424c-bce9-17f3b42d4cef: 'NoneType' object has no attribute 'id'


Challenge


Initial replication fails with a message similar to: Failed to attach cloud volume ad887e79-9857-424c-bce9-17f3b42d4cef: 'NoneType' object has no attribute 'id'


Cause


Different networks are specified for the cluster and for the agent, and therefore, they cannot communicate.


Solution


  1. The following ports need to be checked first:

Hystax Acura host:


 - Ingress – tcp/443
 - Ingress – tcp/4443
 - Ingress – udp/12201



Hystax Cloud Agent:


 - Ingress – tcp/80
 - Ingress – tcp/3260
 - Ingress – tcp/15000

  1. Make sure that your project has Hystax_CATI images available. Cloud agents can't be created if there is no image. For that reason, a replication agent won't be able to attach a volume to the cloud agent.

  1. If all of the above has been checked, but the error still persists, make sure that the network specified for the cloud agent actually exists in the target cloud by taking the following steps:
  1. Create a network in the target cloud either in your project or change a network for a customer using customer overlay.

  2. Set the security group in which the cloud agent will start.

  3. Start the initial replication