rajuroks
Enthusiast
Enthusiast

Configure Serengeti Host

Jump to solution

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

0 Kudos
1 Solution

Accepted Solutions
rajuroks
Enthusiast
Enthusiast

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.

View solution in original post

0 Kudos
41 Replies
fakber
VMware Employee
VMware Employee

Hi Raju,

Are these log messages coming from vRealize Automation (vCAC or vRA) or from somewhere else? 

Do you have any firewalls setup between your vCenter, vRA, VCO and the BDE servers?

What versions of the components are you using?

Also, you may want to file a Support Request with VMware GSS to help you look into the issue deeper.

Thanks,

Faisal Akber

0 Kudos
rajuroks
Enthusiast
Enthusiast

This log is from VCO when am trying to run "configure serengeti host" work flow I think am giving wrong url https://https://xx.xx.xx.xx:8443, what url I need to give? VCO 5.5.2 VCac 6.2 BDE 2.0

0 Kudos
fakber
VMware Employee
VMware Employee

You're showing https://https://xx.xx.xx.xx:8443.

This should be https://<hostname/IP address>:8443/.  This should be the hostname or IP address of your BDE server.

Faisal

0 Kudos
rajuroks
Enthusiast
Enthusiast

I just edited my IP and https:// is typo I think I had given. No firewalls runninghttps://xx.xx.xx.xx:8443 it is not working in one of the BDE doc it says https://xx.xx.xx.xx:8080/serengeti I tried with both the ports not working

0 Kudos
fakber
VMware Employee
VMware Employee

Raju,

Port 8080 is an older port number used from older version of BDE.

I suggest that you try using the following URL:

https://xx.xx.xx.xx:8443/serengeti

Sincerely,

Faisal Akber

0 Kudos
rajuroks
Enthusiast
Enthusiast

Tried no luck 😞

0 Kudos
fakber
VMware Employee
VMware Employee

Hi Raju,

Please file a Support Request with VMware GSS to allow them to review your environment and setup in more detail.

Thanks,

Faisal Akber

0 Kudos
rajuroks
Enthusiast
Enthusiast

now its says auth failed am giving my vcenter admin logins nit sure why its failing [2015-01-28 21:06:09.482] [I] Error: Operation failed, the status code is: 401. The Reason is: Authentication Failed. (Workflow:Execute Login Operation / Execute Operation (item2)#31) [2015-01-28 21:06:09.526] [I] REST host removed: DynamicWrapper (Instance) : [RESTHost]-[class com.vmware.o11n.plugin.rest.RESTHost] -- VALUE : com.vmware.o11n.plugin.rest.RESTHost@b4358a1

0 Kudos
fakber
VMware Employee
VMware Employee

Make sure that VCO is not only configured with the link to BDE but you need to have the username and password configured as well.

Make sure that the username and password is one that you can login to the vSphere web-client and has access to use BDE.

Faisal

0 Kudos
rajuroks
Enthusiast
Enthusiast

Yes, am using VC admin logins which am able to login to webconsole shoud I use administrator@vsphere.local or just administrator?

0 Kudos
fakber
VMware Employee
VMware Employee

Use whatever you use to login on the login page.

Faisal

0 Kudos
rajuroks
Enthusiast
Enthusiast

I had given https://vc-server:9443/vsphere-client in host field and it passed without any errors need to check wether it will execute the workflows or not

0 Kudos
Xiaoliangl
Contributor
Contributor

The URL is: https://xx.xx.xx.xx:8443/serengeti, where the IP is the serengeti management VM's IP.

The login and password is your vCenter's login and password.

0 Kudos
Xiaoliangl
Contributor
Contributor

If you use root account, it should be always fine.

0 Kudos
rajuroks
Enthusiast
Enthusiast

Tried no luck am able to access the VC with same credentials but here am getting auth error 2015-01-28 22:37:44.332] [I] Login [2015-01-28 22:37:44.469] [D] Request contentType: application/x-www-form-urlencoded [2015-01-28 22:37:44.469] [D] Request URL: https://xx.xx.xx.xx.:8443/serengeti/j_spring_security_check [2015-01-28 22:37:48.803] [I] Response: DynamicWrapper (Instance) : [RESTResponse]-[class com.vmware.o11n.plugin.rest.Response] -- VALUE : com.vmware.o11n.plugin.rest.Response@502a9cff [2015-01-28 22:37:48.804] [I] Status code: 401 [2015-01-28 22:37:48.805] [I] Content as string:

HTTP Status 401 - Authentication Failed: Cannot complete login due to an incorrect user name or password.


type Status report

message Authentication Failed: Cannot complete login due to an incorrect user name or password.

description This request requires HTTP authentication.


Apache Tomcat/6.0.37

[2015-01-28 22:37:48.805] [I] Error: Operation failed, the status code is: 401. The Reason is: Authentication Failed. (Workflow:Execute Login Operation / Execute Operation (item2)#31) [2015-01-28 22:37:48.852] [I] REST host removed: DynamicWrapper (Instance) : [RESTHost]-[class com.vmware.o11n.plugin.rest.RESTHost] -- VALUE : com.vmware.o11n.plugin.rest.RESTHost@5816afcf

0 Kudos
rajuroks
Enthusiast
Enthusiast

I tried with VC vsphere.local/administrator and serengeti server root logins but same auth error

0 Kudos
Xiaoliangl
Contributor
Contributor

thanks for the action.

Have you succeeded in using serengeti-cli to connect to serengeti VM before?

If you can get access to the serengeti mgmt VM, could you please provide me the serengeti.log under /opt/serengeti?

0 Kudos
rajuroks
Enthusiast
Enthusiast

am able to access from cli using VC admin logins

0 Kudos
Xiaoliangl
Contributor
Contributor

Could you please provide the versions of your serengeti management server and your vCAC BDE-plugin?

0 Kudos