Bug 1541339
| Summary: | [APB] The names of the deploy pods should be more readable | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jian Zhang <jiazha> |
| Component: | Service Broker | Assignee: | Dylan Murray <dymurray> |
| Status: | CLOSED ERRATA | QA Contact: | Jian Zhang <jiazha> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.9.0 | CC: | aos-bugs, chezhang, jmatthew |
| Target Milestone: | --- | ||
| Target Release: | 3.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-03-28 14:25:43 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
Jian Zhang
2018-02-02 10:25:56 UTC
The apb tool version: 1.1.7 [root@localhost postgresql-apb]# apb version Version: apb-1.1.7 Steps: 1, Enable the ASB to develop mode and log in the cluster. 2, Get the docker registry route and add it to your local docker registry. [root@host-172-16-120-90 ~]# oc get route -n default NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD docker-registry docker-registry-default.apps.0222-f3r.qe.rhcloud.com docker-registry <all> passthrough None #vi /etc/sysconfig/docker #systemctl restart docker 3, Log in the cluster and provision an APB. [root@localhost postgresql-apb]# apb run --project test --registry-route docker-registry-default.apps.0222-f3r.qe.rhcloud.com --dockerfile Dockerfile-latest Finished writing dockerfile. Building APB using tag: [docker-registry-default.apps.0222-f3r.qe.rhcloud.com/openshift/postgresql-apb] Successfully built APB image: docker-registry-default.apps.0222-f3r.qe.rhcloud.com/openshift/postgresql-apb Pushing the image, this could take a minute... Successfully pushed image: docker-registry-default.apps.0222-f3r.qe.rhcloud.com/openshift/postgresql-apb Select plan [dev, prod]: dev postgresql_database(required)[default: admin]: postgresql_user(required)[default: admin]: postgresql_password(required): test postgresql_version(required)[default: 9.6]: Creating project test Project test already exists Creating service account in test Created service account Creating role binding for apb-run-provision-postgresql-apb in test Created Role Binding Creating pod with image docker-registry-default.apps.0222-f3r.qe.rhcloud.com/openshift/postgresql-apb in test Created Pod APB run started Pod in phase: Pending ... APB run failed: (APB failed ImagePullBackOff - check name) Reason: None 4, Deprovision it. [root@localhost postgresql-apb]# apb run --project test --registry-route docker-registry-default.apps.0222-f3r.qe.rhcloud.com --dockerfile Dockerfile-latest --action deprovision Finished writing dockerfile. Building APB using tag: [docker-registry-default.apps.0222-f3r.qe.rhcloud.com/openshift/postgresql-apb] Successfully built APB image: docker-registry-default.apps.0222-f3r.qe.rhcloud.com/openshift/postgresql-apb Pushing the image, this could take a minute... Successfully pushed image: docker-registry-default.apps.0222-f3r.qe.rhcloud.com/openshift/postgresql-apb Select plan [dev, prod]: dev postgresql_database(required)[default: admin]: postgresql_user(required)[default: admin]: postgresql_password(required): test postgresql_version(required)[default: 9.6]: Creating project test Project test already exists Creating service account in test Created service account Creating role binding for apb-run-deprovision-postgresql-apb in test Created Role Binding Creating pod with image docker-registry-default.apps.0222-f3r.qe.rhcloud.com/openshift/postgresql-apb in test Created Pod APB run started Pod in phase: Pending ... APB run failed: (APB failed ImagePullBackOff - check name) Reason: None 5, Check these deploy pods, we can see their names are clear and easy to read. [root@host-172-16-120-90 ~]# oc get pods -n test NAME READY STATUS RESTARTS AGE apb-run-deprovision-postgresql-apb9sttc 0/1 ImagePullBackOff 0 15m apb-run-provision-postgresql-apbh4km7 0/1 ImagePullBackOff 0 1h The above `ImagePullBackOff` errors are tracking in bug 1541903. And for this fix, it looks good to me. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0489 |