Discaimer: I am not a python developer and I have only tested this changes with same location clusters and managed disks. Before any changes were made it was not working at all at least for my case.
Issues and changes I made:
az disk show returned exit code 3 and raised exception although it wasn't really necessary to raise
az acs list was failing to find my cluster because I believe my cluster is created with acsengine tool and is not listed under portal either.
I added a raw_input for acs location due to "az acs list" commands failing (see above)
Disk URI on the new PVs was wrong and pointing to old disks(ACS) and not to the newly created disks.
Thanks for providing a great tool and I hope this can help other people as it helped me.
Hello there!
Discaimer: I am not a python developer and I have only tested this changes with same location clusters and managed disks. Before any changes were made it was not working at all at least for my case. Issues and changes I made:
az disk show
returned exit code 3 and raised exception although it wasn't really necessary to raiseaz acs list
was failing to find my cluster because I believe my cluster is created withacsengine
tool and is not listed under portal either.Thanks for providing a great tool and I hope this can help other people as it helped me.