Data Backup and Recovery

Snap Creator 4.1c GUI error with cDOT config

filipsneppe
6,386 Views

Hi, I am running into a problem with the SC 4.1c GUI when trying to create a configuration for a Clustered ONTAP setup.

I can reproduce and work around the error so I think it should be pretty easy to reproduce.

(I looked at the github repository in order to report this as an issue/bug, but I'm not quite sure if that's still active, I am getting 404s on a lot of pages ...)

Starting point is a global configuration I have created using the Web GUI.

In this I have added credentials for 2 vservers (on two separate cDOT clusters), I left the OnCommand proxy settings blank in the global config.

Now when creating a new configuration using the wizard:

(1) In the controller/vserver credentials dialog when I select "fetch from global configuration", SC fills in the two vservers. For one of these, I edit the configuration and add the volume I want to include in my backup. The other one basically has no volumes attached to it but since I selected "fetch from global configuration" there is no way to remove it.

In the next dialog, "snapshot details", I give a snapshot copy name, and a daily policy. When I click on next, I get the java error shown below.

(2) On the other hand, if I don't select "fetch from global configuration" on the previous dialog, but manually enter the credentials for the one vserver I am interested in and the volume I want to back up, I do not get this error in the snapshot details dialog, so to me this error seems related to the vserver with no volumes associated with it.

Hopefully this makes sense to anyone.

Best regards,

Filip

Java error:

(TypeError) stack: prepareToShow_37@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:108944 $prepareToShowPage@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:61119 $prepareToHidePage@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:61103 $setCurrentPage@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:61137 $gotoNextPage@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:61090 $onNext@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:60658 onClick_13@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:60834 $componentSelected_17@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:56369 componentSelected_17@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:56378 $handleEvent_8@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:9600 handleEvent_9@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:9605 $fireEvent_0@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:1133 fireEvent@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:1178 $fireEvent_4@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:7577 $onClick_0@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:15716 onComponentEvent_5@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:15874 $onBrowserEvent_0@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:7746 onBrowserEvent_0@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:8093 dispatchEvent_0@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:47050 $initEventSystem/dispatchEvent_1<@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:47474 apply@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:38617 entry0@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:38655 entry_0/<@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:38640 fileName: https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html lineNumber: 108944 columnNumber: 0: ontapVersion is null

==ERROR==

com.google.gwt.core.client.JavaScriptException

==TIME==

2013-12-23 08:36:56,313

==MESSAGE==

(TypeError)

stack: prepareToShow_37@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:108944

$prepareToShowPage@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:61119

$prepareToHidePage@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:61103

$setCurrentPage@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:61137

$gotoNextPage@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:61090

$onNext@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:60658

onClick_13@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:60834

$componentSelected_17@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:56369

componentSelected_17@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:56378

$handleEvent_8@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:9600

handleEvent_9@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:9605

$fireEvent_0@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:1133

fireEvent@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:1178

$fireEvent_4@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:7577

$onClick_0@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:15716

onComponentEvent_5@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:15874

$onBrowserEvent_0@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:7746

onBrowserEvent_0@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:8093

dispatchEvent_0@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:47050

$initEventSystem/dispatchEvent_1<@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:47474

apply@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:38617

entry0@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:38655

entry_0/<@https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html:38640

fileName: https://localhost:8443/ui/snapcreatorframework/AD0E2C34C256AAEDBAC13291E8018FB7.cache.html

lineNumber: 108944

columnNumber: 0: ontapVersion is null

==DETAILS==

No details are available.

==CORRECTIVE ACTION==

No suggested corrective action is available.

==LOCATION==

Location is not specified.

==BROWSER INFO==

App Name: Netscape

App Version: 5.0 (Windows)

App Codename: Mozilla

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0

Platform: Win32

Cookie Enabled: true

3 REPLIES 3

spinks
6,386 Views

Filip,

I've tried to reproduce your issue in both Windows and Linux and have not been able to do so.

I am using what will be the full supported release and not the community release, but this portion of the code should be the same.

I think Siva was also trying to reproduce this in his environment without success.

I've tried on both Windows and Linux 64-bit operating systems.

I've also tried putting in incorrect credentials as well as invalid hostnames/IP addresses.

Can you share what OS you are using Snap Creator Server on?

Could you also share the version of Data ONTAP on the vserver that is giving you the error?

You can also feel free to email me a scdump at: spinks at netapp dot com and I'll take a look.

Thanks!

John

filipsneppe
6,386 Views

Hi John, thanks for your quick reply.

I am running SC 4.1.0c on Windows 2008 R2, the NetApp storage consists of 2 NetApp clustered ONTAP systems running 8.2P3. I am using the SC GUI using Firefox.

Here's a little more info:

I created the global config file

- with no use for an oncommand proxy

- the two vservers involved are sitting on two separate Clustered ONTAP systems, and I've added them using IP addresses (no DNS configured (yet) - that's out of my control at the moment). One vserver is basically the SnapMirror destination.

- No oncommand/DFM credentials are filled in

(I'll email you the global.conf)

As for how I create the configuration, here's the steps I am taking:

- creating a new config using the wizard, giving it a name and leaving password encryption enabled.

- no plugins ("none")

- for the agent configuration, leaving everything blank, so no server agent IP/hostname !

- for the oncommand proxy settings, selecting "fetch from global configuration" (which basically contains no information).

- for the controller/vserver login info, I am also selecting "fetch from global configuration".

  This fills in the two IP addresses and credentials for the vservers.

  Then I select the vserver that contains the volume I want to backup, click "edit" and select the volume (the wizard won't let me continue anyway without one volume selected).

  For the other vserver that's basically been added due to the "fetch from global configuration" selection, there are no volumes associated with it. When I reported this two days ago I thought this had something to do with my problem.

- in the snapshot details dialog, I give a name to the snapshot ("snapshot copy name"), select the "daily" policy and give it a retention of 10. I don't change any other settings.

(no label name, policy type = "use policy", prevent snapshot copy deletion = no, policy retention age = <blank>, naming convention = timestamp).

Hitting "next" gives me the error.

If I go back to the controller/vserver credential dialog and uncheck the "fetch from global configuration" and then add the one vserver + volume I am interested in

(THIS IS BY IP ADDRESS ONLY, the vserver name is not known in DNS), I am able to continue the wizard..

Note that I am sure that all credentials are correct, because I had to either enable the vsadmin (or in fact create a dedicated ontapi admin account on the vserver) before I could enumerate any volumes in the vserver.

As to your question about the scdump, I am getting a DNS/name resolution related error so I am wondering if this could have anything to do with my original problem:

C:\Program Files\NetApp\Snap_Creator_Framework\scServer4.1.0c>snapcreator.exe --action scdump --profile SMVI --config test

INFO: Missing option --user

Enter user: scadmin

INFO: Missing option --passwd

Enter password:

[Tue Dec 24 17:06:59 2013] ERROR: com.netapp.snapcreator.storage.executor.ZapiExecutorException: java.io.IOException: The host vs1_backup_a70_drcould not be resolved

        at com.netapp.snapcreator.storage.executor.ZapiExecutorImpl.run(ZapiExecutorImpl.java:51)

        at com.netapp.snapcreator.storage.executor.ZapiExecutorImpl.invoke(ZapiExecutorImpl.java:80)

        at com.netapp.snapcreator.storage.executor.ZapiExecutorImpl.updateApiVersion(ZapiExecutorImpl.java:196)

        at com.netapp.snapcreator.storage.executor.DirectZapiExecutor.<init>(DirectZapiExecutor.java:74)

        at com.netapp.snapcreator.storage.executor.ZapiExecutorFactory.getProxyOrDirectExecutor(ZapiExecutorFactory.java:81)

        at com.netapp.snapcreator.storage.executor.ZapiExecutorFactory.get(ZapiExecutorFactory.java:45)

        at com.netapp.snapcreator.storage.api.StorageApiFactory.getStorage(StorageApiFactory.java:28)

        at com.netapp.snapcreator.storage.StorageCoreImpl.systemGetVersion(StorageCoreImpl.java:1895)

        at com.netapp.snapcreator.storage.StorageImpl.systemGetVersion(StorageImpl.java:430)

        at com.netapp.snapcreator.engine.util.SCDumpBuilder.addOntapAPIVersion(SCDumpBuilder.java:243)

        at com.netapp.snapcreator.engine.util.SCDumpBuilder.generateScdumpTextFile(SCDumpBuilder.java:134)

        at com.netapp.snapcreator.engine.util.SCDumpBuilder.createDump(SCDumpBuilder.java:96)

        at com.netapp.snapcreator.engine.EngineImpl.startSCDump(EngineImpl.java:787)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)

        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)

        at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:178)

        at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:68)

        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)

        at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57)

        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

        at java.util.concurrent.FutureTask.run(Unknown Source)

        at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)

        at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)

        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)

        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)

        at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239)

        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:248)

        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:222)

        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:153)

        at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:167)

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:206)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)

        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)

        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)

        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)

        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)

        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)

        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)

        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)

        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)

        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)

        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)

        at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)

        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)

        at org.eclipse.jetty.server.Server.handle(Server.java:370)

        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)

        at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)

        at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)

        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)

        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)

        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)

        at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)

        at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264)

        at org.eclipse.jetty.server.ssl.SslSocketConnector$SslConnectorEndPoint.run(SslSocketConnector.java:670)

        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)

        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)

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

Caused by: java.io.IOException: The host vs1_backup_a70_drcould not be resolved

        at netapp.manage.NaServer.getSession(NaServer.java:317)

        at netapp.manage.NaServer.invokeHTTP(NaServer.java:868)

        at netapp.manage.NaServer.invokeElemForXML(NaServer.java:716)

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

        at com.netapp.snapcreator.storage.executor.ZapiExecutorImpl.run(ZapiExecutorImpl.java:46)

        ... 63 more

[Tue Dec 24 17:06:59 2013] ERROR: STORAGE-03033: Getting system version details

of [vs1_backup_a70_dr] failed with error [java.io.IOException: The host vs1_back

up_a70_drcould not be resolved]

Thanks in advance for looking into this.

Best regards,

Filip

filipsneppe
6,386 Views

Thanks to John Spinks for taking this up in private mail and Thomas Lichtenstein for looking deeper into this.

The condition that triggers this error is having two or more vservers in the global configuration, and then in the configuration creation wizard choosing "fetch from global configuration" for the vserver credentials but then only attaching/selecting volumes for one vserver. You don't get this error if you select/attach volumes to all vservers that are coming from the global configuration.

Gives an error:

This works:

I have been told it's already fixed in the current codebase and will be in the official, supported release of 4.1.

Best regards,

Filip

Public