{"action":"opened","issue":{"url":"https://api.github.com/repos/coreos/bugs/issues/1625","repository_url":"https://api.github.com/repos/coreos/bugs","labels_url":"https://api.github.com/repos/coreos/bugs/issues/1625/labels{/name}","comments_url":"https://api.github.com/repos/coreos/bugs/issues/1625/comments","events_url":"https://api.github.com/repos/coreos/bugs/issues/1625/events","html_url":"https://github.com/coreos/bugs/issues/1625","id":184278640,"number":1625,"title":"update-engine.service restart does not reset the variable CURRENT_OP","user":{"login":"honeyankit","id":5500812,"avatar_url":"https://avatars.githubusercontent.com/u/5500812?v=3","gravatar_id":"","url":"https://api.github.com/users/honeyankit","html_url":"https://github.com/honeyankit","followers_url":"https://api.github.com/users/honeyankit/followers","following_url":"https://api.github.com/users/honeyankit/following{/other_user}","gists_url":"https://api.github.com/users/honeyankit/gists{/gist_id}","starred_url":"https://api.github.com/users/honeyankit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honeyankit/subscriptions","organizations_url":"https://api.github.com/users/honeyankit/orgs","repos_url":"https://api.github.com/users/honeyankit/repos","events_url":"https://api.github.com/users/honeyankit/events{/privacy}","received_events_url":"https://api.github.com/users/honeyankit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-20T16:30:36Z","updated_at":"2016-10-20T16:30:36Z","closed_at":null,"body":"# Issue Report #\r\n\r\n## Bug ##\r\n\r\n### CoreOS Version ###\r\n835.13.0\r\n\r\n```\r\n$ cat /etc/os-release\r\nNAME=CoreOS\r\nID=coreos\r\nVERSION=835.13.0\r\nVERSION_ID=835.13.0\r\nBUILD_ID=\r\nPRETTY_NAME=\"CoreOS 835.13.0\"\r\nANSI_COLOR=\"1;32\"\r\nHOME_URL=\"https://coreos.com/\"\r\nBUG_REPORT_URL=\"https://github.com/coreos/bugs/issues\"\r\n```\r\n\r\n### Environment ###\r\n\r\nWhat hardware/cloud provider/hypervisor is being used to run CoreOS?\r\nVirtualBox (Version 5.1.2 r108956)\r\n\r\n### Expected Behavior ###\r\n\r\nAfter CoreOS upgrade, restart of update-engine.service should reset the \r\nvariable CURRENT_OP to IDLE, as NEW_SIZE becomes 0\r\n\r\n### Actual Behavior ###\r\nAfter CoreOS upgrade and immediately restarting update-engine.service,\r\nvariable CURRENT_OP still has value UPDATE_STATUS_UPDATED_NEED_REBOOT but \r\nNEW_SIZE is 0\r\n\r\n### Reproduction Steps ###\r\n\r\n  1. sudo update_engine_client --update\r\n  2. Do not reboot\r\n  3. sudo update_engine_client --status\r\n\r\n     [1020/140210:INFO:update_engine_client.cc(233)] Querying Update Engine status...\r\n     LAST_CHECKED_TIME=1476971983\r\n     PROGRESS=0.000000\r\n     CURRENT_OP=UPDATE_STATUS_UPDATED_NEED_REBOOT\r\n     NEW_VERSION=0.0.0.0\r\n     NEW_SIZE=216935744 \r\n \r\n  4. sudo systemctl restart update-engine.service\r\n  5. sudo update_engine_client --status\r\n   \r\n     [1020/140210:INFO:update_engine_client.cc(233)] Querying Update Engine status...\r\n     LAST_CHECKED_TIME=0\r\n     PROGRESS=0.000000\r\n     CURRENT_OP=UPDATE_STATUS_UPDATED_NEED_REBOOT\r\n      NEW_VERSION=0.0.0.0\r\n      NEW_SIZE=0   \r\n\r\n### Other Information ###\r\n\r\n## Feature Request ##\r\nAfter update-engine.service restart the CURRENT_OP should become in IDLE state\r\n\r\n### Environment ###\r\n\r\nWhat hardware/cloud provider/hypervisor is being used to run CoreOS?\r\nVirtualBox (Version 5.1.2 r108956)\r\n\r\n### Desired Feature ###\r\n\r\n### Other Information ###\r\n"}}
{"actor":{"display_login":"honeyankit"}}