ManageIQ / manageiq-appliance-build

Scripts to build ManageIQ appliances
Apache License 2.0
10 stars 55 forks source link

VMware Guest Customization does not work for OVA Image #484

Closed ashkuren closed 1 year ago

ashkuren commented 3 years ago

As stated, by default OVA image is unable to use vmware customization specs. Image: kasparov-1

VMware error:

Customization of the guest operating system 'centos64Guest' is not supported in this configuration. Microsoft Vista (TM) and Linux guests with Logical Volume Manager are supported only for recent ESX host and VMware Tools versions. Refer to vCenter documentation for supported configurations.

The reason could be related to this error that shows on dnf command execution.

Modular dependency problems:

 Problem 1: conflicting requests
  - nothing provides module(perl:5.26) needed by module perl-IO-Socket-SSL:2.066:8030020201222215140:1e4bbb35-0.x86_64
 Problem 2: conflicting requests
  - nothing provides module(perl:5.26) needed by module perl-libwww-perl:6.34:8030020201223164340:b967a9a2-0.x86_64
bdunne commented 3 years ago

@ashkuren Do we need to have Vmware Tools installed for this feature to work?

ashkuren commented 3 years ago

open-vm-tools and its dependencies should be installed which is already the case. After some investigation, the symptoms are similar to this post. open-vm-tools are not identified on the first boot, vm is not powered on and customizations fail.

After first boot/shutdown/convert to template the vm customizations are triggered but fail because of another issue with cloud-init. I think this should be a separate issue, but in order to workaround it, i have changed this parameter:

# Enable Vmware custom spec (Disable Cloudinit vmware custom spec)
sed -i '/^disable_vmware_customization/ s/false/true/' /etc/cloud/cloud.cfg
miq-bot commented 1 year ago

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.

miq-bot commented 1 year ago

This issue has been automatically closed because it has not been updated for at least 3 months.

Feel free to reopen this issue if this issue is still valid.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.