Re: Multiple Availability Zone


John McTeague
 

Try telling BOSH to ignore what AZ the server is in when provisioning disks:

https://github.com/cloudfoundry/bosh/blob/master/release/jobs/director/spec#L395

It will default to cinders default AZ for storage that you have configured.

John

From: cf-dev-bounces(a)lists.cloudfoundry.org [mailto:cf-dev-bounces(a)lists.cloudfoundry.org] On Behalf Of Guangcai Wang
Sent: 27 May 2015 08:23
To: cf-dev(a)lists.cloudfoundry.org
Subject: [cf-dev] Multiple Availability Zone

Hi,
I am trying to deploy cf into Openstack with multiple computing nodes.
Computer node 1: has all openstack services running, including cinder service (az1)
Computer node 2: has computing service only. (az2)
when I deployed the cf, the job VMs has been provisioned into the two availability zones evenly. When BOSH started to update the job VM (etcd was provisioned in az2) to create a disk, I got an error "Availability zone 'az2' is invalid".
My question is how to specify the availability zone for VMs and their persistent disk?
Thanks.

This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.