Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide ability to assign vSphere tags when creating machines #9

Open
jmery opened this issue Apr 20, 2017 · 9 comments
Open

Provide ability to assign vSphere tags when creating machines #9

jmery opened this issue Apr 20, 2017 · 9 comments

Comments

@jmery
Copy link

jmery commented Apr 20, 2017

vSphere tags allow users to associate metadata with vSphere objects including VMs. In many environments, the usage of tags is a mandatory requirement when creating VMs. Additionally, many users require a standard hostname format which precludes the ability to directly determine that a host was created by chef-provisioning-vsphere or kitchen-vsphere.

In the latter case, the ability to tag a VM with something like test-kitchen would provide a very easy method to identify temporary machines. This could be used to setup jobs that periodically delete these systems to clean up orphans, prevent VM sprawl, etc.

@jjasghar
Copy link

@jrgarcia any thoughts here? Can rbvmomi take tags?

@jrgarcia
Copy link

I'm pretty sure that RbVmomi doesn't support tagging yet. Let me check on that. I know that the vSphere Automation SDK handles tagging, but it's not available as a Gem or on GitHub yet (I'm working on that as we speak). I'll look at what it would take to add tagging to RbVmomi.

@juanxhos
Copy link

@jrgarcia
Copy link

@jcalonsoh That is available (I've just actually started working on that as my daily job), but as I stated above, it isn't available as a Gem or on GitHub. It's still available for use, but it is not as easily consumable as it should be.

@juanxhos
Copy link

juanxhos commented Apr 26, 2017

true @jrgarcia

@jrgarcia
Copy link

I am working on it though! 😄 Soon...

@qubitrenegade
Copy link

Any further movement on this? This is a feature we'd definitely like to see.

Thanks!

@jjasghar
Copy link

@jrgarcia poke :)

@smackmybitsup
Copy link

I would also like to vote this up. We're using this for kitchen cookbook testing on our VMWare lab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants