Comment 2 for bug 1899084

Revision history for this message
Vern Hart (vern) wrote :

Yes, this needs to be in nova.conf on computes as well. We already had cross_az_attach=false in nova-cloud-controller. When cross_az_attach=false is in nova.conf on compute node, we see error messages that tell us it's trying to create the volume in the same zone:

  nova.exception.BuildAbortException: Build of instance 850f7e99-5111-4d80-9e75-dabb3b20d80b aborted: Invalid input received: Availability zone \'zone2\' is invalid. (HTTP 400)

When cross_az_attach is missing (default is true) from the nova.conf on the compute we get errors that show it's trying to use volumes from the default backend (which is zone1), which will fail in this environment.