Closed bstick12 closed 7 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/147015109
The labels on this github issue will be updated when the story is started.
@bstick12, thanks for the very detailed explanation of the issue you're seeing.
tl;dr: you probably just need to upgrade to the latest cf-deployment/loggregator.
It looks like there have been several commits in the last month to add the health check port, and then to prevent it from colliding with other components:
The latest version should be using port 22222, so let me know if that doesn't work for you.
@dsabeti The latest release looks to be 89 which was 20 days ago. The commits you linked to are after that. Will retest on the next release. For the moment we have overridden the metron_agent.health_port
in our manifest and that is working.
Thanks for the quick reply
We were deploying CF on bosh-lite following the instructions on README and the deployment failed with this error:
We ssh'ed into the VM and found this repeated several times in
/var/vcap/sys/log/cc_uploader/cc_uploader.stdout.log
And
metron
process was bound on::::9090
We ran the deployment again and it succeeded. We were curious why it had failed so we decided to investigate further and found following config files might be responsible for the failure:
/var/vcap/jobs/metron_agent/config/metron_agent.json
/var/vcap/jobs/cc_uploader/config/cc_uploader_config.json
The cc_uploader specifies port 9090 as the listener address and the the metron defines port 9090 as the health endpoint port.
It would look like there is a race condition as to which process grabs the port first.
Here are the config files:
metron_agent.json
cc_uploader_config.json