{"action":"created","issue":{"url":"https://api.github.com/repos/yadt/yadtshell/issues/24","labels_url":"https://api.github.com/repos/yadt/yadtshell/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/yadt/yadtshell/issues/24/comments","events_url":"https://api.github.com/repos/yadt/yadtshell/issues/24/events","html_url":"https://github.com/yadt/yadtshell/issues/24","id":113345554,"number":24,"title":"yadt crashes if yum-plugin-replace is enabled","user":{"login":"Woi","id":5870628,"avatar_url":"https://avatars.githubusercontent.com/u/5870628?v=3","gravatar_id":"","url":"https://api.github.com/users/Woi","html_url":"https://github.com/Woi","followers_url":"https://api.github.com/users/Woi/followers","following_url":"https://api.github.com/users/Woi/following{/other_user}","gists_url":"https://api.github.com/users/Woi/gists{/gist_id}","starred_url":"https://api.github.com/users/Woi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Woi/subscriptions","organizations_url":"https://api.github.com/users/Woi/orgs","repos_url":"https://api.github.com/users/Woi/repos","events_url":"https://api.github.com/users/Woi/events{/privacy}","received_events_url":"https://api.github.com/users/Woi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-26T12:33:50Z","updated_at":"2015-10-26T21:46:34Z","closed_at":null,"body":"Hey,\r\n\r\nyadt crashes when used with yum-plugin-replace with the following message:\r\n\r\n```\r\nSTATUS FAILED\r\nINFO     For details see: \"<FILENAME_WITH_FULL_PATH>status.log\"\r\nINFO     The first error was:\r\n\t\t20151014-110109 ERROR twisted.py:201 mapping values are not allowed in this context\r\n```\r\n\r\nContent of the Logfile *<PATH>/yadtshell-lock.1.stderr*:\r\n```\r\nERROR    mapping values are not allowed in this context\r\n  in \"<byte string>\", line 3, column 24\r\nERROR    errors occured during status\r\nCRITICAL exit code: 1\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/yadtshell\", line 121, in <module>\r\n    components = yadtshell.util.restore_current_state()\r\n  File \"/usr/lib/python2.6/site-packages/yadtshell/util.py\", line 95, in restore_current_state\r\n    deserialized_state = restore(current_state())\r\n  File \"/usr/lib/python2.6/site-packages/yadtshell/util.py\", line 57, in restore\r\n    with open(filename) as f:\r\nIOError: [Errno 2] No such file or directory: '<HOMEDIR_OF_USER>/.yadtshell/<FQDN_OF_MGMT_HOST>/tmp/data/logs/system-updates/20151014-0900/<FG>/current_state.components'\r\n```\r\n\r\n\r\nContent of the Logfile *<PATH>/yadtshell-lock.0.stdout* on host *<FQDN_OF_MGMT_HOST>*\r\n```\r\nSTATUS FAILED\r\nINFO     For details see: \"<PATH>.status.log\"\r\nINFO     The first error was:\r\n\t\t20151014-110100 ERROR twisted.py:201 mapping values are not allowed in this context\r\n```\r\n\r\n\r\nContent of the Logfile *<PATH>/yadtshell-lock.0.stderr* on host *<FQDN_HOSTNAME>*\r\n```\r\nERROR    mapping values are not allowed in this context\r\n  in \"<byte string>\", line 3, column 24\r\nERROR    errors occured during status\r\nCRITICAL exit code: 1\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/yadtshell\", line 121, in <module>\r\n    components = yadtshell.util.restore_current_state()\r\n  File \"/usr/lib/python2.6/site-packages/yadtshell/util.py\", line 95, in restore_current_state\r\n    deserialized_state = restore(current_state())\r\n  File \"/usr/lib/python2.6/site-packages/yadtshell/util.py\", line 57, in restore\r\n    with open(filename) as f:\r\nIOError: [Errno 2] No such file or directory: '<PATH>/current_state.components'\r\n```\r\n\r\n\r\nContent of the Logfile *<PATH>/yadtshell-dump.0.stdout* on host *<FQDN_OF_MGMT_HOST>*\r\n```\r\nINFO     call 'yadtshell status' first\r\n```\r\n\r\n\r\nContent of the Logfile *<PATH>/yadtshell-dump.0.stderr* on host *<FQDN_OF_MGMT_HOST>*\r\n```\r\nCRITICAL cannot restore the current state\r\n```\r\n\r\n\r\nContent of the Logfile *<PATH>/yadtshell-status.0.stderr* on host *<FQDN_OF_MGMT_HOST>*\r\n```\r\nERROR    mapping values are not allowed in this context\r\n  in \"<byte string>\", line 3, column 24\r\nERROR    errors occured during status\r\nCRITICAL exit code: 1\r\n```\r\n\r\n\r\nContent of the Logfile *<PATH>/yadtshell-status.0.stdout* on host *<FQDN_OF_MGMT_HOST>*\r\n\r\n```\r\nSTATUS FAILED\r\nINFO     For details see: \"<PATH>.status.log\"\r\nINFO     The first error was:\r\n\t\t20151014-110051 ERROR twisted.py:201 mapping values are not allowed in this context\r\n```"},"comment":{"url":"https://api.github.com/repos/yadt/yadtshell/issues/comments/151293830","html_url":"https://github.com/yadt/yadtshell/issues/24#issuecomment-151293830","issue_url":"https://api.github.com/repos/yadt/yadtshell/issues/24","id":151293830,"user":{"login":"mriehl","id":1955590,"avatar_url":"https://avatars.githubusercontent.com/u/1955590?v=3","gravatar_id":"","url":"https://api.github.com/users/mriehl","html_url":"https://github.com/mriehl","followers_url":"https://api.github.com/users/mriehl/followers","following_url":"https://api.github.com/users/mriehl/following{/other_user}","gists_url":"https://api.github.com/users/mriehl/gists{/gist_id}","starred_url":"https://api.github.com/users/mriehl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mriehl/subscriptions","organizations_url":"https://api.github.com/users/mriehl/orgs","repos_url":"https://api.github.com/users/mriehl/repos","events_url":"https://api.github.com/users/mriehl/events{/privacy}","received_events_url":"https://api.github.com/users/mriehl/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T21:46:34Z","updated_at":"2015-10-26T21:46:34Z","body":"The JSON from the minion is broken which leads a follow-up error where the serialized host status is missing.\n\nCan you post the (anonymized) output of running `yadt-status` on the remote host in a gist?"}}