{"action":"opened","issue":{"url":"https://api.github.com/repos/cloudfoundry/diego-release/issues/181","repository_url":"https://api.github.com/repos/cloudfoundry/diego-release","labels_url":"https://api.github.com/repos/cloudfoundry/diego-release/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/diego-release/issues/181/comments","events_url":"https://api.github.com/repos/cloudfoundry/diego-release/issues/181/events","html_url":"https://github.com/cloudfoundry/diego-release/issues/181","id":169962752,"number":181,"title":"Is it expected that deleting a cell with an app running costs 10 minutes? [migrated from cf-release]","user":{"login":"Amit-PivotalLabs","id":3108318,"avatar_url":"https://avatars.githubusercontent.com/u/3108318?v=3","gravatar_id":"","url":"https://api.github.com/users/Amit-PivotalLabs","html_url":"https://github.com/Amit-PivotalLabs","followers_url":"https://api.github.com/users/Amit-PivotalLabs/followers","following_url":"https://api.github.com/users/Amit-PivotalLabs/following{/other_user}","gists_url":"https://api.github.com/users/Amit-PivotalLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/Amit-PivotalLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amit-PivotalLabs/subscriptions","organizations_url":"https://api.github.com/users/Amit-PivotalLabs/orgs","repos_url":"https://api.github.com/users/Amit-PivotalLabs/repos","events_url":"https://api.github.com/users/Amit-PivotalLabs/events{/privacy}","received_events_url":"https://api.github.com/users/Amit-PivotalLabs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-08T16:13:34Z","updated_at":"2016-08-08T16:13:34Z","closed_at":null,"body":"> Original issue: https://github.com/cloudfoundry/cf-release/issues/1029\r\n> Original poster: @bingosummer\r\n\r\n----\r\n\r\nWhen deleting the VM `cell_z1`, drain task costs about 10 mins, which is much longer than expected.\r\n\r\nDebug Logs:\r\n```\r\nD, [2016-08-06 15:00:56 #17098] [] DEBUG -- DirectorJobRunner: SENT: agent.9f8ed4fe-c631-46eb-8518-4b0f92c8823a {\"protocol\":2,\"method\":\"drain\",\"arguments\":[\"shutdown\",{}],\"reply_to\":\"director.c46640e5-2c46-495d-a32e-7e289f49218c.d267ec20-ec39-44d1-b154-70a0ddd3fbdf\"}\r\nD, [2016-08-06 15:00:56 #17098] [] DEBUG -- DirectorJobRunner: RECEIVED: director.c46640e5-2c46-495d-a32e-7e289f49218c.d267ec20-ec39-44d1-b154-70a0ddd3fbdf {\"value\":{\"agent_task_id\":\"65e24b2f-b9b5-46d9-66e2-7eab0dc17552\",\"state\":\"running\"}}\r\n\r\nD, [2016-08-06 15:10:59 #17098] [] DEBUG -- DirectorJobRunner: SENT: agent.9f8ed4fe-c631-46eb-8518-4b0f92c8823a {\"protocol\":2,\"method\":\"get_task\",\"arguments\":[\"910d11c1-d684-4783-4cd5-308800287eeb\"],\"reply_to\":\"director.c46640e5-2c46-495d-a32e-7e289f49218c.f6b6881c-0b00-4958-b0cc-0e0420da2f79\"}\r\nD, [2016-08-06 15:10:59 #17098] [] DEBUG -- DirectorJobRunner: RECEIVED: director.c46640e5-2c46-495d-a32e-7e289f49218c.f6b6881c-0b00-4958-b0cc-0e0420da2f79 {\"value\":\"stopped\"}\r\n```\r\n\r\nIn my test, there is an app running in the cell. If there is not an app running, the drain task finishes very quickly.\r\nSo, my question is: **Is it expected that deleting a cell with an app running costs 10 minutes?**\r\nThanks in advance.\r\n\r\n```\r\n$ bosh releases\r\nActing as user 'admin' on 'bosh'\r\n\r\n+-------------------+----------+-------------+\r\n| Name              | Versions | Commit Hash |\r\n+-------------------+----------+-------------+\r\n| cf                | 238      | 67fa6abf+   |\r\n| cflinuxfs2-rootfs | 1.16.0   | fa43f35a+   |\r\n| diego             | 0.1476.0 | 23caa9d3    |\r\n| garden-linux      | 0.338.0  | 38e53b4a    |\r\n+-------------------+----------+-------------+\r\n(+) Uncommitted changes\r\n\r\nReleases total: 4\r\n```\r\n\r\n```\r\n$ bosh -v\r\nBOSH 1.3169.0\r\n```\r\n\r\nstemcell version: 3232.11"}}
{"actor":{"display_login":"Amit-PivotalLabs"}}