Importing APBs fail if an image repo in the dockerhub org doesn't have any tags
Closed this issue · 2 comments
siamaksade commented
If one of the image repositories in the Docker Hub organization that is defined for the broker has not tags, then none of the APBs from that organization get imported:
[2018-08-09T13:33:20.948Z] [INFO] - Validating specs...
--
| [2018-08-09T13:33:20.948Z] [NOTICE] - All specs passed validation!
| [2018-08-09T13:33:20.979Z] [NOTICE] - Broker successfully bootstrapped
| [2018-08-09T13:38:17.267Z] [INFO] - Broker configured to refresh specs every 5m0s seconds
| [2018-08-09T13:38:17.267Z] [INFO] - Attempting bootstrap at 2018-08-09 13:38:17.267877998 +0000 UTC
| [2018-08-09T13:38:17.268Z] [INFO] - AnsibleBroker::Bootstrap
| [2018-08-09T13:38:18.888Z] [INFO] - Validating specs...
| [2018-08-09T13:38:18.888Z] [NOTICE] - All specs passed validation!
| [2018-08-09T13:38:19.131Z] [INFO] - Validating specs...
| [2018-08-09T13:38:19.131Z] [NOTICE] - All specs passed validation!
| [2018-08-09T13:38:19.526Z] [ERROR] - Image 'docker.io/openshiftapb/cloudnative-istio-workshop-apb:ocp-3.9' may not exist in registry.
| [2018-08-09T13:38:19.526Z] [ERROR] - {"errors":[{"code":"MANIFEST_UNKNOWN","message":"manifest unknown","detail":{"Tag":"ocp-3.9"}}]}
docker.io/openshiftapb/cloudnative-istio-workshop-apb
had no tags at all while other repos had the correct ocp-3.9
tag. When this repo got deleted, then the other repositories got imported successfully.
OpenShift Master: v3.9.27
Kubernetes Master: v1.9.1+a0ce1bc657
dymurray commented
@siamaksade This appears fixed in latest release.
INFO Validating specs...
INFO All specs passed validation!
INFO Registry dylan has 1 valid APBs available from 63 images scanned
APB IMAGE REGISTRY
---------------- -+- --------------------------------------- -+- --------
minipos-test-apb | docker.io/dymurray/mini-dh-test-apb:foo | dylan
Would you be able to tell me the version of the broker?
jmrodri commented
Fixed as mentioned above.