Re: Reg combining vms in cf-231


Nithiyasri Gnanasekaran -X (ngnanase - TECH MAHINDRA LIM@Cisco) <ngnanase at cisco.com...>
 

+ Gentle Reminder

From: Nithiyasri Gnanasekaran -X (ngnanase - TECH MAHINDRA LIM at Cisco)
Sent: Tuesday, April 26, 2016 5:17 PM
To: 'Amit Gupta' <agupta(a)pivotal.io>
Cc: Discussions about Cloud Foundry projects and the system overall. <cf-dev(a)lists.cloudfoundry.org>; Jayarajan Ramapurath Kozhummal (jayark) <jayark(a)cisco.com>
Subject: RE: Reg combining vms in cf-231

Hi Amit

Thanks for your reply…
Now I could combine all the jobs of cf-231 into one vm, but blobstore process alone shows the following error:

2016/04/26 11:04:29 [emerg] 23408#0: listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use)
2016/04/26 11:05:17 [emerg] 23952#0: listen() to 0.0.0.0:80, backlog 511 failed (98: Address already in use)

Attached is the yml file
So I had modified the blobstore:port to 82 and redeployed.. But this change is not reflecting in the VM and again getting the same error.
Pls let me know if I have to modify anyother property

This is a kind of showstopper for us.

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

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