Comment 15 for bug 1867398

Revision history for this message
Jorge Niedbalski (niedbalski) wrote :

The verification for eoan series has been performed using:

* Bundle http://paste.ubuntu.com/p/zBQfXWq77R/
* Following containerd config: https://paste.ubuntu.com/p/GDpjp2fd4t/

Annotations: Status: Pending
IP: 10.1.8.11
IPs:
  IP: 10.1.8.11
Containers:
  busybox:
    Container ID:
    Image: niedbalski-bastion.cloud.sts:5000/busybox:latest
    Image ID:
    Port: <none>
    Host Port: <none>
    Command:
      sleep
      3600
    State: Waiting
      Reason: ErrImagePull
    Ready: False
    Restart Count: 0
    Environment: <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-vwm4f (ro)
Conditions:
  Type Status
  Initialized True
  Ready False
  ContainersReady False
  PodScheduled True
Volumes:
  default-token-vwm4f:
    Type: Secret (a volume populated by a Secret)
    SecretName: default-token-vwm4f
    Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type Reason Age From Message
  ---- ------ ---- ---- -------
  Normal Scheduled <unknown> default-scheduler Successfully assigned default/busybox to juju-775746-00268738-1-4
  Warning FailedMount 17s kubelet, juju-775746-00268738-1-4 MountVolume.SetUp failed for volume "default-token-vwm4f" : failed to sync secret cache: timed out waiting for the condition
  Normal Pulling 11s kubelet, juju-775746-00268738-1-4 Pulling image "niedbalski-bastion.cloud.sts:5000/busybox:latest"
  Warning Failed 7s kubelet, juju-775746-00268738-1-4 Failed to pull image "niedbalski-bastion.cloud.sts:5000/busybox:latest": rpc error: code = Unknown desc = failed to pull and unpack image "niedbalski-bastion.cloud.sts:5000/busybox:latest": failed to resolve reference "niedbalski-bastion.cloud.sts:5000/busybox:latest": failed to do request: Head niedbalski-bastion.cloud.sts:///v2/busybox/manifests/latest: unsupported protocol scheme "niedbalski-bastion.cloud.sts"
  Warning Failed 7s kubelet, juju-775746-00268738-1-4 Error: ErrImagePull
  Normal BackOff 7s kubelet, juju-775746-00268738-1-4 Back-off pulling image "niedbalski-bastion.cloud.sts:5000/busybox:latest"
  Warning Failed 7s kubelet, juju-775746-00268738-1-4 Error: ImagePullBackOff
---

After applying the -proposed version 1.3.3-0ubuntu1~19.10.2

ubuntu@niedbalski-bastion:~/stsstack-bundles/kubernetes/00268738$ kubectl apply -f busybox.yaml
pod/busybox created
ubuntu@niedbalski-bastion:~/stsstack-bundles/kubernetes/00268738$ kubectl get pod -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
busybox 1/1 Running 0 4s 10.1.8.31 juju-775746-00268738-1-4 <none> <none>
ubuntu@niedbalski-bastion:~/stsstack-bundles/kubernetes/00268738$ juju run --application kubernetes-worker "sudo dpkg -l | grep containerd"
- Stdout: |
    ii containerd 1.3.3-0ubuntu1~19.10.2 amd64 daemon to control runC
  UnitId: kubernetes-worker/0

Therefore the patch fixes the regression.