NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

ansible module na_ontap_volume_efficiency does not work without /vol namespace present on vserver

Zbg
1,859 Views

I have tried to use  na_ontap_volume_efficiency ansible module.

 

it looks like module require path to volume being provided in a format: /vol/volume

This is a problem since not all vservers are configured with /vol namespace

 

is there an alternative method of providing volume to the module ?

or maybe other modules could be used to enable volume efficiency ?

 

Error when we omit /vol:

"msg": "calling: private/cli/volume/efficiency: got {'message': '\"/test_volume\" is an invalid value for field \"path\" (</vol/volume>)', 'code': '2', 'target': 'path'}.

 

Error when we include it:

{"changed": false, "msg": "Error enabling storage efficiency for path /vol/test_volume on vserver test_vserver as the path provided does not exist."}

1 REPLY 1

SSJ
NetApp
1,671 Views

Hello Team,

 

Please address the query.

 

 

Public