kubelet fails to resolve 'registry.local' while downloading vault/portieris images from local registry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Michel Thebeau [WIND] |
Bug Description
Brief Description
-----------------
Apply any application vault,portieris , the pods fails with "ImagePullBackOff" error since the
kubelet fails to resolve reference "registry.
Severity
--------
Major
Steps to Reproduce
------------------
1)Upload vault and apply
system application-upload /usr/local/
system application-apply vault
2)Now monitor the pods status as it fails to download the image form local registry
[sysadmin@
NAME READY STATUS RESTARTS AGE
sva-vault-0 0/1 ImagePullBackOff 0 10m
sva-vault-
sva-vault-manager-0 1/1 Running 0 10m
[sysadmin@
3)pod events
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 11m (x4 over 11m) default-scheduler running "VolumeBinding" filter plugin for pod "sva-vault-0": pod has unbound immediate PersistentVolum
Normal Scheduled 10m default-scheduler Successfully assigned vault/sva-vault-0 to controller-0
Normal SuccessfulAttac
Normal SuccessfulAttac
Normal Pulling 8m56s (x4 over 10m) kubelet, controller-0 Pulling image "registry.
Warning Failed 8m55s (x4 over 10m) kubelet, controller-0 Failed to pull image "registry.
Warning Failed 8m55s (x4 over 10m) kubelet, controller-0 Error: ErrImagePull
Warning Failed 8m29s (x7 over 10m) kubelet, controller-0 Error: ImagePullBackOff
Normal BackOff 22s (x42 over 10m) kubelet, controller-0 Back-off pulling image "registry.
4)Same issue for portieris images, i think it happens for any image from the local registry.
5)Also manual pull fails with "crictl"
[sysadmin@
FATA[0000] pulling image failed: rpc error: code = Unknown desc = failed to pull and unpack image "registry.
but works with docker pull
[sysadmin@
Password:
1.4.2: Pulling from vault
21c83c524219: Pull complete
d710f8cd918f: Pull complete
fd8d5779418b: Extracting [======
a42e38f40189: Download complete
95183e98f2b7: Download complete
Expected Behavior
------------------
Images should be successfully downloaded from local registry
Actual Behavior
----------------
Images fail to download from the local registry
Reproducibility
---------------
Reproducible
System Configuration
-------
standard controller duplex
Branch/Pull Time/Commit
-------
master approximately 2021-01-13
Last Pass
---------
probably before:
https:/
Timestamp/Logs
--------------
n/a
Test Activity
-------------
manual verification of issue
Changed in starlingx: | |
assignee: | nobody → Michel Thebeau [WIND] (mthebeau) |
assignee: | Michel Thebeau [WIND] (mthebeau) → nobody |
status: | New → In Progress |
description: | updated |
Changed in starlingx: | |
status: | Fix Committed → Fix Released |
Changed in starlingx: | |
status: | Fix Released → In Progress |
stx.5.0 / high - this issue results in the vault and portieris applications being unusable