Bug 1460615
Summary: | Fake error reported by validate_deployment_artifacts in metrics deployer | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Xia Zhao <xiazhao> |
Component: | Hawkular | Assignee: | Matt Wringe <mwringe> |
Status: | CLOSED WONTFIX | QA Contact: | Junqi Zhao <juzhao> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 3.4.1 | CC: | aos-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-06-20 19:29:27 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Xia Zhao
2017-06-12 08:24:55 UTC
Issue reproduced for this 3.3.1 metrics deployer image: openshift3/ose-metrics-deployer 3.3.1 02b35ef44560 # openshift version openshift v3.3.1.35 kubernetes v1.3.0+52492b4 etcd 2.3.0+git The error message is very similar: ======================== --- validate_deployment_artifacts --- ======== RETRY ========= validate_deployment_artifacts: Pod hawkular-metrics-hdqzr from ReplicationController hawkular-metrics is in a Pending state. This is most often due to waiting for the container image to pull and should eventually resolve. * * * * Pod heapster-c5f8t from ReplicationController heapster is in a Pending state. This is most often due to waiting for the container image to pull and should eventually resolve. * * * * Will retry in 5 seconds. ======================== --- validate_deployment_artifacts --- ======== ERROR ========= validate_deployment_artifacts: Pod hawkular-metrics-hdqzr from ReplicationController hawkular-metrics is in a Pending state. This is most often due to waiting for the container image to pull and should eventually resolve. * * * * Pod heapster-c5f8t from ReplicationController heapster specified an image that cannot be pulled. ERROR: This is most often due to the image name being wrong or the docker registry being unavailable. Ensure that you used the correct IMAGE_PREFIX and IMAGE_VERSION with the deployment. There was an event for this pod with the following message: Failed to pull image "registry.access.stage.redhat.com/openshift3/ose-metrics-heapster:3.3.1": image pull failed for registry.access.stage.redhat.com/openshift3/ose-metrics-heapster:3.3.1, this may be because there are no credentials on this request. details: (net/http: request canceled) * * * * ======================== --- validate_deployed_project --- VALIDATION FAILED Tested again, it maybe it took a long time to pull images, then the deployer pod changed to Error status, if you pull images first then deploy the metrics, it does not have this issue. The deployer is acting as expected. It's OpenShift which is throwing that error: https://github.com/openshift/origin-metrics/blob/master/deployer/scripts/validate.sh#L311 If we encounter an error with OpenShift, we consider that there is something wrong. The deployer does not wait and see if that error will eventually resolve itself. This also doesn't affect the functionality of metrics. Metrics will still function as expected, even if the validation script fails. |