{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/19349","labels_url":"https://api.github.com/repos/saltstack/salt/issues/19349/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/19349/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/19349/events","html_url":"https://github.com/saltstack/salt/issues/19349","id":53424972,"number":19349,"title":"Salt-master: Could not deserialize msgpack message","user":{"login":"masterkorp","id":223763,"avatar_url":"https://avatars.githubusercontent.com/u/223763?v=3","gravatar_id":"","url":"https://api.github.com/users/masterkorp","html_url":"https://github.com/masterkorp","followers_url":"https://api.github.com/users/masterkorp/followers","following_url":"https://api.github.com/users/masterkorp/following{/other_user}","gists_url":"https://api.github.com/users/masterkorp/gists{/gist_id}","starred_url":"https://api.github.com/users/masterkorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masterkorp/subscriptions","organizations_url":"https://api.github.com/users/masterkorp/orgs","repos_url":"https://api.github.com/users/masterkorp/repos","events_url":"https://api.github.com/users/masterkorp/events{/privacy}","received_events_url":"https://api.github.com/users/masterkorp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Cannot%20Reproduce","name":"Cannot Reproduce","color":"c7def8"},{"url":"https://api.github.com/repos/saltstack/salt/labels/High%20Severity","name":"High Severity","color":"ff9143"},{"url":"https://api.github.com/repos/saltstack/salt/labels/P1","name":"P1","color":"2181ee"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Platform","name":"Platform","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/37","html_url":"https://github.com/saltstack/salt/milestones/Blocked","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/37/labels","id":343741,"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,"avatar_url":"https://avatars.githubusercontent.com/u/702318?v=3","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":302,"closed_issues":661,"state":"open","created_at":"2013-05-28T22:24:12Z","updated_at":"2015-10-19T22:34:38Z","due_on":null,"closed_at":null},"comments":30,"created_at":"2015-01-05T18:10:42Z","updated_at":"2015-10-20T15:05:56Z","closed_at":null,"body":"Hello, \r\n\r\nToday salt-master welcomed me with such message:\r\n```\r\n2015-01-05 17:12:08,160 [salt.payload     ][CRITICAL][26157] Could not deserialize msgpack message: This o\r\nften happens when trying to read a file not in binary mode.Please open an issue and include the following\r\nerror:\r\n2015-01-05 17:12:08,183 [salt.log.setup   ][ERROR   ][26157] An un-handled exception was caught by salt's\r\nglobal exception handler:\r\nUnpackValueError:\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/salt\", line 10, in <module>\r\n    salt_main()\r\n  File \"/usr/lib/python2.7/dist-packages/salt/scripts.py\", line 351, in salt_main\r\n    client.run()\r\n  File \"/usr/lib/python2.7/dist-packages/salt/cli/salt.py\", line 191, in run\r\n    for full_ret in cmd_func(**kwargs):\r\n  File \"/usr/lib/python2.7/dist-packages/salt/client/__init__.py\", line 594, in cmd_cli\r\n    **kwargs):\r\n  File \"/usr/lib/python2.7/dist-packages/salt/client/__init__.py\", line 1235, in get_cli_event_returns\r\n    expect_minions=(verbose or show_timeout)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/client/__init__.py\", line 885, in get_iter_returns\r\n    for raw in ret_iter:\r\n  File \"/usr/lib/python2.7/dist-packages/salt/client/__init__.py\", line 809, in get_returns_no_block\r\n    raw = event.get_event_noblock()\r\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/event.py\", line 450, in get_event_noblock\r\n    mtag, data = self.unpack(raw, self.serial)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/utils/event.py\", line 296, in unpack\r\n    data = serial.loads(mdata)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/payload.py\", line 95, in loads\r\n    return msgpack.loads(msg, use_list=True)\r\n  File \"_unpacker.pyx\", line 119, in msgpack._unpacker.unpackb (msgpack/_unpacker.cpp:119)\r\nUnpackValueError\r\n````\r\n\r\nWhile running any ``state.*`` command on any minion.\r\n\r\nRunning ubuntu ``14.04`` and salt:\r\n```\r\nroot@salt-master:~#  salt --versions-report\r\n           Salt: 2015.2.0-37-g0452b43\r\n         Python: 2.7.6 (default, Mar 22 2014, 22:59:56)\r\n         Jinja2: 2.7.2\r\n       M2Crypto: 0.21.1\r\n msgpack-python: 0.3.0\r\n   msgpack-pure: Not Installed\r\n       pycrypto: 2.6.1\r\n        libnacl: Not Installed\r\n         PyYAML: 3.10\r\n          ioflo: Not Installed\r\n          PyZMQ: 14.0.1\r\n           RAET: Not Installed\r\n            ZMQ: 4.0.4\r\n           Mako: 0.9.1\r\n```"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/149595201","html_url":"https://github.com/saltstack/salt/issues/19349#issuecomment-149595201","issue_url":"https://api.github.com/repos/saltstack/salt/issues/19349","id":149595201,"user":{"login":"glycoknob","id":187041,"avatar_url":"https://avatars.githubusercontent.com/u/187041?v=3","gravatar_id":"","url":"https://api.github.com/users/glycoknob","html_url":"https://github.com/glycoknob","followers_url":"https://api.github.com/users/glycoknob/followers","following_url":"https://api.github.com/users/glycoknob/following{/other_user}","gists_url":"https://api.github.com/users/glycoknob/gists{/gist_id}","starred_url":"https://api.github.com/users/glycoknob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glycoknob/subscriptions","organizations_url":"https://api.github.com/users/glycoknob/orgs","repos_url":"https://api.github.com/users/glycoknob/repos","events_url":"https://api.github.com/users/glycoknob/events{/privacy}","received_events_url":"https://api.github.com/users/glycoknob/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T15:05:56Z","updated_at":"2015-10-20T15:05:56Z","body":"@cachedout: Ah. I was still using the PPA on launchpad \r\n\r\nHowever python-msgpack is not in the repository - at least a dist-upgrade didn't catch it: \r\n\r\n```\r\n$ salt --versions\r\nSalt Version:\r\n           Salt: 2015.8.1\r\n \r\nDependency Versions:\r\n         Jinja2: 2.7.2\r\n       M2Crypto: 0.21.1\r\n           Mako: 0.9.1\r\n         PyYAML: 3.10\r\n          PyZMQ: 14.4.0\r\n         Python: 2.7.6 (default, Jun 22 2015, 17:58:13)\r\n           RAET: Not Installed\r\n        Tornado: 4.2.1\r\n            ZMQ: 4.0.4\r\n           cffi: Not Installed\r\n       cherrypy: Not Installed\r\n       dateutil: 1.5\r\n          gitdb: 0.5.4\r\n      gitpython: 0.3.2 RC1\r\n          ioflo: Not Installed\r\n        libnacl: Not Installed\r\n   msgpack-pure: Not Installed\r\n msgpack-python: 0.3.0\r\n   mysql-python: 1.2.3\r\n      pycparser: Not Installed\r\n       pycrypto: 2.6.1\r\n         pygit2: Not Installed\r\n   python-gnupg: Not Installed\r\n          smmap: 0.8.2\r\n        timelib: Not Installed\r\n \r\nSystem Versions:\r\n           dist: Ubuntu 14.04 trusty\r\n        machine: x86_64\r\n        release: 4.1.4-040104-generic\r\n         system: Ubuntu 14.04 trusty\r\n \r\n``` \r\n"}}