<?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: Getting &amp;quot;read only mode&amp;quot; error when using GitHub Python ExportImport script in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Getting-quot-read-only-mode-quot-error-when-using-GitHub-Python/m-p/92179#M5050</link>
    <description>&lt;P&gt;My guess is that you are either connecting to the wrong domain (your management IP and domain are different, which is fine, but the domain is most relevant) or the user is, in fact, read-only.&lt;BR /&gt;Against the relevant CMA, just do something simple like: mgmt_cli login domain 1&lt;SPAN&gt;0.10.10.100 with the relevant credentials and see what is returned.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jul 2020 16:19:47 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2020-07-22T16:19:47Z</dc:date>
    <item>
      <title>Getting "read only mode" error when using GitHub Python ExportImport script</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Getting-quot-read-only-mode-quot-error-when-using-GitHub-Python/m-p/91945#M5046</link>
      <description>&lt;P&gt;Used the GitHub ExportImport script (&lt;A href="https://github.com/CheckPointSW/ExportImportPolicyPackage" target="_blank"&gt;https://github.com/CheckPointSW/ExportImportPolicyPackage&lt;/A&gt;) to export an R80.20 package successfully from a CMA on a lab MDS server.&amp;nbsp; (Unassigned the global policy first.)&lt;/P&gt;&lt;P&gt;However I keep getting error(s) when trying to import it to a different CMA on the same MDS server -&amp;nbsp;Error: message: Runtime error: &lt;STRONG&gt;Operation is not allowed in read only mode!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The user is created with the built-in Multi-Domain Super User profile.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Command&lt;/P&gt;&lt;P&gt;-------------&lt;/P&gt;&lt;P&gt;python ExportImportPolicyPackage-master/import_export_package.py -op import -n test_policy -f /home/admin/test_policy.tar.gz --all -u api -p xxxxxx -d 10.10.10.100 -m 10.10.10.10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error&lt;/P&gt;&lt;P&gt;----------&lt;/P&gt;&lt;P&gt;Creating a Policy Package named [test_export_policy]&lt;/P&gt;&lt;P&gt;Importing general objects&lt;/P&gt;&lt;P&gt;Adding generic objects of type com.checkpoint.objects.classes.dummy.CpmiGatewayCluster&lt;/P&gt;&lt;P&gt;Failed to import com.checkpoint.objects.classes.dummy.CpmiGatewayCluster with name [export_error_CpmiGatewayCluster_31194273-8981-4e12-8803-bcbfc95bd8bb_test]. Error: message: &lt;STRONG&gt;Runtime error: Operation is not allowed in read only mode!&lt;/STRONG&gt;&lt;BR /&gt;code: generic_error&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Adding services-udp&lt;/P&gt;&lt;P&gt;Failed to import service-udp with name [UDP_135]. Error: message: &lt;STRONG&gt;Runtime error: Operation is not allowed in read only mode!&lt;/STRONG&gt;&lt;BR /&gt;code: generic_error&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;multiple lines with same error&amp;gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 15:15:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Getting-quot-read-only-mode-quot-error-when-using-GitHub-Python/m-p/91945#M5046</guid>
      <dc:creator>9eae3dd1-bcda-4</dc:creator>
      <dc:date>2020-07-20T15:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "read only mode" error when using GitHub Python ExportImport script</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Getting-quot-read-only-mode-quot-error-when-using-GitHub-Python/m-p/92179#M5050</link>
      <description>&lt;P&gt;My guess is that you are either connecting to the wrong domain (your management IP and domain are different, which is fine, but the domain is most relevant) or the user is, in fact, read-only.&lt;BR /&gt;Against the relevant CMA, just do something simple like: mgmt_cli login domain 1&lt;SPAN&gt;0.10.10.100 with the relevant credentials and see what is returned.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 16:19:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Getting-quot-read-only-mode-quot-error-when-using-GitHub-Python/m-p/92179#M5050</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-07-22T16:19:47Z</dc:date>
    </item>
  </channel>
</rss>

