<?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 Seeing . error while using panos_static_route module. in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/seeing-error-while-using-panos-static-route-module/m-p/296861#M2074</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;We are&amp;nbsp;Seeing below error while using panos_static_route module. Can you please help to resolve it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'ConnectionHelper' object has no attribute 'apply_state'&lt;/P&gt;&lt;P&gt;fatal: [localhost]: FAILED! =&amp;gt; {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1572933157.85-280592588763105/AnsiballZ_panos_static_route.py\", line 114, in &amp;lt;module&amp;gt;\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1572933157.85-280592588763105/AnsiballZ_panos_static_route.py\", line 106, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1572933157.85-280592588763105/AnsiballZ_panos_static_route.py\", line 49, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/tmp/ansible_panos_static_route_payload_mG2gGW/__main__.py\", line 214, in &amp;lt;module&amp;gt;\n File \"/tmp/ansible_panos_static_route_payload_mG2gGW/__main__.py\", line 208, in main\nAttributeError: 'ConnectionHelper' object has no attribute 'apply_state'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have used ansible module as below:&lt;/P&gt;&lt;P&gt;panos_static_route:&lt;BR /&gt;provider: '{{ panos_provider }}'&lt;BR /&gt;name: 'Test-One'&lt;BR /&gt;destination: '10.x.x.x/28'&lt;BR /&gt;nexthop: '10.x.x.x'&lt;BR /&gt;template: "{{panos_template}}"&lt;BR /&gt;virtual_router: "{{panos_vr_name}}"&lt;BR /&gt;state: 'present'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Dinesh.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2019 23:34:17 GMT</pubDate>
    <dc:creator>calltomdinesh</dc:creator>
    <dc:date>2019-11-06T23:34:17Z</dc:date>
    <item>
      <title>Seeing . error while using panos_static_route module.</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/seeing-error-while-using-panos-static-route-module/m-p/296861#M2074</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;We are&amp;nbsp;Seeing below error while using panos_static_route module. Can you please help to resolve it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'ConnectionHelper' object has no attribute 'apply_state'&lt;/P&gt;&lt;P&gt;fatal: [localhost]: FAILED! =&amp;gt; {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1572933157.85-280592588763105/AnsiballZ_panos_static_route.py\", line 114, in &amp;lt;module&amp;gt;\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1572933157.85-280592588763105/AnsiballZ_panos_static_route.py\", line 106, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1572933157.85-280592588763105/AnsiballZ_panos_static_route.py\", line 49, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/tmp/ansible_panos_static_route_payload_mG2gGW/__main__.py\", line 214, in &amp;lt;module&amp;gt;\n File \"/tmp/ansible_panos_static_route_payload_mG2gGW/__main__.py\", line 208, in main\nAttributeError: 'ConnectionHelper' object has no attribute 'apply_state'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have used ansible module as below:&lt;/P&gt;&lt;P&gt;panos_static_route:&lt;BR /&gt;provider: '{{ panos_provider }}'&lt;BR /&gt;name: 'Test-One'&lt;BR /&gt;destination: '10.x.x.x/28'&lt;BR /&gt;nexthop: '10.x.x.x'&lt;BR /&gt;template: "{{panos_template}}"&lt;BR /&gt;virtual_router: "{{panos_vr_name}}"&lt;BR /&gt;state: 'present'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Dinesh.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 23:34:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/seeing-error-while-using-panos-static-route-module/m-p/296861#M2074</guid>
      <dc:creator>calltomdinesh</dc:creator>
      <dc:date>2019-11-06T23:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Seeing . error while using panos_static_route module.</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/seeing-error-while-using-panos-static-route-module/m-p/303058#M2090</link>
      <description>&lt;P&gt;Just so others are aware, this was resolved by upgrading his role code to the latest version:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/PaloAltoNetworks/ansible-pan/issues/439" target="_blank"&gt;https://github.com/PaloAltoNetworks/ansible-pan/issues/439&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 22:12:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/seeing-error-while-using-panos-static-route-module/m-p/303058#M2090</guid>
      <dc:creator>gfreeman</dc:creator>
      <dc:date>2019-12-10T22:12:12Z</dc:date>
    </item>
  </channel>
</rss>

