{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/48642","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/48642/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/48642/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/48642/events","html_url":"https://github.com/saltstack/salt/issues/48642","id":342188998,"node_id":"MDU6SXNzdWUzNDIxODg5OTg=","number":48642,"title":"UnicodeDecodeError: 'utf8' codec can't decode byte 0xfe in position 0: invalid start byte","user":{"login":"diepes","id":96414,"node_id":"MDQ6VXNlcjk2NDE0","avatar_url":"https://avatars0.githubusercontent.com/u/96414?v=4","gravatar_id":"","url":"https://api.github.com/users/diepes","html_url":"https://github.com/diepes","followers_url":"https://api.github.com/users/diepes/followers","following_url":"https://api.github.com/users/diepes/following{/other_user}","gists_url":"https://api.github.com/users/diepes/gists{/gist_id}","starred_url":"https://api.github.com/users/diepes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diepes/subscriptions","organizations_url":"https://api.github.com/users/diepes/orgs","repos_url":"https://api.github.com/users/diepes/repos","events_url":"https://api.github.com/users/diepes/events{/privacy}","received_events_url":"https://api.github.com/users/diepes/received_events","type":"User","site_admin":false},"labels":[{"id":71248262,"node_id":"MDU6TGFiZWw3MTI0ODI2Mg==","url":"https://api.github.com/repos/saltstack/salt/labels/Info%20Needed","name":"Info Needed","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/37","html_url":"https://github.com/saltstack/salt/milestone/37","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/37/labels","id":343741,"node_id":"MDk6TWlsZXN0b25lMzQzNzQx","number":37,"title":"Blocked","description":"Issues which are blocked in some way, whether they need further discussion, clarification, justification, or are blocked for some other reason.","creator":{"login":"basepi","id":702318,"node_id":"MDQ6VXNlcjcwMjMxOA==","avatar_url":"https://avatars2.githubusercontent.com/u/702318?v=4","gravatar_id":"","url":"https://api.github.com/users/basepi","html_url":"https://github.com/basepi","followers_url":"https://api.github.com/users/basepi/followers","following_url":"https://api.github.com/users/basepi/following{/other_user}","gists_url":"https://api.github.com/users/basepi/gists{/gist_id}","starred_url":"https://api.github.com/users/basepi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basepi/subscriptions","organizations_url":"https://api.github.com/users/basepi/orgs","repos_url":"https://api.github.com/users/basepi/repos","events_url":"https://api.github.com/users/basepi/events{/privacy}","received_events_url":"https://api.github.com/users/basepi/received_events","type":"User","site_admin":false},"open_issues":934,"closed_issues":2525,"state":"open","created_at":"2013-05-28T22:24:12Z","updated_at":"2018-07-24T22:12:15Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-07-18T06:08:07Z","updated_at":"2018-07-25T05:57:03Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Description of Issue/Question\r\nsalt-call thowing a error with no indication of where the problem is\r\n\r\n### Setup\r\n(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)\r\nvagrant vm\r\n\r\n### Steps to Reproduce Issue\r\n(Include debug logs if possible and relevant.)\r\n`\r\nvagrant@localsandbox:~$ time sudo salt-call --state_verbose=False --log-level=info state.apply common.syslog\r\n[ERROR   ] An un-handled exception was caught by salt's global exception handler:\r\nUnicodeDecodeError: 'utf8' codec can't decode byte 0xfe in position 0: invalid start byte\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/salt-call\", line 11, in <module>\r\n    salt_call()\r\n  File \"/usr/lib/python2.7/dist-packages/salt/scripts.py\", line 400, in salt_call\r\n    client.run()\r\n  File \"/usr/lib/python2.7/dist-packages/salt/cli/call.py\", line 57, in run\r\n    caller.run()\r\n  File \"/usr/lib/python2.7/dist-packages/salt/cli/caller.py\", line 134, in run\r\n    ret = self.call()\r\n  File \"/usr/lib/python2.7/dist-packages/salt/cli/caller.py\", line 212, in call\r\n    ret['return'] = func(*args, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/modules/state.py\", line 748, in apply_\r\n    return sls(mods, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/modules/state.py\", line 1234, in sls\r\n    initial_pillar=_get_initial_pillar(opts))\r\n  File \"/usr/lib/python2.7/dist-packages/salt/state.py\", line 4037, in __init__\r\n    BaseHighState.__init__(self, opts)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/state.py\", line 2902, in __init__\r\n    self.opts = self.__gen_opts(opts)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/state.py\", line 2929, in __gen_opts\r\n    mopts = self.client.master_opts()\r\n  File \"/usr/lib/python2.7/dist-packages/salt/fileclient.py\", line 1387, in master_opts\r\n    return salt.utils.data.decode(self.channel.send(load)) if six.PY2 \\\r\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/data.py\", line 105, in decode\r\n    preserve_dict_class, preserve_tuples, to_str)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/data.py\", line 171, in decode_dict\r\n    preserve_dict_class, preserve_tuples, to_str)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/data.py\", line 171, in decode_dict\r\n    preserve_dict_class, preserve_tuples, to_str)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/data.py\", line 171, in decode_dict\r\n    preserve_dict_class, preserve_tuples, to_str)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/data.py\", line 174, in decode_dict\r\n    value = _decode_func(value, encoding, errors, normalize)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/stringutils.py\", line 124, in to_unicode\r\n    return _normalize(s.decode(__salt_system_encoding__, errors))\r\n  File \"/usr/lib/python2.7/encodings/utf_8.py\", line 16, in decode\r\n    return codecs.utf_8_decode(input, errors, True)\r\nUnicodeDecodeError: 'utf8' codec can't decode byte 0xfe in position 0: invalid start byte\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/salt-call\", line 11, in <module>\r\n    salt_call()\r\n  File \"/usr/lib/python2.7/dist-packages/salt/scripts.py\", line 400, in salt_call\r\n    client.run()\r\n  File \"/usr/lib/python2.7/dist-packages/salt/cli/call.py\", line 57, in run\r\n    caller.run()\r\n  File \"/usr/lib/python2.7/dist-packages/salt/cli/caller.py\", line 134, in run\r\n    ret = self.call()\r\n  File \"/usr/lib/python2.7/dist-packages/salt/cli/caller.py\", line 212, in call\r\n    ret['return'] = func(*args, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/modules/state.py\", line 748, in apply_\r\n    return sls(mods, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/modules/state.py\", line 1234, in sls\r\n    initial_pillar=_get_initial_pillar(opts))\r\n  File \"/usr/lib/python2.7/dist-packages/salt/state.py\", line 4037, in __init__\r\n    BaseHighState.__init__(self, opts)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/state.py\", line 2902, in __init__\r\n    self.opts = self.__gen_opts(opts)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/state.py\", line 2929, in __gen_opts\r\n    mopts = self.client.master_opts()\r\n  File \"/usr/lib/python2.7/dist-packages/salt/fileclient.py\", line 1387, in master_opts\r\n    return salt.utils.data.decode(self.channel.send(load)) if six.PY2 \\\r\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/data.py\", line 105, in decode\r\n    preserve_dict_class, preserve_tuples, to_str)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/data.py\", line 171, in decode_dict\r\n    preserve_dict_class, preserve_tuples, to_str)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/data.py\", line 171, in decode_dict\r\n    preserve_dict_class, preserve_tuples, to_str)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/data.py\", line 171, in decode_dict\r\n    preserve_dict_class, preserve_tuples, to_str)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/data.py\", line 174, in decode_dict\r\n    value = _decode_func(value, encoding, errors, normalize)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/stringutils.py\", line 124, in to_unicode\r\n    return _normalize(s.decode(__salt_system_encoding__, errors))\r\n  File \"/usr/lib/python2.7/encodings/utf_8.py\", line 16, in decode\r\n    return codecs.utf_8_decode(input, errors, True)\r\nUnicodeDecodeError: 'utf8' codec can't decode byte 0xfe in position 0: invalid start byte\r\n\r\nreal\t0m4.449s\r\nuser\t0m3.790s\r\nsys\t0m0.776s\r\nvagrant@localsandbox:~$\r\n\r\n`\r\n### Versions Report\r\n(Provided by running `salt --versions-report`. Please also mention any differences in master/minion versions.)\r\n`\r\nvagrant@localsandbox:/vagrant$ lsb_release -a\r\nNo LSB modules are available.\r\nDistributor ID:\tUbuntu\r\nDescription:\tUbuntu 14.04.5 LTS\r\nRelease:\t14.04\r\nCodename:\ttrusty\r\nvagrant@localsandbox:/vagrant$ \r\n\r\n`\r\n\r\n`\r\nvagrant@localsandbox:~$ salt-call --versions-report\r\nSalt Version:\r\n           Salt: 2018.3.2\r\n \r\nDependency Versions:\r\n           cffi: Not Installed\r\n       cherrypy: Not Installed\r\n       dateutil: 1.5\r\n      docker-py: Not Installed\r\n          gitdb: Not Installed\r\n      gitpython: Not Installed\r\n          ioflo: Not Installed\r\n         Jinja2: 2.7.2\r\n        libgit2: Not Installed\r\n        libnacl: Not Installed\r\n       M2Crypto: Not Installed\r\n           Mako: 0.9.1\r\n   msgpack-pure: Not Installed\r\n msgpack-python: 0.4.6\r\n   mysql-python: 1.2.3\r\n      pycparser: Not Installed\r\n       pycrypto: 2.6.1\r\n   pycryptodome: Not Installed\r\n         pygit2: Not Installed\r\n         Python: 2.7.6 (default, Nov 23 2017, 15:49:48)\r\n   python-gnupg: Not Installed\r\n         PyYAML: 3.10\r\n          PyZMQ: 14.0.1\r\n           RAET: Not Installed\r\n          smmap: Not Installed\r\n        timelib: Not Installed\r\n        Tornado: 4.2.1\r\n            ZMQ: 4.0.5\r\n \r\nSystem Versions:\r\n           dist: Ubuntu 14.04 trusty\r\n         locale: UTF-8\r\n        machine: x86_64\r\n        release: 3.13.0-139-generic\r\n         system: Linux\r\n        version: Ubuntu 14.04 trusty\r\n \r\nvagrant@localsandbox:~$\r\n`"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/407642192","html_url":"https://github.com/saltstack/salt/issues/48642#issuecomment-407642192","issue_url":"https://api.github.com/repos/saltstack/salt/issues/48642","id":407642192,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzY0MjE5Mg==","user":{"login":"diepes","id":96414,"node_id":"MDQ6VXNlcjk2NDE0","avatar_url":"https://avatars0.githubusercontent.com/u/96414?v=4","gravatar_id":"","url":"https://api.github.com/users/diepes","html_url":"https://github.com/diepes","followers_url":"https://api.github.com/users/diepes/followers","following_url":"https://api.github.com/users/diepes/following{/other_user}","gists_url":"https://api.github.com/users/diepes/gists{/gist_id}","starred_url":"https://api.github.com/users/diepes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diepes/subscriptions","organizations_url":"https://api.github.com/users/diepes/orgs","repos_url":"https://api.github.com/users/diepes/repos","events_url":"https://api.github.com/users/diepes/events{/privacy}","received_events_url":"https://api.github.com/users/diepes/received_events","type":"User","site_admin":false},"created_at":"2018-07-25T05:57:03Z","updated_at":"2018-07-25T05:57:03Z","author_association":"CONTRIBUTOR","body":"Yes if i exclude that pillar for inclusion it works.\r\nPlan to just remove the binary from the pillar, it was a bad idea."}}
{"actor":{"display_login":"diepes"}}