Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--metrics true does not work #698

Closed
burrsutter opened this issue Apr 6, 2017 · 8 comments
Closed

--metrics true does not work #698

burrsutter opened this issue Apr 6, 2017 · 8 comments

Comments

@burrsutter
Copy link

burrsutter commented Apr 6, 2017

./minishift version
Minishift version: 1.0.0-beta.5
CDK Version: 3.0.0-beta.3

./minishift --metrics true start

https://screencast.com/t/9qnyUIyak
https://screencast.com/t/mrfOjxr7IfF

@jorgemoralespou
Copy link
Contributor

In minishift 1.0.0.rc.1 is working fine:

image

image

@LalatenduMohanty
Copy link
Member

@burrsutter Can you please give 1.0.0.rc.1 a try and let us know if it does not work for you?

@hferentschik
Copy link
Member

How long did you wait until you tried to access Hawkular. It takes some time until the required pods are running. You can for example:

$ eval $(minishift docker-env)
$ docker ps

Now you should see the running running pods/applications. In particular you should see the Origin container running OpenShift, as well as the router and registry pods. Most likely you will see also the metrics related pods. Is there is nothing at all, something during the provisioning went wrong, but my guess is that you will see pods related to metrics, just that they are not running yet.

@jorgemoralespou
Copy link
Contributor

jorgemoralespou commented Apr 6, 2017

In 1.0.0.rc.1 with the sudoer capability, you can monitor the openshift-infra namespace:

 oc get pods -n openshift-infra --as=system:admin
NAME                         READY     STATUS      RESTARTS   AGE
hawkular-cassandra-1-rk7k6   1/1       Running     0          1h
hawkular-metrics-djvq7       1/1       Running     0          1h
heapster-1s7mh               1/1       Running     0          1h
metrics-deployer-pod-4vm9l   0/1       Completed   0          1h

When the hawkular-metrics pod is Running, then metrics are available to use.

@hferentschik
Copy link
Member

Thanks @jorgemoralespou, I did not know out of the top of my head which pod to monitor. I just remembered that there are multiple.

@hferentschik
Copy link
Member

@budhrg, metrics have been confirmed working by various people. I am going to close this issue. If you can provide something which re-producabily fails to provision metrics, we can reopen.

@coolbrg
Copy link
Contributor

coolbrg commented Apr 7, 2017

Hi @burrsutter ,

Above comment by @hferentschik was for you 😄 Thanks.

@hferentschik
Copy link
Member

Indeed ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants