# Panic: interface conversion: reference.repository is not reference.Tagged: missing method Tag

**URL:** <https://forums.suse.com/t/panic-interface-conversion-reference-repository-is-not-reference-tagged-missing-method-tag/20648>\
**Category:** General\
**Created:** [July 5, 2021, 12:00pm UTC](https://forums.suse.com/t/panic-interface-conversion-reference-repository-is-not-reference-tagged-missing-method-tag/20648 "2021-07-05T12:00:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fosiul](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/fosiul/32/7880_2.png) [@fosiul](https://forums.suse.com/u/fosiul)\
**Post date:** [July 5, 2021, 12:00pm UTC](https://forums.suse.com/t/panic-interface-conversion-reference-repository-is-not-reference-tagged-missing-method-tag/20648/1 "2021-07-05T12:00:38Z")

</div>

Hello All,  
I need help.  
When I am doing “rke up”  
then every time it stopped in bellow lines

I updated the cluster.yml , error from workstation and error from master nodes

Can anyone please tell me what I am doing wrong?  
Thanks for your help

panic: interface conversion: reference.repository is not reference.Tagged: missing method Tag

> INFO[0041] Pre-pulling kubernetes images  
> INFO[0041] Pulling image [ls] on host [192.168.0.63], try #1  
> INFO[0041] Pulling image [ls] on host [192.168.0.61], try #1  
> INFO[0041] Pulling image [ls] on host [192.168.0.64], try #1  
> INFO[0041] Pulling image [ls] on host [192.168.0.62], try #1  
> INFO[0041] Pulling image [ls] on host [192.168.0.60], try #1  
> INFO[0043] Pulling image [ls] on host [192.168.0.63], try #1  
> INFO[0043] Pulling image [ls] on host [192.168.0.64], try #1  
> INFO[0043] Pulling image [ls] on host [192.168.0.62], try #1  
> INFO[0043] Pulling image [ls] on host [192.168.0.60], try #1  
> INFO[0043] Pulling image [ls] on host [192.168.0.61], try #1  
> INFO[0047] Pulling image [ls] on host [192.168.0.63], try #1  
> INFO[0047] Pulling image [ls] on host [192.168.0.64], try #1  
> INFO[0047] Pulling image [ls] on host [192.168.0.60], try #1  
> INFO[0047] Pulling image [ls] on host [192.168.0.61], try #1  
> INFO[0047] Pulling image [ls] on host [192.168.0.62], try #1  
> INFO[0048] Kubernetes images pulled successfully  
> panic: interface conversion: reference.repository is not reference.Tagged: missing method Tag
> 
> goroutine 1 [running]:  
> [github.com/rancher/rke/util.GetImageTagFromImage](http://github.com/rancher/rke/util.GetImageTagFromImage)(0xc000685880, 0x2, 0xc00049b626, 0x5, 0x27c6c60, 0x0)  
> /go/src/github.com/rancher/rke/util/util.go:115 +0x97  
> [github.com/rancher/rke/cluster.(\*Cluster).getDefaultKubernetesServicesOptions](http://github.com/rancher/rke/cluster.(*Cluster).getDefaultKubernetesServicesOptions)(0xc0003f7800, 0xc00089cd80, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1176e4f, …)  
> /go/src/github.com/rancher/rke/cluster/plan.go:1024 +0x240  
> [github.com/rancher/rke/cluster.(\*Cluster).GetKubernetesServicesOptions](http://github.com/rancher/rke/cluster.(*Cluster).GetKubernetesServicesOptions)(0xc0003f7800, 0xc00089cd80, 0x5, 0xc0007ba3a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, …)  
> /go/src/github.com/rancher/rke/cluster/plan.go:998 +0xea  
> [github.com/rancher/rke/cluster.(\*Cluster).DeployControlPlane](http://github.com/rancher/rke/cluster.(*Cluster).DeployControlPlane)(0xc0003f7800, 0x1b3e100, 0xc0000b8010, 0xc0007ba3a0, 0x0, 0x0, 0x19, 0xb, 0x0)  
> /go/src/github.com/rancher/rke/cluster/cluster.go:123 +0x201  
> [github.com/rancher/rke/cmd.ClusterUp](http://github.com/rancher/rke/cmd.ClusterUp)(0x1b3e100, 0xc0000b8010, 0x0, 0x0, 0x0, 0x0, 0x0, 0x18c0481, 0xb, 0x0, …)  
> /go/src/github.com/rancher/rke/cmd/up.go:195 +0xcee  
> [github.com/rancher/rke/cmd.clusterUpFromCli](http://github.com/rancher/rke/cmd.clusterUpFromCli)(0xc00021b4a0, 0x0, 0xc00021b4a0)  
> /go/src/github.com/rancher/rke/cmd/up.go:302 +0x65e  
> [github.com/urfave/cli.HandleAction](http://github.com/urfave/cli.HandleAction)(0x1656be0, 0x19790a8, 0xc00021b4a0, 0xc000287e00, 0x0)  
> /go/pkg/mod/github.com/urfave/cli@v1.20.0/app.go:490 +0xc8  
> [github.com/urfave/cli.Command.Run](http://github.com/urfave/cli.Command.Run)(0x18b975a, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x18cb227, 0x14, 0x0, …)  
> /go/pkg/mod/github.com/urfave/cli@v1.20.0/command.go:210 +0x991  
> [github.com/urfave/cli.(\*App).Run](http://github.com/urfave/cli.(*App).Run)(0xc000133520, 0xc0000b0020, 0x2, 0x2, 0x0, 0x0)  
> /go/pkg/mod/github.com/urfave/cli@v1.20.0/app.go:255 +0x6ab  
> main.mainErr(0xc000218fc0, 0x1afe400)  
> /go/src/github.com/rancher/rke/main.go:79 +0x14b9  
> main.main()  
> /go/src/github.com/rancher/rke/main.go:24 +0x4e

my cluster.yml

> [rke@localhost ~]$ cat cluster.yml
> 
> # If you intened to deploy Kubernetes in an air-gapped environment,
> 
> # please consult the documentation on how to configure custom RKE images.
> 
> nodes:
> 
> - address: 192.168.0.60  
> port: “22”  
> internal\_address: “”  
> role:
> - controlplane
> - etcd  
> hostname\_override: “”  
> user: rke  
> docker\_socket: /var/run/docker.sock  
> ssh\_key: “”  
> ssh\_key\_path: ~/.ssh/id\_rsa  
> ssh\_cert: “”  
> ssh\_cert\_path: “”  
> labels: {}  
> taints: 
> 
> - address: 192.168.0.61  
> port: “22”  
> internal\_address: “”  
> role:
> - controlplane
> - etcd  
> hostname\_override: “”  
> user: rke  
> docker\_socket: /var/run/docker.sock  
> ssh\_key: “”  
> ssh\_key\_path: ~/.ssh/id\_rsa  
> ssh\_cert: “”  
> ssh\_cert\_path: “”  
> labels: {}  
> taints: 
> 
> - address: 192.168.0.62  
> port: “22”  
> internal\_address: “”  
> role:
> - controlplane
> - etcd  
> hostname\_override: “”  
> user: rke  
> docker\_socket: /var/run/docker.sock  
> ssh\_key: “”  
> ssh\_key\_path: ~/.ssh/id\_rsa  
> ssh\_cert: “”  
> ssh\_cert\_path: “”  
> labels: {}  
> taints: 
> 
> - address: 192.168.0.63  
> port: “22”  
> internal\_address: “”  
> role:
> - worker  
> hostname\_override: “”  
> user: rke  
> docker\_socket: /var/run/docker.sock  
> ssh\_key: “”  
> ssh\_key\_path: ~/.ssh/id\_rsa  
> ssh\_cert: “”  
> ssh\_cert\_path: “”  
> labels: {}  
> taints: 
> 
> - address: 192.168.0.64  
> port: “22”  
> internal\_address: “”  
> role:
> - worker  
> hostname\_override: “”  
> user: rke  
> docker\_socket: /var/run/docker.sock  
> ssh\_key: “”  
> ssh\_key\_path: ~/.ssh/id\_rsa  
> ssh\_cert: “”  
> ssh\_cert\_path: “”  
> labels: {}  
> taints:   
> services:  
> etcd:  
> image: “”  
> extra\_args: {}  
> extra\_binds:   
> extra\_env:   
> win\_extra\_args: {}  
> win\_extra\_binds:   
> win\_extra\_env:   
> external\_urls:   
> ca\_cert: “”  
> cert: “”  
> key: “”  
> path: “”  
> uid: 0  
> gid: 0  
> snapshot: null  
> retention: “”  
> creation: “”  
> backup\_config: null  
> kube-api:  
> image: “”  
> extra\_args: {}  
> extra\_binds:   
> extra\_env:   
> win\_extra\_args: {}  
> win\_extra\_binds:   
> win\_extra\_env:   
> service\_cluster\_ip\_range: 10.43.0.0/16  
> service\_node\_port\_range: “”  
> pod\_security\_policy: false  
> always\_pull\_images: false  
> secrets\_encryption\_config: null  
> audit\_log: null  
> admission\_configuration: null  
> event\_rate\_limit: null  
> kube-controller:  
> image: “”  
> extra\_args: {}  
> extra\_binds:   
> extra\_env:   
> win\_extra\_args: {}  
> win\_extra\_binds:   
> win\_extra\_env:   
> cluster\_cidr: 10.42.0.0/16  
> service\_cluster\_ip\_range: 10.43.0.0/16  
> scheduler:  
> image: “”  
> extra\_args: {}  
> extra\_binds:   
> extra\_env:   
> win\_extra\_args: {}  
> win\_extra\_binds:   
> win\_extra\_env:   
> kubelet:  
> image: “”  
> extra\_args: {}  
> extra\_binds:   
> extra\_env:   
> win\_extra\_args: {}  
> win\_extra\_binds:   
> win\_extra\_env:   
> cluster\_domain: rke  
> infra\_container\_image: “”  
> cluster\_dns\_server: 10.43.0.10  
> fail\_swap\_on: false  
> generate\_serving\_certificate: false  
> kubeproxy:  
> image: “”  
> extra\_args: {}  
> extra\_binds:   
> extra\_env:   
> win\_extra\_args: {}  
> win\_extra\_binds:   
> win\_extra\_env:   
> network:  
> plugin: calico  
> options: {}  
> mtu: 0  
> node\_selector: {}  
> update\_strategy: null  
> tolerations:   
> authentication:  
> strategy: x509  
> sans:   
> webhook: null  
> addons: “”  
> addons\_include:   
> system\_images:  
> etcd: rancher/coreos-etcd:v3.4.15-rancher1  
> alpine: rancher/rke-tools:v0.1.75  
> nginx\_proxy: rancher/rke-tools:v0.1.75  
> cert\_downloader: rancher/rke-tools:v0.1.75  
> kubernetes\_services\_sidecar: rancher/rke-tools:v0.1.75  
> kubedns: rancher/k8s-dns-kube-dns:1.15.2  
> dnsmasq: rancher/k8s-dns-dnsmasq-nanny:1.15.2  
> kubedns\_sidecar: rancher/k8s-dns-sidecar:1.15.2  
> kubedns\_autoscaler: rancher/cluster-proportional-autoscaler:1.7.1  
> coredns: rancher/coredns-coredns:1.6.9  
> coredns\_autoscaler: rancher/cluster-proportional-autoscaler:1.7.1  
> nodelocal: rancher/k8s-dns-node-cache:1.15.7  
> kubernetes: ls  
> flannel: rancher/coreos-flannel:v0.12.0  
> flannel\_cni: rancher/flannel-cni:v0.3.0-rancher6  
> calico\_node: rancher/calico-node:v3.13.4  
> calico\_cni: rancher/calico-cni:v3.13.4  
> calico\_controllers: rancher/calico-kube-controllers:v3.13.4  
> calico\_ctl: rancher/calico-ctl:v3.13.4  
> calico\_flexvol: rancher/calico-pod2daemon-flexvol:v3.13.4  
> canal\_node: rancher/calico-node:v3.13.4  
> canal\_cni: rancher/calico-cni:v3.13.4  
> canal\_flannel: rancher/coreos-flannel:v0.12.0  
> canal\_flexvol: rancher/calico-pod2daemon-flexvol:v3.13.4  
> weave\_node: weaveworks/weave-kube:2.6.4  
> weave\_cni: weaveworks/weave-npc:2.6.4  
> pod\_infra\_container: rancher/pause:3.1  
> ingress: rancher/nginx-ingress-controller:nginx-0.35.0-rancher2  
> ingress\_backend: rancher/nginx-ingress-controller-defaultbackend:1.5-rancher1  
> metrics\_server: rancher/metrics-server:v0.3.6  
> windows\_pod\_infra\_container: rancher/kubelet-pause:v0.1.6  
> ssh\_key\_path: ~/.ssh/id\_rsa  
> ssh\_cert\_path: “”  
> ssh\_agent\_auth: false  
> authorization:  
> mode: rbac  
> options: {}  
> ignore\_docker\_version: null  
> kubernetes\_version: “”  
> private\_registries:   
> ingress:  
> provider: “”  
> options: {}  
> node\_selector: {}  
> extra\_args: {}  
> dns\_policy: “”  
> extra\_envs:   
> extra\_volumes:   
> extra\_volume\_mounts:   
> update\_strategy: null  
> http\_port: 0  
> https\_port: 0  
> network\_mode: “”  
> tolerations:   
> cluster\_name: “”  
> cloud\_provider:  
> name: “”  
> prefix\_path: “”  
> win\_prefix\_path: “”  
> addon\_job\_timeout: 0  
> bastion\_host:  
> address: “”  
> port: “”  
> user: “”  
> ssh\_key: “”  
> ssh\_key\_path: “”  
> ssh\_cert: “”  
> ssh\_cert\_path: “”  
> monitoring:  
> provider: “”  
> options: {}  
> node\_selector: {}  
> update\_strategy: null  
> replicas: null  
> tolerations:   
> restore:  
> restore: false  
> snapshot\_name: “”  
> dns: null

**in master node I get this**

> Jul 5 12:50:07 rke-master-01 dockerd-current: time=“2021-07-05T12:50:07.067500851+01:00” level=error msg=“Not continuing with pull after error: errors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n”  
> Jul 5 12:50:07 rke-master-01 dockerd-current: time=“2021-07-05T12:50:07.067596674+01:00” level=info msg=“Ignoring extra error returned from registry: unauthorized: authentication required”  
> Jul 5 12:50:07 rke-master-01 dockerd-current: time=“2021-07-05T12:50:07.067666250+01:00” level=info msg=“Translating "denied: requested access to the resource is denied" to "repository [docker.io/ls](http://docker.io/ls) not found: does not exist or no pull access"”

---

<div class="post-metadata">

**Author:** ![superseb](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/superseb/32/2424_2.png) [@superseb](https://forums.suse.com/u/superseb)\
**Post date:** [July 6, 2021, 7:00am UTC](https://forums.suse.com/t/panic-interface-conversion-reference-repository-is-not-reference-tagged-missing-method-tag/20648/2 "2021-07-06T07:00:58Z")

</div>

```auto
kubernetes: ls

```

Not sure why the image for kubernetes is set to `ls` but it makes sense that RKE is trying to pull the image `ls` if you configure that. In general, I would step away from using `system_images` and remove it from `cluster.yml` and configure `kubernetes_version` based on versions that are listed when you use `rke config -l -a`.
