{"action":"closed","issue":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/1294","labels_url":"https://api.github.com/repos/mesosphere/marathon/issues/1294/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/marathon/issues/1294/comments","events_url":"https://api.github.com/repos/mesosphere/marathon/issues/1294/events","html_url":"https://github.com/mesosphere/marathon/issues/1294","id":60782352,"number":1294,"title":"After I update groups, app not destroy, but groups said it's done","user":{"login":"Guojian","id":1181658,"avatar_url":"https://avatars.githubusercontent.com/u/1181658?v=3","gravatar_id":"","url":"https://api.github.com/users/Guojian","html_url":"https://github.com/Guojian","followers_url":"https://api.github.com/users/Guojian/followers","following_url":"https://api.github.com/users/Guojian/following{/other_user}","gists_url":"https://api.github.com/users/Guojian/gists{/gist_id}","starred_url":"https://api.github.com/users/Guojian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Guojian/subscriptions","organizations_url":"https://api.github.com/users/Guojian/orgs","repos_url":"https://api.github.com/users/Guojian/repos","events_url":"https://api.github.com/users/Guojian/events{/privacy}","received_events_url":"https://api.github.com/users/Guojian/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mesosphere/marathon/milestones/15","html_url":"https://github.com/mesosphere/marathon/milestones/0.8.2","labels_url":"https://api.github.com/repos/mesosphere/marathon/milestones/15/labels","id":993326,"number":15,"title":"0.8.2","description":"","creator":{"login":"drexin","id":433020,"avatar_url":"https://avatars.githubusercontent.com/u/433020?v=3","gravatar_id":"","url":"https://api.github.com/users/drexin","html_url":"https://github.com/drexin","followers_url":"https://api.github.com/users/drexin/followers","following_url":"https://api.github.com/users/drexin/following{/other_user}","gists_url":"https://api.github.com/users/drexin/gists{/gist_id}","starred_url":"https://api.github.com/users/drexin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drexin/subscriptions","organizations_url":"https://api.github.com/users/drexin/orgs","repos_url":"https://api.github.com/users/drexin/repos","events_url":"https://api.github.com/users/drexin/events{/privacy}","received_events_url":"https://api.github.com/users/drexin/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":20,"state":"open","created_at":"2015-02-24T13:26:01Z","updated_at":"2015-04-02T10:46:52Z","due_on":"2015-04-07T22:00:00Z","closed_at":null},"comments":5,"created_at":"2015-03-12T07:46:04Z","updated_at":"2015-04-02T10:46:52Z","closed_at":"2015-04-02T10:46:52Z","body":"I try to update groups and destroy all the apps it seems ok and /v2/groups show no apps anymore.\r\n\r\n{\r\n\"id\": \"/\",\r\n\"apps\": [],\r\n\"groups\": [\r\n{\r\n\"id\": \"/group2\",\r\n\"apps\": [],\r\n\"groups\": [],\r\n\"dependencies\": [],\r\n\"version\": \"2015-03-12T07:36:23.755Z\"\r\n},\r\n{\r\n\"id\": \"/group4\",\r\n\"apps\": [],\r\n\"groups\": [],\r\n\"dependencies\": [],\r\n\"version\": \"2015-03-12T07:36:23.755Z\"\r\n},\r\n{\r\n\"id\": \"/group3\",\r\n\"apps\": [],\r\n\"groups\": [],\r\n\"dependencies\": [],\r\n\"version\": \"2015-03-12T07:36:23.755Z\"\r\n},\r\n{\r\n\"id\": \"/group5\",\r\n\"apps\": [],\r\n\"groups\": [],\r\n\"dependencies\": [],\r\n\"version\": \"2015-03-12T07:36:23.755Z\"\r\n}\r\n],\r\n\"dependencies\": [],\r\n\"version\": \"2015-03-12T07:36:23.755Z\"\r\n}\r\n\r\n\r\nbut when I use /v2/apps to check,  apps still there\r\n\r\n{\r\n\"apps\": [\r\n{\r\n\"id\": \"/group5/nginx3\",\r\n\"cmd\": null,\r\n\"args\": [],\r\n\"user\": null,\r\n\"env\": {},\r\n\"instances\": 3,\r\n\"cpus\": 0.2,\r\n\"mem\": 256,\r\n\"disk\": 0,\r\n\"executor\": \"\",\r\n\"constraints\": [],\r\n\"uris\": [],\r\n\"storeUrls\": [],\r\n\"ports\": [\r\n0\r\n],\r\n\"requirePorts\": false,\r\n\"backoffSeconds\": 1,\r\n\"backoffFactor\": 1.15,\r\n\"maxLaunchDelaySeconds\": 3600,\r\n\"container\": {\r\n\"type\": \"DOCKER\",\r\n\"volumes\": [],\r\n\"docker\": {\r\n\"image\": \"nginx\",\r\n\"network\": \"BRIDGE\",\r\n\"portMappings\": [\r\n{\r\n\"containerPort\": 80,\r\n\"hostPort\": 0,\r\n\"servicePort\": 4444,\r\n\"protocol\": \"tcp\"\r\n}\r\n],\r\n\"privileged\": false,\r\n\"parameters\": []\r\n}\r\n},\r\n\"healthChecks\": [],\r\n\"dependencies\": [],\r\n\"upgradeStrategy\": {\r\n\"minimumHealthCapacity\": 0.5,\r\n\"maximumOverCapacity\": 0.2\r\n},\r\n\"labels\": {},\r\n\"version\": \"2015-03-12T07:19:05.701Z\",\r\n\"tasksStaged\": 0,\r\n\"tasksRunning\": 3,\r\n\"deployments\": []\r\n}\r\n]\r\n}\r\n\r\n\r\nIf I want to destroy this app now, I have to scale the app first, then it appear again at /v2/groups and destroy it.\r\n\r\nNot happen all the time, not sure whether the dependency issue."}}