Skip to content

MCD CrashLoopBackOff skopeo inspect docker://://dummy ... invalid reference format #150

Closed

Description

@sjenning

MCD on worker is in CrashLoopBackOff

$ oc get machineconfig
NAME                               AGE
00-master                          14m
00-worker                          14m
3c6b6d8063551a7c8a4561755ea5bae5   14m
f0db02dc9fb258ad37bed110741198c1   14m

$ oc get pod -o wide
NAME                                         READY     STATUS             RESTARTS   AGE       IP               NODE                 NOMINATED NODE
machine-config-controller-57c78dc856-xkr6w   1/1       Running            0          15m       10.2.0.20        dev-master-0         <none>
machine-config-daemon-cgmdx                  0/1       CrashLoopBackOff   7          13m       192.168.126.51   dev-worker-0-qplk8   <none>
machine-config-daemon-dm8kj                  1/1       Running            0          14m       192.168.126.11   dev-master-0         <none>
machine-config-operator-76c4d5db69-xxt42     1/1       Running            0          18m       10.2.0.9         dev-master-0         <none>
machine-config-server-m565j                  1/1       Running            0          14m       192.168.126.11   dev-master-0         <none>

$ oc logs machine-config-daemon-dm8kj -n openshift-machine-config-operator
I1031 15:49:02.518478    7375 start.go:42] Version: 3.11.0-195-g214b930d-dirty
I1031 15:49:02.549275    7375 run.go:22] Running captured: chroot /rootfs rpm-ostree status --json
I1031 15:49:02.632582    7375 daemon.go:95] Booted osImageURL: registry.svc.ci.openshift.org/rhcos/maipo@sha256:cf407efbac50e1499c39a8fe4af46cb423aa87cb36264a25cff6c294bee342eb (47.36)
I1031 15:49:02.632690    7375 start.go:90] Calling chroot("/rootfs")
I1031 15:49:02.632738    7375 start.go:100] Starting MachineConfigDaemon
E1031 15:49:02.655460    7375 daemon.go:163] Marking degraded due to: machineconfigs.machineconfiguration.openshift.io "f0db02dc9fb258ad37bed110741198c1" not found

$ oc logs machine-config-daemon-cgmdx -n openshift-machine-config-operator
I1031 15:57:03.421947    5277 start.go:42] Version: 3.11.0-195-g214b930d-dirty
I1031 15:57:03.435575    5277 run.go:22] Running captured: chroot /rootfs rpm-ostree status --json
I1031 15:57:03.468033    5277 daemon.go:95] Booted osImageURL: registry.svc.ci.openshift.org/rhcos/maipo@sha256:cf407efbac50e1499c39a8fe4af46cb423aa87cb36264a25cff6c294bee342eb (47.36)
I1031 15:57:03.468098    5277 start.go:90] Calling chroot("/rootfs")
I1031 15:57:03.468110    5277 start.go:100] Starting MachineConfigDaemon
I1031 15:57:03.481394    5277 update.go:81] Checking if configs are reconcilable
I1031 15:57:03.496623    5277 update.go:31] Updating node with new config
I1031 15:57:03.496635    5277 update.go:81] Checking if configs are reconcilable
I1031 15:57:03.496643    5277 update.go:179] Updating files
I1031 15:57:03.496652    5277 update.go:367] Writing file "/etc/containers/registries.conf"
I1031 15:57:03.500388    5277 update.go:367] Writing file "/etc/hosts"
I1031 15:57:03.507316    5277 update.go:367] Writing file "/etc/sysconfig/crio-network"
I1031 15:57:03.513328    5277 update.go:367] Writing file "/etc/kubernetes/kubelet.conf"
I1031 15:57:03.518240    5277 update.go:367] Writing file "/etc/docker/certs.d/docker-registry.default.svc:5000/ca.crt"
I1031 15:57:03.522217    5277 update.go:367] Writing file "/etc/kubernetes/ca.crt"
I1031 15:57:03.527447    5277 update.go:301] Writing systemd unit "kubelet.service"
I1031 15:57:03.527667    5277 update.go:339] Enabling systemd unit "kubelet.service"
I1031 15:57:03.527694    5277 update.go:248] /etc/systemd/system/multi-user.target.wants/kubelet.service already exists. Not making a new symlink
I1031 15:57:03.527702    5277 update.go:200] Deleting stale data
I1031 15:57:03.527714    5277 update.go:460] Updating OS to ://dummy
I1031 15:57:03.527721    5277 run.go:13] Running: /bin/pivot ://dummy
pivot version 0.0.1
I1031 15:57:03.530508    5310 run.go:27] Running: rpm-ostree status --json
I1031 15:57:03.545927    5310 root.go:79] Previous pivot: registry.svc.ci.openshift.org/rhcos/maipo@sha256:cf407efbac50e1499c39a8fe4af46cb423aa87cb36264a25cff6c294bee342eb
I1031 15:57:03.545946    5310 run.go:27] Running: skopeo inspect docker://://dummy
time="2018-10-31T15:57:03Z" level=fatal msg="invalid reference format" 
F1031 15:57:03.560788    5310 run.go:33] skopeo: exit status 1
F1031 15:57:03.561170    5277 start.go:105] error checking initial state of node: exit status 255

Activity

  1. jlebon commented on Oct 31, 2018

    @jlebon
    Member

    Ahh right, we need to update the MCD to adapt to RHCOS now pre-pivoting, but not the installer. Will handle this.

    /assign jlebon

  2. added a commit that references this issue on Apr 13, 2021
  3. added a commit that references this issue on May 15, 2026
    a814724
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions