<?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: API services returning empty list of clusters in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-services-returning-empty-list-of-clusters/m-p/139113#M2624</link>
    <description>&lt;P&gt;May be some issue with discovery. Can you do below things and let us know ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. re-start api service using&amp;nbsp; below commands&lt;/P&gt;
&lt;P&gt;&amp;nbsp;# service apiserver stop&lt;/P&gt;
&lt;P&gt;&amp;nbsp;#&amp;nbsp; service apiserver start&lt;/P&gt;
&lt;P&gt;2. wait for 5 min to discovery to complete.&lt;/P&gt;
&lt;P&gt;3. check is api/5.0/ontap/clusters showing cluster.&lt;/P&gt;
&lt;P&gt;4. if not, it may be some problem with MEGA. please share with us logs to degug.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 25 Mar 2018 10:36:49 GMT</pubDate>
    <dc:creator>pukale</dc:creator>
    <dc:date>2018-03-25T10:36:49Z</dc:date>
    <item>
      <title>API services returning empty list of clusters</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-services-returning-empty-list-of-clusters/m-p/138391#M2590</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have just installed (with lot of problems on the way &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; OnCommand API Services.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have added a single cluster for tests.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I try to get the list of clusters with&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;https://IP:8443/api/5.0/ontap/clusters&lt;/PRE&gt;
&lt;P&gt;I'm getting response with empty list&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="line"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;PRE&gt;&amp;lt;apiServerResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=""&amp;gt;
&amp;lt;status&amp;gt;
&amp;lt;code&amp;gt;SUCCESS&amp;lt;/code&amp;gt;
&amp;lt;/status&amp;gt;
&amp;lt;result&amp;gt;
&amp;lt;total_records&amp;gt;0&amp;lt;/total_records&amp;gt;
&amp;lt;/result&amp;gt;
&amp;lt;/apiServerResponse&amp;gt;&lt;/PRE&gt;
&lt;DIV class="line"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="line"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;however if I try to get&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;https://IP:8443/api/1.0/admin/storage-systems&lt;/PRE&gt;
&lt;P&gt;I'm getting this single cluster without any issue.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:59:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-services-returning-empty-list-of-clusters/m-p/138391#M2590</guid>
      <dc:creator>marcinlub</dc:creator>
      <dc:date>2025-06-04T13:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: API services returning empty list of clusters</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-services-returning-empty-list-of-clusters/m-p/139113#M2624</link>
      <description>&lt;P&gt;May be some issue with discovery. Can you do below things and let us know ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. re-start api service using&amp;nbsp; below commands&lt;/P&gt;
&lt;P&gt;&amp;nbsp;# service apiserver stop&lt;/P&gt;
&lt;P&gt;&amp;nbsp;#&amp;nbsp; service apiserver start&lt;/P&gt;
&lt;P&gt;2. wait for 5 min to discovery to complete.&lt;/P&gt;
&lt;P&gt;3. check is api/5.0/ontap/clusters showing cluster.&lt;/P&gt;
&lt;P&gt;4. if not, it may be some problem with MEGA. please share with us logs to degug.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Mar 2018 10:36:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-services-returning-empty-list-of-clusters/m-p/139113#M2624</guid>
      <dc:creator>pukale</dc:creator>
      <dc:date>2018-03-25T10:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: API services returning empty list of clusters</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-services-returning-empty-list-of-clusters/m-p/139202#M2632</link>
      <description>&lt;P&gt;It was a problem with insufficient rights for the user used to connect to the cluster. After logging with a user with admin rights - it works now.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 13:52:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/API-services-returning-empty-list-of-clusters/m-p/139202#M2632</guid>
      <dc:creator>marcinlub</dc:creator>
      <dc:date>2018-03-28T13:52:54Z</dc:date>
    </item>
  </channel>
</rss>

