Re: cloudfoundry-incubator / diego-release deploy failing


Shetty, Daya <Daya.Shetty@...>
 

Hi Eric,

Thanks for responding, as far as I can tell, I did generate the deployment manifest correctly. But just to make sure I deleted the deployment and my cf-release repo and redid the whole process, currently uploading the cf-213.yml and will then deploy this version to see whether it syncs up the consul agent correctly. This time I’m following the steps mentioned in https://github.com/cloudfoundry/bosh-lite/blob/develop/docs/deploy-cf.md instead of the steps mentioned in https://github.com/cloudfoundry-incubator/diego-release.

Will update you of any problems once I’m done deploying.

Regards
Daya

From: <cf-bosh-bounces(a)lists.cloudfoundry.org<mailto:cf-bosh-bounces(a)lists.cloudfoundry.org>> on behalf of Eric Malm <emalm(a)pivotal.io<mailto:emalm(a)pivotal.io>>
Reply-To: "Discussions about the Cloud Foundry BOSH project." <cf-bosh(a)lists.cloudfoundry.org<mailto:cf-bosh(a)lists.cloudfoundry.org>>
Date: Tuesday, July 14, 2015 at 3:39 PM
To: "Discussions about the Cloud Foundry BOSH project." <cf-bosh(a)lists.cloudfoundry.org<mailto:cf-bosh(a)lists.cloudfoundry.org>>
Subject: Re: [cf-bosh] cloudfoundry-incubator / diego-release deploy failing

Hi, Daya,

It looks like the consul service data in your deployment manifests is incompatible with the data that the consul agent job expects to consume in its agent_ctl.sh.erb script template. These data structures did change after CF v212 was released, in this cf-release commit<https://github.com/cloudfoundry/cf-release/commit/929aae4a2b6c6de20d48341c18bbe20b33bc432d>. If you're indeed deploying CF final version 212, the release notes for that version<https://github.com/cloudfoundry/cf-release/releases/tag/v212> recommend you deploy Diego final version 0.1304.0 alongside it. As long as you generate your deployment manifests from the commits for those final releases, it should have the consul service data in the correct format for the consul agent job.

Thanks,
Eric, CF Runtime Diego PM

On Mon, Jul 13, 2015 at 3:29 PM, Shetty, Daya <Daya.Shetty(a)bnymellon.com<mailto:Daya.Shetty(a)bnymellon.com>> wrote:
I¹m getting errors while deploying the diego release..

BOSH version 1.3012.0
CF release 212.
Bosh Diego release 0.1367



$ bosh deployment ~/deployments/bosh-lite/cf.yml
Deployment set to `/Users/xbbly9r/deployments/bosh-lite/cf.yml'
$ bosh -n deploy

ŠŠŠ

Done binding instance vms > postgres_z1/0 (00:00:00)
Done binding instance vms > consul_z1/0 (00:00:00)
Done binding instance vms > nats_z1/0 (00:00:00)
Done binding instance vms > etcd_z1/0 (00:00:00)
Done binding instance vms > ha_proxy_z1/0 (00:00:00)
Done binding instance vms > uaa_z1/0 (00:00:00)
Done binding instance vms > hm9000_z1/0 (00:00:00)
Done binding instance vms > api_z1/0 (00:00:00)
Done binding instance vms > router_z1/0 (00:00:00)
Done binding instance vms > runner_z1/0 (00:00:00)
Done binding instance vms > loggregator_trafficcontroller_z1/0
(00:00:00)
Done binding instance vms > doppler_z1/0 (00:00:00)
Done binding instance vms (00:00:00)

Started preparing configuration > Binding configuration. Failed: Error
filling in template `agent_ctl.sh.erb' for `uaa_z1/0' (line 31: undefined
method `tr' for ["uaa", {}]:Array) (00:00:01)

Error 100: Error filling in template `agent_ctl.sh.erb' for `uaa_z1/0'
(line 31: undefined method `tr' for ["uaa", {}]:Array)


$ bosh deployment ~/deployments/bosh-lite/diego.yml
Deployment set to `/Users/xbbly9r/deployments/bosh-lite/diego.yml¹

Š.

Started preparing deployment > Binding deployment. Done (00:00:00)
Started preparing deployment > Binding releases. Done (00:00:00)
Started preparing deployment > Binding existing deployment. Done
(00:00:00)
Started preparing deployment > Binding resource pools. Done (00:00:00)
Started preparing deployment > Binding stemcells. Done (00:00:00)
Started preparing deployment > Binding templates. Done (00:00:00)
Started preparing deployment > Binding properties. Done (00:00:00)
Started preparing deployment > Binding unallocated VMs. Done (00:00:00)
Started preparing deployment > Binding instance networks. Done (00:00:00)
Done preparing deployment (00:00:00)

Started preparing package compilation > Finding packages to compile.
Done (00:00:00)

Started preparing dns > Binding DNS. Done (00:00:00)

Started preparing configuration > Binding configuration. Failed: Error
filling in template `agent_ctl.sh.erb' for `database_z1/0' (line 31:
undefined method `tr' for ["bbs", {}]:Array) (00:00:00)

Error 100: Error filling in template `agent_ctl.sh.erb' for
`database_z1/0' (line 31: undefined method `tr' for ["bbs", {}]:Array)


Any ideas on what I can do to resolve these issues?

Regards
Daya
PS: I have attached the debug logs for both the errors.






The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses.

Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures relating to European legal entities.
_______________________________________________
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



The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses.

Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures relating to European legal entities.

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