{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/15730","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/15730/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/15730/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/15730/events","html_url":"https://github.com/openshift/origin/issues/15730","id":249341574,"number":15730,"title":"Rolling update stalls when deployment has been scaled down","user":{"login":"objectiser","id":164562,"avatar_url":"https://avatars3.githubusercontent.com/u/164562?v=4","gravatar_id":"","url":"https://api.github.com/users/objectiser","html_url":"https://github.com/objectiser","followers_url":"https://api.github.com/users/objectiser/followers","following_url":"https://api.github.com/users/objectiser/following{/other_user}","gists_url":"https://api.github.com/users/objectiser/gists{/gist_id}","starred_url":"https://api.github.com/users/objectiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/objectiser/subscriptions","organizations_url":"https://api.github.com/users/objectiser/orgs","repos_url":"https://api.github.com/users/objectiser/repos","events_url":"https://api.github.com/users/objectiser/events{/privacy}","received_events_url":"https://api.github.com/users/objectiser/received_events","type":"User","site_admin":false},"labels":[{"id":210155386,"url":"https://api.github.com/repos/openshift/origin/labels/component/apps","name":"component/apps","color":"0052cc","default":false},{"id":118251704,"url":"https://api.github.com/repos/openshift/origin/labels/kind/question","name":"kind/question","color":"cc317c","default":false},{"id":858447969,"url":"https://api.github.com/repos/openshift/origin/labels/lifecycle/rotten","name":"lifecycle/rotten","color":"604460","default":false},{"id":210151912,"url":"https://api.github.com/repos/openshift/origin/labels/priority/P2","name":"priority/P2","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"tnozicka","id":11869554,"avatar_url":"https://avatars2.githubusercontent.com/u/11869554?v=4","gravatar_id":"","url":"https://api.github.com/users/tnozicka","html_url":"https://github.com/tnozicka","followers_url":"https://api.github.com/users/tnozicka/followers","following_url":"https://api.github.com/users/tnozicka/following{/other_user}","gists_url":"https://api.github.com/users/tnozicka/gists{/gist_id}","starred_url":"https://api.github.com/users/tnozicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnozicka/subscriptions","organizations_url":"https://api.github.com/users/tnozicka/orgs","repos_url":"https://api.github.com/users/tnozicka/repos","events_url":"https://api.github.com/users/tnozicka/events{/privacy}","received_events_url":"https://api.github.com/users/tnozicka/received_events","type":"User","site_admin":false},"assignees":[{"login":"tnozicka","id":11869554,"avatar_url":"https://avatars2.githubusercontent.com/u/11869554?v=4","gravatar_id":"","url":"https://api.github.com/users/tnozicka","html_url":"https://github.com/tnozicka","followers_url":"https://api.github.com/users/tnozicka/followers","following_url":"https://api.github.com/users/tnozicka/following{/other_user}","gists_url":"https://api.github.com/users/tnozicka/gists{/gist_id}","starred_url":"https://api.github.com/users/tnozicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnozicka/subscriptions","organizations_url":"https://api.github.com/users/tnozicka/orgs","repos_url":"https://api.github.com/users/tnozicka/repos","events_url":"https://api.github.com/users/tnozicka/events{/privacy}","received_events_url":"https://api.github.com/users/tnozicka/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-08-10T13:12:15Z","updated_at":"2018-03-19T17:12:56Z","closed_at":null,"author_association":"NONE","body":"I deploy a couple of services - if I scale down one of them, and update the deployment config to change the docker image version (via editing the deployment config in the UI), it then goes into \"Rolling update\" mode in the UI, and doesn't complete - it hangs (as shown in the following image).\r\n\r\n![origin-rolling-update-stall](https://user-images.githubusercontent.com/164562/29171685-3e9d48fe-7dd5-11e7-96c3-32644d28f492.png)\r\n\r\nIf the deployment has atleast one pod, then it works fine.\r\n\r\nI also tried the same example on Kubernetes and was able to scale down, update the image version and then scale up using the new version without any problems.\r\n\r\n##### Version\r\noc v3.6.0+c4dd4cf\r\nkubernetes v1.6.1+5115d708d7\r\nfeatures: Basic-Auth GSSAPI Kerberos SPNEGO\r\n\r\nServer https://192.168.42.176:8443\r\nopenshift v3.6.0+c4dd4cf\r\nkubernetes v1.6.1+5115d708d7\r\n\r\n##### Steps To Reproduce\r\nI'm listing the steps that I took - but it should be reproducable with any deployment - possibly making any type of change to the deployment config (yaml) while scaled down to 0 pods.\r\n\r\n1. Clone `https://github.com/objectiser/opentracing-prometheus-example`\r\n2. `minishift start --openshift-version=v3.6.0`\r\n3. From the 'simple' folder, run: `eval $(minishift docker-env)`\r\n4. Run: `mvn clean install docker:build`\r\n5. Run: `oc create -f services-kubernetes.yml` - this will show a couple of errors as it references prometheus-operator\r\n6. Go to the OpenShift UI, scale down the accountmgr so 0 pods\r\n7. Update the simple/accountmgr/pom.xml version to 0.0.2\r\n8. Re-run: `mvn clean install docker:build`\r\n9. Edit the deployment config to use the accountmgr image version 0.0.2 - save the changes\r\n\r\nThe UI should now show the \"Rolling update\" - but will fail to complete.\r\n\r\n##### Current Result\r\n\r\nRolling update UI fails to complete.\r\n\r\n##### Expected Result\r\n\r\nThe accountmgr deployment should immediately show the new image version, and then enable the user to scale it up.\r\n\r\n##### Additional Information\r\n"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/374291989","html_url":"https://github.com/openshift/origin/issues/15730#issuecomment-374291989","issue_url":"https://api.github.com/repos/openshift/origin/issues/15730","id":374291989,"user":{"login":"openshift-bot","id":1779249,"avatar_url":"https://avatars2.githubusercontent.com/u/1779249?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift-bot","html_url":"https://github.com/openshift-bot","followers_url":"https://api.github.com/users/openshift-bot/followers","following_url":"https://api.github.com/users/openshift-bot/following{/other_user}","gists_url":"https://api.github.com/users/openshift-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift-bot/subscriptions","organizations_url":"https://api.github.com/users/openshift-bot/orgs","repos_url":"https://api.github.com/users/openshift-bot/repos","events_url":"https://api.github.com/users/openshift-bot/events{/privacy}","received_events_url":"https://api.github.com/users/openshift-bot/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T17:12:56Z","updated_at":"2018-03-19T17:12:56Z","author_association":"MEMBER","body":"Stale issues rot after 30d of inactivity.\n\nMark the issue as fresh by commenting `/remove-lifecycle rotten`.\nRotten issues close after an additional 30d of inactivity.\nExclude this issue from closing by commenting `/lifecycle frozen`.\n\nIf this issue is safe to close now please do so with `/close`.\n\n/lifecycle rotten\n/remove-lifecycle stale"}}
{"actor":{"display_login":"openshift-bot"}}