FlashArray-Collection icon indicating copy to clipboard operation
FlashArray-Collection copied to clipboard

Errors moving volumes out of volume group using purefa_volume module

Open calebdonald opened this issue 1 year ago • 3 comments

Describe the bug Using the purefa_volume module, I'm getting errors trying to move a volume out of volume group to the local array. It appears that the volume gets moved, but the playbook reports errors and fails out.

To Reproduce

- name: Move provided volumes out of volume group
    purestorage.flasharray.purefa_volume:
      name: "vg-RH-test2/i-RH-test2_02"
      move: local
      fa_url: "{{ fa_url }}"
      api_token: "{{ api_token }}"
      disable_warnings: true
    ignore_errors: true

Expected behavior Volume should be moved out of the volume group and into the local array. Module should report the change. Instead the volume is moved, but the module fails.

Screenshots pure_move_vol_fail

Additional context collection_details ansible_version

calebdonald avatar Aug 09 '24 14:08 calebdonald

@calebdonald thanks for reporting this. I beleive this has been resolved with #612. Could you please confirms this does in fact fix your issue?

sdodsley avatar Aug 09 '24 17:08 sdodsley

@calebdonald can you check if this patch works for you? We are going to release a new collection soon and want to add this fix in, assuming it works for you.

sdodsley avatar Aug 15 '24 17:08 sdodsley

@sdodsley unfortunately I don't have full control over the working environment. Hoping to have a new test image built early next week with the change. Will update once I can test.

calebdonald avatar Aug 16 '24 17:08 calebdonald

@sdodsley I am unable to have a new test image built for the environment I am working in due to security policies. Once the new collection is released, I will test with that. What is the timeline for the new collection update?

calebdonald avatar Aug 19 '24 21:08 calebdonald

I will merge this patch and releasea collection later this week.

sdodsley avatar Aug 19 '24 23:08 sdodsley