{"action":"created","issue":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/2280","labels_url":"https://api.github.com/repos/mesosphere/marathon/issues/2280/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/marathon/issues/2280/comments","events_url":"https://api.github.com/repos/mesosphere/marathon/issues/2280/events","html_url":"https://github.com/mesosphere/marathon/issues/2280","id":107192300,"number":2280,"title":"Scaling check ignores task versions","user":{"login":"janisz","id":1616386,"avatar_url":"https://avatars.githubusercontent.com/u/1616386?v=3","gravatar_id":"","url":"https://api.github.com/users/janisz","html_url":"https://github.com/janisz","followers_url":"https://api.github.com/users/janisz/followers","following_url":"https://api.github.com/users/janisz/following{/other_user}","gists_url":"https://api.github.com/users/janisz/gists{/gist_id}","starred_url":"https://api.github.com/users/janisz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janisz/subscriptions","organizations_url":"https://api.github.com/users/janisz/orgs","repos_url":"https://api.github.com/users/janisz/repos","events_url":"https://api.github.com/users/janisz/events{/privacy}","received_events_url":"https://api.github.com/users/janisz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mesosphere/marathon/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mesosphere/marathon/labels/ready","name":"ready","color":"ededed"},{"url":"https://api.github.com/repos/mesosphere/marathon/labels/service","name":"service","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mesosphere/marathon/milestones/22","html_url":"https://github.com/mesosphere/marathon/milestones/0.13.0","labels_url":"https://api.github.com/repos/mesosphere/marathon/milestones/22/labels","id":1284367,"number":22,"title":"0.13.0","description":"RC-1 will be released on 2015-10-16","creator":{"login":"mwasn","id":12829900,"avatar_url":"https://avatars.githubusercontent.com/u/12829900?v=3","gravatar_id":"","url":"https://api.github.com/users/mwasn","html_url":"https://github.com/mwasn","followers_url":"https://api.github.com/users/mwasn/followers","following_url":"https://api.github.com/users/mwasn/following{/other_user}","gists_url":"https://api.github.com/users/mwasn/gists{/gist_id}","starred_url":"https://api.github.com/users/mwasn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwasn/subscriptions","organizations_url":"https://api.github.com/users/mwasn/orgs","repos_url":"https://api.github.com/users/mwasn/repos","events_url":"https://api.github.com/users/mwasn/events{/privacy}","received_events_url":"https://api.github.com/users/mwasn/received_events","type":"User","site_admin":false},"open_issues":84,"closed_issues":40,"state":"open","created_at":"2015-09-01T15:54:59Z","updated_at":"2015-10-19T15:41:58Z","due_on":"2015-10-29T23:00:00Z","closed_at":null},"comments":3,"created_at":"2015-09-18T12:22:21Z","updated_at":"2015-10-19T16:30:52Z","closed_at":null,"body":"Task configuration is saved before deployment ends.\r\n\r\n__Scenario:__\r\n\r\n1. Deploy application in version X with configuration A \r\n2. Deploy same application (same id) in version Y with configuration B (same number of instances as in configuration A). Let's assume that this application has some problem with start, so it respond on health check with 500 code. Because of that marathon continuously try to launch it.\r\n3. Application in version X and configuration A are still working. Developer stop running deployment of version Y.\r\n4. When developer want deploy version Y again with configuration B marathon do noting because it's see this configuration is already deployed and desired number of instances is achieved while only previous version is running."},"comment":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/comments/149271943","html_url":"https://github.com/mesosphere/marathon/issues/2280#issuecomment-149271943","issue_url":"https://api.github.com/repos/mesosphere/marathon/issues/2280","id":149271943,"user":{"login":"aquamatthias","id":330485,"avatar_url":"https://avatars.githubusercontent.com/u/330485?v=3","gravatar_id":"","url":"https://api.github.com/users/aquamatthias","html_url":"https://github.com/aquamatthias","followers_url":"https://api.github.com/users/aquamatthias/followers","following_url":"https://api.github.com/users/aquamatthias/following{/other_user}","gists_url":"https://api.github.com/users/aquamatthias/gists{/gist_id}","starred_url":"https://api.github.com/users/aquamatthias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aquamatthias/subscriptions","organizations_url":"https://api.github.com/users/aquamatthias/orgs","repos_url":"https://api.github.com/users/aquamatthias/repos","events_url":"https://api.github.com/users/aquamatthias/events{/privacy}","received_events_url":"https://api.github.com/users/aquamatthias/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T16:30:52Z","updated_at":"2015-10-19T16:30:52Z","body":"With the fix for #2441 we wait for all old versions of an app to die as part of the deployment. The scaleApp operation is not applied to apps in deployment. There should be no app with different task versions, that are not controlled by a deployment."}}