vsphere provider doesn't tag virtual machines

Bug #1677325 reported by Nicholas Skaggs
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Andrew Wilkins

Bug Description

The vsphere provider doesn't tag virtual machines that are spun up by juju. Since the names are randomized with a "juju-" prefix, there's no way to identify which machine belongs to what deployment inside of vsphere.

I would expect the model and controller names to be inserted as tags to make them identifiable.

Tags: vsphere
description: updated
tags: added: vsphere
Changed in juju:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.2-beta3
Andrew Wilkins (axwalk)
Changed in juju:
assignee: nobody → Andrew Wilkins (axwalk)
status: Triaged → In Progress
Revision history for this message
Andrew Wilkins (axwalk) wrote :

I don't think we'll be able to get tagging in for 2.2. To create tags, you need to use an entirely separate API/SDK: http://pubs.vmware.com/vsphere-65/index.jsp#com.vmware.vapi.progguide.doc/GUID-80558230-E905-46D3-BFAA-E99061835F3F.html There is currently no vSphere Automation SDK for Go.

What I will look at doing is putting VMs into folders, so they're organised by controller and model.

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

That seems sensible Andrew. Feature-wise, tags would be nice, but practically, the original desire for this is to ensure you can manage the vm's sanely and understand what juju is running where. Folders sound like they will provide this. Thanks!

Revision history for this message
Andrew Wilkins (axwalk) wrote :
Andrew Wilkins (axwalk)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.