Blog

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 to get Slack notifications when StormForge applies recommendations

The StormForge Applier does its job quietly. It watches for recommendations, applies patches to your workloads, and moves on—no fanfare,…

 
thumbnail
When Hardware Triples in Price, Idle Capacity Becomes a Line Item.

A platform leader at a Fortune 50 company recently told his app teams something that I keep thinking about. The message was very…

 
thumbnail
StormForge vs ScaleOps: A Technical Comparison of Kubernetes Rightsizing Approaches

StormForge and ScaleOps both automate Kubernetes resource optimization, but they take meaningfully different approaches to how much control you hand over and when. This page walks through the differences in architecture, automation model,…