VMware Solutions Discussions

No RCU Service is Available after VSC 2.1.1 Installation

DOGBOY_2008
3,780 Views

Hi,

Hope this is the right place to such kind of question.

We have installed VSC2.1.1 in our vCenter 4.1 and 5.0.(we have two vCenters).

When installing the VSC, we selected the

"Provisioning and Cloning capability"

and we could use the rapid clone manually clicking Netapp->Provisioning and Cloning-> Create rapid clones.

and I have downloaded perl sample, which is using the Rapid Clone Utility to automate the clone.

In the script, it is using 61921 port to access the service.

my $rcuService = SOAP::Lite->service("https://$vc:61921/rcu/api?wsdl");

However, I could not access the port for webservice, and there is no service listening to 62921 port.

and checking the services, there is no "Netapp VI Plugin Service" in my service of the vCenter.

Any suggestion on what's the issue here?

1 ACCEPTED SOLUTION

schrie
3,780 Views

RCU changed to "kamino" - and the port is different for VSC - so your new WSDL would be https://$vc:8143/kamino/public/api?wsdl

If you go to the bottom of the download page: http://support.netapp.com/NOW/download/software/vsc_win/2.1.2/

There's a link to the NetApp Virtual Storage Console 2.1.1 for VMware vSphere Provisioning and Cloning Administration Guide (PDF)

This guide, on page 107, describes how to generate a certificate and then connect properly.

Hope this helps, happy cloning!

View solution in original post

5 REPLIES 5

schrie
3,781 Views

RCU changed to "kamino" - and the port is different for VSC - so your new WSDL would be https://$vc:8143/kamino/public/api?wsdl

If you go to the bottom of the download page: http://support.netapp.com/NOW/download/software/vsc_win/2.1.2/

There's a link to the NetApp Virtual Storage Console 2.1.1 for VMware vSphere Provisioning and Cloning Administration Guide (PDF)

This guide, on page 107, describes how to generate a certificate and then connect properly.

Hope this helps, happy cloning!

DOGBOY_2008
3,780 Views

Thanks very much for the reply!

I have tried as suggested and the script could send clone request to vCenter.

However, the clone failed with error, and there is no meaningful message on vCenter task board.

By checking the kamino.log file, there is error message as below:

2013-01-28 22:55:57,904 (Thread-3276) TRACE [WSClient] - SOAPSend : <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><SetTaskState xmlns="urn:vim25"><_this type="Task">task-95020</_this><state>error</state></SetTaskState></soapenv:Body></soapenv:Envelope>

2013-01-28 22:55:57,935 (Thread-3276) TRACE [WSClient] - SOAPSend : <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><RetrieveProperties xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet><propSet><type>Task</type><all>false</all><pathSet>info</pathSet></propSet><objectSet><obj type="Task">task-95020</obj><skip>false</skip></objectSet></specSet></RetrieveProperties></soapenv:Body></soapenv:Envelope>

2013-01-28 22:55:57,935 (Thread-3276) TRACE [WSClient] - SOAPReturned no fault.  Object reference is org.dom4j.tree.DefaultElement@106e03ff [Element: <RetrievePropertiesResponse uri: urn:vim25 attributes: []/>]

2013-01-28 22:55:57,935 (Thread-3276) TRACE [WSClient] - SOAPSend : <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><SetTaskDescription xmlns="urn:vim25"><_this type="Task">task-95020</_this><description><key>task-95020</key><message>Failed to get system version:server response did not contain <!DOCTYPE></message></description></SetTaskDescription></soapenv:Body></soapenv:Envelope>

2013-01-28 22:55:57,950 (Thread-3276) TRACE [WSClient] - SOAPFault : org.dom4j.tree.DefaultElement@26c862c6 [Element: <soapenv:Fault uri: http://schemas.xmlsoap.org/soap/envelope/ attributes: []/>]

2013-01-28 22:55:57,950 (Thread-3276) TRACE [WSClient] - SOAPFault (post parse) :com.vmware.vim25.ws.SoapFaultException: null; nested exception is:

          com.vmware.vim25.InvalidRequest

2013-01-28 22:55:57,950 (Thread-3276) TRACE [WSClient] - SOAPFault (post parse details) - faultCode : ServerFaultCode faultString:

Error returned by expat parser: not well-formed (invalid token)

while parsing serialized value of type string

at line 1, column 394

while parsing property "message" of static type string

while parsing serialized DataObject of type vmodl.LocalizableMessage

at line 1, column 360

while parsing call information for method SetTaskDescription

at line 1, column 285

while parsing SOAP body

at line 1, column 271

while parsing SOAP envelope

at line 1, column 38

while parsing HTTP request for method UpdateDescription

on object of type vim.Task

at line 1, column 0

2013-01-28 22:55:57,950 (Thread-3276) ERROR [VmCloner] - bailOut: Failed to set the masterTask description

com.vmware.vim25.InvalidRequest

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

          at java.lang.reflect.Constructor.newInstance(Unknown Source)

          at java.lang.Class.newInstance0(Unknown Source)

          at java.lang.Class.newInstance(Unknown Source)

          at com.vmware.vim25.ws.XmlGen.fromXml(XmlGen.java:401)

          at com.vmware.vim25.ws.XmlGen.parseSoapFault(XmlGen.java:159)

          at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:132)

          at com.vmware.vim25.ws.VimStub.setTaskDescription(VimStub.java:1493)

          at com.vmware.vim25.mo.Task.setTaskDescription(Task.java:170)

          at com.netapp.kamino.server.duplicator.VmCloner.bailOut(VmCloner.java:2560)

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

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

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

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

2013-01-28 22:55:57,982 (Thread-3276) TRACE [WSClient] - SOAPSend : <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><RetrieveProperties xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet><propSet><type>Task</type><all>false</all><pathSet>info</pathSet></propSet><objectSet><obj type="Task">task-95020</obj><skip>false</skip></objectSet></specSet></RetrieveProperties></soapenv:Body></soapenv:Envelope>

2013-01-28 22:55:57,982 (Thread-3276) TRACE [WSClient] - SOAPReturned no fault.  Object reference is org.dom4j.tree.DefaultElement@5fa3cd9f [Element: <RetrievePropertiesResponse uri: urn:vim25 attributes: []/>]

2013-01-28 22:55:57,982 (Thread-3276) DEBUG [VmCloner] - bailOut: Setting error message on masterTask(task-95020) - Failed to get system version:server response did not contain <!DOCTYPE>

2013-01-28 22:55:57,982 (Thread-3276) TRACE [WSClient] - SOAPSend : <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><Logout xmlns="urn:vim25"><_this type="SessionManager">SessionManager</_this></Logout></soapenv:Body></soapenv:Envelope>

where the task id is task-95020

I am working on a perl script, so I did not do anything about the certification thing.

and I am using the SOAP::Lite version 0.714

Any clue on this issue?

schrie
3,780 Views

Thanks for the update Yuan!

Can you confirm that the version of VSC you're running is VSC 2.1.2?  If it is not, could you do an inplace upgrade to VSC 2.1.2, repeat the script, and provide the output?

We've also got VSC 4.1, which includes many more features and API's updated to provide additional functionality and support for vCenter 5.0, if you'd like to test the P&C API's from VSC 4.1, you can find the download and documentation here.

Let us know how it goes!

DOGBOY_2008
3,780 Views

Thanks for the response,

The version is 2.1.1, no doubt.

I will work with our IT guy to try following:

1. upgrade 2.1.2

2. install 4.1 VSC

We have two vCenters, version 4.1 and 5.0(for license issues), and we need to be consistent on those vCenters.

We will give you update late this week or early next week.

Again, thanks for the help.

DOGBOY_2008
3,780 Views

Hi,

I have tested version 4.1 and it works fine.

also it turned out that VSC 2.1.1 works fine too if you use correct controller. Basically, it was report wrong message which was misleading.

BTW:

We have two controllers one is 10.20.10.3 and the other is 10.20.10.4, both configured in netapp.

However, only 10.20.10.3 could be used when using the script, and 10.20.10.4 will fail with following message:

2013-02-01 02:43:04,939 (Thread-288) FATAL [VmCloner] - Unexpected condition:  new vol/lun name was null.

Both 10.20.10.3 and 10.20.10.4 could be used if you chose to create VMs from vCenter GUI.

Just curious on this issue.

Public