Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle a delete image flow when IBMPowerVSImage is deleted when image import job is in-progress #548

Closed
mkumatag opened this issue Feb 8, 2022 · 2 comments · Fixed by #558
Assignees
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

Comments

@mkumatag
Copy link
Member

mkumatag commented Feb 8, 2022

/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:

  • Cluster-api version:
  • Minikube/KIND version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):
@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. area/provider/ibmcloud Issues or PRs related to ibmcloud provider labels Feb 8, 2022
@mkumatag
Copy link
Member Author

mkumatag commented Feb 8, 2022

cc @Prajyot-Parab

@mkumatag mkumatag added this to the 0.2 milestone Feb 8, 2022
@mkumatag mkumatag added the priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. label Feb 8, 2022
@mkumatag
Copy link
Member Author

/assign @Prajyot-Parab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants