Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
I have just installed (with lot of problems on the way 🙂 OnCommand API Services.
I have added a single cluster for tests.
When I try to get the list of clusters with
https://IP:8443/api/5.0/ontap/clusters
I'm getting response with empty list
<apiServerResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=""> <status> <code>SUCCESS</code> </status> <result> <total_records>0</total_records> </result> </apiServerResponse>
however if I try to get
https://IP:8443/api/1.0/admin/storage-systems
I'm getting this single cluster without any issue.
What am I doing wrong?
Solved! See The Solution
1 ACCEPTED SOLUTION
marcinlub has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May be some issue with discovery. Can you do below things and let us know ?
1. re-start api service using below commands
# service apiserver stop
# service apiserver start
2. wait for 5 min to discovery to complete.
3. check is api/5.0/ontap/clusters showing cluster.
4. if not, it may be some problem with MEGA. please share with us logs to degug.
marcinlub has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
