{"action":"closed","issue":{"url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/issues/47","labels_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/issues/47/comments","events_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/issues/47/events","html_url":"https://github.com/OpenSCAP/openscap-daemon/issues/47","id":128107339,"number":47,"title":"Daemon fails to start due to missing Python requests module","user":{"login":"jan-cerny","id":9050916,"avatar_url":"https://avatars.githubusercontent.com/u/9050916?v=3","gravatar_id":"","url":"https://api.github.com/users/jan-cerny","html_url":"https://github.com/jan-cerny","followers_url":"https://api.github.com/users/jan-cerny/followers","following_url":"https://api.github.com/users/jan-cerny/following{/other_user}","gists_url":"https://api.github.com/users/jan-cerny/gists{/gist_id}","starred_url":"https://api.github.com/users/jan-cerny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jan-cerny/subscriptions","organizations_url":"https://api.github.com/users/jan-cerny/orgs","repos_url":"https://api.github.com/users/jan-cerny/repos","events_url":"https://api.github.com/users/jan-cerny/events{/privacy}","received_events_url":"https://api.github.com/users/jan-cerny/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"mpreisler","id":753153,"avatar_url":"https://avatars.githubusercontent.com/u/753153?v=3","gravatar_id":"","url":"https://api.github.com/users/mpreisler","html_url":"https://github.com/mpreisler","followers_url":"https://api.github.com/users/mpreisler/followers","following_url":"https://api.github.com/users/mpreisler/following{/other_user}","gists_url":"https://api.github.com/users/mpreisler/gists{/gist_id}","starred_url":"https://api.github.com/users/mpreisler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpreisler/subscriptions","organizations_url":"https://api.github.com/users/mpreisler/orgs","repos_url":"https://api.github.com/users/mpreisler/repos","events_url":"https://api.github.com/users/mpreisler/events{/privacy}","received_events_url":"https://api.github.com/users/mpreisler/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/milestones/3","html_url":"https://github.com/OpenSCAP/openscap-daemon/milestones/0.1.2","labels_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/milestones/3/labels","id":1429723,"number":3,"title":"0.1.2","description":"","creator":{"login":"mpreisler","id":753153,"avatar_url":"https://avatars.githubusercontent.com/u/753153?v=3","gravatar_id":"","url":"https://api.github.com/users/mpreisler","html_url":"https://github.com/mpreisler","followers_url":"https://api.github.com/users/mpreisler/followers","following_url":"https://api.github.com/users/mpreisler/following{/other_user}","gists_url":"https://api.github.com/users/mpreisler/gists{/gist_id}","starred_url":"https://api.github.com/users/mpreisler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpreisler/subscriptions","organizations_url":"https://api.github.com/users/mpreisler/orgs","repos_url":"https://api.github.com/users/mpreisler/repos","events_url":"https://api.github.com/users/mpreisler/events{/privacy}","received_events_url":"https://api.github.com/users/mpreisler/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":4,"state":"open","created_at":"2015-11-25T16:50:53Z","updated_at":"2016-01-25T12:22:48Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-01-22T08:31:23Z","updated_at":"2016-01-25T12:22:48Z","closed_at":"2016-01-25T12:22:48Z","body":"I have run into issue that I wasn't able to start OpenSCAP Daemon using `systemctl start oscapd` on Fedora 22 Cloud. It seems to be dependent on Python's \"requests\" module. Here is a snippet from my journal:\r\n```\r\nJan 21 08:32:02 nec-em18.rhts.eng.bos.redhat.com systemd[1]: Starting OpenSCAP Daemon...\r\nJan 21 08:32:02 nec-em18.rhts.eng.bos.redhat.com oscapd[10409]: Traceback (most recent call last):\r\nJan 21 08:32:02 nec-em18.rhts.eng.bos.redhat.com oscapd[10409]: File \"/usr/bin/oscapd\", line 22, in <module>\r\nJan 21 08:32:02 nec-em18.rhts.eng.bos.redhat.com oscapd[10409]: from openscap_daemon import dbus_daemon\r\nJan 21 08:32:02 nec-em18.rhts.eng.bos.redhat.com oscapd[10409]: File \"/usr/lib/python2.7/site-packages/openscap_daemon/dbus_daemon.py\", line 23, in <module>\r\nJan 21 08:32:02 nec-em18.rhts.eng.bos.redhat.com oscapd[10409]: from openscap_daemon.cve_scanner.cve_scanner import Worker\r\nJan 21 08:32:02 nec-em18.rhts.eng.bos.redhat.com oscapd[10409]: File \"/usr/lib/python2.7/site-packages/openscap_daemon/cve_scanner/cve_scanner.py\", line 23, in <module>\r\nJan 21 08:32:02 nec-em18.rhts.eng.bos.redhat.com oscapd[10409]: from openscap_daemon.cve_scanner.generate_summary import Create_Summary\r\nJan 21 08:32:02 nec-em18.rhts.eng.bos.redhat.com oscapd[10409]: File \"/usr/lib/python2.7/site-packages/openscap_daemon/cve_scanner/generate_summary.py\", line 27, in <module>\r\nJan 21 08:32:02 nec-em18.rhts.eng.bos.redhat.com oscapd[10409]: from openscap_daemon.cve_scanner.image_scanner_client import Client\r\nJan 21 08:32:02 nec-em18.rhts.eng.bos.redhat.com oscapd[10409]: File \"/usr/lib/python2.7/site-packages/openscap_daemon/cve_scanner/image_scanner_client.py\", line 37, in <module>\r\nJan 21 08:32:02 nec-em18.rhts.eng.bos.redhat.com oscapd[10409]: import requests\r\nJan 21 08:32:02 nec-em18.rhts.eng.bos.redhat.com oscapd[10409]: ImportError: No module named requests\r\nJan 21 08:32:03 nec-em18.rhts.eng.bos.redhat.com systemd[1]: oscapd.service: main process exited, code=exited, status=1/FAILURE\r\nJan 21 08:32:03 nec-em18.rhts.eng.bos.redhat.com systemd[1]: Failed to start OpenSCAP Daemon.\r\n```\r\nI use openscap-daemon-0.1.1-3.fc22.noarch.\r\n\r\nAs from I understand, the daemon itself should not depend on `requests`, only the client part should depend on it."}}