{"action":"opened","issue":{"url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/179","labels_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/179/comments","events_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/179/events","html_url":"https://github.com/projectatomic/rpm-ostree/issues/179","id":113883041,"number":179,"title":"rebase command should ignore remotes that do not exist","user":{"login":"miabbott","id":10236257,"avatar_url":"https://avatars.githubusercontent.com/u/10236257?v=3","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-28T17:56:04Z","updated_at":"2015-10-28T17:56:04Z","closed_at":null,"body":"On RHEL systems, when you register via `subscription-manager` the `rhel-atomic-host-ostree` remote is added.\r\n\r\nHowever, the initial refspec for the system uses the `rhel-atomic-host` remote.\r\n\r\n\r\n\r\nWhen an `rpm-ostree rebase` is attempted, an error is returned.\r\n\r\n`error: openat: No such file or directory`\r\n\r\nPer discussion with @cgwalters, it is believed this is because the `rhel-atomic-host` remote does not exist.\r\n\r\n```\r\n# ostree admin status\r\n* rhel-atomic-host 8b036dc779e957c6189fc3710521ebe3645e84f0bd6a79db6bac7b40ff086a2e.0\r\n    Version: 7.2\r\n    origin refspec: rhel-atomic-host:rhel-atomic-host/7/x86_64/standard\r\n-bash-4.2# ostree remote list\r\n-bash-4.2# subscription-manager register --username miabbott@redhat.com --auto-attach\r\n\r\n...snip...\r\n\r\n-bash-4.2# ostree admin status\r\n* rhel-atomic-host 8b036dc779e957c6189fc3710521ebe3645e84f0bd6a79db6bac7b40ff086a2e.0\r\n    Version: 7.2\r\n    origin refspec: rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard\r\n-bash-4.2# ostree remote list\r\nrhel-atomic-host-ostree\r\n-bash-4.2# ostree remote add rhel7.1.6 <url>\r\n-bash-4.2# ostree refs\r\nrhel7.1.6:rhel-atomic-host/7/x86_64/standard\r\nrhel-atomic-host:rhel-atomic-host/7/x86_64/standard\r\nostree/0/1/0\r\n-bash-4.2# rpm-ostree rebase rhel7.1.6:rhel-atomic-host/7/x86_64/standard\r\n\r\n824 metadata, 5897 content objects fetched; 225214 KiB transferred in 27 seconds\r\nCopying /etc changes: 31 modified, 4 removed, 55 added\r\nTransaction complete; bootconfig swap: yes deployment count change: 1\r\nDeleting ref 'rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard'\r\nerror: openat: No such file or directory\r\n```\r\n"}}