Bug 1983930

Summary: [oVirt] Fix NodeStageVolume implementation
Product: OpenShift Container Platform Reporter: Gal Zaidman <gzaidman>
Component: StorageAssignee: OCP on RHV Team <ocprhvteam>
Storage sub component: oVirt CSI Driver QA Contact: Janos Bonic <jpasztor>
Status: CLOSED WONTFIX Docs Contact:
Severity: low    
Priority: low CC: mburman
Version: 4.9   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-24 07:48:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1983933    

Description Gal Zaidman 2021-07-20 08:23:37 UTC
Description of problem:

NodeStageVolume should temporarily mount the volume to a staging path.
NodeUnpublishVolume should unmount the volume from the target path (do the reverse operation).
Currently NodeUnpublishVolume is not implemented and NodeStageVolume doesn't mount, it creates a file system if needed but doesn't mount anything.
We do publish the "NodeServiceCapability_RPC_STAGE_UNSTAGE_VOLUME" Capability so both methods needs to be implemented.

How to test:
- See that csi-tests are passing by CI no need to look into something specific in RHV