Skip to content

Commit 795a3ab

Browse files
authored
Update documentations for v3.0 (#506)
Signed-off-by: Qi Zhang <[email protected]>
1 parent d037ba4 commit 795a3ab

File tree

4 files changed

+69
-11
lines changed

4 files changed

+69
-11
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ This project supports below scenarios for end-to-end guest operating system vali
6161
* SSH and Python are installed and enabled.
6262
* The vm_python variable in vars/test.yml must be set with correct python path. Or user can set PATH in /etc/environment in guest operating system to include the binary directory path to python.
6363
* The root user should be enabled and permitted to log in through SSH in Linux guest operating system.
64-
* Execute [ConfigureRemotingForAnsible.ps1](https://github.com/ansible/ansible/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1) script in Windows guest operating system in advance.
64+
* Execute [ConfigureRemotingForAnsible.ps1](https://github.com/ansible/ansible-documentation/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1) script in Windows guest operating system in advance.
6565

6666
### Compatible Guest Operating Systems
6767

@@ -94,14 +94,13 @@ This project supports below scenarios for end-to-end guest operating system vali
9494
| Red Hat Enterprise Linux CoreOS (RHCOS) 4.13 and later | | :heavy_check_mark: | :heavy_check_mark: |
9595

9696
**Notes**
97-
1. This compatible guest operating systems list is used for this project only. For guest operating system support status on ESXi, please refer to [VMware Compatibility Guide](https://www.vmware.com/resources/compatibility/search.php?deviceCategory=software&testConfig=16).
98-
2. Guest OS marked with (*) only supports autoinstall and doesn't support end-to-end tests for now.
97+
This compatible guest operating systems list is used for this project only. For guest operating system support status on ESXi, please refer to [VMware Compatibility Guide](https://www.vmware.com/resources/compatibility/search.php?deviceCategory=software&testConfig=16).
9998

10099
### Docker images
101-
* Latest (Release v2.3):
100+
* Latest (Release v3.0):
102101
* projects.registry.vmware.com/gos_cert/ansible-vsphere-gos-validation:latest
103-
* Release v2.3:
104-
* projects.registry.vmware.com/gos_cert/ansible-vsphere-gos-validation:v2.3
102+
* Release v3.0:
103+
* projects.registry.vmware.com/gos_cert/ansible-vsphere-gos-validation:v3.0
105104

106105
Launch testing using Docker image
107106
1. Execute below commands in your machine

changelogs/changelog.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,62 @@
11
ancestor: null
22
releases:
3+
3.0:
4+
changes:
5+
major_changes:
6+
- Add support for Pardus 21.x test
7+
- Add support for RHEL CoreOS OVA image deployment and test
8+
- Add support for BCLinux 8.x and BCLinux-for-Euler 21.10 autoinstall and test
9+
- Add support for FreeBSD 13.x test
10+
- Add support for openSUSE autoinstall and test
11+
minor_changes:
12+
- Check guest OS full name when short-name is set
13+
- Update URL path of VMware Tools 12.3.0 for Windows
14+
- Add known issue for PVRDMA hot-remove failure on Oracle Linux 8.8
15+
- Use vmware_guest_disk module to add IDE boot disk
16+
- Set VM boot order before vHBA testing and test file read/write on new disk
17+
- Print error message when reverting VM snapshot failed
18+
- Shutdown guest OS after auto install completes instead of rebooting
19+
- Update checking guest_os_ansible_distribution is Flatcar
20+
- Exit ansible test if VMware Tools installation failed for Windows
21+
- Check base snapshot at env_setup
22+
- Enable Credential Guard for Windows Server
23+
- Skip secureboot and nvdimm testing for guest OS not supporting them
24+
- Check VMware Tools version after OVA/OVF deployment without poweron
25+
- Add vars and tasks to support VGAuth guest operation testing
26+
bugfixes:
27+
- Fix package installation failure at deploy_vm on Ubuntu 23.10
28+
- Fix undefined variables at rescue or always block when test_setup failed
29+
- Fix dict item names in community.vmware.vmware_vm_config_option result
30+
- Fix undefined error of WSL
31+
- Fix autoinstall issue on FreeBSD 14
32+
- Check vmtools_log_dir is defined before using it in check_os_fullname
33+
- Fix empty hardware version in collected OVF config info and guest_info.json
34+
- Fix command "newfs" issue for Freebsd 13.2 32bit
35+
- Fix the offical repo for Pardus 23.0
36+
- Fix undefined error for guest_os_with_inbox_drivers in network testcases
37+
- Correct ovt_packages for Linux guest OS with desktop
38+
- Ignore esxi_hostname at VM creation when vcenter_hostname is not defined
39+
- Replace install_linux_esx with linux_flavor for Photon OS autoinstall
40+
- Update URL for downloading ConfigureRemotingForAnsible.ps1
41+
- Fix cloud-init GOSC failure on Ubuntu and Photon OS
42+
- Remove cdrom ISO before running cloud-init GOSC test cases for Ubuntu OVA
43+
- Fix Debian 12 auto installation failure
44+
- Add parameter esxi_hostname to vm_create
45+
- Change the boot disk to be first in boot order for ubuntu 23.04 desktop after deploy_vm
46+
docker_image:
47+
path: projects.registry.vmware.com/gos_cert/ansible-vsphere-gos-validation:v3.0
48+
Ansible: ansible-core 2.15.4
49+
Python: 3.10.11
50+
Ansible collections:
51+
- ansible.netcommon 5.2.0
52+
- ansible.posix 1.5.4
53+
- ansible.utils 2.11.0
54+
- ansible.windows 2.1.0
55+
- community.crypto 2.15.1
56+
- community.general 7.4.0
57+
- community.vmware 3.9.0
58+
- community.windows 2.0.0
59+
release_date: '2023-09-28'
360
2.3:
461
changes:
562
major_changes:

docker_file/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ansible-vsphere-gos-validation
22
# For users launch guest OS validation test on vSphere
3-
# version: 2.3
3+
# version: 3.0
44

55
# Use latest Photon OS 4.0 docker image as parent image
66
FROM photon:4.0
@@ -9,17 +9,17 @@ WORKDIR /root/ansible-vsphere-gos-validation
99
# Install the required packages
1010
RUN tdnf makecache && \
1111
tdnf install -y python3 zip vim wget python3-pip \
12-
sshpass gawk nfs-utils iana-etc python3-lxml \
13-
python3-setuptools python3-jmespath python3-netaddr && \
14-
pip3 install wheel pycdlib pywinrm pyvmomi pypsrp
12+
sshpass gawk nfs-utils iana-etc python3-lxml python3-setuptools \
13+
python3-wheel python3-jmespath python3-netaddr && \
14+
pip3 install pycdlib pywinrm pyvmomi pypsrp passlib
1515

1616
# Install ansible-core (starts from Ansible 2.11)
1717
RUN pip3 install ansible-core
1818

1919
# Install Ansible collections
2020
# You can set https proxy if collections are failed to install from Galaxy server, e.g.,
2121
# ENV HTTPS_PROXY="https://proxy.xxxx.com:xxxx"
22-
# Ansible 2.14.0 requires the locale encoding to be UTF-8
22+
# Ansible 2.14.0 or later requires the locale encoding to be UTF-8
2323
ENV LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
2424
RUN ansible-galaxy collection install ansible.netcommon ansible.posix community.general community.vmware community.windows community.crypto
2525

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ setuptools
44
wheel
55
jmespath
66
PyYAML>=5.1
7+
lxml
78
pycdlib
89
netaddr
910
pywinrm
1011
pypsrp
1112
pyvmomi
13+
passlib
1214
ansible-core

0 commit comments

Comments
 (0)