Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing APBs fail if an image repo in the dockerhub org doesn't have any tags #1037

Closed
siamaksade opened this issue Aug 9, 2018 · 2 comments
Assignees
Labels
3.12 | release-1.4 Kubernetes 1.12 | Openshift 3.12 | Broker release-1.4

Comments

@siamaksade
Copy link

siamaksade commented Aug 9, 2018

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

@siamaksade siamaksade added bug 3.9 | release-1.1 Kubernetes 1.9 | Openshift 3.9 | Broker release-1.1 and removed 3.9 | release-1.1 Kubernetes 1.9 | Openshift 3.9 | Broker release-1.1 labels Aug 9, 2018
@jmrodri jmrodri added the 3.11 | release-1.3 Kubernetes 1.11 | Openshift 3.11 | Broker release-1.3 label Aug 21, 2018
@dymurray
Copy link
Member

@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 jmrodri added 3.12 | release-1.4 Kubernetes 1.12 | Openshift 3.12 | Broker release-1.4 and removed 3.11 | release-1.3 Kubernetes 1.11 | Openshift 3.11 | Broker release-1.3 labels Sep 14, 2018
@jmrodri
Copy link
Contributor

jmrodri commented Nov 12, 2018

Fixed as mentioned above.

@jmrodri jmrodri closed this as completed Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 | release-1.4 Kubernetes 1.12 | Openshift 3.12 | Broker release-1.4
Projects
None yet
Development

No branches or pull requests

3 participants