redhat-helloworld-msa / helloworld-msa

Main repository with documentation and support files
Apache License 2.0
229 stars 158 forks source link

Added instructions for Hawkular APM #15

Closed jpkrohling closed 7 years ago

jpkrohling commented 8 years ago

Note: I believe the readme.html should not be on git, but as it was there, I'm sending a change for it as well.

@objectiser : would you please review this?

@jotak : would you test the instructions, please? Running the "ansible" approach + the "Hawkular APM" part should be enough.

jpkrohling commented 8 years ago

@rafabene , would you please check whether the text is in line with the other parts?

jotak commented 8 years ago

will test the ansible instructions with APM

jotak commented 8 years ago

Got some "manifest unknown" error when trying to pull the hawkular-apm-server image when running oc new-app jboss/hawkular-apm-server:

2016-09-23T14:37:34+02:00 2016-09-23T14:35:52+02:00 4 hawkular-apm-server-1-7l5cm Pod spec.containers{hawkular-apm-server} Normal Pulling {kubelet rhel-cdk} pulling image "jboss/hawkular-apm-server@sha256:64663f7e4dfba67416dab5568a9176e03330ccc307ab3d5635caba8dcde4343a" 2016-09-23T14:37:38+02:00 2016-09-23T14:35:57+02:00 4 hawkular-apm-server-1-7l5cm Pod spec.containers{hawkular-apm-server} Warning Failed {kubelet rhel-cdk} Failed to pull image "jboss/hawkular-apm-server@sha256:64663f7e4dfba67416dab5568a9176e03330ccc307ab3d5635caba8dcde4343a": manifest unknown: manifest unknown 2016-09-23T14:37:38+02:00 2016-09-23T14:35:57+02:00 4 hawkular-apm-server-1-7l5cm Pod Warning FailedSync {kubelet rhel-cdk} Error syncing pod, skipping: failed to "StartContainer" for "hawkular-apm-server" with ErrImagePull: "manifest unknown: manifest unknown"

objectiser commented 8 years ago

Looks like a known issue: https://blog.openshift.com/openshift-and-manifest-unknown/

Other approach is to clone the Hawkular dockerfiles: https://github.com/jboss-dockerfiles/hawkular and deploy the same as the other MSA services?

rafabene commented 7 years ago

I've tried this PR but I faced the following issue when deploy hawkular: Failed to pull image "jboss/hawkular-apm-server@sha256:64663f7e4dfba67416dab5568a9176e03330ccc307ab3d5635caba8dcde4343a": manifest unknown: manifest unknown

It seems that this hawkular docker image uses the new format that it's not yet supported by OSE 3.2. Can you verify that, please? How did you do to run hawkular in CDK?

Thanks

objectiser commented 7 years ago

@rafabene Yes we had this problem too, as described in my previous comment. So until openshift supports this approach, we will have to update the PR to describe cloning the hawkular dockerfile repo and use the "oc new-build", "oc new-app" approach.

Juca will be back from PTO soon, so will be able to fix the PR. But if you could give the alternate approach a try that would be great.

objectiser commented 7 years ago

This PR can be closed.