Software Development Kit (SDK) and API Discussions

Unable to find API - quota-resize Cluster Mode 8.1.2 vserver

EDWARD_BELTRAN
3,758 Views

Hello,

While working with the API to make some quota manipulation tools,

I've run across the following error's, with quota-resize, quota-set-entry and others:

Error:\n<results reason="Unable to find API: quota-resize" status="failed" errno="13005"></results>

while API's like quota-list-entries-iter work just fine.

I start with SDK 5.0R1 and then tried SDK 5.1, working with a Filer running Clustermode 8.1.2 (which does

not yet show up on the version matrix in the document).

Thanks in advance for any guidance or direction as to what I am doing wrongs.

Eddy

1 ACCEPTED SOLUTION

kunalm
3,758 Views

quota-list-entries-iter is a Cluster level API, whereas quota-resize and quota-set-entry are APIs which you have to invoke against a Vserver.

I am guessing that's where the error is coming from.

-Kunal

View solution in original post

2 REPLIES 2

kunalm
3,759 Views

quota-list-entries-iter is a Cluster level API, whereas quota-resize and quota-set-entry are APIs which you have to invoke against a Vserver.

I am guessing that's where the error is coming from.

-Kunal

EDWARD_BELTRAN
3,758 Views

Thanks!

the API call works now when I go directly to the vserver,

but unfortunately it's failing (resize job is stuck on vserver, not sure

what's going on there)

Thanks again,

Eddy

Public