{"action":"created","issue":{"url":"https://api.github.com/repos/yamamoto-febc/terraform-provider-rke/issues/36","repository_url":"https://api.github.com/repos/yamamoto-febc/terraform-provider-rke","labels_url":"https://api.github.com/repos/yamamoto-febc/terraform-provider-rke/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/yamamoto-febc/terraform-provider-rke/issues/36/comments","events_url":"https://api.github.com/repos/yamamoto-febc/terraform-provider-rke/issues/36/events","html_url":"https://github.com/yamamoto-febc/terraform-provider-rke/issues/36","id":373392102,"node_id":"MDU6SXNzdWUzNzMzOTIxMDI=","number":36,"title":"Terraform destroy gets stuck in refreshing state","user":{"login":"iamShantanu101","id":6175822,"node_id":"MDQ6VXNlcjYxNzU4MjI=","avatar_url":"https://avatars3.githubusercontent.com/u/6175822?v=4","gravatar_id":"","url":"https://api.github.com/users/iamShantanu101","html_url":"https://github.com/iamShantanu101","followers_url":"https://api.github.com/users/iamShantanu101/followers","following_url":"https://api.github.com/users/iamShantanu101/following{/other_user}","gists_url":"https://api.github.com/users/iamShantanu101/gists{/gist_id}","starred_url":"https://api.github.com/users/iamShantanu101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamShantanu101/subscriptions","organizations_url":"https://api.github.com/users/iamShantanu101/orgs","repos_url":"https://api.github.com/users/iamShantanu101/repos","events_url":"https://api.github.com/users/iamShantanu101/events{/privacy}","received_events_url":"https://api.github.com/users/iamShantanu101/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-24T09:37:02Z","updated_at":"2018-10-24T12:42:01Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nAfter successful creation of rke cluster, I was trying to remove the cluster with `terraform destroy`. But the process is stuck on:\r\n\r\n```\r\nrke_cluster.cluster: Refreshing state... (ID: ec2-18-188-12-112.us-east-2.compute.amazonaws.com)\r\n```\r\n\r\nAll other components' state has been refreshed successfully. Is there anything else which needs to be done to destroy the cluster?"},"comment":{"url":"https://api.github.com/repos/yamamoto-febc/terraform-provider-rke/issues/comments/432639078","html_url":"https://github.com/yamamoto-febc/terraform-provider-rke/issues/36#issuecomment-432639078","issue_url":"https://api.github.com/repos/yamamoto-febc/terraform-provider-rke/issues/36","id":432639078,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjYzOTA3OA==","user":{"login":"yamamoto-febc","id":1644816,"node_id":"MDQ6VXNlcjE2NDQ4MTY=","avatar_url":"https://avatars0.githubusercontent.com/u/1644816?v=4","gravatar_id":"","url":"https://api.github.com/users/yamamoto-febc","html_url":"https://github.com/yamamoto-febc","followers_url":"https://api.github.com/users/yamamoto-febc/followers","following_url":"https://api.github.com/users/yamamoto-febc/following{/other_user}","gists_url":"https://api.github.com/users/yamamoto-febc/gists{/gist_id}","starred_url":"https://api.github.com/users/yamamoto-febc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yamamoto-febc/subscriptions","organizations_url":"https://api.github.com/users/yamamoto-febc/orgs","repos_url":"https://api.github.com/users/yamamoto-febc/repos","events_url":"https://api.github.com/users/yamamoto-febc/events{/privacy}","received_events_url":"https://api.github.com/users/yamamoto-febc/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T12:42:01Z","updated_at":"2018-10-24T12:42:01Z","author_association":"OWNER","body":"Normally, if you only use terraform-provider-rke to manage clusters, you need only run `terraform destroy`.\r\n\r\nWhen running destroy, terraform-rke-provider reads the information of nodes from terraform' state.\r\nThen it tries connect to node via SSH using information of the nodes. \r\n(FYI: default timeout: 50s)\r\n\r\nSo first, it is better to check whether you can connect to the nodes via SSH."}}
{"actor":{"display_login":"yamamoto-febc"}}