Closed Vilsol closed 4 years ago
Here is the key error log:
msg=\"FAIL to discover due to Failed to execute: nsenter [--mount=/host/proc/118/ns/mnt --net=/host/proc/118/ns/net iscsiadm -m discovery -t sendtargets -p 172.18.0.7], output , stderr, Failed to connect to bus: No data available\\niscsiadm: can not connect to iSCSI daemon (111)!\\nFailed to connect to bus: No data available\\niscsiadm: can not connect to iSCSI daemon (111)!\\niscsiadm: Cannot perform discovery. Initiatorname required.\\niscsiadm: Could not perform SendTargets discovery: could not connect to iscsid\\n, error exit status 20\""
I am not sure if this is caused by the iscsi version issue, or there is something wrong with the iscsiadm
setup. Notice that the OS version you are using is Ubuntu 19.10
but Longhorn is using Ubuntu 18.04
iscsiadm: Cannot perform discovery. Initiatorname required.
This seems due to the iscsid/open-iscsi wasn't configured correctly on the node. The initiator name wasn't set.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug When running longhorn in minikube, it fails to attach a PVC to a pod.
To Reproduce
Expected behavior PVC to be attached to the pod
Log
Environment: