You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/12/06 14:40:47 UTC

[GitHub] [cloudstack-terraform-provider] vladimirpetrov opened a new issue #24: Instance cannot be expunged, only destroyed

vladimirpetrov opened a new issue #24:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/24


   When invoking the 'destroy' command to a running VM, it cannot be expunged as well. Which causes other issues, for example the VM's network cannot be destroyed too since it's still connected to the destroyed VM.
   
   ```
   Error: Error deleting network TERRAFORM-isolated1: Undefined error: {"errorcode":530,"errortext":"Failed to delete network"}
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack-terraform-provider] harikrishna-patnala commented on issue #24: Instance cannot be expunged, only destroyed

Posted by GitBox <gi...@apache.org>.
harikrishna-patnala commented on issue #24:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/24#issuecomment-994303472


   @vladimirpetrov I see that there is "expunge" param that we can set in terraform VM resource configuration.resource 
   "cloudstack_instance" "VM1" {
   name = "VM1"
   service_offering = "Small Instance"
   template = cloudstack_template.Template.id
   network_id = cloudstack_network.N1.id
   zone = "${var.zoneId}"
   **expunge = true**
   }
   
   I tried this with destroy command and it expunged the VM. can you please try that as well.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack-terraform-provider] vladimirpetrov closed issue #24: Instance cannot be expunged, only destroyed

Posted by GitBox <gi...@apache.org>.
vladimirpetrov closed issue #24:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/24


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack-terraform-provider] vladimirpetrov commented on issue #24: Instance cannot be expunged, only destroyed

Posted by GitBox <gi...@apache.org>.
vladimirpetrov commented on issue #24:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/24#issuecomment-997773356


   This parameter fixes the problem, closing the issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org