Activity log for bug #1901049

Date Who What changed Old value New value Message
2020-10-22 15:33:56 Chris Johnston bug added bug
2020-10-22 15:35:23 Chris Johnston description It appears as though custom_registries needs functional test $ juju run -a containerd "grep 'registry.example.com' /etc/containerd/config.toml" - Stdout: |2 [plugins.cri.registry.configs."registry.example.com".tls] ca_file = "/etc/containerd/registry.example.com.ca" UnitId: containerd/0 - Stdout: |2 [plugins.cri.registry.configs."registry.example.com".tls] ca_file = "/etc/containerd/registry.example.com.ca" UnitId: containerd/2 - Stdout: |2 [plugins.cri.registry.configs."registry.example.com".tls] ca_file = "/etc/containerd/registry.example.com.ca" UnitId: containerd/3 - Stdout: |2 [plugins.cri.registry.configs."registry.example.com".tls] ca_file = "/etc/containerd/registry.example.com.ca" UnitId: containerd/5 - Stdout: |2 [plugins.cri.registry.configs."registry.example.com".tls] ca_file = "/etc/containerd/registry.example.com.ca" UnitId: containerd/1 - Stdout: |2 [plugins.cri.registry.configs."registry.example.com".tls] ca_file = "/etc/containerd/registry.example.com.ca" UnitId: containerd/4 - Stdout: |2 [plugins.cri.registry.configs."registry.example.com".tls] ca_file = "/etc/containerd/registry.example.com.ca" UnitId: containerd/6 $ juju run -a containerd "ls -la /etc/containerd/" - Stdout: | total 16 drwxr-xr-x 2 root root 4096 Oct 21 17:11 . drwxr-xr-x 117 root root 4096 Oct 21 14:32 .. -r--r--r-- 1 root root 2166 Oct 22 15:23 config.toml -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca UnitId: containerd/0 - Stdout: | total 16 drwxr-xr-x 2 root root 4096 Oct 21 17:11 . drwxr-xr-x 117 root root 4096 Oct 21 14:33 .. -r--r--r-- 1 root root 2166 Oct 22 15:23 config.toml -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca UnitId: containerd/3 - Stdout: | total 16 drwxr-xr-x 2 root root 4096 Oct 21 17:11 . drwxr-xr-x 109 root root 4096 Oct 21 15:12 .. -r--r--r-- 1 root root 2166 Oct 22 15:24 config.toml -rw-r--r-- 1 root root 1939 Oct 22 15:24 registry.example.com.ca UnitId: containerd/5 - Stdout: | total 16 drwxr-xr-x 2 root root 4096 Oct 21 17:12 . drwxr-xr-x 108 root root 4096 Oct 21 14:57 .. -r--r--r-- 1 root root 2165 Oct 22 15:25 config.toml -rw-r--r-- 1 root root 1939 Oct 22 15:25 registry.example.com.ca UnitId: containerd/6 - Stdout: | total 16 drwxr-xr-x 2 root root 4096 Oct 21 17:11 . drwxr-xr-x 108 root root 4096 Oct 21 14:49 .. -r--r--r-- 1 root root 2165 Oct 22 15:25 config.toml -rw-r--r-- 1 root root 1939 Oct 22 15:25 registry.example.com.ca UnitId: containerd/4 - Stdout: | total 24 drwxr-xr-x 2 root root 4096 Oct 21 17:11 . drwxr-xr-x 117 root root 12288 Oct 21 14:33 .. -r--r--r-- 1 root root 2166 Oct 22 15:23 config.toml -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca UnitId: containerd/2 - Stdout: | total 24 drwxr-xr-x 2 root root 4096 Oct 21 17:11 . drwxr-xr-x 117 root root 12288 Oct 21 14:33 .. -r--r--r-- 1 root root 2166 Oct 22 15:23 config.toml -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca UnitId: containerd/1 $ juju config containerd --reset custom_registries $ juju run -a containerd "grep 'registry.example.com' /etc/containerd/config.toml" - ReturnCode: 1 Stdout: "" UnitId: containerd/1 - ReturnCode: 1 Stdout: "" UnitId: containerd/2 - ReturnCode: 1 Stdout: "" UnitId: containerd/4 - ReturnCode: 1 Stdout: "" UnitId: containerd/0 - ReturnCode: 1 Stdout: "" UnitId: containerd/3 - ReturnCode: 1 Stdout: "" UnitId: containerd/5 - ReturnCode: 1 Stdout: "" UnitId: containerd/6 $ juju run -a containerd "ls -la /etc/containerd/" - Stdout: | total 24 drwxr-xr-x 2 root root 4096 Oct 21 17:11 . drwxr-xr-x 117 root root 12288 Oct 21 14:33 .. -r--r--r-- 1 root root 1815 Oct 22 15:29 config.toml -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca UnitId: containerd/2 - Stdout: | total 16 drwxr-xr-x 2 root root 4096 Oct 21 17:11 . drwxr-xr-x 117 root root 4096 Oct 21 14:33 .. -r--r--r-- 1 root root 1815 Oct 22 15:29 config.toml -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca UnitId: containerd/3 - Stdout: | total 24 drwxr-xr-x 2 root root 4096 Oct 21 17:11 . drwxr-xr-x 117 root root 12288 Oct 21 14:33 .. -r--r--r-- 1 root root 1815 Oct 22 15:29 config.toml -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca UnitId: containerd/1 - Stdout: | total 16 drwxr-xr-x 2 root root 4096 Oct 21 17:11 . drwxr-xr-x 109 root root 4096 Oct 21 15:12 .. -r--r--r-- 1 root root 1815 Oct 22 15:31 config.toml -rw-r--r-- 1 root root 1939 Oct 22 15:24 registry.example.com.ca UnitId: containerd/5 - Stdout: | total 16 drwxr-xr-x 2 root root 4096 Oct 21 17:12 . drwxr-xr-x 108 root root 4096 Oct 21 14:57 .. -r--r--r-- 1 root root 1814 Oct 22 15:30 config.toml -rw-r--r-- 1 root root 1939 Oct 22 15:25 registry.example.com.ca UnitId: containerd/6 - Message: action terminated UnitId: containerd/0 - Stdout: | total 16 drwxr-xr-x 2 root root 4096 Oct 21 17:11 . drwxr-xr-x 108 root root 4096 Oct 21 14:49 .. -r--r--r-- 1 root root 1814 Oct 22 15:30 config.toml -rw-r--r-- 1 root root 1939 Oct 22 15:25 registry.example.com.ca UnitId: containerd/4 It appears as though custom_registries needs functional test $ juju config containerd custom_registries='[{"url": "registry.example.com", "ca_file": ".....=="}]' $ juju run -a containerd "grep 'registry.example.com' /etc/containerd/config.toml" - Stdout: |2             [plugins.cri.registry.configs."registry.example.com".tls]               ca_file = "/etc/containerd/registry.example.com.ca"   UnitId: containerd/0 - Stdout: |2             [plugins.cri.registry.configs."registry.example.com".tls]               ca_file = "/etc/containerd/registry.example.com.ca"   UnitId: containerd/2 - Stdout: |2             [plugins.cri.registry.configs."registry.example.com".tls]               ca_file = "/etc/containerd/registry.example.com.ca"   UnitId: containerd/3 - Stdout: |2             [plugins.cri.registry.configs."registry.example.com".tls]               ca_file = "/etc/containerd/registry.example.com.ca"   UnitId: containerd/5 - Stdout: |2             [plugins.cri.registry.configs."registry.example.com".tls]               ca_file = "/etc/containerd/registry.example.com.ca"   UnitId: containerd/1 - Stdout: |2             [plugins.cri.registry.configs."registry.example.com".tls]               ca_file = "/etc/containerd/registry.example.com.ca"   UnitId: containerd/4 - Stdout: |2             [plugins.cri.registry.configs."registry.example.com".tls]               ca_file = "/etc/containerd/registry.example.com.ca"   UnitId: containerd/6 $ juju run -a containerd "ls -la /etc/containerd/" - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 117 root root 4096 Oct 21 14:32 ..     -r--r--r-- 1 root root 2166 Oct 22 15:23 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca   UnitId: containerd/0 - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 117 root root 4096 Oct 21 14:33 ..     -r--r--r-- 1 root root 2166 Oct 22 15:23 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca   UnitId: containerd/3 - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 109 root root 4096 Oct 21 15:12 ..     -r--r--r-- 1 root root 2166 Oct 22 15:24 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:24 registry.example.com.ca   UnitId: containerd/5 - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:12 .     drwxr-xr-x 108 root root 4096 Oct 21 14:57 ..     -r--r--r-- 1 root root 2165 Oct 22 15:25 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:25 registry.example.com.ca   UnitId: containerd/6 - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 108 root root 4096 Oct 21 14:49 ..     -r--r--r-- 1 root root 2165 Oct 22 15:25 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:25 registry.example.com.ca   UnitId: containerd/4 - Stdout: |     total 24     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 117 root root 12288 Oct 21 14:33 ..     -r--r--r-- 1 root root 2166 Oct 22 15:23 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca   UnitId: containerd/2 - Stdout: |     total 24     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 117 root root 12288 Oct 21 14:33 ..     -r--r--r-- 1 root root 2166 Oct 22 15:23 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca   UnitId: containerd/1 $ juju config containerd --reset custom_registries $ juju run -a containerd "grep 'registry.example.com' /etc/containerd/config.toml" - ReturnCode: 1   Stdout: ""   UnitId: containerd/1 - ReturnCode: 1   Stdout: ""   UnitId: containerd/2 - ReturnCode: 1   Stdout: ""   UnitId: containerd/4 - ReturnCode: 1   Stdout: ""   UnitId: containerd/0 - ReturnCode: 1   Stdout: ""   UnitId: containerd/3 - ReturnCode: 1   Stdout: ""   UnitId: containerd/5 - ReturnCode: 1   Stdout: ""   UnitId: containerd/6 $ juju run -a containerd "ls -la /etc/containerd/" - Stdout: |     total 24     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 117 root root 12288 Oct 21 14:33 ..     -r--r--r-- 1 root root 1815 Oct 22 15:29 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca   UnitId: containerd/2 - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 117 root root 4096 Oct 21 14:33 ..     -r--r--r-- 1 root root 1815 Oct 22 15:29 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca   UnitId: containerd/3 - Stdout: |     total 24     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 117 root root 12288 Oct 21 14:33 ..     -r--r--r-- 1 root root 1815 Oct 22 15:29 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca   UnitId: containerd/1 - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 109 root root 4096 Oct 21 15:12 ..     -r--r--r-- 1 root root 1815 Oct 22 15:31 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:24 registry.example.com.ca   UnitId: containerd/5 - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:12 .     drwxr-xr-x 108 root root 4096 Oct 21 14:57 ..     -r--r--r-- 1 root root 1814 Oct 22 15:30 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:25 registry.example.com.ca   UnitId: containerd/6 - Message: action terminated   UnitId: containerd/0 - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 108 root root 4096 Oct 21 14:49 ..     -r--r--r-- 1 root root 1814 Oct 22 15:30 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:25 registry.example.com.ca   UnitId: containerd/4
2020-10-22 15:36:29 Chris Johnston tags sts
2020-10-22 15:37:51 Chris Johnston description It appears as though custom_registries needs functional test $ juju config containerd custom_registries='[{"url": "registry.example.com", "ca_file": ".....=="}]' $ juju run -a containerd "grep 'registry.example.com' /etc/containerd/config.toml" - Stdout: |2             [plugins.cri.registry.configs."registry.example.com".tls]               ca_file = "/etc/containerd/registry.example.com.ca"   UnitId: containerd/0 - Stdout: |2             [plugins.cri.registry.configs."registry.example.com".tls]               ca_file = "/etc/containerd/registry.example.com.ca"   UnitId: containerd/2 - Stdout: |2             [plugins.cri.registry.configs."registry.example.com".tls]               ca_file = "/etc/containerd/registry.example.com.ca"   UnitId: containerd/3 - Stdout: |2             [plugins.cri.registry.configs."registry.example.com".tls]               ca_file = "/etc/containerd/registry.example.com.ca"   UnitId: containerd/5 - Stdout: |2             [plugins.cri.registry.configs."registry.example.com".tls]               ca_file = "/etc/containerd/registry.example.com.ca"   UnitId: containerd/1 - Stdout: |2             [plugins.cri.registry.configs."registry.example.com".tls]               ca_file = "/etc/containerd/registry.example.com.ca"   UnitId: containerd/4 - Stdout: |2             [plugins.cri.registry.configs."registry.example.com".tls]               ca_file = "/etc/containerd/registry.example.com.ca"   UnitId: containerd/6 $ juju run -a containerd "ls -la /etc/containerd/" - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 117 root root 4096 Oct 21 14:32 ..     -r--r--r-- 1 root root 2166 Oct 22 15:23 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca   UnitId: containerd/0 - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 117 root root 4096 Oct 21 14:33 ..     -r--r--r-- 1 root root 2166 Oct 22 15:23 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca   UnitId: containerd/3 - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 109 root root 4096 Oct 21 15:12 ..     -r--r--r-- 1 root root 2166 Oct 22 15:24 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:24 registry.example.com.ca   UnitId: containerd/5 - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:12 .     drwxr-xr-x 108 root root 4096 Oct 21 14:57 ..     -r--r--r-- 1 root root 2165 Oct 22 15:25 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:25 registry.example.com.ca   UnitId: containerd/6 - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 108 root root 4096 Oct 21 14:49 ..     -r--r--r-- 1 root root 2165 Oct 22 15:25 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:25 registry.example.com.ca   UnitId: containerd/4 - Stdout: |     total 24     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 117 root root 12288 Oct 21 14:33 ..     -r--r--r-- 1 root root 2166 Oct 22 15:23 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca   UnitId: containerd/2 - Stdout: |     total 24     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 117 root root 12288 Oct 21 14:33 ..     -r--r--r-- 1 root root 2166 Oct 22 15:23 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca   UnitId: containerd/1 $ juju config containerd --reset custom_registries $ juju run -a containerd "grep 'registry.example.com' /etc/containerd/config.toml" - ReturnCode: 1   Stdout: ""   UnitId: containerd/1 - ReturnCode: 1   Stdout: ""   UnitId: containerd/2 - ReturnCode: 1   Stdout: ""   UnitId: containerd/4 - ReturnCode: 1   Stdout: ""   UnitId: containerd/0 - ReturnCode: 1   Stdout: ""   UnitId: containerd/3 - ReturnCode: 1   Stdout: ""   UnitId: containerd/5 - ReturnCode: 1   Stdout: ""   UnitId: containerd/6 $ juju run -a containerd "ls -la /etc/containerd/" - Stdout: |     total 24     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 117 root root 12288 Oct 21 14:33 ..     -r--r--r-- 1 root root 1815 Oct 22 15:29 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca   UnitId: containerd/2 - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 117 root root 4096 Oct 21 14:33 ..     -r--r--r-- 1 root root 1815 Oct 22 15:29 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca   UnitId: containerd/3 - Stdout: |     total 24     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 117 root root 12288 Oct 21 14:33 ..     -r--r--r-- 1 root root 1815 Oct 22 15:29 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:23 registry.example.com.ca   UnitId: containerd/1 - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 109 root root 4096 Oct 21 15:12 ..     -r--r--r-- 1 root root 1815 Oct 22 15:31 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:24 registry.example.com.ca   UnitId: containerd/5 - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:12 .     drwxr-xr-x 108 root root 4096 Oct 21 14:57 ..     -r--r--r-- 1 root root 1814 Oct 22 15:30 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:25 registry.example.com.ca   UnitId: containerd/6 - Message: action terminated   UnitId: containerd/0 - Stdout: |     total 16     drwxr-xr-x 2 root root 4096 Oct 21 17:11 .     drwxr-xr-x 108 root root 4096 Oct 21 14:49 ..     -r--r--r-- 1 root root 1814 Oct 22 15:30 config.toml     -rw-r--r-- 1 root root 1939 Oct 22 15:25 registry.example.com.ca   UnitId: containerd/4 It appears as though custom_registries needs functional tests. There are numerous issues that I've found which I don't think would be there if functional testing was implemented. (Sorry for the extra noise, trying to write two bugs at once and copy/paste fail)
2020-11-06 14:30:51 Mauricio Faria de Oliveira bug added subscriber Mauricio Faria de Oliveira
2021-02-02 18:57:49 George Kraft summary custom_registries needs functional testing containerd custom_registries needs functional testing
2021-02-02 18:57:58 George Kraft bug task added charmed-kubernetes-testing
2021-02-02 18:58:08 George Kraft bug task deleted charm-containerd
2021-02-02 18:58:12 George Kraft charmed-kubernetes-testing: importance Undecided High
2021-02-02 18:58:14 George Kraft charmed-kubernetes-testing: status New Triaged