VMware Cloud Community
rajuroks
Enthusiast
Enthusiast
Jump to solution

Configure Serengeti Host

am trying to configure BdaaS using Vcac/VCO/BDE, am unable to connect to Serengeti Host  which url I need to use to connect to Serengeti Host ? am using https://172.xx.xx.xx:8443 2015-01-28 16:25:03.001] [I] url: https://172.xx.xx.xx:8443/ [2015-01-28 16:25:03.027] [I] Certificate information: Properties:1774975067 [2015-01-28 16:25:03.056] [I] Is certificate trusted: true [2015-01-28 16:25:03.056] [I] Is host name verified: true [2015-01-28 16:25:03.156] [I] REST host: DynamicWrapper (Instance) : [RESTHost]-[class com.vmware.o11n.plugin.rest.RESTHost] -- VALUE : com.vmware.o11n.plugin.rest.RESTHost@28e7af9e [2015-01-28 16:25:03.157] [I] REST host authentication: DynamicWrapper (Instance) : [RESTAuthentication]-[class com.vmware.o11n.plugin.rest.Authentication] -- VALUE : NONE [2015-01-28 16:25:03.193] [I] REST host added: DynamicWrapper (Instance) : [RESTHost]-[class com.vmware.o11n.plugin.rest.RESTHost] -- VALUE : com.vmware.o11n.plugin.rest.RESTHost@2a3085c0 [2015-01-28 16:25:03.363] [I] op: DynamicWrapper (Instance) : [RESTOperation]-[class com.vmware.o11n.plugin.rest.RESTOperation] -- VALUE : com.vmware.o11n.plugin.rest.RESTOperation@67daf896 [2015-01-28 16:25:03.363] [I] host: DynamicWrapper (Instance) : [RESTHost]-[class com.vmware.o11n.plugin.rest.RESTHost] -- VALUE : com.vmware.o11n.plugin.rest.RESTHost@58f6751e [2015-01-28 16:25:03.477] [I] Serengeti [2015-01-28 16:25:03.590] [I] Serengeti [2015-01-28 16:25:03.670] [I] Login [2015-01-28 16:25:03.847] [D] Request contentType: application/x-www-form-urlencoded [2015-01-28 16:25:03.847] [D] Request URL: https://172.xx.xx.xx:8443/j_spring_security_check [2015-01-28 16:25:03.902] [I] Response: DynamicWrapper (Instance) : [RESTResponse]-[class com.vmware.o11n.plugin.rest.Response] -- VALUE : com.vmware.o11n.plugin.rest.Response@13340e6d [2015-01-28 16:25:03.902] [I] Status code: 404 [2015-01-28 16:25:03.903] [I] Content as string:

HTTP Status 404 - /j_spring_security_check


type Status report

message /j_spring_security_check

description The requested resource is not available.


Apache Tomcat/6.0.37

[2015-01-28 16:25:03.903] [I] Error: Operation failed, the status code is: 404. The Reason is: REST Host Configuration Failed. (Workflow:Execute Login Operation / Execute Operation (item2)#30) [2015-01-28 16:25:03.944] [I] REST host removed: DynamicWrapper (Instance) : [RESTHost]-[class com.vmware.o11n.plugin.rest.RESTHost] -- VALUE : com.vmware.o11n.plugin.rest.RESTHost@225837de

Reply
0 Kudos
41 Replies
jessehuvmw
Enthusiast
Enthusiast
Jump to solution

The authentication API is a little different in BDE 2.1 and BDE 2.0 and 1.x.

In BDE 2.1, the request body is "vc_username=name&vc_password=password", while in BDE 2.0 the request body is "vc_username=name&vc_password=base64_encoded_password".  If you use the BDE vCAC version 2.0 with BDE 2.1, the authentication will fail.

Cheers, Jesse Hu
Reply
0 Kudos
rajuroks
Enthusiast
Enthusiast
Jump to solution

Thanks for the solutions, I have deleted my BDE 2.0 from VC without uninstalling, after deploying 2.1 am unable to register it how to remove the old 2.0 extensions from VC?

Reply
0 Kudos
Xiaoliangl
Contributor
Contributor
Jump to solution

there is a web tool at https://serengeti_mgmt_VM_IP:8443/serengeti/register-plugin. you can use it to un-register the plugin.

after you have unregister the old one, please go to https://vc_IP:5480. stop and start the webclient. After the webclient is restarted, you can register the new version.

Please also ensure you have the 2.2.0 version of BDE vCAC plugin.

Reply
0 Kudos
rajuroks
Enthusiast
Enthusiast
Jump to solution

Registered with 2.1 extensions now when i try to run the workflow am getting new error ReferenceError: "BigDataExtensionURLEncodingService" is not defined. (Workflow:Execute Login Operation / Execute Operation (item2)#2) [2015-01-30 09:53:22.720] [I] url: https://xx.xx.xx.xx:8443/serengeti [2015-01-30 09:53:22.765] [I] Certificate information: Properties:63430351 [2015-01-30 09:53:22.787] [I] Is certificate trusted: true [2015-01-30 09:53:22.787] [I] Is host name verified: true [2015-01-30 09:53:22.895] [I] REST host: DynamicWrapper (Instance) : [RESTHost]-[class com.vmware.o11n.plugin.rest.RESTHost] -- VALUE : com.vmware.o11n.plugin.rest.RESTHost@2c35896f [2015-01-30 09:53:22.895] [I] REST host authentication: DynamicWrapper (Instance) : [RESTAuthentication]-[class com.vmware.o11n.plugin.rest.Authentication] -- VALUE : NONE [2015-01-30 09:53:22.931] [I] REST host added: DynamicWrapper (Instance) : [RESTHost]-[class com.vmware.o11n.plugin.rest.RESTHost] -- VALUE : com.vmware.o11n.plugin.rest.RESTHost@7bb1a17a [2015-01-30 09:53:23.159] [I] op: DynamicWrapper (Instance) : [RESTOperation]-[class com.vmware.o11n.plugin.rest.RESTOperation] -- VALUE : com.vmware.o11n.plugin.rest.RESTOperation@7827433c [2015-01-30 09:53:23.159] [I] host: DynamicWrapper (Instance) : [RESTHost]-[class com.vmware.o11n.plugin.rest.RESTHost] -- VALUE : com.vmware.o11n.plugin.rest.RESTHost@59af55c4 [2015-01-30 09:53:23.356] [I] Serengeti [2015-01-30 09:53:23.511] [I] Serengeti [2015-01-30 09:53:23.620] [I] Login [2015-01-30 09:53:23.797] [I] ReferenceError: "BigDataExtensionURLEncodingService" is not defined. (Workflow:Execute Login Operation / Execute Operation (item2)#2) [2015-01-30 09:53:23.841] [I] REST host removed: DynamicWrapper (Instance) : [RESTHost]-[class com.vmware.o11n.plugin.rest.RESTHost] -- VALUE : com.vmware.o11n.plugin.rest.RESTHost@2ef9f550

Reply
0 Kudos
Xiaoliangl
Contributor
Contributor
Jump to solution

Hello,

The missing service is the new one added in 2.1.0. I guess you were upgrading the vCAC plugin from the old version, but the upgrading did not fully succeed.

Reply
0 Kudos
rajuroks
Enthusiast
Enthusiast
Jump to solution

plugin installed successfully Big Data Extension 2.1.0.70 Installation OK  but workflow not working

Reply
0 Kudos
rajuroks
Enthusiast
Enthusiast
Jump to solution

re installed the plugin still same issues, raised mission critical ticket with VMware they says that they doesn't have any solution yet and working with engineering teams.

Reply
0 Kudos
Xiaoliangl
Contributor
Contributor
Jump to solution

I am trying to reproduce your issue. One question are you sure vCAC is 6.2? Only 6.1 is officially released.

Reply
0 Kudos
rajuroks
Enthusiast
Enthusiast
Jump to solution

its Vra 6.2, if you can pick my support ticket we can work together in my environment

Reply
0 Kudos
gguanglu
VMware Employee
VMware Employee
Jump to solution

that vCO-BDE solution on BDE v2.1 doesn't support vRA 6.2 by design, because vRA v6.2 was released after BDE v2.1 (Oct-> Dec 2014).

we need a little more time to figure out the patch. could you use vRA 6.1.x temporarily?

Reply
0 Kudos
Xiaoliangl
Contributor
Contributor
Jump to solution

Hello Raju,

I am not GSS, so I am not sure if I can pick up your SR. Let's first check if your package is valid.

Did you download the plugin from solutionexchange? Could you please unzip the o11nplugin-big-data-2.2.0.vmoapp file, and there will be a o11nplugin-big-data.dar file. could you please also unzip it and there will be a VSO-INF file. There should be an section in the file:

<object script-name="_BigDataExtensionURLEncodingService" java-class="com.vmware.o11n.bigdata.plugin.services.URLEncodingService" strict="false">

            <description>URL Encoding Service for HTTP POST Content</description>

            <singleton datasource="main-datasource" script-name="BigDataExtensionURLEncodingService"/>

            <methods>

                <method show-in-api="true" return-type="String" java-name="encode" script-name="encode">

                    <parameters>

                        <parameter name="content" type="String"/>

                    </parameters>

                </method>

            </methods>

        </object>

And in the unzipped dar folder and files, there is a lib folder. there should be a o11nplugin-big-data-core-2.2.0.jar inside. if you unzip the o11nplugin-big-data-core-2.2.0.jar, there should be a URLEncodingService.class inside com/vmware/o11n/bigdata/plugin/services folder.

Reply
0 Kudos
rajuroks
Enthusiast
Enthusiast
Jump to solution

its o11nplugin-big-data-2.1.0 not 2.2 I cant find 2.2 in solution exchange

Reply
0 Kudos
Xiaoliangl
Contributor
Contributor
Jump to solution

sorry. it's 2.1.0 for sure.

Reply
0 Kudos
Xiaoliangl
Contributor
Contributor
Jump to solution

the package content should be the same.

Reply
0 Kudos
Xiaoliangl
Contributor
Contributor
Jump to solution

Hi Raju,

I got the 2.1.0 package from solution exchange, and deployed the vmoapp on vCO 5.5.2 (https://vco_ip:8283, requires restarting VCO). Then I can execute the "Configure The Serengeti Host" workflow successfully.

Did you try re-deploying the vmoapp from VCO?

Best regards

Li Xiaoliang

Reply
0 Kudos
rajuroks
Enthusiast
Enthusiast
Jump to solution

Yes, I tried it many times redeploying the plugin from VCO, is this issue anyway related to VRA 6.2 because we are trying to connect to Seregeti host from VCO not sure why some folks are telling me that VRA 6.2 doesn't  support it.

Reply
0 Kudos
gguanglu
VMware Employee
VMware Employee
Jump to solution

We tested that BDE-vCO/vCAC solution just up to BDE v2.1 and vCAC 6.1.x/vCO 5.5.2.x by Oct 2014.

The new versions: vRA 6.2 was released in Dec 2014, and it requires vRO 6.0 (embedded only generally), which was after the BDE v2.1 GA release. So that's the meaning of not supported, or more exactly not validated/tested yet.

VMware vCenter Orchestrator Plug-In for vCloud Automation Center Release Notes

Did you update your vRO/vCO also to new version 6.0 with vRA 6.2? You may refer to Re: Where is vRealize Orchestrator 6.0 ??? and VMware KB: External vRealize Orchestrator appliance becomes unavailable after upgrading to VMware vR...

But anyway, we didn't validate that solution against vRO 6.0/vRA 6.2 yet. So there may be some issues.

It will be more smooth if you could stay with vCAC 6.1.x/vCO 5.5.2.x for a while against BDE v2.1, our plan is to release the new solution with next release of BDE.

Thanks,

Gavin

Reply
0 Kudos
rajuroks
Enthusiast
Enthusiast
Jump to solution

Thanks for the detailed description.

Reply
0 Kudos
rajuroks
Enthusiast
Enthusiast
Jump to solution

Finally am able to configure the sergneti host in VCO after removing Vcac 6.2 plugins, will update you once am successfully spin up a bigdata cluster from vRA 6.2. I really appreciate you help and support regarding this issue . Thanks for all your effrots.

Reply
0 Kudos
rajuroks
Enthusiast
Enthusiast
Jump to solution

What packages I need to add in seregneti server?? error on workflow : Create Basic Hadoop Cluster / 'Execute Operation'(item2) : Error: Operation failed, the status code is: 500. The Reason is: {"code":"CLUSTER.EXTRA_PACKAGES_NOT_FOUND","message":"You must add packages [wsdl4j, mailx] to the serengeti management server before cluster creation.

Reply
0 Kudos