Subscribe

Error:" Unable to find API: file-create-directory" when using RCU to clone VMs

Hi,

We have setup a new NETAPP with VSC4.2.1(before this setup, we had 2 controllers setup), and this time we are using one cluster setup.

however, the script using RCU to clone VMs stopped working on this new setup, with following message:

2014-07-22 02:27:54,577 (Thread-29957) ERROR [ZAPI_LOGGER] - Sent 6354 (and received error) to 10.20.30.100<file-create-directory><path>/vol/nfs1/ntap_rcu1406021271753</path><perm>0755</perm></file-create-directory>

2014-07-22 02:27:54,577 (Thread-29957) ERROR [ZAPI_LOGGER] - NaException netapp.manage.NaAPIFailedException: Unable to find API: file-create-directory (errno=13005)

2014-07-22 02:27:54,577 (Thread-29957) ERROR [ZAPI_ERROR_LOGGER] - Sent 6354 (and received error) to 10.20.30.100<file-create-directory><path>/vol/nfs1/ntap_rcu1406021271753</path><perm>0755</perm></file-create-directory>

2014-07-22 02:27:54,577 (Thread-29957) ERROR [ZAPI_ERROR_LOGGER] - NaException netapp.manage.NaAPIFailedException: Unable to find API: file-create-directory (errno=13005)

2014-07-22 02:27:54,577 (Thread-29957) WARN  [ZAPIInvoker] - invokeZAPI(0): failed NtapAdminVServer[getName()=NetApp-Cluster, getId()=de0e5ff0-0e6f-11e4-b99f-123478563412, getVersionGeneration()=8] API failed. Unable to find API: file-create-directory (errno=13005) (called from com.netapp.offtap.ControllerUtil.mkdir(...) on line 7475)

2014-07-22 02:27:54,577 (Thread-29957) ERROR [ControllerUtil] - Make Directory /vol/nfs1/ntap_rcu1406021271753 failed. Unable to find API: file-create-directory (errno=13005)

netapp.manage.NaAPIFailedException: Unable to find API: file-create-directory (errno=13005)

                at netapp.manage.NaServer.invokeElem(NaServer.java:711)

                at com.netapp.offtap.ZAPIInvoker.invokeFilerBasedZapi(ZAPIInvoker.java:332)

                at com.netapp.offtap.ControllerUtil.invokeZAPI(ControllerUtil.java:10091)

                at com.netapp.offtap.ControllerUtil.invokeZAPI(ControllerUtil.java:10024)

                at com.netapp.offtap.ControllerUtil.mkdir(ControllerUtil.java:7475)

                at com.netapp.offtap.ControllerManager.mkdir(ControllerManager.java:2313)

                at com.netapp.kamino.server.duplicator.VmCloner.create(VmCloner.java:1398)

                at com.netapp.kamino.server.duplicator.VmCloner.createClones(VmCloner.java:341)

                at com.netapp.kamino.server.ApiImpl$cloneEngineThread.run(ApiImpl.java:1168)

                at java.lang.Thread.run(Unknown Source)

2014-07-22 02:27:54,577 (Thread-29957) DEBUG [VmCloner] - Entering bailOut.

2014-07-22 02:27:54,577 (Thread-29957) DEBUG [VmCloner] - Adding the error message to the taskID queue.2014-07-22 02:27:54,577 (Thread-29957) DEBUG [VmCloner] - Added the error message to the taskID queue.

2014-07-22 02:27:54,577 (Thread-29957) FATAL [VmCloner] - Error creating directory /vol/nfs1/ntap_rcu1406021271753

And here is the XML for the request:

<requestSpec>

    <cloneSpec>

        <bootsPerMinute>0</bootsPerMinute>

        <clones>

            <entry>

                <key>PLATFORM-rocao-core-svcs-netapp-test1</key>

                <value>

                    <powerOn>false</powerOn>

                </value>

            </entry>

        </clones>

        <containerMoref>ClusterComputeResource:domain-c19</containerMoref>

        <destVmFolderMoref>Folder:group-v71179</destVmFolderMoref>

        <files>

            <destDatastoreSpec>

                <controller>

                    <actuallyOpsMgr>false</actuallyOpsMgr>

                    <ipAddress>10.20.30.100</ipAddress>

                    <port>0</port>

                    <ssl>true</ssl>

                    <username>admin</username>

                </controller>

                <mor>Datastore:datastore-70870</mor>

                <numDatastores>0</numDatastores>

                <storageService>false</storageService>

                <thinProvision>false</thinProvision>

                <volAutoGrow>false</volAutoGrow>

                <wrapperVol>false</wrapperVol>

            </destDatastoreSpec>

            <sourcePath>Configuration File</sourcePath>

        </files>

        <files>

            <destDatastoreSpec>

                <controller>

                    <actuallyOpsMgr>false</actuallyOpsMgr>

                    <ipAddress>10.20.30.100</ipAddress>

                    <port>0</port>

                    <ssl>true</ssl>

                    <username>admin</username>

                </controller>

                <mor>Datastore:datastore-70870</mor>

                <numDatastores>0</numDatastores>

                <storageService>false</storageService>

                <thinProvision>false</thinProvision>

                <volAutoGrow>false</volAutoGrow>

                <wrapperVol>false</wrapperVol>

            </destDatastoreSpec>

            <sourcePath>[bnibjvmds3] BJV5-template-V3.5.0-Core-svcs-154-70/BJV5-template-V3.5.0-Core-svcs-154-70.vmdk</sourcePath>

        </files>

        <memMB>8096</memMB>

        <numberCPU>2</numberCPU>

        <templateMoref>VirtualMachine:vm-70990</templateMoref>

    </cloneSpec>

    <serviceUrl>https://10.20.22.1/sdk</serviceUrl>

    <vcUser>administrator</vcUser>

</requestSpec>

Can anyone help on this issue?