Re: Reg combining vms in cf-231
Nithiyasri Gnanasekaran -X (ngnanase - TECH MAHINDRA LIM@Cisco) <ngnanase at cisco.com...>
Forgot to mention that I collocated consul_agent with api_worker and also enabled it in server mode and removed it as a separate vm.
Even after this, the consul_agent process was not coming up in router.. From: Nithiyasri Gnanasekaran -X (ngnanase - TECH MAHINDRA LIM at Cisco) Sent: Monday, April 25, 2016 10:55 PM To: 'Amit Gupta' <agupta(a)pivotal.io> Cc: Discussions about Cloud Foundry projects and the system overall. <cf-dev(a)lists.cloudfoundry.org> Subject: RE: Reg combining vms in cf-231 Hi Amit Pls let me know if consul as a separate vm is necessary for cf-231 deployment, though we collocate consul_agent in every other job of cf-231 Regards Nithiyasri From: Amit Gupta [mailto:agupta(a)pivotal.io] Sent: Monday, April 25, 2016 9:57 PM To: Nithiyasri Gnanasekaran -X (ngnanase - TECH MAHINDRA LIM at Cisco) <ngnanase(a)cisco.com<mailto:ngnanase(a)cisco.com>> Cc: Discussions about Cloud Foundry projects and the system overall. <cf-dev(a)lists.cloudfoundry.org<mailto:cf-dev(a)lists.cloudfoundry.org>>; Jayarajan Ramapurath Kozhummal (jayark) <jayark(a)cisco.com<mailto:jayark(a)cisco.com>> Subject: Re: Reg combining vms in cf-231 Your first job has consul services, so you'll need to colocate the consul_agent there too. You also don't have any consul servers running anywhere. On Mon, Apr 25, 2016 at 7:25 AM, Nithiyasri Gnanasekaran -X (ngnanase - TECH MAHINDRA LIM at Cisco) <ngnanase(a)cisco.com<mailto:ngnanase(a)cisco.com>> wrote: Hi Amit I am using cf-231 release. In the spiff generated yml, I could combine api_worker and cloud_controller jobs into one, dea-spare with router. But when I remove consul as a separate VM and combine it with api_worker and cloud_controller . The consul process is not starting in router and haproxy. If I have a separate consul vm, this problem doesn’t occur. Following is the consul process error in router. error during start: timeout exceeded 2016/04/25 08:57:06 [ERR] agent.client: Failed to decode response header: EOF ++ logger -p user.info<http://user.info> -t vcap.consul-agent ++ tee -a /var/vcap/sys/log/consul_agent/consul_agent.stdout.log error during start: timeout exceeded 2016/04/25 08:58:15 [ERR] agent.client: Failed to decode response header: EOF ++ logger -p user.info<http://user.info> -t vcap.consul-agent ++ tee -a /var/vcap/sys/log/consul_agent/consul_agent.stdout.log Pls let me know how can I fix this. Regards Nithiyasri |
|