Error alerts about kube cluster in 21.04

youngtaek

Cadet
Joined
May 23, 2021
Messages
6
Hello,

I've just installed TNS 21.04 and facing two errors below:

CRITICAL
Failed to configure kubernetes cluster for Applications: [EFAULT] Unable to load images from file: exit status 2: "/usr/sbin/zfs fs snapshot Main/ix-applications/docker/92bac9fdd4069c13d11f149705c1a6f2fe1ba6c455598622ccfc5763d8a46c23@373797081" => cannot open 'Main/ix-applications/docker/92bac9fdd4069c13d11f149705c1a6f2fe1ba6c455598622ccfc5763d8a46c23': dataset does not exist usage: snapshot [-r] [-o property=value] ... @ ... For the property list, run: zfs set|get For the delegated permission list, run: zfs allow|unallow
2021-05-25 15:05:41

CRITICAL
Failed to start kubernetes cluster for Applications: [EFAULT] Failed to configure PV/PVCs support: (404) Reason: Not Found HTTP response headers: HTTP response body: 404 page not found
2021-05-25 14:51:12


FYI, I use the system only for data storage right now, not using any kubernetes-related features.
No idea why these errors pop out
 

ornias

Wizard
Joined
Mar 6, 2020
Messages
1,458
uhmm... Capitals in your pool name isn't the best idea ever tbh.

That being said:
I would suggest just nuking ix-applications and try again.
 

youngtaek

Cadet
Joined
May 23, 2021
Messages
6
uhmm... Capitals in your pool name isn't the best idea ever tbh.

That being said:
I would suggest just nuking ix-applications and try again.

Didn't know that using capital matters...
I tried to nuke ix-applications as suggested, couldn't as there're containers placed inside there that can't be removed (currently used?)
Below are the list of containers:

Code:
truenas# docker ps --all
CONTAINER ID   IMAGE          COMMAND    CREATED        STATUS    PORTS     NAMES
675f0b0b27d8   da86e6ba6ca1   "/pause"   3 months ago   Dead                k8s_POD_nextcloud-c99b55c59-zf6fm_ix-nextcloud_9fbdb4cc-f1ba-4677-a28d-6368912af9fb_2
e8d98f1f29e3   da86e6ba6ca1   "/pause"   3 months ago   Dead                k8s_POD_openebs-zfs-controller-0_kube-system_39a90ba6-9c77-4862-8f1f-7f657d6051e4_2
aad9a4d6bba9   da86e6ba6ca1   "/pause"   3 months ago   Dead                k8s_POD_nextcloud-postgres-b9495f5db-krlcd_ix-nextcloud_848c1a24-3aca-4bff-9a7e-8ea45099986a_2
eef08f8fa883   da86e6ba6ca1   "/pause"   3 months ago   Dead                k8s_POD_coredns-66c464876b-q9zfm_kube-system_baa05374-49f5-41fc-a7ea-512104f198f7_2
546759f26d26   da86e6ba6ca1   "/pause"   3 months ago   Dead                k8s_POD_openebs-zfs-controller-0_kube-system_39a90ba6-9c77-4862-8f1f-7f657d6051e4_1
86c65acc8c2d   da86e6ba6ca1   "/pause"   3 months ago   Dead                k8s_POD_coredns-66c464876b-q9zfm_kube-system_baa05374-49f5-41fc-a7ea-512104f198f7_1
52d36b202b9d   da86e6ba6ca1   "/pause"   3 months ago   Dead                k8s_POD_nextcloud-postgres-b9495f5db-krlcd_ix-nextcloud_848c1a24-3aca-4bff-9a7e-8ea45099986a_1
2822c1376fe4   da86e6ba6ca1   "/pause"   3 months ago   Dead                k8s_POD_nvidia-device-plugin-daemonset-glsrg_kube-system_145df2f0-6f38-4851-828f-02a5ae4534e3_1


And this is the error when tried to remove those:

Code:
truenas# docker rm -f $(docker ps -a -q)
Error response from daemon: container 675f0b0b27d8400c5ab512f1b91f9d4afb0e158104591a04b8ed7c4475ffa185: driver "zfs" failed to remove root filesystem: exit status 1: "/usr/sbin/zfs fs destroy -r Main/ix-applications/docker/40cdbbf007a69b9656acd415db2b2ccea3c383006e6176943c61615a62a559fd" => cannot open 'Main/ix-applications/docker/40cdbbf007a69b9656acd415db2b2ccea3c383006e6176943c61615a62a559fd': dataset does not exist
Error response from daemon: container e8d98f1f29e308b3beba7a209640b49f6e1d97cc1d0862c3aebf30e3a28a8687: driver "zfs" failed to remove root filesystem: exit status 1: "/usr/sbin/zfs fs destroy -r Main/ix-applications/docker/c6d28e951be26896b988130a15f0c8aca4bd61d385fbfa29bac5ea5460a52886" => cannot open 'Main/ix-applications/docker/c6d28e951be26896b988130a15f0c8aca4bd61d385fbfa29bac5ea5460a52886': dataset does not exist
Error response from daemon: container aad9a4d6bba92d0c60d740ab1f1881ee0b974b8091a893d1af103b72644e7cf3: driver "zfs" failed to remove root filesystem: exit status 1: "/usr/sbin/zfs fs destroy -r Main/ix-applications/docker/5e6fa7f47151b24ed66d4e6db4c6f9e2b0513dcc68c245faa2eef9049a2b961d" => cannot open 'Main/ix-applications/docker/5e6fa7f47151b24ed66d4e6db4c6f9e2b0513dcc68c245faa2eef9049a2b961d': dataset does not exist
Error response from daemon: container eef08f8fa8839d7dc116277560d647050ded54545ef0090f16694ddb7184d1d8: driver "zfs" failed to remove root filesystem: exit status 1: "/usr/sbin/zfs fs destroy -r Main/ix-applications/docker/c943cafdfee87f06457e37f6dfc531bcc4e47b45f978d409feafc6a9a945adc7" => cannot open 'Main/ix-applications/docker/c943cafdfee87f06457e37f6dfc531bcc4e47b45f978d409feafc6a9a945adc7': dataset does not exist
Error response from daemon: container 546759f26d269b93e186128628323ed69c2856da8456141259d98ca6a6b557e9: driver "zfs" failed to remove root filesystem: exit status 1: "/usr/sbin/zfs fs destroy -r Main/ix-applications/docker/2df0364b436aa0601c2ac226ac7b5eb67966595a813c069de49472ce2a282dc2" => cannot open 'Main/ix-applications/docker/2df0364b436aa0601c2ac226ac7b5eb67966595a813c069de49472ce2a282dc2': dataset does not exist
Error response from daemon: container 86c65acc8c2db783e86dc82200324ad09906ff6e50699a1f0ed1fecf9f7f4d6f: driver "zfs" failed to remove root filesystem: exit status 1: "/usr/sbin/zfs fs destroy -r Main/ix-applications/docker/308b66ab0eb584563d39e1eaf9808e916b2536146aaff95fdac55b676fbcf922" => cannot open 'Main/ix-applications/docker/308b66ab0eb584563d39e1eaf9808e916b2536146aaff95fdac55b676fbcf922': dataset does not exist
Error response from daemon: container 52d36b202b9dcb298213f1526de0a9639c12e79e35bfd9ab58d4454650ae125f: driver "zfs" failed to remove root filesystem: exit status 1: "/usr/sbin/zfs fs destroy -r Main/ix-applications/docker/77993f4e0863396665ad33e338ffc9bb5115957e2ac046c4ab72559a4eb5188d" => cannot open 'Main/ix-applications/docker/77993f4e0863396665ad33e338ffc9bb5115957e2ac046c4ab72559a4eb5188d': dataset does not exist
Error response from daemon: container 2822c1376fe4d7e4546a7185ff210b1ccafc7e9a3069f4350187ee767213ff8a: driver "zfs" failed to remove root filesystem: exit status 1: "/usr/sbin/zfs fs destroy -r Main/ix-applications/docker/fe13cc708536c5de25c8f64e66a455c5efb75d3c81c643a11f1850914ff5df87" => cannot open 'Main/ix-applications/docker/fe13cc708536c5de25c8f64e66a455c5efb75d3c81c643a11f1850914ff5df87': dataset does not exist
 

ornias

Wizard
Joined
Mar 6, 2020
Messages
1,458
@youngtaek I gave a summary.
Your execution failed.

I don't have the time to help you too much on this, but you should've disabled the services first then remove it and recreated the applicationpool using the GUI.
 
Top