vmware / ansible-vsphere-gos-validation

Guest OS validation test set for vSphere using Ansible
Other
41 stars 30 forks source link

[FreeBSD]power_operation_scripts failed on FreeBSD 13.x and 14.x with OVT installed from source #646

Closed ZouYuhua closed 1 week ago

ZouYuhua commented 2 weeks ago

Problem: power_operation_scripts failed on FreeBSD 13.x and 14.x with OVT installed from source

Resolution:

  1. FreeBSD VM has OVT packages installed, and then it will uninstall original OVT packages and install with OVT from source. In such scenario, our case will firstly download the original vmtools service file before uninstalling the OVT packages, and then reuse them after OVT source install. Then the original vmtools file should be updated with /etc/vmware-tools/tools.conf before using it. You may update it at https://github.com/vmware/ansible-vsphere-gos-validation/blob/main/linux/open_vm_tools/add_enable_service.yml#L63

  2. FreeBSD VM doesn't have OVT packages installed, and then it will install OVT from source. In such scenario, our case will create the vmtools service file from a template https://github.com/vmware/ansible-vsphere-gos-validation/blob/main/linux/open_vm_tools/templates/vmware-guestd.tmpl#L31. In such case, you can directly update this template file with /etc/vmware-tools/tools.conf

Test result: Test passed with bundled tools & 12.5.0 tools from source build in FreeBSD 13

ZouYuhua commented 2 weeks ago

The testing on FreeBSD 14 is on-going ...

ZouYuhua commented 2 weeks ago

The testing on FreeBSD 14 is on-going ...

Test passed with bundled tools & 12.5.0 tools from source build in FreeBSD 13 & FreeBSD 14

ZouYuhua commented 1 week ago

@keirazhang Pass the testing with bundled & 12.5.0 tools in FreeBSD 13 and FreeBSD 14 after code review