<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: IOS XE ASR1001-X Ansible/Netconf identityref error in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/ios-xe-asr1001-x-ansible-netconf-identityref-error/m-p/4024966#M2070</link>
    <description>Have you tested getting the config without ansible first to see if that works? Then run it through ansible without any more tasks to see how it works.&lt;BR /&gt;I'm sorry I don't use too often ansible, I prefer using other librairies/tools</description>
    <pubDate>Thu, 06 Feb 2020 14:33:49 GMT</pubDate>
    <dc:creator>Francesco Molino</dc:creator>
    <dc:date>2020-02-06T14:33:49Z</dc:date>
    <item>
      <title>IOS XE ASR1001-X Ansible/Netconf identityref error</title>
      <link>https://community.cisco.com/t5/controllers/ios-xe-asr1001-x-ansible-netconf-identityref-error/m-p/4024158#M2067</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello, I have an ASR1001-X running XE 16.9.4. I am working on an ansible playbook to make certain configuration changes using netconf and yang. It works just fine against a CSR1000v running 16.9.4, but when I try the ASR1001-X I get the error below. Even trying a simple get-config produces the same error. I can ssh to the command line of the router just fine, i can also retrieve the capabilities as well. Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;The full traceback is:
  File "/tmp/ansible_netconf_get_payload_tvs6bfsr/ansible_netconf_get_payload.zip/ansible/    module_utils/network/netconf/netconf.py", line 86, in get_config
    response = conn.get_config(source=source, filter=filter)
  File "/tmp/ansible_netconf_get_payload_tvs6bfsr/ansible_netconf_get_payload.zip/ansible/    module_utils/network/common/netconf.py", line 76, in __rpc__
    return self.parse_rpc_error(to_bytes(rpc_error, errors='surrogate_then_replace'))
  File "/tmp/ansible_netconf_get_payload_tvs6bfsr/ansible_netconf_get_payload.zip/ansible/    module_utils/network/common/netconf.py", line 108, in parse_rpc_error
    raise ConnectionError(rpc_error)

fatal: [rtr01]: FAILED! =&amp;gt; {
    "changed": false,
    "invocation": {
        "module_args": {
            "display": null,
            "filter": null,
            "lock": "never",
            "source": "running"
        }
    },
    "msg": "b'error: expected type identityref, got boolean.\\nerror: expected type     identityref, got boolean.'"
}&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Feb 2020 14:47:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/ios-xe-asr1001-x-ansible-netconf-identityref-error/m-p/4024158#M2067</guid>
      <dc:creator>Seth Beauchamp</dc:creator>
      <dc:date>2020-02-05T14:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: IOS XE ASR1001-X Ansible/Netconf identityref error</title>
      <link>https://community.cisco.com/t5/controllers/ios-xe-asr1001-x-ansible-netconf-identityref-error/m-p/4024651#M2068</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Don't have any asr right now available for testing but last time i used it, it was working just fine.&lt;BR /&gt;Have you followed this doc to validate netconf is enabled and accessible?&lt;BR /&gt;&lt;A href="https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/cns/configuration/xe-16-6/cns-xe-16-6-book/netconf-sshv2.html" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/cns/configuration/xe-16-6/cns-xe-16-6-book/netconf-sshv2.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You got RPC connection error and I would definitely re-validate the connection part.</description>
      <pubDate>Thu, 06 Feb 2020 04:49:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/ios-xe-asr1001-x-ansible-netconf-identityref-error/m-p/4024651#M2068</guid>
      <dc:creator>Francesco Molino</dc:creator>
      <dc:date>2020-02-06T04:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: IOS XE ASR1001-X Ansible/Netconf identityref error</title>
      <link>https://community.cisco.com/t5/controllers/ios-xe-asr1001-x-ansible-netconf-identityref-error/m-p/4024923#M2069</link>
      <description>&lt;P&gt;Netconf appears to work if I use something other than ansible. I did some more testing last night and this problem appears to be specifically with the interaction between anisble and the ASR1001-X with XE 16.9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the same playbook against an ISR 4321 and an ASR1002-HX both with XE 16.9.4 and did not have the RPC problem.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 13:18:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/ios-xe-asr1001-x-ansible-netconf-identityref-error/m-p/4024923#M2069</guid>
      <dc:creator>Seth Beauchamp</dc:creator>
      <dc:date>2020-02-06T13:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: IOS XE ASR1001-X Ansible/Netconf identityref error</title>
      <link>https://community.cisco.com/t5/controllers/ios-xe-asr1001-x-ansible-netconf-identityref-error/m-p/4024966#M2070</link>
      <description>Have you tested getting the config without ansible first to see if that works? Then run it through ansible without any more tasks to see how it works.&lt;BR /&gt;I'm sorry I don't use too often ansible, I prefer using other librairies/tools</description>
      <pubDate>Thu, 06 Feb 2020 14:33:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/ios-xe-asr1001-x-ansible-netconf-identityref-error/m-p/4024966#M2070</guid>
      <dc:creator>Francesco Molino</dc:creator>
      <dc:date>2020-02-06T14:33:49Z</dc:date>
    </item>
  </channel>
</rss>

