Failed to get latest version of the resource element

Denis Duri
by Denis Duri

Categories

Problem

Randomly a build may fail when utilized with the Sovlabs Modules. The error seen in the logs shows the following:

 

'Failed to get latest version of the resource element'

 

This error message presents itself when a large volume VM's is being requested. This has been seen in the F5, Naming Sequence and Ansible modules.

 

Example error snippet from Custom Naming machineRequest workflow

 

HTML
Faced error - creating property SovLabs_Naming_Failure = Failed to get latest version of the resource element Sequence (Workflow:Custom Naming / Generate Hostname (item13)#29) 

item: 'Custom Naming machineRequested/item7', state: 'failed', business state: 'null', exception: 'Failed to get latest version of the resource element Sequence (Workflow:Custom Naming / Generate Hostname (item13)#29)'

 

Cause

This was an internal vRO issue where versioning for vRO resource elements was not being updated properly when then contents of the resource elements were updated.  This was resulting in contention when accessing resource elements during certain workflows.

 

Affected Versions

  • SovLabs modules 2019.6.0 and prior

 

Workaround or Solution

Overview

SovLabs have worked with VMWare to code a solution and this has been resolved in plugin 2019.8.0 and above

If you are on a 2018.x.x or older module and would like to upgrade, please submit a version upgrade at https://www.sovlabs.com/sovlabs-2019-release

If you are on a 2019.x.x version of the plugin and would like to upgrade, please submit a support request at the Sovlabs Support Portal (https://support.sovlabs.com) for an updated plugin link.

The first step in providing reliable self-service automation for your CMP is starting a free trial.

Free Trial
Wave One Wave One
Wave Two Wave Two