{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/5104","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/5104/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/5104/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/5104/events","html_url":"https://github.com/hashicorp/terraform/issues/5104","id":133070720,"number":5104,"title":"Openstack - Interesting things happen when soft delete is enabled","user":{"login":"imduffy15","id":1243435,"avatar_url":"https://avatars.githubusercontent.com/u/1243435?v=3","gravatar_id":"","url":"https://api.github.com/users/imduffy15","html_url":"https://github.com/imduffy15","followers_url":"https://api.github.com/users/imduffy15/followers","following_url":"https://api.github.com/users/imduffy15/following{/other_user}","gists_url":"https://api.github.com/users/imduffy15/gists{/gist_id}","starred_url":"https://api.github.com/users/imduffy15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imduffy15/subscriptions","organizations_url":"https://api.github.com/users/imduffy15/orgs","repos_url":"https://api.github.com/users/imduffy15/repos","events_url":"https://api.github.com/users/imduffy15/events{/privacy}","received_events_url":"https://api.github.com/users/imduffy15/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/terraform/labels/provider/openstack","name":"provider/openstack","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-11T19:46:26Z","updated_at":"2016-02-11T21:47:09Z","closed_at":null,"body":"Openstack has featured labelled \"soft-delete\", it enables cloud admins to restore a VM for a certain amount of time before the VM is fully removed.\r\n\r\nIt functions very different to standard delete, for a start, the VM is in a state of \"soft-deleted\" and all volumes, VIP, security groups associated with this VM are still seen to be in use.\r\n\r\nThis causes a great mess for terraform, even if you modify the code to see a soft-deleted we'd have to do some polling for who knows how long to delete the instance and associated items.\r\n\r\nHow would people feel about using ForceDelete as a default for openstack instance destroys? This would mean soft delete is bypassed for terraform and terraform can function as normal in an environment where soft delete is enabled.\r\n\r\nI've recently added support in gophercloud for this https://github.com/rackspace/gophercloud/commit/370c4300029d713ff36f3377c3e98e5ad73b1c4d so it wouldn't be too hard to fit it in to our current model.\r\n\r\nThoughts?\r\n\r\nThanks,\r\nIan. "},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/183071107","html_url":"https://github.com/hashicorp/terraform/issues/5104#issuecomment-183071107","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/5104","id":183071107,"user":{"login":"jtopjian","id":46959,"avatar_url":"https://avatars.githubusercontent.com/u/46959?v=3","gravatar_id":"","url":"https://api.github.com/users/jtopjian","html_url":"https://github.com/jtopjian","followers_url":"https://api.github.com/users/jtopjian/followers","following_url":"https://api.github.com/users/jtopjian/following{/other_user}","gists_url":"https://api.github.com/users/jtopjian/gists{/gist_id}","starred_url":"https://api.github.com/users/jtopjian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtopjian/subscriptions","organizations_url":"https://api.github.com/users/jtopjian/orgs","repos_url":"https://api.github.com/users/jtopjian/repos","events_url":"https://api.github.com/users/jtopjian/events{/privacy}","received_events_url":"https://api.github.com/users/jtopjian/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T21:47:09Z","updated_at":"2016-02-11T21:47:09Z","body":"Thank you very much! \r\n\r\nI think this is worthwhile to have here as an enhancement request :smile: "}}