-
Notifications
You must be signed in to change notification settings - Fork 218
Description
Hello, all
I am trying to create a new deployment file for minimizing VM size, and I started the work based on https://github.com/cloudfoundry-community/cf-boshworkspace
It looks it's not maintained right now, my question got no response for several days.
Anyway, I create an deployment file based on it, and when deploying I always got error about consul component.
The deployment file starts from https://github.com/cloudfoundry/cf-release/tree/master/example_manifests and adds diego components initially.
Started updating job backbone_z1 > backbone_z1/0 (canary)
Started updating job data > data/0 (canary)
Started updating job services_z1 > services_z1/0 (canary)
Started updating job health_z1 > health_z1/0 (canary)
Started updating job cell_z1 > cell_z1/0 (canary)
Started updating job ha_proxy_z1 > ha_proxy_z1/0 (canary)
Started updating job api_z1 > api_z1/0 (canary)
Started updating job brain_z1 > brain_z1/0 (canary)
Done updating job backbone_z1 > backbone_z1/0 (canary) (00:02:24)
Done updating job brain_z1 > brain_z1/0 (canary) (00:03:25)
Failed updating job ha_proxy_z1 > ha_proxy_z1/0 (canary): `ha_proxy_z1/0' is not running after update (00:10:28)
Failed updating job data > data/0 (canary): `data/0' is not running after update (00:10:39)
Failed updating job cell_z1 > cell_z1/0 (canary): `cell_z1/0' is not running after update (00:10:55)
Failed updating job health_z1 > health_z1/0 (canary): `health_z1/0' is not running after update (00:11:25)
Failed updating job services_z1 > services_z1/0 (canary): `services_z1/0' is not running after update (00:11:27)
Failed updating job api_z1 > api_z1/0 (canary): `api_z1/0' is not running after update (00:14:08)
Error 400007: `ha_proxy_z1/0' is not running after update
And after checking the log of ha_proxy_z1 job, I can see the main problem is the consul.
Finally Itt complains
==> Error starting agent: Failed to start Consul client: Failed to start lan serf: Failed to start TCP listener. Err: listen tcp 10.0.0.25:8301: bind: address already in use
I checked on on working cf instance, and I can see the same consul processes are running, and I didn't see any difference between them.
minimal-vms.txt
ha_proxy_z1.0.2016-03-17-19-05-08.zip
Attached are the deployment file and logs of ha_proxy_z1.
Could someone show some guide on it, thanks in advance.