VMware Aria Automation Tools

 View Only
Expand all | Collapse all

Cannot submit a new request in the catalog

  • 1.  Cannot submit a new request in the catalog

    Posted Sep 23, 2014 07:38 PM

    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-bbe3c0325004/forms/Infrastructure.Virtual-Blueprint.Details/00d0625e-44bc-4c3b-a9ca-5fa5b580b4e8/?subtenantId=8878a4f4-6ad0-4e7c-bba6-31ee7fb98520" 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-5fa5b580b4e8&MachineID=&GroupID=8878a4f4-6ad0-4e7c-bba6-31ee7fb98520&ExtensionID=csp.places.iaas.forms&ReadOnly=0&RequestedFor=cperalta%40mstrprime.com

    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-5fa5b580b4e8&MachineID=&GroupID=8878a4f4-6ad0-4e7c-bba6-31ee7fb98520&ExtensionID=csp.places.iaas.forms&ReadOnly=0&RequestedFor=cperalta%40mstrprime.com

    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: cperalta@mstrprime.com">https://vcac-iaas.mstrprime.com/vcac/Leases/ConfirmNewRequest.aspx?TemplateID=00d0625e-44bc-4c3b-a9ca-5fa5b580b4e8&GroupID=8878a4f4-6ad0-4e7c-bba6-31ee7fb98520&ReadOnly=0&RequestedFor=cperalta@mstrprime.coma4f4-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: cperalta@mstrprime.com">https://vcac-iaas.mstrprime.com/vcac/Leases/ConfirmNewRequest.aspx?TemplateID=00d0625e-44bc-4c3b-a9ca-5fa5b580b4e8&GroupID=8878a4f4-6ad0-4e7c-bba6-31ee7fb98520&ReadOnly=0&RequestedFor=cperalta@mstrprime.coma4f4-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-bbe3c0325004/requestValidations" 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!!



  • 2.  RE: Cannot submit a new request in the catalog

    Posted Sep 24, 2014 01:38 AM

    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




  • 3.  RE: Cannot submit a new request in the catalog

    Posted Sep 29, 2014 07:44 PM

    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.



  • 4.  RE: Cannot submit a new request in the catalog

    Posted Sep 30, 2014 06:42 PM

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



  • 5.  RE: Cannot submit a new request in the catalog

    Posted Sep 30, 2014 07:26 PM

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

    This issue replicates using vCenter SSO and SSO Virtual Appliance.

    Thanks!

    Pablo.-



  • 6.  RE: Cannot submit a new request in the catalog

    Posted Oct 01, 2014 12:31 PM

    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!



  • 7.  RE: Cannot submit a new request in the catalog

    Posted Oct 01, 2014 03:19 PM

    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



  • 8.  RE: Cannot submit a new request in the catalog

    Posted Oct 16, 2014 12:55 AM

    Hi, what you mean re-register IaaS server?

    thanks

    vRay



  • 9.  RE: Cannot submit a new request in the catalog

    Posted Oct 20, 2014 09:28 PM

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



  • 10.  RE: Cannot submit a new request in the catalog
    Best Answer

    Posted Oct 20, 2014 09:33 PM

    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



  • 11.  RE: Cannot submit a new request in the catalog