{"action":"created","issue":{"url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/762","repository_url":"https://api.github.com/repos/projectatomic/rpm-ostree","labels_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/762/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/762/comments","events_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/762/events","html_url":"https://github.com/projectatomic/rpm-ostree/issues/762","id":225428083,"node_id":"MDU6SXNzdWUyMjU0MjgwODM=","number":762,"title":"How to use proxy server with rpm-ostree","user":{"login":"rgruyters","id":2082795,"node_id":"MDQ6VXNlcjIwODI3OTU=","avatar_url":"https://avatars1.githubusercontent.com/u/2082795?v=4","gravatar_id":"","url":"https://api.github.com/users/rgruyters","html_url":"https://github.com/rgruyters","followers_url":"https://api.github.com/users/rgruyters/followers","following_url":"https://api.github.com/users/rgruyters/following{/other_user}","gists_url":"https://api.github.com/users/rgruyters/gists{/gist_id}","starred_url":"https://api.github.com/users/rgruyters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgruyters/subscriptions","organizations_url":"https://api.github.com/users/rgruyters/orgs","repos_url":"https://api.github.com/users/rgruyters/repos","events_url":"https://api.github.com/users/rgruyters/events{/privacy}","received_events_url":"https://api.github.com/users/rgruyters/received_events","type":"User","site_admin":false},"labels":[{"id":71731344,"node_id":"MDU6TGFiZWw3MTczMTM0NA==","url":"https://api.github.com/repos/projectatomic/rpm-ostree/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-05-01T12:33:48Z","updated_at":"2018-10-30T10:57:46Z","closed_at":null,"author_association":"NONE","body":"** Host system details **\r\nCentos Atomic Host as VM\r\n\r\nProvide the output of `rpm-ostree status`.\r\n```\r\nState: idle\r\nDeployments:\r\n● centos-atomic-host:centos-atomic-host/7/x86_64/standard\r\n       Version: 7.20170405 (2017-04-10 20:31:05)\r\n        Commit: 91fe03fef75652f68a9974261b391faaeb5bd20f33abf09bb1d45511ba2df04e\r\n        OSName: centos-atomic-host\r\n  GPGSignature: 1 signature\r\n                Signature made Mon 10 Apr 2017 11:19:14 PM CEST using RSA key ID F17E745691BA8335\r\n                Good signature from \"CentOS Atomic SIG <security@centos.org>\"\r\n```\r\n\r\n** Expected vs actual behavior **\r\n\r\n```\r\n# rpm-ostree install oddjobd\r\nChecking out tree 91fe03f... done\r\nerror: cannot update repo 'base': Cannot prepare internal mirrorlist: Curl error (7): Couldn't connect to server for http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=$infra [Failed to connect to 2607:f8f8:700:12::10: Network is unreachable]\r\n```\r\n\r\nExpected:\r\n\r\n```\r\n# rpm-ostree install oddjobd\r\n...\r\nSuccess!\r\n```\r\n\r\n**Steps to reproduce it**\r\n\r\nJust run above command in a closed environment\r\n\r\n**Would you like to work on the issue?**\r\n\r\nPlease let us know if you can work on it or the issue should be assigned to\r\nsomeone else.\r\n"},"comment":{"url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/comments/434256478","html_url":"https://github.com/projectatomic/rpm-ostree/issues/762#issuecomment-434256478","issue_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/762","id":434256478,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDI1NjQ3OA==","user":{"login":"Logibox","id":2916046,"node_id":"MDQ6VXNlcjI5MTYwNDY=","avatar_url":"https://avatars2.githubusercontent.com/u/2916046?v=4","gravatar_id":"","url":"https://api.github.com/users/Logibox","html_url":"https://github.com/Logibox","followers_url":"https://api.github.com/users/Logibox/followers","following_url":"https://api.github.com/users/Logibox/following{/other_user}","gists_url":"https://api.github.com/users/Logibox/gists{/gist_id}","starred_url":"https://api.github.com/users/Logibox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Logibox/subscriptions","organizations_url":"https://api.github.com/users/Logibox/orgs","repos_url":"https://api.github.com/users/Logibox/repos","events_url":"https://api.github.com/users/Logibox/events{/privacy}","received_events_url":"https://api.github.com/users/Logibox/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T10:57:46Z","updated_at":"2018-10-30T10:57:46Z","author_association":"NONE","body":"Found this snippet in #208:\r\n```\r\n$ mkdir -p /etc/systemd/system/rpm-ostreed.service.d\r\n$ cat > /etc/systemd/system/rpm-ostreed.service.d/http-proxy.conf << EOF\r\n[Service]\r\nEnvironment=\"http_proxy=http://<my-proxy>\"\r\nEOF\r\n$ systemctl daemon-reload\r\n$ systemctl restart rpm-ostreed.service\r\n```\r\nThis seems to work for `rpm-ostree upgrade|install`."}}
{"actor":{"display_login":"Logibox"}}