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

Cloud Manager Connector destruction in Azure leaving orphan disk #132

Open
cerocool1203 opened this issue Sep 12, 2022 · 4 comments
Open
Labels
backend Issues related to the backend service or the APIs. bug Something isn't working Jira Has an Internal Jira Story

Comments

@cerocool1203
Copy link

cerocool1203 commented Sep 12, 2022

If a Cloud Manager connector needs to be destroyed the deletion leaves the OS disk behind leaving orphan objects. However, the outcome in terraform is successful.
image

image

@lonico lonico added the bug Something isn't working label Sep 12, 2022
@lonico
Copy link
Contributor

lonico commented Sep 12, 2022

We're reluctant to delete disks, as they may contain user data. But I think it makes sense here.

DEVOPS-5450

@lonico lonico added the Jira Has an Internal Jira Story label Sep 12, 2022
@lonico
Copy link
Contributor

lonico commented Sep 12, 2022

I was looking to setting deleteOption when creating a VM instance, but the option is not supported in the latest Azure schema:

https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachines

2019 looks a bit old, so I'll keep looking.

@lonico lonico added the backend Issues related to the backend service or the APIs. label Sep 12, 2022
@cerocool1203
Copy link
Author

I was looking to setting deleteOption when creating a VM instance, but the option is not supported in the latest Azure schema:

https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachines

2019 looks a bit old, so I'll keep looking.

We're reluctant to delete disks, as they may contain user data. But I think it makes sense here.

DEVOPS-5450

Correct, as you will not hold any user data

@lonico
Copy link
Contributor

lonico commented Sep 13, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issues related to the backend service or the APIs. bug Something isn't working Jira Has an Internal Jira Story
Projects
None yet
Development

No branches or pull requests

2 participants