-
Bug
-
Resolution: Obsolete
-
Critical
-
None
-
None
-
None
-
MacOsX
When running apb test following exception occurred
Found registry IP at: 172.30.1.1:5000 Finished writing dockerfile. Building APB using tag: [172.30.1.1:5000/openshift/aerogear-digger-apb] Successfully built APB image: 172.30.1.1:5000/openshift/aerogear-digger-apb Error accessing the docker API. Is the daemon running? Exception occurred! 500 Server Error: Internal Server Error ("Get http://172.30.1.1:5000/v2/: net/http: request canceled (Client.Timeout exceeded while awaiting headers)")
Services:
NAME | TYPE | CLUSTER-IP | EXTERNAL-IP | PORT(S) | AGE |
---|---|---|---|---|---|
docker-registry | ClusterIP | 172.30.1.1 | <none> | 5000/TCP | 1h |
kubernetes | ClusterIP | 172.30.0.1 | <none> | 443/TCP,53/UDP,53/TCP | 1h |
router | ClusterIP | 172.30.25.19 | <none> | 80/TCP,443/TCP,1936/TCP | 1h |
ACTUAL:
Routes:
No resources found.
EXPECTED:
docke-registry route should be exposed
Workaround of this issue
- Get docker registry
$ oc get route docker-registry -n default
docker_registry.default.<cluster_ip>.nip.io - Build the container image with apb build specifying the proper route:
$ apb build --tag <registry_route>/openshift/<my-apb> - Push the image to the local OpenShift Container Registry
$ docker login <registry_route> -u unused -p $(oc whoami -t)
$ docker push <registry_route>/openshift/<my-apb> - Force the OpenShift Ansible Broker to bootstrap
$ apb bootstrap - Relist the Service Catalog.
$ apb list
- links to