<?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 API call (quota-report-iter) stopped working in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-call-quota-report-iter-stopped-working/m-p/105548#M1500</link>
    <description>&lt;P&gt;We have a script that calls the 'quota-report-iter' API every 15 minutes and has been doing so for a year. No changes have been made to the script or the filer (or the network).&lt;BR /&gt;&lt;BR /&gt;On Thu, 21 May 2015 06:45:02 -0700, the filer stopped responding properly to the API requests (and I have not been able to make any API calls since that time).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for a place to start troubleshooting this issue.&lt;BR /&gt;&lt;BR /&gt;Here's a traceback from the python script that's doing the query:&lt;BR /&gt;# ./get_na_quota.sh&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "./NetApp-quotalist.py", line 190, in&lt;BR /&gt;get_quota_info()&lt;BR /&gt;File "./NetApp-quotalist.py", line 126, in get_quota_info&lt;BR /&gt;print_tree_init(s,None,0)&lt;BR /&gt;File "./NetApp-quotalist.py", line 86, in print_tree_init&lt;BR /&gt;n=nas.invoke("quota-report-iter", "max-records", req_size)&lt;BR /&gt;File "./NetApp-API/NaServer.py", line 542, in invoke&lt;BR /&gt;return self.invoke_elem(xi)&lt;BR /&gt;File "./NetApp-API/NaServer.py", line 490, in invoke_elem&lt;BR /&gt;response = connection.getresponse()&lt;BR /&gt;File "/usr/lib64/python2.6/httplib.py", line 990, in getresponse&lt;BR /&gt;response.begin()&lt;BR /&gt;File "/usr/lib64/python2.6/httplib.py", line 391, in begin&lt;BR /&gt;version&lt;BR /&gt;, status, reason = self._read_status()&lt;BR /&gt;File "/usr/lib64/python2.6/httplib.py", line 349, in _read_status&lt;BR /&gt;line = self.fp.readline()&lt;BR /&gt;File "/usr/lib64/python2.6/socket.py", line 433, in readline&lt;BR /&gt;data = recv(1)&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 04:13:15 GMT</pubDate>
    <dc:creator>bpape</dc:creator>
    <dc:date>2025-06-05T04:13:15Z</dc:date>
    <item>
      <title>API call (quota-report-iter) stopped working</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-call-quota-report-iter-stopped-working/m-p/105548#M1500</link>
      <description>&lt;P&gt;We have a script that calls the 'quota-report-iter' API every 15 minutes and has been doing so for a year. No changes have been made to the script or the filer (or the network).&lt;BR /&gt;&lt;BR /&gt;On Thu, 21 May 2015 06:45:02 -0700, the filer stopped responding properly to the API requests (and I have not been able to make any API calls since that time).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for a place to start troubleshooting this issue.&lt;BR /&gt;&lt;BR /&gt;Here's a traceback from the python script that's doing the query:&lt;BR /&gt;# ./get_na_quota.sh&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "./NetApp-quotalist.py", line 190, in&lt;BR /&gt;get_quota_info()&lt;BR /&gt;File "./NetApp-quotalist.py", line 126, in get_quota_info&lt;BR /&gt;print_tree_init(s,None,0)&lt;BR /&gt;File "./NetApp-quotalist.py", line 86, in print_tree_init&lt;BR /&gt;n=nas.invoke("quota-report-iter", "max-records", req_size)&lt;BR /&gt;File "./NetApp-API/NaServer.py", line 542, in invoke&lt;BR /&gt;return self.invoke_elem(xi)&lt;BR /&gt;File "./NetApp-API/NaServer.py", line 490, in invoke_elem&lt;BR /&gt;response = connection.getresponse()&lt;BR /&gt;File "/usr/lib64/python2.6/httplib.py", line 990, in getresponse&lt;BR /&gt;response.begin()&lt;BR /&gt;File "/usr/lib64/python2.6/httplib.py", line 391, in begin&lt;BR /&gt;version&lt;BR /&gt;, status, reason = self._read_status()&lt;BR /&gt;File "/usr/lib64/python2.6/httplib.py", line 349, in _read_status&lt;BR /&gt;line = self.fp.readline()&lt;BR /&gt;File "/usr/lib64/python2.6/socket.py", line 433, in readline&lt;BR /&gt;data = recv(1)&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:13:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-call-quota-report-iter-stopped-working/m-p/105548#M1500</guid>
      <dc:creator>bpape</dc:creator>
      <dc:date>2025-06-05T04:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: API call (quota-report-iter) stopped working</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-call-quota-report-iter-stopped-working/m-p/105554#M1501</link>
      <description>&lt;P&gt;The problem is that the mgmt lif on node n1 is not answering properly (it's immediately closing the connection).&amp;nbsp; Node n2 is working properly.&lt;/P&gt;&lt;P&gt;From script:&lt;BR /&gt;filer='1.2.3.38'&lt;BR /&gt;response = s.set_server_type("FILER")&lt;BR /&gt;response = s.set_transport_type('HTTP')&lt;/P&gt;&lt;P&gt;From API:&lt;BR /&gt;self.port = 80&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;na-hpc1::&amp;gt; net int show&lt;BR /&gt;(network interface show)&lt;BR /&gt;Logical Status Network Current Current Is&lt;BR /&gt;Vserver Interface Admin/Oper Address/Mask Node Port Home&lt;BR /&gt;----------- ---------- ---------- ------------------ ------------- ------- ----&lt;BR /&gt;na-hpc1&lt;BR /&gt;cluster_mgmt up/up 1.2.3.40/24 na-hpc1-n1 a0a true&lt;BR /&gt;na-hpc1-n1&lt;BR /&gt;clus1 up/up 169.254.32.23/16 na-hpc1-n1 e0c true&lt;BR /&gt;clus2 up/up 169.254.162.242/16 na-hpc1-n1 e0e true&lt;BR /&gt;mgmt1 up/up 1.2.3.38/24 na-hpc1-n1 e0M true&lt;BR /&gt;na-hpc1-n2&lt;BR /&gt;clus1 up/up 169.254.230.109/16 na-hpc1-n2 e0c true&lt;BR /&gt;clus2 up/up 169.254.96.120/16 na-hpc1-n2 e0e true&lt;BR /&gt;mgmt1 up/up 1.2.3.39/24 na-hpc1-n2 e0M true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Connecting to mgmt lif on node n1:&lt;BR /&gt;# telnet 1.2.3.38 80&lt;BR /&gt;Trying 1.2.3.38...&lt;BR /&gt;Connected to 1.2.3.38.&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;Connection closed by foreign host.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Connecting to mgmt lif on node n2:&lt;BR /&gt;# telnet 1.2.3.39 80&lt;BR /&gt;Trying 1.2.3.39...&lt;BR /&gt;Connected to 1.2.3.39.&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;[...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2015 14:24:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-call-quota-report-iter-stopped-working/m-p/105554#M1501</guid>
      <dc:creator>bpape</dc:creator>
      <dc:date>2015-05-27T14:24:57Z</dc:date>
    </item>
  </channel>
</rss>

