11 Posts
0
1510
vplex rescan array and forget unreachable luns with api v2 or ansible modules
Hi,
We are migrating from vplex api v1 to vplex ansible modules.
I have not found any library in ansible to forget an unreachable LUN.
Anyone can confirm ?
So, I looked in the api v2 docs and i found the "Forgets logicalUnits in an array" section but this documentation is a little bit short and ambigous. It explains that you must send :
"DELETE /clusters/{cluster_name}/storage_arrays/{storagearray_name}/logical_units"
and the response is :
"204 LogicalUnits are forgotten"
I have no test environment to check if this command will forget all logical units for the array or just the unreachable luns.
Have anyone already used this api call and know its real actions ?
regards,
Eric
SamitPatra
4 Posts
1
February 25th, 2021 21:00
The API call will forget the unreachable luns.
SamitPatra
4 Posts
1
February 25th, 2021 20:00
This feature is not part of the Ansible 1.2 release. We will study the requirement and will make it available in the next release.
eb_rb
11 Posts
0
March 11th, 2021 05:00
Thanks for answers
I have tested with success the api call which delete only unreachables luns.
I hope next vplex api documentation will be more explicit, with examples.
regards, Eric