VMware

vR Automation 8.1 – Unable to push custom property (new static address) via action

Hi all,

I’m really confused. I am trying to use a custom action to update the “inputs.address” property of a deployment.

If I set a static address ([172.23.10.11](https://172.23.10.11)) in the blueprint, the “inputs.addresses” array is populated with a single string in the metadata of the Compute.Provision.Pre step of the deployment – image here: [https://i.imgur.com/4kis7dz.png](https://i.imgur.com/4kis7dz.png) – I expect to see the [172.23.10.11](https://172.23.10.11) address listed here as it is staticly assigned in the Blueprint

I then add an action to update the “inputs.addresses[0]” value to a new static address (example [172.23.10.254](https://172.23.10.254)”) and add a subscription for this Action to trigger during the Compute.Provision.Pre step – it completes successfully and the output of the action shows the new address – image here: [https://i.imgur.com/YCLQkgt.png](https://i.imgur.com/YCLQkgt.png)

​

However, if I then poll the properties and values of inputs during the [Compute.Provision.Post](https://Compute.Provision.Post) step after the above action runs, the addresses array and it’s values have returned to the original values – image here: [https://imgur.com/039f6058-4f32-4fa6-aa7e-82aab8d8ffea](https://imgur.com/039f6058-4f32-4fa6-aa7e-82aab8d8ffea)

​

Is there something I need to do to for the new value of inputs.addresses[0] to be fed back into the next deployment steps during/after the action?


View Reddit by frankgrimeygrimes11View Source

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Close