I am trying to run vserver api commands using the oncommand apiproxy api and when I do I get a credential issue, however I do not see a way within OnCommand to specify credentials for a Vserver or am I missing something?
Input
<?xml version="1.0" encoding="UTF-8"?>
<netapp xmlns="http://www.netapp.com/filer/admin" version="1.0">
<api-proxy>
<request>
<args></args>
<name>volume-get-language</name>
</request>
<target>clnas</target>
<timeout></timeout>
<username></username>
</api-proxy>
</netapp>
Output
<?xml version='1.0' encoding='UTF-8' ?>
<netapp version='1.0' xmlns='http://www.netapp.com/filer/admin'>
<!-- Output of api-proxy [Execution Time: 733 ms] -->
<results status='passed'>
<response>
<status>failed</status>
<errno>21008</errno>
<reason>Skipped attempt due to lack of good credentials</reason>
</response>
</results>
</netapp>