Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Change OpenStack Discoverer listen port for LivenessProve #222

Merged
merged 1 commit into from
Aug 22, 2018
Merged

Change OpenStack Discoverer listen port for LivenessProve #222

merged 1 commit into from
Aug 22, 2018

Conversation

yutaokaz
Copy link
Contributor

@yutaokaz yutaokaz commented Aug 22, 2018

I tried to deploy OpenStack Discoverer, but failed to start it cause of conflict between Prometheus port and LivenessProve port. Error messages are below.

time="2018-08-22T02:48:33Z" level=info msg="Gimbal OpenStack Discoverer Starting up..."
time="2018-08-22T02:48:33Z" level=info msg="Version: v0.3.0-beta.3"
time="2018-08-22T02:48:33Z" level=info msg="Backend name: os01"
time="2018-08-22T02:48:33Z" level=info msg="Number of queue worker threads: 2"
time="2018-08-22T02:48:33Z" level=info msg="Reconciliation period: 30s"
time="2018-08-22T02:48:33Z" level=info msg="Gimbal kubernetes client QPS: 5"
time="2018-08-22T02:48:33Z" level=info msg="Gimbal kubernetes client burst: 10"
time="2018-08-22T02:48:33Z" level=info msg="BackendName is: os01"
time="2018-08-22T02:48:33Z" level=info msg="Using InCluster k8s config"
time="2018-08-22T02:48:33Z" level=warning msg="The OS_USER_DOMAIN_NAME environment variable was not set. Using \"Default\" as the OpenStack user domain name."
time="2018-08-22T02:48:33Z" level=debug msg="Request URL: https://<MY-OPENSTACK-SERVER>/v3/auth/tokens"
time="2018-08-22T02:48:33Z" level=debug msg="-- API Latency: 475"
time="2018-08-22T02:48:33Z" level=debug msg="-- Response Status: 201 Created"
time="2018-08-22T02:48:33Z" level=info msg="Starting reconciler"
time="2018-08-22T02:48:33Z" level=info msg="Listening for Prometheus metrics on port: 8080"
time="2018-08-22T02:48:33Z" level=fatal msg="listen tcp :8080: bind: address already in use"

My suggestion is to change port number for LivenessProve to another (not 8080) port.

Related: #202

Signed-off-by: yutaokaz yutaokaz@yahoo.co.jp

Signed-off-by: yutaokaz <yutaokaz@yahoo.co.jp>
Copy link
Member

@stevesloka stevesloka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the PR @yutaokaz

@stevesloka stevesloka merged commit 03a039e into projectcontour:master Aug 22, 2018
@yutaokaz yutaokaz deleted the fixOpenStackDiscoverer branch August 23, 2018 00:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants