Handle a delete image flow when IBMPowerVSImage is deleted when image import job is in-progress #548
Labels
area/provider/ibmcloud
Issues or PRs related to ibmcloud provider
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Milestone
/kind bug
/area provider/ibmcloud
What steps did you take and what happened:
There is a possibility that IBMPowerVSImage can get deleted before it imported into the powervs instance(in this case spec will not have an entry of the image id), this will delete the resource blindly even though actual import job is running, this will leave the images in the instance behind.
Need to have an mechanism in place to delete the job if delete call is triggered.
What did you expect to happen:
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version
):/etc/os-release
):The text was updated successfully, but these errors were encountered: