bright-fireman-42144
08/23/2022, 11:25 PMicy-agency-38675
08/24/2022, 3:14 AMbright-fireman-42144
08/24/2022, 11:52 AMicy-agency-38675
08/24/2022, 3:00 PMbright-fireman-42144
08/24/2022, 3:04 PMicy-agency-38675
08/24/2022, 3:06 PMbright-fireman-42144
08/24/2022, 3:07 PMicy-agency-38675
08/24/2022, 3:08 PMbright-fireman-42144
08/24/2022, 3:09 PMicy-agency-38675
08/24/2022, 3:10 PMbright-fireman-42144
08/24/2022, 3:12 PMicy-agency-38675
08/24/2022, 3:14 PMbright-fireman-42144
08/24/2022, 3:16 PMicy-agency-38675
08/24/2022, 3:17 PMbright-fireman-42144
08/24/2022, 3:18 PMicy-agency-38675
08/24/2022, 3:21 PMbright-fireman-42144
08/24/2022, 3:22 PMicy-agency-38675
08/24/2022, 3:26 PMbright-fireman-42144
08/24/2022, 3:27 PMicy-agency-38675
08/24/2022, 3:27 PMbright-fireman-42144
08/24/2022, 3:31 PMkubectl create -f https://raw.githubusercontent.com/longhorn/longhorn/v1.3.0/uninstall/uninstall.yamlWarning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ job.batch/longhorn-uninstall created Error from server (AlreadyExists): error when creating "https://raw.githubusercontent.com/longhorn/longhorn/v1.3.0/uninstall/uninstall.yaml": podsecuritypolicies.policy "longhorn-uninstall-psp" already exists Error from server (AlreadyExists): error when creating "https://raw.githubusercontent.com/longhorn/longhorn/v1.3.0/uninstall/uninstall.yaml": serviceaccounts "longhorn-uninstall-service-account" already exists Error from server (AlreadyExists): error when creating "https://raw.githubusercontent.com/longhorn/longhorn/v1.3.0/uninstall/uninstall.yaml": clusterroles.rbac.authorization.k8s.io "longhorn-uninstall-role" already exists Error from server (AlreadyExists): error when creating "https://raw.githubusercontent.com/longhorn/longhorn/v1.3.0/uninstall/uninstall.yaml": clusterrolebindings.rbac.authorization.k8s.io "longhorn-uninstall-bind" already exists
kubectl get job/longhorn-uninstall -n default -wNAME COMPLETIONS DURATION AGE longhorn-uninstall 0/1 29s 30s
icy-agency-38675
08/24/2022, 3:33 PMkubectl get pods
?bright-fireman-42144
08/24/2022, 3:34 PMkubectl create -f https://raw.githubusercontent.com/longhorn/longhorn/v1.3.0/uninstall/uninstall.yamlWarning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ job.batch/longhorn-uninstall created Error from server (AlreadyExists): error when creating "https://raw.githubusercontent.com/longhorn/longhorn/v1.3.0/uninstall/uninstall.yaml": podsecuritypolicies.policy "longhorn-uninstall-psp" already exists Error from server (AlreadyExists): error when creating "https://raw.githubusercontent.com/longhorn/longhorn/v1.3.0/uninstall/uninstall.yaml": serviceaccounts "longhorn-uninstall-service-account" already exists Error from server (AlreadyExists): error when creating "https://raw.githubusercontent.com/longhorn/longhorn/v1.3.0/uninstall/uninstall.yaml": clusterroles.rbac.authorization.k8s.io "longhorn-uninstall-role" already exists Error from server (AlreadyExists): error when creating "https://raw.githubusercontent.com/longhorn/longhorn/v1.3.0/uninstall/uninstall.yaml": clusterrolebindings.rbac.authorization.k8s.io "longhorn-uninstall-bind" already exists
kubectl get job/longhorn-uninstall -n default -wNAME COMPLETIONS DURATION AGE longhorn-uninstall 0/1 29s 30s
icy-agency-38675
08/24/2022, 3:35 PMkubectl logs longhorn-uninstall-sc8b7
bright-fireman-42144
08/24/2022, 3:38 PMicy-agency-38675
08/24/2022, 3:38 PMbright-fireman-42144
08/24/2022, 3:40 PMicy-agency-38675
08/24/2022, 3:41 PMkubectl -n longhorn-system get pods
kubectl -n longhorn-system get crds
bright-fireman-42144
08/24/2022, 3:43 PMicy-agency-38675
08/24/2022, 3:44 PMkubectl delete -f <https://raw.githubusercontent.com/longhorn/longhorn/v1.3.0/deploy/longhorn.yaml>
kubectl delete -f <https://raw.githubusercontent.com/longhorn/longhorn/v1.3.0/uninstall/uninstall.yaml>
bright-fireman-42144
08/24/2022, 3:47 PMicy-agency-38675
08/24/2022, 3:50 PMbright-fireman-42144
08/24/2022, 3:50 PMicy-agency-38675
08/24/2022, 3:53 PMbright-fireman-42144
08/24/2022, 4:10 PMkubectl get pods -n longhorn-systemNAME READY STATUS RESTARTS AGE longhorn-admission-webhook-5985df5688-4cqhj 1/1 Running 0 11m longhorn-admission-webhook-5985df5688-dh4d5 1/1 Running 0 11m longhorn-conversion-webhook-7b74768796-94kvx 1/1 Running 0 11m longhorn-conversion-webhook-7b74768796-gfzv5 1/1 Running 0 11m longhorn-driver-deployer-5655d57559-5l78r 0/1 Init:0/1 0 11m longhorn-manager-kt29w 0/1 CrashLoopBackOff 6 (4m56s ago) 11m longhorn-manager-n6t7n 0/1 Error 7 (5m11s ago) 11m longhorn-ui-675b96b9f7-7wpmr 1/1 Running 0 11m
icy-agency-38675
08/24/2022, 5:39 PMbright-fireman-42144
08/24/2022, 5:47 PMkubectl logs ^C
kubectl logs longhorn-driver-deployer-5655d57559-5l78r -n longhorn-systemError from server (BadRequest): container "longhorn-driver-deployer" in pod "longhorn-driver-deployer-5655d57559-5l78r" is waiting to start: PodInitializing
kubectl logs longhorn-manager-kt29w -n longhorn-systemtime="2022-08-24T173842Z" level=error msg="Failed environment check, please make sure you have iscsiadm/open-iscsi installed on the host" time="2022-08-24T173842Z" level=fatal msg="Error starting manager: environment check failed: Failed to execute: nsenter [--mount=/host/proc/1/ns/mnt --net=/host/proc/1/ns/net iscsiadm --version], output , stderr, nsenter: failed to execute iscsiadm: No such file or directory\n, error exit status 127"
icy-agency-38675
08/24/2022, 5:48 PMbright-fireman-42144
08/24/2022, 5:48 PMicy-agency-38675
08/24/2022, 5:48 PMbright-fireman-42144
08/24/2022, 5:49 PMicy-agency-38675
08/24/2022, 5:50 PMbright-fireman-42144
08/24/2022, 5:52 PMicy-agency-38675
08/24/2022, 5:54 PMbright-fireman-42144
08/24/2022, 5:56 PMicy-agency-38675
08/24/2022, 5:57 PMbright-fireman-42144
08/24/2022, 6:06 PMUbuntu
OS instead of Container-Optimized
OS, in order to satisfy Longhorn’s open-iscsi
dependency."
but I assume for storage connectivity between workloads iscsi is the requirement everywhere. So this might be the case here.icy-agency-38675
08/25/2022, 1:32 AMbright-fireman-42144
08/25/2022, 1:34 AMicy-agency-38675
08/25/2022, 2:06 AMContainer-Optimized
OS, you can create a ticket in https://github.com/longhorn/longhorn/issues.
Then, we can investigate it.bright-fireman-42144
08/25/2022, 2:16 AM