hashicorp / packer-plugin-vmware

Packer plugin for VMware Builder
https://www.packer.io/docs/builders/vmware
Mozilla Public License 2.0
44 stars 42 forks source link

Add support for VMware Cloud Director (VCD) builder #86

Open bogi0704 opened 2 years ago

bogi0704 commented 2 years ago

Community Note

Description

I would very much like to use packer in our VMware Cloud Director (VCD) environment natively. I am aware that there is a vSphere-iso builder, but that is, imho, just a workaround and does not help tenants without access to the vSphere backend at all.

Use Case(s)

A VCD Packer builder would enable us to move heavily towards immutable infrastructure on our VCD environment. We already have years of experience doing that on public clouds like azure or gcp.

References

There are multiple references here and there and many people have tried to create a Packer builder in the past. See #1824 and #3280 for example. These are already pretty old and relied on a deprecated library. The new library would be vmware/go-vcloud-director, which is also used for the VCD Terraform provider and maintained by the same devs. There has also been another try by a dev, but that did not go anywhere, since he did not manage to find a publicly available instance to test against. He was also stuck on this issue regarding the go-vcloud-director library.

Let's see if this leads to anywhere :)

ChiefGhostZero0x1 commented 2 years ago

πŸ‘

LordImperious commented 1 year ago

I fully support, I really lack support for the vCD in the packer

nywilken commented 1 year ago

Thanks for opening up this request. Given the Packer team's current priorities we wont be able to work on this any time soon. But we do prioritize pull-request reviews if a member of the community is open to contributing a builder for VCD.

Pinging @tenthirtyam for thoughts on the request.

tenthirtyam commented 1 year ago

Sounds like a good idea for a builder - also, some good community reactions πŸ‘ so far. (Assuming each are VCD users.)

Happy raise the concept with some of our internal teams next chance we meet. The other option is for a community working group to organize and develop the builder for the plugin.

Ryan Johnson Senior Staff Solutions Architect | Product Engineering @ VMware, Inc.

arogarth commented 1 year ago

Would be nice πŸ‘

quentinlegay commented 1 year ago

that would be great! I am also waiting for it

butler54 commented 1 year ago

Just to add a comment w.r.t scope and some investigation. Console access would be very difficult to implement form what i've seen due to the use of a custom VMWare protocol.

support for a vcd-clone operation.

ChiefGhostZero0x1 commented 1 year ago

Add support for a vcd-clone operation

Configure console access

tenthirtyam commented 1 year ago

Community Reminder

  1. Please vote on this issue by adding a πŸ‘ reaction to the original issue to help the community and maintainers prioritize this request
  2. Please do not leave "+1", πŸ‘, or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  3. If you are interested in working on this issue or have submitted a pull request, please leave a comment
majosula commented 10 months ago

Hello, Is there any progress, workaround?

sva-mk commented 10 months ago

Hey @tenthirtyam, a VMware Cloud Director integration for Packer would greatly benefit our workflow. Is there anything we can do to assist in the development of this feature?

tenthirtyam commented 10 months ago

No plans at this time; however, base on the collection πŸ‘ reactions I'll provider this over to our (VMware) product management for consideration.

sva-mk commented 10 months ago

Thank you for your consideration! We're excited to see if Packer integration with VMware Cloud Director becomes a possibility. If any additional information or support is needed from our end, please don't hesitate to reach out. We'll look forward to any updates or progress on this request.

ibeerens commented 10 months ago

Here is an extra vote for Packer integration with VMware Cloud Director.

Regards,

Ivo Beerens

On Wed, Sep 20, 2023 at 2:18β€―PM Merlin Kling @.***> wrote:

Thank you for your consideration! We're excited to see if Packer integration with VMware Cloud Director becomes a possibility. If any additional information or support is needed from our end, please don't hesitate to reach out. We'll look forward to any updates or progress on this request.

β€” Reply to this email directly, view it on GitHub https://github.com/hashicorp/packer-plugin-vmware/issues/86#issuecomment-1727610093, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB77FXK7FFIRU7GAN7SP5UTX3LNJPANCNFSM56E6QXVA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

rasperepodvipodvert commented 8 months ago

πŸ‘

rgryder commented 4 months ago

Would also like to voice my support for this. I have spent some time attempting to deconstruct the protocol used for the Cloud Director console, as that is the primary blocker in my view; managed to get programmatic access of sorts by hosting a modified version of the default console application, but that is a bodge at best. The minified Javascript SDK is an absolute nightmare to weed through.

I think this is going to require an olive branch from VMware for information on how the (very obscure and poorly documented) console protocol works at the very least, or preferably adding support for programmatic console access directly through vCD without relying on a browser-based client application, which severely limits flexibility.

aliaksandr-dabrytski-epam commented 3 days ago

I would also like to vote for this enhancement.

Regards, Alex D.

tenthirtyam commented 3 days ago

Community Note

  • Please vote on this issue by adding a πŸ‘ reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment