community.vmware icon indicating copy to clipboard operation
community.vmware copied to clipboard

Support for vSphere Lifecycle Manager-Images

Open pugnacity opened this issue 2 years ago • 5 comments

SUMMARY

Since vSphere 7 VMware has a new feature called vSphere Lifecycle Manager-Images, those images are cluster specific. This feature replaces more or less the old VMware Update Manager.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

vmware_cluster.py

ADDITIONAL INFORMATION

Create Cluster PowerCLI Reference

The newest options are:

  • BaseImage
  • VendorAddOn

pugnacity avatar Aug 18 '21 11:08 pugnacity

We need an "official" API to implement this, but I'm unable to find one.

Btw: PowerCLI implements some things that aren't officially documented. For example, there is a PowerCLI cmdlet to run esxcli on a host. As far as I know, there is no official API to do this.

I also think that there's no (documented) API to manage images.

@sky-joker @Tomorrow9 I might be wrong here. Do you know if there's an official API to manage those VUM / Lifecycle Manager cluster images?

mariolenz avatar Sep 14 '21 17:09 mariolenz

@mariolenz the API is documented here: https://developer.vmware.com/docs/vsphere-automation/latest/esx/settings/

pugnacity avatar Sep 15 '21 13:09 pugnacity

Thanks, @pugnacity for requesting a new feature and providing the documentation.

The feature is provided by vSphere REST API, so maybe it's better to request to vmware_rest than here. https://github.com/ansible-collections/vmware.vmware_rest

The repository has been providing the modules for vSphere REST API.

CC: @goneri

sky-joker avatar Sep 15 '21 14:09 sky-joker

the API is documented here: https://developer.vmware.com/docs/vsphere-automation/latest/esx/settings/

Ah, yes. I think that's why I didn't find this. This collection mainly uses the (old) SOAP API and I was looking there.

Since this feature is provided by the newer REST API, I agree with @sky-joker that it would be better to open a feature request in vmware.vmware_rest. As the name suggest, they specialize in the REST API there ;-)

mariolenz avatar Sep 15 '21 16:09 mariolenz

I think this is quite similar to #1889

mariolenz avatar Dec 05 '23 19:12 mariolenz