Open arupdevops opened 4 months ago
VLUN creation error: failed to find any ready target port on array 192.168.236.192
This is usually a mismatch in protocols. Does the StorageClass
have the correct accessProtocol
set?
Hi
Below is the YAML for the Storage class, Access protocol is ISCSI
=============================
kind: StorageClass apiVersion: storage.k8s.io/v1 metadata: name: hpe-scod uid: 66d582be-02c2-4c4a-8c2d-206b31a95d01 resourceVersion: '136206' creationTimestamp: '2024-01-29T16:52:21Z' managedFields:
regards Arup
If it's iSCSI then my best guess is that you don't have any iSCSI ports on the array. If you check the logs of the CSP, it may reveal more clues. k logs -nhpe-storage deploy/primera3par-csp
Thanx, what is the exact command to check the logs "k logs -nhpe-storage deploy/primera3par-csp"?
kubectl logs -nhpe-storage deploy/primera3par-csp
didn't work?
time="2024-02-28T07:05:17Z" level=info msg="[ REQUEST-ID 102101 ] -- [Array: 192.168.236.192] LIST OF PORTS []" file="create_vlun_cmd.go:327"
time="2024-02-28T07:05:17Z" level=info msg="[ REQUEST-ID 102101 ] -- [Array: 192.168.236.192] TARGET IQNS []" file="create_vlun_cmd.go:329"
time="2024-02-28T07:05:17Z" level=info msg="[ REQUEST-ID 102101 ] -- [Array: 192.168.236.192] DISCOVERY IPS []" file="create_vlun_cmd.go:330"
Doesn't look like the CSP can find any iSCSI ports.
kind: StorageClass apiVersion: storage.k8s.io/v1 metadata: name: hpe-scod-fc uid: d7ffeed6-bb09-4d00-8d8e-d228d1345600 resourceVersion: '14910417' creationTimestamp: '2024-02-28T06:47:22Z' managedFields:
Is the worker node zoned (since you're switching to FC) with the array?
Yes...all are zoned!!!
Redhat OCP-----3 Controller & 2 Worker nodes(All VMs from the Ovirt Engine Infra). Ovirts Physical hosts are properly zoned with Storage controller
We have found something & checking on that, will update!!!
Redhat OCP-----3 Controller & 2 Worker nodes(All VMs from the Ovirt Engine Infra). Ovirts Physical hosts are properly zoned with Storage controller
This won't work, you have to use the oVirt CSI driver for persistent storage if the workers are VMs. The HPE CSI Driver only works on virtual machines when using iSCSI.
The HPE CSI Driver only works on virtual machines when using iSCSI--------While using SCSI, as you mentioned it is unable to find any scsi port in the array.
The backend storage is HPE Primera Storage.
The array needs iSCSI cards and have those configured. You also need two vNICs on the oVirt VMs in ideally two different subnets shared with your array iSCSI interfaces.
@datamattsson : Thanks for the support. We are checking on the iSCSI part. As of now we don't see any iscsi port on the HPE Primera. On the VLAN part, we have allowed traffic for inter VLANa already.
Hi logged a case with HPE for Primera, so they checking the same on the iSCSI part,I have a confusion here no where in documents it is mentioned that to use access protocol iSCSI,the supported Primera storage should be iSCSI configured,also how to configure all these steps,please help with respect to CSI driver
The documentation for the 3PAR CSP (Alletra 9K/MP, Primera etc): https://scod.hpedev.io/container_storage_provider/hpe_alletra_9000/#storageclass_parameters
FC should work as we have FC ports available in the physical storage & by default CSI driver will use the available FC ports.
The HPE CSI Driver does not support virtual FC HPAs (NPIV). Run OpenShift on bare-metal instead and FC will work.
Can you please help us with the ovirt csi operator link, as we are unable to find any good resource on that. Appreciate for your extending support here....
Hi Team,
While trying to mount a exsisting PV to a deployment, we are getting the below error.
Please help here where we are making mistake
================================================
17m Warning FailedAttachVolume pod/nginx-arup-7c7d84bf74-gwz5g AttachVolume.Attach failed for volume "pvc-ee5428bb-bae9-42d1-a739-e3d4e499503f" : rpc error: code = Internal desc = Failed to add ACL to volume pvc-ee5428bb-bae9-42d1-a739-e3d4e499503f for node &{ ocp-cp3.cluster.ocp.aspire.infra de78e75c-94e5-21de-7f15-cebdacc7d26f [0xc000920b80] [0xc000920bc0 0xc000920bd0 0xc000920be0 0xc000920bf0] [] } via CSP, err: Request failed with status code 500 and errors Error code (Internal Server Error) and message (VLUN creation error: failed to find any ready target port on array 192.168.236.192)
regards Arup