Closed azhararain closed 2 years ago
Hi,
I am not able to delete a PowerVSI instance using this collection. No error is thrown the VSI is not deleted either.
I am calling the following module: ibm.cloudcollection.ibm_pi_instance with state: absent
PLAY [Delete PowerVS VM] ****************************************************************************************************************************** TASK [Gathering Facts] ******************************************************************************************************************************** ok: [localhost] TASK [Delete POWER Virtual Server Instance] *********************************************************************************************************** ok: [localhost] TASK [Debug Output of Delete POWER VSI] *************************************************************************************************************** ok: [localhost] => { "pi_instance_delete_output": { "changed": false, "failed": false, "rc": 0, "resource": {}, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": [] } } PLAY RECAP ******************************************************************************************************************************************** localhost : ok=3 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Regards, Azhar Ali
@Anil-CM I bet this is caused by the need to combine the power_instance_id and id values when retrieving existing pi resources.
power_instance_id
id
Hi,
I am not able to delete a PowerVSI instance using this collection. No error is thrown the VSI is not deleted either.
I am calling the following module: ibm.cloudcollection.ibm_pi_instance with state: absent
Regards, Azhar Ali