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

support for vsphere builder #582

Closed

Conversation

justinclayton
Copy link
Contributor

I'd like to see if there's any interest in a true builder for vSphere. This would differ from the current VMware builder in a number of ways:

  1. Rather than the ISO-based approach that the current Virtualbox and VMware builders use, it would behave more like the AWS / DigitalOcean builders, which is to say that it would take an existing machine image (in this case, a VM template), create a new VM, apply any provisioners, and then create a new machine image as the artifact. This would better fit into a CI pipeline for immutable infrastructure, as it does not require anyone's desktop.
  2. It would use the vSphere Web API. This will likely prove to be the most difficult bit, as the API is SOAP/WSDL based, and the Golang community hasn't shown much interest to date in making anything akin to ruby's savon or handsoap.

Thanks to rbvmomi I am well versed in the API as a whole, but am sorely lacking when it comes to things like decoding XML envelopes. Portions of this have already been discussed in #232, and I know both @jasonberanek and I have been independently circling the wagons on this idea since veewee. I'm very interested in any comments or additional ideas people have regarding this. Packer arrived literally just in time for us to build out our pipeline for AWS, but now we want to be able to implement this immutable infrastructure model to the other 98% of the apps we manage. Our investment in vSphere is fairly entrenched, so proposing something like OpenStack just because it uses REST probably won't fly.

@mitchellh
Copy link
Contributor

Sorry I didn't respond to this promptly. I would love a vSphere builder. If you need any help please do let me know but I agree with everything you've said up here.

I'm going to close this but please please keep me updated and let me know if I can help in any way. THanks!

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

Successfully merging this pull request may close these issues.

2 participants