VMware Cloud Community
sivakumarss
Enthusiast
Enthusiast

Unable to run VCO workflow 'Request a catalog item'

Even if I select a proper request item, the VCO fails and see the following in the 'Logs' tab.

[2014-05-20 14:19:52.644] [I] Getting catalog item 'TestBP' request form...

[2014-05-20 14:19:55.430] [I] [null] null (Dynamic Script Module name : requestCatalogItem#1)

The action is 'requestCatalogItem'. The line 1 listed there

'var form = vCACCAFERequestsHelper.getRequestFormForCatalogItem(item);'

Is there something that needs to be done to have the 'vCACCAFERequestsHelper' working properly? Thanks

Regards

Siva

10 Replies
GrantOrchardVMw
Commander
Commander

Are you running this directly from vCO?

Grant

Grant http://grantorchard.com
Reply
0 Kudos
sivakumarss
Enthusiast
Enthusiast

Grant.

Yes, we are running it from the VCO directly.

Though the final requirement is to run this as a scheduled workflows periodically.

How else can we run these request workflows on a schedule? Thanks

Regards

Siva

Reply
0 Kudos
GrantOrchardVMw
Commander
Commander

Ok, I'm seeing the same behaviour as you. I think the JS for that action may not be quite right, I'll try to grab someone tomorrow (it's Thursday afternoon here in AUS) but if I can't it may need to wait until next week.

Grant

Grant http://grantorchard.com
Reply
0 Kudos
admin
Immortal
Immortal

I had this issue as well, engineering are looking at it.

Reply
0 Kudos
vamsee83
Contributor
Contributor

I'm also seeing same issue. It would be good if we get some workaround or fix for this issue.

Reply
0 Kudos
admin
Immortal
Immortal

Currently a minor fix is being written (it's going to take some time)
meanwhile, i'm working on a blogpost on how to bypass this

Reply
0 Kudos
admin
Immortal
Immortal

A 'Tech Preview' of the plugin was now introduced to the vCO communities:

https://communities.vmware.com/docs/DOC-26853

This version fixes the issues noted in this thread.

Also, you can read this blogposts I wrote about how to utilize vCACs REST APIs , and bypass the issue.

Using vCAC 6 REST APIs - Part 1 - Elastic Skies

Using vCAC REST APIs - Part 2 - Elastic Skies

sivakumarss
Enthusiast
Enthusiast

Thanks for the new plugin.

We are able to request items from catalog.

When can this be production ready?

Reply
0 Kudos
rszymczak
Hot Shot
Hot Shot

The current version (6.0.1.2008337) seems to work now for single VM blueprints (vSphere) but fails when calling a multi-machine blueprint, I get the error:

[42000] Object reference not set to an instance of an object. (Dynamic Script Module name : requestCatalogItem#1)


The error occures when var form = vCACCAFERequestsHelper.getRequestFormForCatalogItem(item); gets executed, where item is a vCACCatalogItem representing a multi-machine blueprint.

Can you please verify that this happens not only to me and / or give me a hint what I might be doing wrong?

Reply
0 Kudos
EdSp
Enthusiast
Enthusiast

Hi,

Just trying same and this error still occurs for a multi-machine blueprint. Was this ever resolved?

vCO 5.5.2

vRA 6.6.2

Thanks,
Ed

Reply
0 Kudos