Blogs

Failed to get latest version of the resource element

{% raw %}

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.

{% endraw %}

Sign up for our newsletter

Exclusive insights and strategies for cloud pros. Delivered straight to your inbox.


AUTHOR
Patrick Campbell
  Learn more

Related Blogs

 
thumbnail
How StormForge automated Kubernetes rightsizing across hundreds of clusters

A global enterprise software company used Kubecost to see what its Kubernetes workloads cost, but engineers rarely changed anything. It…

 
thumbnail
Kubernetes for Black Friday: Scaling Up for the Peak and Back Down After 

Black Friday falls on November 27 this year, and if you run the platform behind an online store, you’ve probably…

 
thumbnail
How a cloud MSP cut AWS invoicing time by 50% with CloudBolt

A global enterprise software company used Kubecost to see what its Kubernetes workloads cost, but engineers rarely changed anything. It…