Start a Conversation

Unsolved

R

1 Message

687

September 15th, 2020 04:00

msg="Adding wwn initiator error: Initiator found (), and attached to someother host (Host_16) instead of host: Host_111"

Hello all,

Excuse if my terminology isn't correct, I'm from the sysadm/kubernetes world rather than the storage world.

Before Unity had a CSI solution, we added some of our hosts in the K8s cluster to the array and handled persistent storage with Rook(-ceph) and now with the Unity CSI we want to use that instead.

We have the following errors in the log for daemonset/csi-unity-node:

(Removed some hostname, wwn's etc to have a cleaner output)

time="2020-09-15T11:15:53Z" level=info runid=10 msg="Host exists on the array"
time="2020-09-15T11:15:53Z" level=info runid=10 msg="Adding wwn Initiator: Host_111 to host: "
time="2020-09-15T11:15:53Z" level=info runid=10 msg="Finding Initiator: "
time="2020-09-15T11:15:53Z" level=info runid=10 msg="FindHostInitiatorByName: &{ {HostInitiator_68 1 false {Host_16 [] [] [] }}} Error: "
time="2020-09-15T11:15:53Z" level=error runid=10 msg="Adding wwn initiator error: Initiator found ( ), and attached to someother host (Host_16) instead of host: Host_111"

Is it possible to have one WWN id mapped to two hosts in the array?

Thank you in advance

//Robert

72 Posts

September 15th, 2020 05:00

Hi Robert,

Initiators can only belong to a single host.  During installation/startup the CSI driver attempts to automatically create a new host on the array and add the initiators to it.  If you are already using (or in the past have used) storage on this host from that array the host resource on the array could already exist but just not match the expected host name that the CSI driver wants to use.

You can either change the name of the existing host on the array.  Or remove it, if it isn't needed anymore, and the CSI driver will create a new one the next time it starts up.

Thanks
Bryan

No Events found!

Top