{"action":"created","issue":{"url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/211","repository_url":"https://api.github.com/repos/projectatomic/rpm-ostree","labels_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/211/comments","events_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/211/events","html_url":"https://github.com/projectatomic/rpm-ostree/issues/211","id":133333908,"number":211,"title":"propogation of ctrl-c is not always reliable","user":{"login":"miabbott","id":10236257,"avatar_url":"https://avatars2.githubusercontent.com/u/10236257?v=4","gravatar_id":"","url":"https://api.github.com/users/miabbott","html_url":"https://github.com/miabbott","followers_url":"https://api.github.com/users/miabbott/followers","following_url":"https://api.github.com/users/miabbott/following{/other_user}","gists_url":"https://api.github.com/users/miabbott/gists{/gist_id}","starred_url":"https://api.github.com/users/miabbott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miabbott/subscriptions","organizations_url":"https://api.github.com/users/miabbott/orgs","repos_url":"https://api.github.com/users/miabbott/repos","events_url":"https://api.github.com/users/miabbott/events{/privacy}","received_events_url":"https://api.github.com/users/miabbott/received_events","type":"User","site_admin":false},"labels":[{"id":71731340,"url":"https://api.github.com/repos/projectatomic/rpm-ostree/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-02-12T20:18:49Z","updated_at":"2017-09-14T15:10:47Z","closed_at":"2017-09-14T15:10:47Z","author_association":"CONTRIBUTOR","body":"I've noticed a few instances where if I cancel an operation like `rpm-ostree deploy`, the operation appears to continue silently in the background.  \n\nFor example, I was running RHEL AH 7.2.2 and tried to deploy 7.2.  Early into the download of the content, I used `ctrl-c` to cancel the operation, went about some other business, then tried the `deploy` command again.  Based on the output returned to me, it appears that the content was downloaded in the background by the daemon.\n\n```\n-bash-4.2# rpm-ostree deploy 7.2\nResolving version '7.2'\n\nReceiving metadata objects: 15/(estimating) 1.0 kB/s 8.1 kB^C \nerror: Operation was cancelled\n\n<time passes; other things are done on the command line>\n\n-bash-4.2# rpm-ostree deploy 7.2\nResolving version '7.2'\n1 metadata, 0 content objects fetched; 837 B transferred in 1 seconds\nCopying /etc changes: 33 modified, 4 removed, 64 added\nTransaction complete; bootconfig swap: yes deployment count change: 0\nFreed objects: 268.9 MB\nChanged:\n  avahi-autoipd 0.6.31-15.el7_2.1 -> 0.6.31-15.el7\n```\n\nIn another example, running RHEL AH 7.2.2 again, I started a `deploy` of 7.2.1 and canceled it along the way.  When I tried to repeat it, I received an error that a metadata object could not be found.\n\n```\n-bash-4.2# rpm-ostree deploy 7.2.1\nResolving version '7.2.1'\n\nReceiving metadata objects: 16/(estimating) 1.0 kB/s 8.3 kB^C\nerror: Operation was cancelled\n-bash-4.2# rpm-ostree deploy 7.2.1\nResolving version '7.2.1'\nerror: No such metadata object 5799825b36f738bf5b21b3d9e98bd437a137e232be3780a787403288fd242f03.commit\n-bash-4.2# rpm-ostree deploy 7.2.1\nResolving version '7.2.1'\nerror: No such metadata object 5799825b36f738bf5b21b3d9e98bd437a137e232be3780a787403288fd242f03.commit\n-bash-4.2# rpm-ostree status\n  TIMESTAMP (UTC)         VERSION   ID             OSNAME               REFSPEC                                                        \n  2015-11-10 16:11:46     7.2       ec85fba1bf     rhel-atomic-host     rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard     \n* 2016-02-12 16:43:35     7.2.2     a903629278     rhel-atomic-host     rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard     \n```\n\nImmediately afterwards, I tried to toggle between trying to deploy 7.1.6 and 7.2.1 with a different result.\n\n```\n-bash-4.2# rpm-ostree deploy 7.1.6\nResolving version '7.1.6'\n\nReceiving metadata objects: 107/(estimating) 1.7 MB/s 17.2 MB^CC\n-bash-4.2# rpm-ostree deploy 7.2.1                                                                                                                                                                                 \nerror: System transaction in progress\n-bash-4.2# rpm-ostree deploy 7.1.6\n\nReceiving metadata objects: 266/(estimating) 1.5 MB/s 30.9 MB^C\n-bash-4.2# rpm-ostree deploy 7.2.1\nerror: System transaction in progress\n-bash-4.2# rpm-ostree deploy 7.1.6\n\nReceiving metadata objects: 534/(estimating) 1.1 MB/s 40.9 MB^C\n-bash-4.2# rpm-ostree deploy 7.2.1\nerror: System transaction in progress\n-bash-4.2# rpm-ostree deploy 7.1.6\n\nReceiving objects: 15% (1010/6702) 681.5 kB/s 41.6 MB^C        \n-bash-4.2# rpm-ostree deploy 7.1.6\n\nReceiving objects: 16% (1113/6702) 634.8 kB/s 42.5 MB^C\n-bash-4.2# \n```\n\nI want to also point out in this example that when I restarted the deploy of 7.1.6, the received object count had increased from when the operation was canceled to when the operation was restarted.\n"},"comment":{"url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/comments/329513177","html_url":"https://github.com/projectatomic/rpm-ostree/issues/211#issuecomment-329513177","issue_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/211","id":329513177,"user":{"login":"cgwalters","id":244096,"avatar_url":"https://avatars0.githubusercontent.com/u/244096?v=4","gravatar_id":"","url":"https://api.github.com/users/cgwalters","html_url":"https://github.com/cgwalters","followers_url":"https://api.github.com/users/cgwalters/followers","following_url":"https://api.github.com/users/cgwalters/following{/other_user}","gists_url":"https://api.github.com/users/cgwalters/gists{/gist_id}","starred_url":"https://api.github.com/users/cgwalters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgwalters/subscriptions","organizations_url":"https://api.github.com/users/cgwalters/orgs","repos_url":"https://api.github.com/users/cgwalters/repos","events_url":"https://api.github.com/users/cgwalters/events{/privacy}","received_events_url":"https://api.github.com/users/cgwalters/received_events","type":"User","site_admin":false},"created_at":"2017-09-14T15:10:47Z","updated_at":"2017-09-14T15:10:47Z","author_association":"OWNER","body":"Duping this on the newer https://github.com/projectatomic/rpm-ostree/issues/897"}}
{"actor":{"display_login":"cgwalters"}}