<?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: Generate API Requests crashes in Expedition Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/expedition-discussions/generate-api-requests-crashes/m-p/226293#M348</link>
    <description>&lt;P&gt;Just in case, make sure you are not under version 1.0.100, as we handled some specific XML structures from the PANOS configs in the latest updates.&lt;/P&gt;
&lt;P&gt;The current version is 1.0.101.&lt;/P&gt;
&lt;P&gt;Also, check if there is a file /tmp/error that could bring us more information about what may have gone wrong.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Aug 2018 13:35:08 GMT</pubDate>
    <dc:creator>dgildelaig</dc:creator>
    <dc:date>2018-08-07T13:35:08Z</dc:date>
    <item>
      <title>Generate API Requests crashes</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/generate-api-requests-crashes/m-p/224942#M345</link>
      <description>&lt;P&gt;I am trying to set up the first set of changes I am making to do some rule enrichment.&lt;/P&gt;
&lt;P&gt;Within my project, I am going to Export, API Output Manager, and clicking "[Step 1] Generate API Requests".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The status start changing, showing different phases, but after probably 35 seconds, I get kicked out of the web GUI and back to the login page. Is this a known bug? Is there a workaround, perhaps a config export to a file or something?&lt;/P&gt;
&lt;P&gt;Also, what are the signifigance of the radio buttons for Mega, Atomic, Sub-atomic, and Clean?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 13:46:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/generate-api-requests-crashes/m-p/224942#M345</guid>
      <dc:creator>Tim_Grossner</dc:creator>
      <dc:date>2018-08-06T13:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Generate API Requests crashes</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/generate-api-requests-crashes/m-p/226293#M348</link>
      <description>&lt;P&gt;Just in case, make sure you are not under version 1.0.100, as we handled some specific XML structures from the PANOS configs in the latest updates.&lt;/P&gt;
&lt;P&gt;The current version is 1.0.101.&lt;/P&gt;
&lt;P&gt;Also, check if there is a file /tmp/error that could bring us more information about what may have gone wrong.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 13:35:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/generate-api-requests-crashes/m-p/226293#M348</guid>
      <dc:creator>dgildelaig</dc:creator>
      <dc:date>2018-08-07T13:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Generate API Requests crashes</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/generate-api-requests-crashes/m-p/226321#M349</link>
      <description>&lt;P&gt;root@Expedition:/tmp# more error&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "/var/www/html/libs/ansible/xml-to-ansible.py", line 40, in &amp;lt;module&amp;gt;&lt;BR /&gt; import pan.config&lt;BR /&gt;ModuleNotFoundError: No module named 'pan'&lt;BR /&gt;Error in sys.excepthook:&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook&lt;BR /&gt; from apport.fileutils import likely_packaged, get_recent_crashes&lt;BR /&gt; File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in &amp;lt;module&amp;gt;&lt;BR /&gt; from apport.report import Report&lt;BR /&gt; File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in &amp;lt;module&amp;gt;&lt;BR /&gt; import apport.fileutils&lt;BR /&gt; File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in &amp;lt;module&amp;gt;&lt;BR /&gt; from apport.packaging_impl import impl as packaging&lt;BR /&gt; File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in &amp;lt;module&amp;gt;&lt;BR /&gt; import apt&lt;BR /&gt; File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in &amp;lt;module&amp;gt;&lt;BR /&gt; import apt_pkg&lt;BR /&gt;ModuleNotFoundError: No module named 'apt_pkg'&lt;/P&gt;
&lt;P&gt;Original exception was:&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "/var/www/html/libs/ansible/xml-to-ansible.py", line 40, in &amp;lt;module&amp;gt;&lt;BR /&gt; import pan.config&lt;BR /&gt;ModuleNotFoundError: No module named 'pan'&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 16:52:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/generate-api-requests-crashes/m-p/226321#M349</guid>
      <dc:creator>Tim_Grossner</dc:creator>
      <dc:date>2018-08-07T16:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Generate API Requests crashes</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/generate-api-requests-crashes/m-p/226322#M350</link>
      <description>&lt;P&gt;Is there an Ansible back-end to Expedition? If so, I didn't know that.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 16:53:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/generate-api-requests-crashes/m-p/226322#M350</guid>
      <dc:creator>Tim_Grossner</dc:creator>
      <dc:date>2018-08-07T16:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Generate API Requests crashes</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/generate-api-requests-crashes/m-p/226413#M356</link>
      <description>&lt;P&gt;we use some extensions who are in beta that try to convert the output xml as ansible playbook and sometimes it produces an error, and can be omited, then we use pan-python to from the output xml generate the set commands.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you case seems the library has not being installed properly,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try to run this command from the cli&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;sudo -H pip3 install pandevice&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Aug 2018 13:15:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/generate-api-requests-crashes/m-p/226413#M356</guid>
      <dc:creator>alestevez</dc:creator>
      <dc:date>2018-08-08T13:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Generate API Requests crashes</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/generate-api-requests-crashes/m-p/226430#M359</link>
      <description>&lt;P&gt;expedition@Expedition:~$ sudo bash&lt;BR /&gt;[sudo] password for expedition: &lt;BR /&gt;root@Expedition:/mnt/disk2/home/expedition# pip3 install pandevice &lt;BR /&gt;The directory '/mnt/disk2/home/expedition/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.&lt;BR /&gt;The directory '/home/expedition/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.&lt;BR /&gt;Collecting pandevice&lt;BR /&gt; Downloading &lt;A href="https://files.pythonhosted.org/packages/b3/e5/96f72439e5e4162aa78fee6f6288f06913b56dfa2a94b1cd652d25f4ff95/pandevice-0.6.4.tar.gz" target="_blank"&gt;https://files.pythonhosted.org/packages/b3/e5/96f72439e5e4162aa78fee6f6288f06913b56dfa2a94b1cd652d25f4ff95/pandevice-0.6.4.tar.gz&lt;/A&gt; (126kB)&lt;BR /&gt; 100% |â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆ| 133kB 2.5MB/s &lt;BR /&gt;Collecting pan-python (from pandevice)&lt;BR /&gt; Downloading &lt;A href="https://files.pythonhosted.org/packages/c3/6c/fb9cb7551f37a721551753d424a4bf5fd70159ed3d5fd468d2ae3fff058f/pan-python-0.13.0.tar.gz" target="_blank"&gt;https://files.pythonhosted.org/packages/c3/6c/fb9cb7551f37a721551753d424a4bf5fd70159ed3d5fd468d2ae3fff058f/pan-python-0.13.0.tar.gz&lt;/A&gt; (120kB)&lt;BR /&gt; 100% |â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆ| 122kB 2.8MB/s &lt;BR /&gt;Installing collected packages: pan-python, pandevice&lt;BR /&gt; Running setup.py install for pan-python ... done&lt;BR /&gt; Running setup.py install for pandevice ... done&lt;BR /&gt;Successfully installed pan-python-0.13.0 pandevice-0.6.4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;...I will try the API generate again later this morning and let you know what happens.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 13:26:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/generate-api-requests-crashes/m-p/226430#M359</guid>
      <dc:creator>Tim_Grossner</dc:creator>
      <dc:date>2018-08-08T13:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Generate API Requests crashes</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/generate-api-requests-crashes/m-p/226437#M361</link>
      <description>&lt;P&gt;...funny enough, it still crashed, kicked me back out to the login screen, but there was nothing in the /tmp/error file at all this time.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 13:46:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/generate-api-requests-crashes/m-p/226437#M361</guid>
      <dc:creator>Tim_Grossner</dc:creator>
      <dc:date>2018-08-08T13:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Generate API Requests crashes</title>
      <link>https://live.paloaltonetworks.com/t5/expedition-discussions/generate-api-requests-crashes/m-p/226438#M362</link>
      <description>&lt;P&gt;can we do a quick zoom session to see the problem? If yes please send me an email to fwmigrate at paloaltonetworks dot com with the subject "Request Zoom Session now" thanks&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 13:49:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/expedition-discussions/generate-api-requests-crashes/m-p/226438#M362</guid>
      <dc:creator>alestevez</dc:creator>
      <dc:date>2018-08-08T13:49:12Z</dc:date>
    </item>
  </channel>
</rss>

