What happened:
When making a deployment (make deploy from https://github.com/submariner-io/submariner) from scratch and submariner related images are not in local "docker images", the lighthouse images (lighthouse-agent and lighthouse-coredns) are not pulled.
The lighthouse deployment pods have the "ImagePullBackOff" status.
$ kubectl --kubeconfig output/kubeconfigs/kind-config-cluster2 -n submariner-operator get pods
NAME READY STATUS RESTARTS AGE
submariner-gateway-zcrw9 1/1 Running 0 109s
submariner-lighthouse-agent-ccdbc9659-t8bv5 0/1 ImagePullBackOff 0 108s
submariner-lighthouse-coredns-557485fbc-pn45l 0/1 ImagePullBackOff 0 107s
submariner-lighthouse-coredns-557485fbc-wwm89 0/1 ImagePullBackOff 0 107s
submariner-operator-6675977db7-l5nl7 1/1 Running 0 2m2s
submariner-routeagent-276tw 1/1 Running 0 109s
submariner-routeagent-z89p5 1/1 Running 0 108s
submariner-routeagent-zth62 1/1 Running 0 108s
Deployments request the following images:
$ kubectl --kubeconfig output/kubeconfigs/kind-config-cluster2 -n submariner-operator describe deployment submariner-lighthouse-agent | grep -i image
Image: localhost:5000/lighthouse-agent:local
$ kubectl --kubeconfig output/kubeconfigs/kind-config-cluster2 -n submariner-operator describe deployment submariner-lighthouse-coredns | grep -i image
Image: localhost:5000/lighthouse-coredns:local
The "docker images" output (lighthouse image are missing):
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
quay.io/submariner/submariner-networkplugin-syncer dev 3b82d8483bdc 4 minutes ago 110MB
quay.io/submariner/submariner-networkplugin-syncer devel 3b82d8483bdc 4 minutes ago 110MB
submariner master f2814c74b8f7 11 minutes ago 800MB
quay.io/submariner/submariner-globalnet <none> 460ad9783141 50 minutes ago 124MB
quay.io/submariner/submariner-globalnet dev 6b44c121f332 50 minutes ago 124MB
quay.io/submariner/submariner-globalnet devel 6b44c121f332 50 minutes ago 124MB
localhost:5000/submariner-route-agent local ad6c3273b6d4 50 minutes ago 124MB
quay.io/submariner/submariner-route-agent dev ad6c3273b6d4 50 minutes ago 124MB
quay.io/submariner/submariner-route-agent devel ad6c3273b6d4 50 minutes ago 124MB
quay.io/submariner/submariner-route-agent <none> 1a3ee61d89bc 50 minutes ago 124MB
quay.io/submariner/submariner <none> 32c193e4b57b 50 minutes ago 245MB
localhost:5000/submariner local c17d290c5a16 50 minutes ago 245MB
quay.io/submariner/submariner dev c17d290c5a16 50 minutes ago 245MB
quay.io/submariner/submariner devel c17d290c5a16 50 minutes ago 245MB
localhost:5000/submariner-operator local 5dab07c69884 11 hours ago 10MB
quay.io/submariner/submariner-operator dev 5dab07c69884 11 hours ago 10MB
quay.io/submariner/submariner-operator devel 5dab07c69884 11 hours ago 10MB
quay.io/submariner/shipyard-dapper-base devel 45c574b97e56 17 hours ago 800MB
fedora 33 b3048463dcef 5 days ago 175MB
registry.access.redhat.com/ubi8/ubi-minimal latest c103a05423dd 2 weeks ago 103MB
localhost:5000/nettest local ed8d90d0ba28 3 weeks ago 24.3MB
quay.io/submariner/nettest dev ed8d90d0ba28 3 weeks ago 24.3MB
quay.io/submariner/nettest devel ed8d90d0ba28 3 weeks ago 24.3MB
quay.io/submariner/submariner-networkplugin-syncer <none> 1554c6f5835a 3 weeks ago 165MB
registry 2 2d4f4b5309b1 5 months ago 26.2MB
kindest/node v1.17.0 ec6ab22d89ef 10 months ago 1.23GB
If I pull the images manually, everything is working.
What you expected to happen:
The "make deploy" command should pull all requested images and prepare the environment.
How to reproduce it (as minimally and precisely as possible):
Delete all submariner related images from docker images.
Environment:
- Submariner version: v0.7.0
- Kubectl version: Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.4", GitCommit:"d360454c9bcd1634cf4cc52d1867af5491dc9c5f", GitTreeState:"clean", BuildDate:"2020-11-11T13:17:17Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}
- Kind version: 0.9.0
- OS: Fedora 33
- Kernel: Linux max 5.9.8-200.fc33.x86_64 #1 SMP Tue Nov 10 21:58:19 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
The docs troubleshooting guide is mentioning the lighthouse image issue, but I think that it should be happen automatically.