Unsolved
1 Rookie
•
3 Posts
0
722
March 6th, 2023 12:00
Ansible - Powerscale
Hi Team,
I'm trying to modify nfs export on Powerscale using Ansible modules with Non-System access zone and getting the below error.
"msg": "Create NFS export for path: /ifs/abc/xyz.org******** and access zone: XXXX failed with error: { errors : [ { code : AEC_EXCEPTION , message : '/ifs/abc/xyz.org********' failed translation to absolute path: No such file or directory } ] } "
NOTE: Ansible Playbook work fine on System Access Zone. However, error throws for Non-System Access zone
No Events found!
sharath.gr
1 Rookie
•
3 Posts
0
March 7th, 2023 09:00
Hi Jennifer,
Thank you for your response.
Below is the NFS Share provided in the input :
smartconnect_zone.org:/ifs/abc/xyz.org/ansible
and we are getting the below error
"msg": "Create NFS export for path: /ifs/abc/xyz.org******** and access zone: XXXX failed with error: { errors : [ { code : AEC_EXCEPTION , message : '/ifs/abc/xyz.org********' failed translation to absolute path: No such file or directory } ] } "
jennifer_john
1 Rookie
•
79 Posts
0
March 7th, 2023 09:00
Hi @sharath.gr
For non system access zone, the relative path need be specified for { {path}} as /xyz.org in the playbook instead of the absolute path.
Thanks,
Jennifer
jennifer_john
1 Rookie
•
79 Posts
0
March 8th, 2023 03:00
Hi @sharath.gr
For non system access zone, the relative path need be specified instead of the absolute path.
Adding a sample playbook below, Here the path should be specified as /path instead of /ifs/sample-zone/path
sharath.gr
1 Rookie
•
3 Posts
0
March 8th, 2023 04:00
jennifer_john
1 Rookie
•
79 Posts
0
March 8th, 2023 05:00
Hi @sharath.gr ,
The info module can be used to list the available nfs exports in a specific access zone as in syntax below
jennifer_john
1 Rookie
•
79 Posts
0
March 8th, 2023 08:00
Hi @sharath.gr
From the list of nfs_exports returned from info module, the operations can be performed using nfs_export module using the absolute path(for system access zone) or relative path (for non-system access zone). Please refer to playbook syntax as shared above.
Please do let me know if you face any additional issues
Thanks,
Jennifer