dell / ansible-powermax

Ansible Modules for Dell PowerMax
GNU General Public License v3.0
36 stars 35 forks source link

Fix issue when renaming volume created without a name #11

Closed serrek closed 2 years ago

serrek commented 2 years ago

I have found that is is currently not possible to rename a volume that was created without name. In fact, creating a volume in a storage group (use with SRDF metro) do not propagate the vol_name to the R2 so I tried to rename it using the new_name parameter and this does not work. Attempting to rename such volumes led to a dictionary key exception (the volume_identifier key is not defined in the vol dictionary).

anupamaloke commented 2 years ago

@serrek, I know it has been long since this PR was submitted. As these changes have been added in the volume module, I will be closing this PR.