{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/43976","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/43976/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/43976/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/43976/events","html_url":"https://github.com/ansible/ansible/issues/43976","id":349635628,"node_id":"MDU6SXNzdWUzNDk2MzU2Mjg=","number":43976,"title":"Bug error with buffer","user":{"login":"rarodrigo","id":15112415,"node_id":"MDQ6VXNlcjE1MTEyNDE1","avatar_url":"https://avatars3.githubusercontent.com/u/15112415?v=4","gravatar_id":"","url":"https://api.github.com/users/rarodrigo","html_url":"https://github.com/rarodrigo","followers_url":"https://api.github.com/users/rarodrigo/followers","following_url":"https://api.github.com/users/rarodrigo/following{/other_user}","gists_url":"https://api.github.com/users/rarodrigo/gists{/gist_id}","starred_url":"https://api.github.com/users/rarodrigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rarodrigo/subscriptions","organizations_url":"https://api.github.com/users/rarodrigo/orgs","repos_url":"https://api.github.com/users/rarodrigo/repos","events_url":"https://api.github.com/users/rarodrigo/events{/privacy}","received_events_url":"https://api.github.com/users/rarodrigo/received_events","type":"User","site_admin":false},"labels":[{"id":835286067,"node_id":"MDU6TGFiZWw4MzUyODYwNjc=","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.6","name":"affects_2.6","color":"ededed","default":false},{"id":785271699,"node_id":"MDU6TGFiZWw3ODUyNzE2OTk=","url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"id":849212023,"node_id":"MDU6TGFiZWw4NDkyMTIwMjM=","url":"https://api.github.com/repos/ansible/ansible/labels/docs","name":"docs","color":"0052cc","default":false},{"id":503572087,"node_id":"MDU6TGFiZWw1MDM1NzIwODc=","url":"https://api.github.com/repos/ansible/ansible/labels/needs_triage","name":"needs_triage","color":"0e8a16","default":false},{"id":339653091,"node_id":"MDU6TGFiZWwzMzk2NTMwOTE=","url":"https://api.github.com/repos/ansible/ansible/labels/networking","name":"networking","color":"c7def8","default":false},{"id":636352796,"node_id":"MDU6TGFiZWw2MzYzNTI3OTY=","url":"https://api.github.com/repos/ansible/ansible/labels/support:core","name":"support:core","color":"ededed","default":false},{"id":942378949,"node_id":"MDU6TGFiZWw5NDIzNzg5NDk=","url":"https://api.github.com/repos/ansible/ansible/labels/traceback","name":"traceback","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-10T19:43:31Z","updated_at":"2018-08-10T19:48:38Z","closed_at":null,"author_association":"NONE","body":"<!---\r\nVerify first that your issue/request is not already reported on GitHub.\r\nTHIS FORM WILL BE READ BY A MACHINE, COMPLETE ALL SECTIONS AS DESCRIBED.\r\nAlso test if the latest release, and devel branch are affected too.\r\nALWAYS add information AFTER (OUTSIDE) these html comments.\r\nOtherwise it may end up being automatically closed by our bot. -->\r\n\r\n##### SUMMARY\r\nIs not possible to make connection in any device using the library specific below\r\n\r\n##### ISSUE TYPE\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\n<!--- Insert, BELOW THIS COMMENT, the name of the module, plugin, task or feature.\r\nDo not include extra details here, e.g. \"vyos_command\" not \"the network module vyos_command\" or the full path-->\r\nios_config\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste, BELOW THIS COMMENT, verbatim output from \"ansible --version\" between quotes below -->\r\n``` \r\nansible 2.6.2\r\n```\r\n\r\n##### CONFIGURATION\r\n<!--- If using Ansible 2.4 or above, paste, BELOW THIS COMMENT, the results of \"ansible-config dump --only-changed\"\r\nOtherwise, mention any settings you have changed/added/removed in ansible.cfg\r\n(or using the ANSIBLE_* environment variables).-->\r\nThe problem is related when insert new library inside of ansible.cfg related for `usr/local/lib/python2.7/dist-packages`\r\n\r\n##### OS / ENVIRONMENT\r\n<!--- Mention, BELOW THIS COMMENT, the OS you are running Ansible from, and the OS you are\r\nmanaging, or say \"N/A\" for anything that is not platform-specific.\r\nAlso mention the specific version of what you are trying to control,\r\ne.g. if this is a network bug the version of firmware on the network device.-->\r\n\r\n##### STEPS TO REPRODUCE\r\n<!--- For bugs, show exactly how to reproduce the problem, using a minimal test-case.\r\nFor new features, show how the feature would be used. -->\r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```yaml\r\n---\r\n- hosts: all\r\n  connection: local\r\n  gather_facts: no\r\n\r\n  tasks:\r\n  - name: Compare startup-config with running-config\r\n    ios_config:\r\n      diff_against: startup\r\n      provider: \"{{ provider }}\"\r\n    register: test_diff\r\n\r\n```\r\n\r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\n<!--- What did you expect to happen when running the steps above? -->\r\nI hope to access device to verify my task execution\r\n\r\n##### ACTUAL RESULTS\r\n<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->\r\n\r\n<!--- Paste verbatim command output between quotes below -->\r\n```\r\n<192.168.0.47> using connection plugin network_cli (was local)\r\n<192.168.0.47> starting connection from persistent connection plugin\r\n<192.168.0.47> local domain socket does not exist, starting it\r\n<192.168.0.47> control socket path is /root/.ansible/pc/cf4e9271b9\r\n<192.168.0.47> \r\nThe full traceback is:\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/ansible-connection\", line 87, in start\r\n    self.connection._connect()\r\n  File \"/usr/lib/python2.7/dist-packages/ansible/plugins/connection/network_cli.py\", line 298, in _connect\r\n    ssh = self.paramiko_conn._connect()\r\n  File \"/usr/lib/python2.7/dist-packages/ansible/plugins/connection/paramiko_ssh.py\", line 249, in _connect\r\n    self.ssh = SSH_CONNECTION_CACHE[cache_key] = self._connect_uncached()\r\n  File \"/usr/lib/python2.7/dist-packages/ansible/plugins/connection/paramiko_ssh.py\", line 365, in _connect_uncached\r\n    raise AnsibleConnectionFailure(msg)\r\nAnsibleConnectionFailure: from_buffer() cannot return the address of the raw string within a str or unicode or bytearray object\r\n\r\nfatal: [CSR1]: FAILED! => {\r\n    \"msg\": \"from_buffer() cannot return the address of the raw string within a str or unicode or bytearray object\"\r\n}\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/412187104","html_url":"https://github.com/ansible/ansible/issues/43976#issuecomment-412187104","issue_url":"https://api.github.com/repos/ansible/ansible/issues/43976","id":412187104,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjE4NzEwNA==","user":{"login":"gundalow","id":940557,"node_id":"MDQ6VXNlcjk0MDU1Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/940557?v=4","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},"created_at":"2018-08-10T19:48:38Z","updated_at":"2018-08-10T19:48:38Z","author_association":"CONTRIBUTOR","body":"Whats the new library in new library inside of ansible.cfg?"}}
{"actor":{"display_login":"gundalow"}}