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

[Doc] for Submariner 0.9+ operator image should be accessible before broker deploy #483

Closed
manosnoam opened this issue Apr 20, 2021 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@manosnoam
Copy link
Contributor

Since the merge of submariner-io/submariner-operator#1085
If using SubCtl with the override-images option, it is required to set access to those images before the subctl deploy broker command.
(With subtl 0.8.1, it was only required before the join command).

The following error happened when the operator-image was not accicble during the deployment of the broker:
https://qe-jenkins-csb-skynet.cloud.paas.psi.redhat.com/view/Debug/job/Maintenance/job/debug_job/1427/Test-Report/

$ subctl deploy-broker

 • Setting up broker RBAC  ...
 ✓ Setting up broker RBAC
 • Deploying the Submariner operator  ...
 ✗ Deploying the Submariner operator
 ✓ Created operator CRDs
 ✓ Created operator service account and role
 ✓ Updated the privileged SCC
 ✓ Created lighthouse service account and role
 ✓ Updated the privileged SCC
 ✓ Created Lighthouse service accounts and roles
Error deploying the operator: timed out waiting for the condition

subctl version: v0.9

Logs show:

18:04:38 Events:
18:04:38   Type     Reason          Age                  From                                                 Message
18:04:38   ----     ------          ----                 ----                                                 -------
18:04:38   Normal   Scheduled       <unknown>                                                                 Successfully assigned submariner-operator/submariner-operator-8d46d89b7-gtc4n to ip-10-1-190-237.us-east-2.compute.internal
18:04:38   Normal   AddedInterface  10m                  multus                                               Add eth0 [10.133.2.189/23]
18:04:38   Normal   Pulling         9m2s (x4 over 10m)   kubelet, ip-10-1-190-237.us-east-2.compute.internal  Pulling image "registry.redhat.io/rhacm2-tech-preview/submariner-operator-rhel8:v0.9"
18:04:38   Warning  Failed          9m1s (x4 over 10m)   kubelet, ip-10-1-190-237.us-east-2.compute.internal  Failed to pull image "registry.redhat.io/rhacm2-tech-preview/submariner-operator-rhel8:v0.9": rpc error: code = Unknown desc = (Mirrors also failed: [image-registry.openshift-image-registry.svc:5000/submariner-operator/submariner-operator-rhel8:v0.9: Error reading manifest v0.9 in image-registry.openshift-image-registry.svc:5000/submariner-operator/submariner-operator-rhel8: name unknown]): registry.redhat.io/rhacm2-tech-preview/submariner-operator-rhel8:v0.9: Error reading manifest v0.9 in registry.redhat.io/rhacm2-tech-preview/submariner-operator-rhel8: unknown: Not Found
18:04:38   Warning  Failed          9m1s (x4 over 10m)   kubelet, ip-10-1-190-237.us-east-2.compute.internal  Error: ErrImagePull
18:04:38   Normal   BackOff         8m47s (x6 over 10m)  kubelet, ip-10-1-190-237.us-east-2.compute.internal  Back-off pulling image "registry.redhat.io/rhacm2-tech-preview/submariner-operator-rhel8:v0.9"
18:04:38   Warning  Failed          26s (x43 over 10m)   kubelet, ip-10-1-190-237.us-east-2.compute.internal  Error: ImagePullBackOff
@manosnoam manosnoam added the documentation Improvements or additions to documentation label Apr 20, 2021
@manosnoam manosnoam added this to the 0.9-rc0 milestone Apr 20, 2021
@manosnoam manosnoam changed the title [Doc] for Submariner 0.9+ images should be ready before broker deploy [Doc] for Submariner 0.9+ operator image should be accessible before broker deploy Apr 20, 2021
manosnoam added a commit to manosnoam/ocp-multi-cluster-tester that referenced this issue Apr 20, 2021
@nyechiel nyechiel modified the milestones: 0.9-rc0, 0.9.0 Apr 20, 2021
@tpantelis
Copy link
Contributor

tpantelis commented Apr 30, 2021

I'm assuming you ran subctl deploy-broker with --repository and --version set. Those are used to obtain just the operator image. With the join command, we don't explicitly document that custom repo/images must be accessible. We can do that but, not trying to be facetious, shouldn't that be obvious/implied? The commands also take a kubeconfig but we don't explicitly say that it must exist and be available, that's implied.

@nyechiel nyechiel removed this from the 0.9.0 milestone May 2, 2021
@Jaanki
Copy link
Contributor

Jaanki commented May 6, 2021

I agree with @tpantelis here. If there is a consensus, can I close this?

@skitt
Copy link
Member

skitt commented May 6, 2021

I agree too, we shouldn’t need to document this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

5 participants