VMware Cloud Community
gibsster
Enthusiast
Enthusiast
Jump to solution

Cannot submit a new request in the catalog

Hi all,

After creating, publishing a new blue print. and all the process of creating a serviceable catalog item for the blueprint, and the entitlement. Im not able to request a new vm from the catalog that is because I always meet this error when clicking on the submit bottom "The data specified within the request is invalid. java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING". Does anyone know the reason? I


the catalina.out LOG show following error:

2014-09-23 19:30:46,049 vcac: [component="cafe:iaas-proxy" priority="ERROR" thread="tomcat-http--24" tenant="vsphere.local"] com.vmware.vcac.iaas.gateway.impl.BaseGatewayImpl.mapIaasGatewayException:55 - Exception thrown for IaaS endpoint: https://vcac-iaas.mstrprime.com/WAPI/

2014-09-23 19:30:46,050 vcac: [component="cafe:iaas-proxy" priority="ERROR" thread="tomcat-http--24" tenant="vsphere.local"] com.vmware.vcac.iaas.gateway.impl.BaseGatewayImpl.mapIaasGatewayException:69 - [Error code: 50505 ] - [Error Msg: Infrastructure service provider error]

2014-09-23 19:30:46,052 vcac: [component="cafe:catalog" priority="WARN" thread="tomcat-http--55" tenant="vsphere.local"] com.vmware.vcac.platform.rest.RestTemplateIpv6.handleResponseError:581 - GET request for "https://vcac-appliance.mstrprime.com/iaas-proxy-provider/api/services/3e1e0128-8347-4fd1-8cbb-bbe3c0..." resulted in 400 (Bad Request); invoking error handler

2014-09-23 19:30:46,055 vcac: [component="cafe:catalog" priority="ERROR" thread="tomcat-http--55" tenant="vsphere.local"] com.vmware.vcac.platform.rest.client.error.ResponseErrorHandler.handleError:55 - [Rest Error]: {Status code: 400}, {Error code: 50505} , {Error Source: null}, {Error Msg: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING}, {System Msg: Infrastructure service provider error}

2014-09-23 19:30:46,056 vcac: [component="cafe:catalog" priority="ERROR" thread="tomcat-http--55" tenant="vsphere.local"] com.vmware.vcac.platform.service.rest.resolver.ApplicationExceptionHandler.handleServiceException:237 - [Error code: 20128 ] - [Error Msg: Failed to retrieve form from provider for e7f07bf5-f8c8-4ab7-adbe-35d0f3d8b446.]

2014-09-23 19:30:46,187 vcac: [component="cafe:shell" priority="ERROR" thread="tomcat-http--30" tenant=""] com.vmware.vcac.shell.ErrorManagerImpl.logToApacheCommons:59 - <65ff6a99> Unexpected exception was caught

2014-09-23 19:31:34,340 vcac: [component="cafe:iaas-proxy" priority="INFO" thread="tomcat-http--49" tenant="vsphere.local"] com.vmware.vcac.iaas.controller.BlueprintFormController.getForm:72 - {Form Request: [serviceId: 3e1e0128-8347-4fd1-8cbb-bbe3c0325004], [formId: Infrastructure.Virtual-Request.Submit], [bindingId: 00d0625e-44bc-4c3b-a9ca-5fa5b580b4e8]}

2014-09-23 19:31:34,341 vcac: [component="cafe:iaas-proxy" priority="INFO" thread="tomcat-http--49" tenant="vsphere.local"] com.vmware.vcac.iaas.controller.BlueprintFormController.getSubtenantId:160 - {Form Request Context Params: [subtenantId: 8878a4f4-6ad0-4e7c-bba6-31ee7fb98520] for [blueprintId: 00d0625e-44bc-4c3b-a9ca-5fa5b580b4e8]}

2014-09-23 19:31:34,342 vcac: [component="cafe:iaas-proxy" priority="INFO" thread="tomcat-http--49" tenant="vsphere.local"] com.vmware.vcac.iaas.controller.BlueprintFormController.getForm:102 - {Form Response successful for: [serviceId: 3e1e0128-8347-4fd1-8cbb-bbe3c0325004], [formId: Infrastructure.Virtual-Request.Submit], [bindingId: 00d0625e-44bc-4c3b-a9ca-5fa5b580b4e8]}

2014-09-23 19:31:35,382 vcac: [component="cafe:shell" priority="INFO" thread="tomcat-http--65" tenant="vsphere.local"] com.vmware.vcac.shell.proxy.service.impl.ProxyServiceImpl.proxy:209 - Proxy GET from: /vcac/services/p/Leases/NewRequest.aspx to: https://vcac-iaas.mstrprime.com/vcac/Leases/NewRequest.aspx?BlueprintID=00d0625e-44bc-4c3b-a9ca-5fa5...

2014-09-23 19:31:36,153 vcac: [component="cafe:shell" priority="INFO" thread="tomcat-http--65" tenant="vsphere.local"] com.vmware.vcac.shell.proxy.service.impl.ProxyServiceImpl.proxy:209 - Proxy POST from: /vcac/services/p/Leases/NewRequest.aspx to: https://vcac-iaas.mstrprime.com/vcac/Leases/NewRequest.aspx?BlueprintID=00d0625e-44bc-4c3b-a9ca-5fa5...

2014-09-23 19:31:36,363 vcac: [component="cafe:shell" priority="INFO" thread="tomcat-http--65" tenant="vsphere.local"] com.vmware.vcac.shell.proxy.service.impl.ProxyServiceImpl.proxy:209 - Proxy GET from: /vcac/services/p/Leases/ConfirmNewRequest.aspx to: https://vcac-iaas.mstrprime.com/vcac/Leases/ConfirmNewRequest.aspx?TemplateID=00d0625e-44bc-4c3b-a9c...a4f4-6ad0-4e7c-bba6-31ee7fb98520&ReadOnly=0&RequestedFor=cperalta@mstrprime.com

2014-09-23 19:31:42,743 vcac: [component="cafe:shell" priority="INFO" thread="tomcat-http--65" tenant="vsphere.local"] com.vmware.vcac.shell.proxy.service.impl.ProxyServiceImpl.proxy:209 - Proxy POST from: /vcac/services/p/Leases/ConfirmNewRequest.aspx to: https://vcac-iaas.mstrprime.com/vcac/Leases/ConfirmNewRequest.aspx?TemplateID=00d0625e-44bc-4c3b-a9c...a4f4-6ad0-4e7c-bba6-31ee7fb98520&ReadOnly=0&RequestedFor=cperalta@mstrprime.com

2014-09-23 19:31:44,455 vcac: [component="cafe:component-registry" priority="INFO" thread="tomcat-http--4" tenant="vsphere.local"] com.vmware.vcac.core.extensibility.controller.PluginServiceController.getExtensions:140 - Looking up extensions for extension point [[csp.catalog.resource.operations, cafe.forms.extensions]]

2014-09-23 19:31:44,732 vcac: [component="cafe:iaas-proxy" priority="ERROR" thread="tomcat-http--20" tenant="vsphere.local"] com.vmware.vcac.iaas.gateway.impl.BaseGatewayImpl.mapIaasGatewayException:55 - Exception thrown for IaaS endpoint: https://vcac-iaas.mstrprime.com/WAPI/

2014-09-23 19:31:44,733 vcac: [component="cafe:iaas-proxy" priority="ERROR" thread="tomcat-http--20" tenant="vsphere.local"] com.vmware.vcac.iaas.gateway.impl.BaseGatewayImpl.mapIaasGatewayException:69 - [Error code: 50505 ] - [Error Msg: Infrastructure service provider error]

2014-09-23 19:31:44,736 vcac: [component="cafe:catalog" priority="WARN" thread="tomcat-http--7" tenant="vsphere.local"] com.vmware.vcac.platform.rest.RestTemplateIpv6.handleResponseError:581 - POST request for "https://vcac-appliance.mstrprime.com/iaas-proxy-provider/api/services/3e1e0128-8347-4fd1-8cbb-bbe3c0..." resulted in 400 (Bad Request); invoking error handler

2014-09-23 19:31:44,738 vcac: [component="cafe:catalog" priority="ERROR" thread="tomcat-http--7" tenant="vsphere.local"] com.vmware.vcac.platform.rest.client.error.ResponseErrorHandler.handleError:55 - [Rest Error]: {Status code: 400}, {Error code: 50505} , {Error Source: null}, {Error Msg: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING}, {System Msg: Infrastructure service provider error}

2014-09-23 19:31:44,738 vcac: [component="cafe:catalog" priority="WARN" thread="tomcat-http--7" tenant="vsphere.local"] com.vmware.vcac.catalog.provider.gateway.impl.ProviderRequestGatewayImpl.validateRequest:83 - The provider [3e1e0128-8347-4fd1-8cbb-bbe3c0325004] determined that request [null] was invalid

Thanks!!

Screen Shot 2014-09-23 at 14.45.12.png

Screen Shot 2014-09-23 at 15.32.24.png

1 Solution

Accepted Solutions
RaymundoEC
VMware Employee
VMware Employee
Jump to solution

My two cents,

I follow this steps :

  • take snapshot of IaaS server
  • apply SP1 for windows 2008
  • restart IaaS box

Just with SP1 in vCAC 6.1 the error disappear.

regards!

vRay

+vRay

View solution in original post

Reply
0 Kudos
10 Replies
vtsa_croblesl
Contributor
Contributor
Jump to solution

I have the same problem, in a simple installation and a distributed installation vCloud Automation Center 6.1, unfortunately there is no clear information about the error in the Vcac portal


pastedImage_0.png

pscheri
Enthusiast
Enthusiast
Jump to solution

hi, I´m having exactly the same issue, did you manage to fix it? I will continue trying, If something appears I´ll post it.

Reply
0 Kudos
vmmeup
Expert
Expert
Jump to solution

Are you using the default vsphere.local tenant?  If so have you tried using a new tenant?

Sid Smith ----- VCP, VTSP, CCNA, CCA(Xen Server), MCTS Hyper-V & SCVMM08 [http://www.dailyhypervisor.com] - Don't forget to award points for correct and helpful answers. 😉
Reply
0 Kudos
pscheri
Enthusiast
Enthusiast
Jump to solution

Hi! I´m using a custome Tenant, registered to Active Directory.

This issue replicates using vCenter SSO and SSO Virtual Appliance.

Thanks!

Pablo.-

Reply
0 Kudos
pscheri
Enthusiast
Enthusiast
Jump to solution

Ok, problem Solved, not sure how because I applied two possible solutions together.

  1. I install Windows 2008 R2 Service Pack 1 on the IaaS Server.
  2. The vSphere endpoint name, generated from the vCAC Console is Case Sensitive!! it MUST be the same as the Agent installed with IaaS Server (by default vCenter)

Hope this solve someone else problems.

Thanks!

Reply
0 Kudos
ThevCACGuy
Contributor
Contributor
Jump to solution

Hello,

It is the first one you listed.  I ran into this same issue in my lab and resolved it early last week.  I had to:

1) Install SP1 on Windows 2008 R2

2) Re-register the IaaS box

Reply
0 Kudos
RaymundoEC
VMware Employee
VMware Employee
Jump to solution

Hi, what you mean re-register IaaS server?

thanks

vRay

+vRay
Reply
0 Kudos
gibsster
Enthusiast
Enthusiast
Jump to solution

Same question what do you mean by reregistering the Iaas Box??

Reply
0 Kudos
RaymundoEC
VMware Employee
VMware Employee
Jump to solution

My two cents,

I follow this steps :

  • take snapshot of IaaS server
  • apply SP1 for windows 2008
  • restart IaaS box

Just with SP1 in vCAC 6.1 the error disappear.

regards!

vRay

+vRay
Reply
0 Kudos
ThevCACGuy
Contributor
Contributor
Jump to solution

Reply
0 Kudos