Closed chjones45 closed 4 years ago
@chjones45 In your playbook, I see junction_path: ""
. Is this on purpose? This triggers the attempt to unmount the volume.
@lonico ARGH! You are 100% correct. It's because the volume was intended to be a LS Mirror so during the create I didn't need/want a junction path for it.
I've now just removed the junction_path completely as it's not a required attribute.
It's working now. You're a legend! Thanks.
SUMMARY
When the SVM Root LS Mirror Volume already exists the na_ontap_volume module fails with the error "Invalid operation. Reason: Cannot unmount Vserver namespace root volume"
ISSUE TYPE
COMPONENT NAME
na_ontap_volume
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
FAS8060 running ONTAP 9.7P3 ONTAP vSIM running 9.5P6
STEPS TO REPRODUCE
EXPECTED RESULTS
The module will report OK if the LS Mirror Volume already exists.
ACTUAL RESULTS