{"action":"closed","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/22015","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/22015/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/22015/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/22015/events","html_url":"https://github.com/ansible/ansible/issues/22015","id":210595004,"number":22015,"title":"eos_banner ","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":[{"id":454885231,"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.3","name":"affects_2.3","color":"5319e7","default":false},{"id":48276055,"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04","default":false},{"id":496359346,"url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":339653091,"url":"https://api.github.com/repos/ansible/ansible/labels/networking","name":"networking","color":"c7def8","default":false}],"state":"closed","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}],"milestone":{"url":"https://api.github.com/repos/ansible/ansible/milestones/9","html_url":"https://github.com/ansible/ansible/milestone/9","labels_url":"https://api.github.com/repos/ansible/ansible/milestones/9/labels","id":2025435,"number":9,"title":"2.3.0","description":"","creator":{"login":"mattclay","id":806360,"avatar_url":"https://avatars.githubusercontent.com/u/806360?v=3","gravatar_id":"","url":"https://api.github.com/users/mattclay","html_url":"https://github.com/mattclay","followers_url":"https://api.github.com/users/mattclay/followers","following_url":"https://api.github.com/users/mattclay/following{/other_user}","gists_url":"https://api.github.com/users/mattclay/gists{/gist_id}","starred_url":"https://api.github.com/users/mattclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattclay/subscriptions","organizations_url":"https://api.github.com/users/mattclay/orgs","repos_url":"https://api.github.com/users/mattclay/repos","events_url":"https://api.github.com/users/mattclay/events{/privacy}","received_events_url":"https://api.github.com/users/mattclay/received_events","type":"User","site_admin":false},"open_issues":42,"closed_issues":115,"state":"open","created_at":"2016-09-23T23:15:41Z","updated_at":"2017-02-28T01:22:43Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2017-02-27T20:19:16Z","updated_at":"2017-02-28T01:22:43Z","closed_at":"2017-02-28T01:22:42Z","body":"##### ISSUE TYPE\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\neos_banner\r\n\r\n##### ANSIBLE VERSION\r\n```\r\nansible 2.3.0 (test_eos_banner 89bf14e467) last updated 2017/02/27 18:21:15 (GMT +100)\r\n\r\n```\r\n\r\n##### SUMMARY\r\nAppears we are trying to read `transport` even on new 2.3 modules.\r\n\r\n```yaml\r\nAn exception occurred during task execution. The full traceback is:\r\nTraceback (most recent call last):\r\n  File \"/tmp/ansible_rdVUTA/ansible_module_eos_banner.py\", line 161, in <module>\r\n    main()\r\n  File \"/tmp/ansible_rdVUTA/ansible_module_eos_banner.py\", line 145, in main\r\n    have = map_config_to_obj(module)\r\n  File \"/tmp/ansible_rdVUTA/ansible_module_eos_banner.py\", line 109, in map_config_to_obj\r\n    output = run_commands(module, ['show banner %s' % module.params['banner']])\r\n  File \"/tmp/ansible_rdVUTA/ansible_modlib.zip/ansible/module_utils/eos.py\", line 442, in run_commands\r\n  File \"/tmp/ansible_rdVUTA/ansible_modlib.zip/ansible/module_utils/eos.py\", line 79, in get_connection\r\nKeyError: 'transport'\r\n```\r\n\r\n\r\n##### STEPS TO REPRODUCE\r\n```yaml\r\n- name: setup - remove login\r\n  eos_banner:\r\n    banner: login\r\n    state: absent\r\n\r\n\r\n```\r\n\r\n\r\n##### EXPECTED RESULTS\r\n##### ACTUAL RESULTS\r\n```\r\n 16316 1488225144.93538: in local.exec_command()\r\n<veos01> EXEC /bin/sh -c 'python /home/johnb/.ansible/tmp/ansible-tmp-1488225144.91-133299287621947/eos_banner.py; rm -rf \"/home/johnb/.ansible/tmp/ansible-tmp-1488225144.91-133299287621947/\" > /dev/null 2>&1 && sleep 0'\r\n 16316 1488225144.93550: opening command with Popen()\r\n 16316 1488225144.93824: done running command with Popen()\r\n 16316 1488225144.93869: getting output with communicate()\r\n 16316 1488225145.11188: done communicating\r\n 16316 1488225145.11215: done with local.exec_command()\r\n 16316 1488225145.11232: _low_level_execute_command() done: rc=0, stdout=, stderr=Traceback (most recent call last):\r\n  File \"/tmp/ansible_rdVUTA/ansible_module_eos_banner.py\", line 161, in <module>\r\n    main()\r\n  File \"/tmp/ansible_rdVUTA/ansible_module_eos_banner.py\", line 145, in main\r\n    have = map_config_to_obj(module)\r\n  File \"/tmp/ansible_rdVUTA/ansible_module_eos_banner.py\", line 109, in map_config_to_obj\r\n    output = run_commands(module, ['show banner %s' % module.params['banner']])\r\n  File \"/tmp/ansible_rdVUTA/ansible_modlib.zip/ansible/module_utils/eos.py\", line 442, in run_commands\r\n  File \"/tmp/ansible_rdVUTA/ansible_modlib.zip/ansible/module_utils/eos.py\", line 79, in get_connection\r\nKeyError: 'transport'\r\n\r\n [WARNING]: Removed unexpected internal key in module return: _ansible_parsed = False\r\n\r\n```\r\n"}}
{"actor":{"display_login":"privateip"}}