{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/1494","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/1494/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/1494/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/1494/events","html_url":"https://github.com/hashicorp/terraform/issues/1494","id":67812708,"number":1494,"title":"Destroy using the OpenStack provider fails to destroy security groups","user":{"login":"cvvs","id":5524391,"avatar_url":"https://avatars.githubusercontent.com/u/5524391?v=3","gravatar_id":"","url":"https://api.github.com/users/cvvs","html_url":"https://github.com/cvvs","followers_url":"https://api.github.com/users/cvvs/followers","following_url":"https://api.github.com/users/cvvs/following{/other_user}","gists_url":"https://api.github.com/users/cvvs/gists{/gist_id}","starred_url":"https://api.github.com/users/cvvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvvs/subscriptions","organizations_url":"https://api.github.com/users/cvvs/orgs","repos_url":"https://api.github.com/users/cvvs/repos","events_url":"https://api.github.com/users/cvvs/events{/privacy}","received_events_url":"https://api.github.com/users/cvvs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-11T17:40:08Z","updated_at":"2016-06-17T20:59:45Z","closed_at":"2015-04-13T16:12:59Z","body":"It appears that the OpenStack provider attempts to destroy the security groups before the instances are destroyed, which is not allowed by OpenStack, and causes a failure during the destroy.\r\n\r\n\t* Error deleting OpenStack Neutron Subnet: Expected HTTP response code [202 204] when accessing [DELETE https://region.example.com:9696/v2.0/subnets/da04e0ae-6ec8-4268-b592-b44283f3ca1a], but got 409 instead\r\n\t{\"NeutronError\": {\"message\": \"Unable to complete operation on subnet da04e0ae-6ec8-4268-b592-b44283f3ca1a. One or more ports have an IP allocation from this subnet.\", \"type\": \"SubnetInUse\", \"detail\": \"\"}}"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/226880176","html_url":"https://github.com/hashicorp/terraform/issues/1494#issuecomment-226880176","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/1494","id":226880176,"user":{"login":"muraliKrishnaBandari","id":13255979,"avatar_url":"https://avatars.githubusercontent.com/u/13255979?v=3","gravatar_id":"","url":"https://api.github.com/users/muraliKrishnaBandari","html_url":"https://github.com/muraliKrishnaBandari","followers_url":"https://api.github.com/users/muraliKrishnaBandari/followers","following_url":"https://api.github.com/users/muraliKrishnaBandari/following{/other_user}","gists_url":"https://api.github.com/users/muraliKrishnaBandari/gists{/gist_id}","starred_url":"https://api.github.com/users/muraliKrishnaBandari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muraliKrishnaBandari/subscriptions","organizations_url":"https://api.github.com/users/muraliKrishnaBandari/orgs","repos_url":"https://api.github.com/users/muraliKrishnaBandari/repos","events_url":"https://api.github.com/users/muraliKrishnaBandari/events{/privacy}","received_events_url":"https://api.github.com/users/muraliKrishnaBandari/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T20:59:45Z","updated_at":"2016-06-17T20:59:45Z","body":" heat resource-show list mgmt_subnet\r\n+------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+\r\n| Property               | Value                                                                                                                                            |\r\n+------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+\r\n| attributes             | {                                                                                                                                                |\r\n|                        |   \"name\": \"list-mgmt_subnet-amlbakop77nm\",                                                                                                       |\r\n|                        |   \"enable_dhcp\": false,                                                                                                                          |\r\n|                        |   \"network_id\": \"4e201a36-fae3-4206-b22c-471f03237fe3\",                                                                                          |\r\n|                        |   \"tenant_id\": \"52291c413b37497d90444af327882d12\",                                                                                               |\r\n|                        |   \"dns_nameservers\": [],                                                                                                                         |\r\n|                        |   \"ipv6_ra_mode\": null,                                                                                                                          |\r\n|                        |   \"allocation_pools\": [                                                                                                                          |\r\n|                        |     {                                                                                                                                            |\r\n|                        |       \"start\": \"10.0.0.2\",                                                                                                                       |\r\n|                        |       \"end\": \"10.0.0.254\"                                                                                                                        |\r\n|                        |     }                                                                                                                                            |\r\n|                        |   ],                                                                                                                                             |\r\n|                        |   \"host_routes\": [],                                                                                                                             |\r\n|                        |   \"ipv6_address_mode\": null,                                                                                                                     |\r\n|                        |   \"ip_version\": 4,                                                                                                                               |\r\n|                        |   \"gateway_ip\": \"10.0.0.1\",                                                                                                                      |\r\n|                        |   \"cidr\": \"10.0.0.0/24\",                                                                                                                         |\r\n|                        |   \"id\": \"d46e09d0-71e0-411d-a584-6262ded12397\",                                                                                                  |\r\n|                        |   \"subnetpool_id\": null                                                                                                                          |\r\n|                        | }                                                                                                                                                |\r\n| description            |                                                                                                                                                  |\r\n| links                  | http://172.30.76.45:8004/v1/52291c413b37497d90444af327882d12/stacks/list/c39cb6b6-3d49-49f9-9db0-d1b9007861af/resources/mgmt_subnet (self)       |\r\n|                        | http://172.30.76.45:8004/v1/52291c413b37497d90444af327882d12/stacks/list/c39cb6b6-3d49-49f9-9db0-d1b9007861af (stack)                            |\r\n| logical_resource_id    | mgmt_subnet                                                                                                                                      |\r\n| physical_resource_id   | d46e09d0-71e0-411d-a584-6262ded12397                                                                                                             |\r\n| required_by            | newt_pair                                                                                                                                        |\r\n|                        | mgmt_instance                                                                                                                                    |\r\n| resource_name          | mgmt_subnet                                                                                                                                      |\r\n| resource_status        | DELETE_FAILED                                                                                                                                    |\r\n| resource_status_reason | Conflict: Unable to complete operation on subnet d46e09d0-71e0-411d-a584-6262ded12397. One or more ports have an IP allocation from this subnet. |\r\n| resource_type          | OS::Neutron::Subnet                                                                                                                              |\r\n| updated_time           | 2016-06-17T00:52:36Z         "}}
{"actor":{"display_login":"muraliKrishnaBandari"}}