VMware Cloud Community
GHUser911
Contributor
Contributor
Jump to solution

Can't create a vCloud Director notification subscription (Server.setCustomProperty routing key)

Hi,

I'm having an issue when using the vCloud Director notification subscription workflow,

When trying to add an AMQP Broker using the Workflow "Create a vCloud Director notification subscription" I'm getting the error messages: "Value cannot be holded by custom property".

The broker and listener are both created.

After doing some digging I see that the error is happening at the end of the workflow at the scriptable task "Set custom prop" when getting to:

if (routingKeyAtt != null) Server.setCustomProperty(subscription, "routingKey", routingKeyAtt);

Any idea why I can't set this specific CustomProperty?

any idea's who to work around this issue?

Thanks!

1 Solution

Accepted Solutions
Burke-
VMware Employee
VMware Employee
Jump to solution

All - I have updated the Notifications package for 5.1 file found here: vCloud Director 5.1 blocking tasks and notification package using AMQP -- Please try this version, it should now allow successful creation of the subscription as well as adding the custom properties.

UPDATE March 11th, 2014: Updated "Create a vCloud Director Notification subscription" workflow to work with vCloud Director 5.5. The change IS backward compatible with vCloud Director 5.1.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter

View solution in original post

8 Replies
mcfadyenj
Hot Shot
Hot Shot
Jump to solution

I had a similar issue and found that there are different versions of the notifications package.

make sure you are using the one for the appropriate version of vCD you are running. The various versions seem to handle the routing key slightly differently as well as a few other items.

there is a notifications package 5.1 and one without a version which i think is 5.0. not sure about a 5.5 one yet as I have not tried looking for it. The AMQP versions are important as well make sure you have the latest version of the AMQP plugin too. I found a few issues with that also (but the remediation code is in the activities) but commented out.


GHUser911
Contributor
Contributor
Jump to solution

Hi,

I'm working with vCO 5.5 & vCD 5.5 and the latest version of RabbitMQ and Earlang.

I'v imported the com.vmware.coe.vcd51.notifications Package (didn't see a package for vCD 5.5),

I guess that It's some kind of a compatibility issue.

Any Ideas on how I can work around this issue? Maybe using other workflow to setup the listener?

Maybe I can manually set the listener to capture that specific routing key?

Thanks,

Nimrod

0 Kudos
maxiepax
Contributor
Contributor
Jump to solution

Hi,

I'm getting the same error, running vCD 5.5, vCO 5.5, vCloud VCO integration plugin 5.5.0, and Notification package 5.1.

Can't figure out whats going wrong but i've read some threads that a 5.5 beta package seems to be available?

0 Kudos
cdecanini_
VMware Employee
VMware Employee
Jump to solution

It seems there is an issue with Server.setCustomProperty with either vCO 5.5 or vCD 5.5. In the past I have got a similar issue that was because of the cutom property database record length that was too short. Unfortunately I have been working on other projects and did not have time to look into the notification package issues with vCO 5.5 and vCD 5.5. I would suggest to open a support request with a sample workflow just doing the Server.setCustomProperty with the parameter as a string so GSS can reproduce it and have engineering looking at it.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
0 Kudos
igaydajiev
VMware Employee
VMware Employee
Jump to solution

Hi

not an expert in vCD but if you provide sample workflow demonstrating the issue with Server.setCustomProperty as described by  cdecanini_ will take a look.

0 Kudos
qc4vmware
Virtuoso
Virtuoso
Jump to solution

Looking at the release notes of the AMQP plugin I only see 5.1 listed as a supported vCO.  Can I install this plugin in 5.5?  Does the documentation just need to be updated?  It also does not show up in the list of plugins to download with vSphere 5.5 .  I'm just getting ready to setup a listener to some RabbitMQ services here but if this is not supported I'll need to figure something else out.

0 Kudos
igaydajiev
VMware Employee
VMware Employee
Jump to solution

there is scheduled updated for vCO  5.5.1 that  should be available at the end of this week.

It also includes updated version of AMQP plugin.

0 Kudos
Burke-
VMware Employee
VMware Employee
Jump to solution

All - I have updated the Notifications package for 5.1 file found here: vCloud Director 5.1 blocking tasks and notification package using AMQP -- Please try this version, it should now allow successful creation of the subscription as well as adding the custom properties.

UPDATE March 11th, 2014: Updated "Create a vCloud Director Notification subscription" workflow to work with vCloud Director 5.5. The change IS backward compatible with vCloud Director 5.1.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter