Bug 1873022 - ovirt_vm resource doesn't remove VM disk by default
Summary: ovirt_vm resource doesn't remove VM disk by default
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: ovirt-distribution
Classification: oVirt
Component: terraform-provider-ovirt
Version: 4.4.2
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: ---
Assignee: Gal Zaidman
QA Contact: Lucie Leistnerova
Rolfe Dlugy-Hegwer
URL:
Whiteboard:
Depends On:
Blocks: 1872646
TreeView+ depends on / blocked
 
Reported: 2020-08-27 07:52 UTC by Gal Zaidman
Modified: 2020-12-21 12:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-01 07:51:49 UTC
oVirt Team: Integration
Embargoed:
sbonazzo: ovirt-4.4?


Attachments (Terms of Use)

Description Gal Zaidman 2020-08-27 07:52:34 UTC
Description of problem:

When we try to remove a VM with terraform unless that VM was create from a template then the VM disk is not removed from the infrastructure.

This raises 2 problems:
1. It is inconsistent with the oVirt API, when you remove a VM with the oVirt API then unless a flag is specified then the VM disk will be removed.
2. Terraform should leave a clean infrastructure when removing resources, without any "extra" unmanaged resources.

Comment 1 Gal Zaidman 2020-10-01 07:51:49 UTC
The behavior is ok
decided to go in a different direction


Note You need to log in before you can comment on or make changes to this bug.