Operation Manager - OM CLI vm-lifecycle combines multiple tags into one
search cancel

Operation Manager - OM CLI vm-lifecycle combines multiple tags into one

book

Article ID: 409516

calendar_today

Updated On:

Products

VMware Tanzu Platform - Cloud Foundry

Issue/Introduction

OM vm-lifecycle command does not correctly add multiple tags against Operations Manager VMs deployed to Azure (e.g., a value of "foo=bar baz=quux", intended to add tags foo="bar" and baz="quux" will instead add a single tag of foo="bar baz=quux")

As a result multiple tags will be added as a single tag when checking VM status in Azure.

Resolution

This is a defect in OM CLI, see: https://github.com/pivotal-cf/om/pull/700

The az CLI expects each key pair to be it's own argument and older versions of OM CLI did not adhere to this requirement.

Ensure that you are using the latest version of the OM CLI.

If you are getting this problem in Concourse, then make sure to use the latest platform-automation-image consumed as part of Platform Automation Toolkit.