Re: Reg combining vms in cf-231


Amit Kumar Gupta
 

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> 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 -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 -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


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