{"action":"created","issue":{"url":"https://api.github.com/repos/user-cont/release-bot/issues/48","repository_url":"https://api.github.com/repos/user-cont/release-bot","labels_url":"https://api.github.com/repos/user-cont/release-bot/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/user-cont/release-bot/issues/48/comments","events_url":"https://api.github.com/repos/user-cont/release-bot/issues/48/events","html_url":"https://github.com/user-cont/release-bot/issues/48","id":319573777,"number":48,"title":"`fedpkg clone` doesn't work in anyuid openshift environment","user":{"login":"TomasTomecek","id":1662493,"avatar_url":"https://avatars0.githubusercontent.com/u/1662493?v=4","gravatar_id":"","url":"https://api.github.com/users/TomasTomecek","html_url":"https://github.com/TomasTomecek","followers_url":"https://api.github.com/users/TomasTomecek/followers","following_url":"https://api.github.com/users/TomasTomecek/following{/other_user}","gists_url":"https://api.github.com/users/TomasTomecek/gists{/gist_id}","starred_url":"https://api.github.com/users/TomasTomecek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomasTomecek/subscriptions","organizations_url":"https://api.github.com/users/TomasTomecek/orgs","repos_url":"https://api.github.com/users/TomasTomecek/repos","events_url":"https://api.github.com/users/TomasTomecek/events{/privacy}","received_events_url":"https://api.github.com/users/TomasTomecek/received_events","type":"User","site_admin":false},"labels":[{"id":837266153,"url":"https://api.github.com/repos/user-cont/release-bot/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-02T14:22:47Z","updated_at":"2018-05-04T11:15:33Z","closed_at":null,"author_association":"OWNER","body":"Since containers in openshift can have a random uid, fedpkg is not able to get a username b/c there is no such entry in /etc/passwd:\r\n```\r\n14:17:38.981 release_bot.py    DEBUG  ['fedpkg', 'clone', 'conu']\r\n14:17:38.982 release_bot.py    ERROR  Cloning fedora repository failed:\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/fedpkg\", line 11, in <module>\r\n    load_entry_point('fedpkg==1.32', 'console_scripts', 'fedpkg')()\r\n  File \"/usr/lib/python2.7/site-packages/fedpkg/__main__.py\", line 58, in main\r\n    client.parse_cmdline()\r\n  File \"/usr/lib/python2.7/site-packages/pyrpkg/cli.py\", line 1804, in parse_cmdline\r\n    self.user = pwd.getpwuid(os.getuid())[0]\r\nKeyError: 'getpwuid(): uid not found: 1005350000'\r\n```"},"comment":{"url":"https://api.github.com/repos/user-cont/release-bot/issues/comments/386570715","html_url":"https://github.com/user-cont/release-bot/issues/48#issuecomment-386570715","issue_url":"https://api.github.com/repos/user-cont/release-bot/issues/48","id":386570715,"user":{"login":"TomasTomecek","id":1662493,"avatar_url":"https://avatars0.githubusercontent.com/u/1662493?v=4","gravatar_id":"","url":"https://api.github.com/users/TomasTomecek","html_url":"https://github.com/TomasTomecek","followers_url":"https://api.github.com/users/TomasTomecek/followers","following_url":"https://api.github.com/users/TomasTomecek/following{/other_user}","gists_url":"https://api.github.com/users/TomasTomecek/gists{/gist_id}","starred_url":"https://api.github.com/users/TomasTomecek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomasTomecek/subscriptions","organizations_url":"https://api.github.com/users/TomasTomecek/orgs","repos_url":"https://api.github.com/users/TomasTomecek/repos","events_url":"https://api.github.com/users/TomasTomecek/events{/privacy}","received_events_url":"https://api.github.com/users/TomasTomecek/received_events","type":"User","site_admin":false},"created_at":"2018-05-04T11:15:33Z","updated_at":"2018-05-04T11:15:33Z","author_association":"OWNER","body":"fudge, I fear we need something like this:\r\n\r\nhttps://github.com/sclorg/postgresql-container/blob/4a7ce3eef2b322882c4a14b863aa81fc0cd4dab9/src/root/usr/share/container-scripts/postgresql/common.sh#L145\r\n\r\nOr fix git."}}
{"actor":{"display_login":"TomasTomecek"}}