Re: deploying cloud foundry fails with openstack Icehouse
Surekha Bejgam (sbejgam) <sbejgam@...>
Thanks Ferran for your suggestion. I tried adding this property, still fails with the same error message.
Not sure what else I could try. Regards, Surekha From: Ferran Rodenas <frodenas(a)gmail.com<mailto:frodenas(a)gmail.com>> Date: Thursday, June 11, 2015 11:31 PM To: "Discussions about the Cloud Foundry BOSH project." <cf-bosh(a)lists.cloudfoundry.org<mailto:cf-bosh(a)lists.cloudfoundry.org>> Cc: Surekha Bejgam <sbejgam(a)cisco.com<mailto:sbejgam(a)cisco.com>>, Srikanth Bhamidipati <bsri(a)cisco.com<mailto:bsri(a)cisco.com>>, "osc-team-harmony(mailer list)" <osc-team-harmony(a)cisco.com<mailto:osc-team-harmony(a)cisco.com>> Subject: Re: [cf-bosh] deploying cloud foundry fails with openstack Icehouse Have you tried setting the "ignore_server_availability_zone" property? properties: openstack: ignore_server_availability_zone: true - Ferdy 2015-06-12 7:55 GMT+02:00 Lakshman Mukkamalla (lmukkama) <lmukkama(a)cisco.com<mailto:lmukkama(a)cisco.com>>: Just FYI. We are even tried with bosh-init to install CF in openstack. Below is what we see, with the same issue as bosh micro deploy Command 'deploy' failed: Deploying: Creating instance 'bosh/0': Creating VM: Creating vm with stemcell cid '4a91752f-7427-4f2a-8351-6c02de9d41cd': CPI 'create_vm' method responded with error: CmdError{"type":"Bosh::Clouds::CloudError","message":"OpenStack API Bad Request (The requested availability zone is not available). Check task debug log for details.","ok_to_retry":false} Detailed debug logs: [2015-06-11T19:15:40.821299 #8208] DEBUG -- : excon.error {:error=>#<Excon::Errors::BadRequest: Expected([200, 202]) <=> Actual(400 Bad Request) excon.error.response :body => "{\"badRequest\": {\"message\": \"Invalid input received: Availability zone 'mel-2-csx' is invalid\", \"code\": 400}}" :headers => { "Content-Length" => "108" "Content-Type" => "application/json; charset=UTF-8" "Date" => "Thu, 11 Jun 2015 23:15:41 GMT" "X-Compute-Request-Id" => "req-55e756f5-4cfc-4929-a74e-5f2f5fbbc090" "X-Openstack-Request-Id" => "req-55e756f5-4cfc-4929-a74e-5f2f5fbbc090" } Thanks. From: "Surekha Bejgam (sbejgam)" <sbejgam(a)cisco.com<mailto:sbejgam(a)cisco.com>> Date: Thursday, June 11, 2015 7:15 PM To: "cf-bosh(a)lists.cloudfoundry.org<mailto:cf-bosh(a)lists.cloudfoundry.org>" <cf-bosh(a)lists.cloudfoundry.org<mailto:cf-bosh(a)lists.cloudfoundry.org>> Cc: "osc-team-harmony(mailer list)" <osc-team-harmony(a)cisco.com<mailto:osc-team-harmony(a)cisco.com>>, Srikanth Bhamidipati <bsri(a)cisco.com<mailto:bsri(a)cisco.com>> Subject: deploying cloud foundry fails with openstack Icehouse Hello, We are trying to deploy cloud foundry using bosh. Stemcell info ------------- Name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw Version: 2915 BOSH Version: BOSH 1.2982.0 Below is the error we are seeing during: "bosh micro deployment manifest.yml" *************************************************************************************************** Started deploy micro bosh Started deploy micro bosh > Unpacking stemcell. Done (00:00:04) Started deploy micro bosh > Uploading stemcell. Done (00:01:39) Started deploy micro bosh > Creating VM from d3ef9ac6-5a51-438e-a0e0-50d7df6e0c70. Done (00:00:13) Started deploy micro bosh > Waiting for the agent. Done (00:01:35) Started deploy micro bosh > Updating persistent disk Started deploy micro bosh > Create disklog writing failed. can't be called from trap context /usr/local/lib/ruby/gems/2.1.0/gems/bosh_openstack_cpi-1.2982.0/lib/cloud/openstack/helpers.rb:20:in `cloud_error': OpenStack API Bad Request (Invalid input received: Availability zone 'mel-2-csx' is invalid). Check task debug log for details. (Bosh::Clouds::CloudError) Any idea what we are missing here ? Thanks, Surekha _______________________________________________ cf-bosh mailing list cf-bosh(a)lists.cloudfoundry.org<mailto:cf-bosh(a)lists.cloudfoundry.org> https://lists.cloudfoundry.org/mailman/listinfo/cf-bosh |
|