{"action":"closed","issue":{"url":"https://api.github.com/repos/stfc/ceph-InfluxDB-metricsCollector/issues/2","repository_url":"https://api.github.com/repos/stfc/ceph-InfluxDB-metricsCollector","labels_url":"https://api.github.com/repos/stfc/ceph-InfluxDB-metricsCollector/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/stfc/ceph-InfluxDB-metricsCollector/issues/2/comments","events_url":"https://api.github.com/repos/stfc/ceph-InfluxDB-metricsCollector/issues/2/events","html_url":"https://github.com/stfc/ceph-InfluxDB-metricsCollector/issues/2","id":161095601,"number":2,"title":"loader.py fails with Python 2.7","user":{"login":"thecanadianbaker","id":15822260,"avatar_url":"https://avatars.githubusercontent.com/u/15822260?v=3","gravatar_id":"","url":"https://api.github.com/users/thecanadianbaker","html_url":"https://github.com/thecanadianbaker","followers_url":"https://api.github.com/users/thecanadianbaker/followers","following_url":"https://api.github.com/users/thecanadianbaker/following{/other_user}","gists_url":"https://api.github.com/users/thecanadianbaker/gists{/gist_id}","starred_url":"https://api.github.com/users/thecanadianbaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thecanadianbaker/subscriptions","organizations_url":"https://api.github.com/users/thecanadianbaker/orgs","repos_url":"https://api.github.com/users/thecanadianbaker/repos","events_url":"https://api.github.com/users/thecanadianbaker/events{/privacy}","received_events_url":"https://api.github.com/users/thecanadianbaker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-19T22:31:09Z","updated_at":"2016-06-20T00:18:04Z","closed_at":"2016-06-20T00:18:04Z","body":"Running _loader.py_ with Python 2.7.6 I receive the following error for each plugin run:\r\n\r\n```\r\n[2016-06-19 22:13:55,211] ERROR: Failed to execute command :: stdout argument not allowed, it will be overridden. :: Traceback (most recent call last):\r\n  File \"/opt/collins/ceph-InfluxDB-metricsCollector/plugins/base.py\", line 114, in execute_command\r\n    output = subprocess.check_output(args,stdout=subprocess.PIPE)\r\n  File \"/usr/lib/python2.7/subprocess.py\", line 565, in check_output\r\n    raise ValueError('stdout argument not allowed, it will be overridden.')\r\nValueError: stdout argument not allowed, it will be overridden.\r\n```\r\n\r\nPer [Pyton 2.7  subprocess docs](https://docs.python.org/2/library/subprocess.html#subprocess.check_output) the arguments for `subprocess.check_output` do not include `stdout`, but [the base.py call](https://github.com/stfc/ceph-InfluxDB-metricsCollector/blob/master/plugins/base.py#L114) does include the `stdout` argument.\r\n\r\nIs this a localized issue, or is this something that should be fixed in the codebase?"}}
{"actor":{"display_login":"ITDebicki"}}