{"action":"opened","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5092","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5092/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5092/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5092/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/5092","id":180094236,"number":5092,"title":"eos_command: unable to load response from device","user":{"login":"gundalow","id":940557,"avatar_url":"https://avatars.githubusercontent.com/u/940557?v=3","gravatar_id":"","url":"https://api.github.com/users/gundalow","html_url":"https://github.com/gundalow","followers_url":"https://api.github.com/users/gundalow/followers","following_url":"https://api.github.com/users/gundalow/following{/other_user}","gists_url":"https://api.github.com/users/gundalow/gists{/gist_id}","starred_url":"https://api.github.com/users/gundalow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gundalow/subscriptions","organizations_url":"https://api.github.com/users/gundalow/orgs","repos_url":"https://api.github.com/users/gundalow/repos","events_url":"https://api.github.com/users/gundalow/events{/privacy}","received_events_url":"https://api.github.com/users/gundalow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/affects_2.2","name":"affects_2.2","color":"5319e7"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/networking","name":"networking","color":"c7def8"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/P1","name":"P1","color":"f7c6c7"}],"state":"open","locked":false,"assignee":{"login":"privateip","id":414626,"avatar_url":"https://avatars.githubusercontent.com/u/414626?v=3","gravatar_id":"","url":"https://api.github.com/users/privateip","html_url":"https://github.com/privateip","followers_url":"https://api.github.com/users/privateip/followers","following_url":"https://api.github.com/users/privateip/following{/other_user}","gists_url":"https://api.github.com/users/privateip/gists{/gist_id}","starred_url":"https://api.github.com/users/privateip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privateip/subscriptions","organizations_url":"https://api.github.com/users/privateip/orgs","repos_url":"https://api.github.com/users/privateip/repos","events_url":"https://api.github.com/users/privateip/events{/privacy}","received_events_url":"https://api.github.com/users/privateip/received_events","type":"User","site_admin":false},"assignees":[{"login":"privateip","id":414626,"avatar_url":"https://avatars.githubusercontent.com/u/414626?v=3","gravatar_id":"","url":"https://api.github.com/users/privateip","html_url":"https://github.com/privateip","followers_url":"https://api.github.com/users/privateip/followers","following_url":"https://api.github.com/users/privateip/following{/other_user}","gists_url":"https://api.github.com/users/privateip/gists{/gist_id}","starred_url":"https://api.github.com/users/privateip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privateip/subscriptions","organizations_url":"https://api.github.com/users/privateip/orgs","repos_url":"https://api.github.com/users/privateip/repos","events_url":"https://api.github.com/users/privateip/events{/privacy}","received_events_url":"https://api.github.com/users/privateip/received_events","type":"User","site_admin":false},{"login":"Qalthos","id":649648,"avatar_url":"https://avatars.githubusercontent.com/u/649648?v=3","gravatar_id":"","url":"https://api.github.com/users/Qalthos","html_url":"https://github.com/Qalthos","followers_url":"https://api.github.com/users/Qalthos/followers","following_url":"https://api.github.com/users/Qalthos/following{/other_user}","gists_url":"https://api.github.com/users/Qalthos/gists{/gist_id}","starred_url":"https://api.github.com/users/Qalthos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qalthos/subscriptions","organizations_url":"https://api.github.com/users/Qalthos/orgs","repos_url":"https://api.github.com/users/Qalthos/repos","events_url":"https://api.github.com/users/Qalthos/events{/privacy}","received_events_url":"https://api.github.com/users/Qalthos/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/milestones/4","html_url":"https://github.com/ansible/ansible-modules-core/milestones/2.2.0","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/milestones/4/labels","id":1756290,"number":4,"title":"2.2.0","description":"","creator":{"login":"alikins","id":15162,"avatar_url":"https://avatars.githubusercontent.com/u/15162?v=3","gravatar_id":"","url":"https://api.github.com/users/alikins","html_url":"https://github.com/alikins","followers_url":"https://api.github.com/users/alikins/followers","following_url":"https://api.github.com/users/alikins/following{/other_user}","gists_url":"https://api.github.com/users/alikins/gists{/gist_id}","starred_url":"https://api.github.com/users/alikins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alikins/subscriptions","organizations_url":"https://api.github.com/users/alikins/orgs","repos_url":"https://api.github.com/users/alikins/repos","events_url":"https://api.github.com/users/alikins/events{/privacy}","received_events_url":"https://api.github.com/users/alikins/received_events","type":"User","site_admin":false},"open_issues":52,"closed_issues":100,"state":"open","created_at":"2016-05-09T19:02:33Z","updated_at":"2016-09-29T16:11:44Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-09-29T16:11:44Z","updated_at":"2016-09-29T16:11:44Z","closed_at":null,"body":"##### ISSUE TYPE\r\n - Bug Report\r\n##### COMPONENT NAME\r\neos_command\r\n\r\n##### ANSIBLE VERSION\r\n```\r\nansible --version\r\nansible 2.2.0 (devel c5b4369ae7) last updated 2016/09/29 09:04:31 (GMT +100)\r\n  lib/ansible/modules/core: (devel 537a7eb924) last updated 2016/09/29 09:04:36 (GMT +100)\r\n  lib/ansible/modules/extras: (devel a58e1d59c0) last updated 2016/09/29 09:04:38 (GMT +100)\r\n  config file = /home/johnb/.ansible.cfg\r\n  configured module search path = Default w/o overrides\r\n```\r\n\r\n##### CONFIGURATION\r\n\r\n##### OS / ENVIRONMENT\r\n\r\n##### SUMMARY\r\nThis may be a different issue to last time, looks like I'm getting some response back.\r\n\r\n##### STEPS TO REPRODUCE\r\n```yaml\r\n- name: test lt operator\r\n  eos_command:\r\n    commands:\r\n      - show version\r\n      - show interfaces Management1 | json\r\n    wait_for:\r\n      - \"result[1].interfaces.Management1.mtu lt 1600\"\r\n    provider: \"{{ cli }}\"\r\n  register: result\r\n\r\n```\r\n\r\n##### EXPECTED RESULTS\r\n##### ACTUAL RESULTS\r\n```yaml\r\n\r\nTASK [test_eos_command : test lt operator] *************************************\r\ntask path: /home/johnb/git/ansible-inc/test-cleanup/roles/test_eos_command/tests/cli/lessthan.yaml:4\r\nUsing module file /home/johnb/git/ansible-inc/ansible/lib/ansible/modules/core/network/eos/eos_command.py\r\n<veos01> ESTABLISH LOCAL CONNECTION FOR USER: johnb\r\n<veos01> EXEC /bin/sh -c '( umask 77 && mkdir -p \"` echo $HOME/.ansible/tmp/ansible-tmp-1475164803.47-23419549866980 `\" && echo ansible-tmp-1475164803.47-23419549866980=\"` echo $HOME/.ansible/tmp/ansible-tmp-1475164803.47-23419549866980 `\" ) && sleep 0'\r\n<veos01> PUT /tmp/tmpS3uu0X TO /home/johnb/.ansible/tmp/ansible-tmp-1475164803.47-23419549866980/eos_command.py\r\n<veos01> EXEC /bin/sh -c 'chmod u+x /home/johnb/.ansible/tmp/ansible-tmp-1475164803.47-23419549866980/ /home/johnb/.ansible/tmp/ansible-tmp-1475164803.47-23419549866980/eos_command.py && sleep 0'\r\n<veos01> EXEC /bin/sh -c 'python /home/johnb/.ansible/tmp/ansible-tmp-1475164803.47-23419549866980/eos_command.py; rm -rf \"/home/johnb/.ansible/tmp/ansible-tmp-1475164803.47-23419549866980/\" > /dev/null 2>&1 && sleep 0'\r\nfatal: [veos01]: FAILED! => {\r\n    \"changed\": false, \r\n    \"failed\": true, \r\n    \"invocation\": {\r\n        \"module_args\": {\r\n            \"auth_pass\": null, \r\n            \"authorize\": true, \r\n            \"commands\": [\r\n                \"show version\", \r\n                \"show interfaces Management1 | json\"\r\n            ], \r\n            \"host\": \"veos01\", \r\n            \"interval\": 1, \r\n            \"match\": \"all\", \r\n            \"password\": \"VALUE_SPECIFIED_IN_NO_LOG_PARAMETER\", \r\n            \"port\": null, \r\n            \"provider\": {\r\n                \"authorize\": true, \r\n                \"host\": \"veos01\", \r\n                \"password\": \"VALUE_SPECIFIED_IN_NO_LOG_PARAMETER\", \r\n                \"transport\": \"cli\", \r\n                \"username\": \"VALUE_SPECIFIED_IN_NO_LOG_PARAMETER\"\r\n            }, \r\n            \"retries\": 10, \r\n            \"ssh_keyfile\": null, \r\n            \"timeout\": 10, \r\n            \"transport\": \"cli\", \r\n            \"use_ssl\": true, \r\n            \"username\": \"VALUE_SPECIFIED_IN_NO_LOG_PARAMETER\", \r\n            \"validate_certs\": true, \r\n            \"wait_for\": [\r\n                \"result[1].interfaces.Management1.mtu lt 1600\"\r\n            ]\r\n        }, \r\n        \"module_name\": \"eos_command\"\r\n    }, \r\n    \"msg\": \"unable to load response from device\", \r\n    \"response\": \"show version\\nArista vEOS\\nHardware version:    \\nSerial number:       \\nSystem MAC address:  0050.564a.009e\\n\\nSoftware image version: 4.15.4F\\nArchitecture:           i386\\nInternal build version: 4.15.4F-2923910.4154F\\nInternal build ID:      d8a3c846-c735-4766-93cd-82bb7427da51\\n\\nUptime:                 13 weeks, 3 days, 21 hours and 43 minutes\\nTotal memory:           1897592 kB\\nFree memory:            209780 kB\\n\\nfoo#show interfaces Management1 | json\\n{\\n    \\\"interfaces\\\": {\\n        \\\"Management1\\\": {\\n            \\\"lastStatusChangeTimestamp\\\": 1466965066.8416328, \\n            \\\"name\\\": \\\"Management1\\\", \\n            \\\"interfaceStatus\\\": \\\"connected\\\", \\n            \\\"autoNegotiate\\\": \\\"success\\\", \\n            \\\"burnedInAddress\\\": \\\"00:50:56:bc:1d:fd\\\", \\n            \\\"loopbackMode\\\": \\\"loopbackNone\\\", \\n            \\\"interfaceStatistics\\\": {\\n                \\\"inBitsRate\\\": 2247.995639109516, \\n                \\\"inPktsRate\\\": 0.0, \\n                \\\"outBitsRate\\\": 5790.649372166647, \\n                \\\"updateInterval\\\": 300.0, \\n                \\\"outPktsRate\\\": 2.6539536623065527\\n            }, \\n            \\\"mtu\\\": 1500, \\n            \\\"hardware\\\": \\\"ethernet\\\", \\n            \\\"duplex\\\": \\\"duplexFull\\\", \\n            \\\"bandwidth\\\": 1000000000, \\n            \\\"forwardingModel\\\": \\\"routed\\\", \\n            \\\"lineProtocolStatus\\\": \\\"up\\\", \\n            \\\"interfaceCounters\\\": {\\n                \\\"outBroadcastPkts\\\": 0, \\n                \\\"linkStatusChanges\\\": 3, \\n                \\\"totalOutErrors\\\": 0, \\n                \\\"inMulticastPkts\\\": 0, \\n                \\\"counterRefreshTime\\\": 1475164806.976286, \\n                \\\"inBroadcastPkts\\\": 0, \\n                \\\"outputErrorsDetail\\\": {\\n                    \\\"deferredTransmissions\\\": 0, \\n                    \\\"txPause\\\": 0, \\n                    \\\"collisions\\\": 0, \\n                    \\\"lateCollisions\\\": 0\\n                }, \\n                \\\"inOctets\\\": 400367950, \\n                \\\"outDiscards\\\": 0, \\n                \\\"outOctets\\\": 118902991, \\n                \\\"inUcastPkts\\\": 0, \\n                \\\"inputErrorsDetail\\\": {\\n                    \\\"runtFrames\\\": 0, \\n                    \\\"rxPause\\\": 0, \\n                    \\\"fcsErrors\\\": 0, \\n                    \\\"alignmentErrors\\\": 0, \\n                    \\\"giantFrames\\\": 0, \\n                    \\\"symbolErrors\\\": 0\\n                }, \\n                \\\"outUcastPkts\\\": 653260, \\n                \\\"outMulticastPkts\\\": 0, \\n                \\\"totalInErrors\\\": 0, \\n                \\\"inDiscards\\\": 0\\n            }, \\n            \\\"interfaceAddress\\\": [\\n                {\\n                    \\\"secondaryIpsOrderedList\\\": [], \\n                    \\\"broadcastAddress\\\": \\\"255.255.255.255\\\", \\n                    \\\"secondaryIps\\\": {}, \\n                    \\\"primaryIp\\\": {\\n                        \\\"maskLen\\\": 24, \\n                        \\\"address\\\": \\\"172.26.4.24\\\"\\n                    }, \\n                    \\\"virtualIp\\\": {\\n                        \\\"maskLen\\\": 0, \\n                        \\\"address\\\": \\\"0.0.0.0\\\"\\n                    }\\n                }\\n            ], \\n            \\\"physicalAddress\\\": \\\"00:50:56:bc:1d:fd\\\", \\n            \\\"description\\\": \\\"\\\"\\n        }\\n    }\\n}\"\r\n}\r\n\t\r\n\r\n```\r\n"}}
{"actor":{"display_login":"gundalow"}}