All Projects → vmware → ansible-vsphere-gos-validation

vmware / ansible-vsphere-gos-validation

Licence: other
Guest OS validation test set for vSphere using Ansible

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
Jinja
831 projects
powershell
5483 projects
Dockerfile
14818 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to ansible-vsphere-gos-validation

vmSafeguard
vmSafeguard is a management, planning, backup system for a Vmware ESXi(s) solution, orchestrated through a Web Admin Panel. RTFM for more info. Under develop since Jun 2020
Stars: ✭ 20 (-28.57%)
Mutual labels:  vsphere, vmware-vsphere
AsBuiltReport.VMware.vSphere
Repository for AsBuiltReport VMware vSphere module
Stars: ✭ 75 (+167.86%)
Mutual labels:  vsphere, vmware-vsphere
ez-rtos
A micro real-time operating system supporting task switching, delay function, memory allocator and critical section. It is writen on ARM Cortex-M3 assemble language, it runs successfully on STM32F103 MCU.
Stars: ✭ 57 (+103.57%)
Mutual labels:  os
zambesii
Non-unix, custom-API hybrid OS kernel written in C++ which can be thought of as an emulated microkernel. The native API is almost fully asynchronous and the kernel is aimed at high-scaling, high-throughput-requiring multiprocessor workloads, with working support for SMP and NUMA already implemented. Join the IRC channel, #zbz-dev on freenode!
Stars: ✭ 13 (-53.57%)
Mutual labels:  os
vauth
VMware vSphere VM Identity Platform
Stars: ✭ 32 (+14.29%)
Mutual labels:  vsphere
SemiCode-OS
The World First Linux Distribution for Programmers and Web Developers
Stars: ✭ 16 (-42.86%)
Mutual labels:  os
paving
Terraform templates for paving infrastructure to deploy the Pivotal Platform.
Stars: ✭ 43 (+53.57%)
Mutual labels:  vsphere
jsix
A hobby operating system for x86_64, boots with UEFI.
Stars: ✭ 60 (+114.29%)
Mutual labels:  os
ADLES
Automated Deployment of Lab Environments System (ADLES)
Stars: ✭ 28 (+0%)
Mutual labels:  vsphere
kora-kernel
Kernel for my operating system KoraOS
Stars: ✭ 15 (-46.43%)
Mutual labels:  os
AiliceOS
AiliceOS: Build an x86_64 and UEFI OS using Rust
Stars: ✭ 59 (+110.71%)
Mutual labels:  os
PersonNotes
个人笔记集中营,快糙猛的形式记录技术性Notes .. 📚☕️⌨️🎧
Stars: ✭ 61 (+117.86%)
Mutual labels:  os
xv6-file-system-visualizer
Online Visualizer for xv6 File System Image
Stars: ✭ 33 (+17.86%)
Mutual labels:  os
Instagram Stalker Scraper
(UNMAINTAINED) Fetch data of any public Instagram profile, without using api
Stars: ✭ 39 (+39.29%)
Mutual labels:  os
vinix
Vinix is an effort to write a modern, fast, and useful operating system in the V programming language
Stars: ✭ 1,512 (+5300%)
Mutual labels:  os
MoonOS
MoonOS (just a kernel atm) is a micro kernel designed for the x86_64 and arm architecure.
Stars: ✭ 82 (+192.86%)
Mutual labels:  os
CS Offer
后台开发基础知识总结(春招/秋招)
Stars: ✭ 352 (+1157.14%)
Mutual labels:  os
Dissecting-Xv6
Xv6 installation , Adding System Calls
Stars: ✭ 9 (-67.86%)
Mutual labels:  os
greenteaos.github.io
🏠 Homepage of the @GreenteaOS
Stars: ✭ 16 (-42.86%)
Mutual labels:  os
CuBit
General-purpose, formally-verified, 64-bit operating system in SPARK/Ada for x86-64
Stars: ✭ 70 (+150%)
Mutual labels:  os

Guest Operating System Validation on vSphere using Ansible

Getting Started

Prerequisites

  1. Install Ansible on your control machine, please refer to Installing Ansible
  2. Install required Python libraries in requirements.txt
$ pip install -r requirements.txt
  1. Install required Ansible collections with latest version in requirements.yml
$ ansible-galaxy install -r requirements.yml
  1. Log in to local control machine as root or a user in sudoers

Steps to Launch Testing

  1. Git clone project from github to your workspace on control machine.
  2. Set the parameters required for testing in this file: vars/test.yml.
  3. Modify the test cases in test case list file in below default path.
    • For Linux testing: linux/gosv_testcase_list.yml
    • For Windows testing: windows/gosv_testcase_list.yml
  4. Launch testing using below commands from the same path of main.yml.
  # For Linux testing:
  # you can use below command to use the default variables file "vars/test.yml",
  # and default test case list file "linux/gosv_testcase_list.yml"
  $ ansible-playbook main.yml

  # For Linux or Windows testing:
  # you can use below command to set the path of a customized variables file and
  # test case list file
  $ ansible-playbook main.yml -e "testing_vars_file=/path_to/test.yml testing_testcase_file=/path_to/gosv_testcase_list.yml"
  1. A new log folder will be created for current test run, which will include log files and files collected in test cases, e.g., logs/test-vm/2021-07-06-09-27-51/. You can find log files:
  • results.log which contains testbed information, VM information and test case results
  • full_debug.log which contains testing debug logs
  • failed_tasks.log which contains failed tasks logs
  • known_issues.log which lists known issues meet in current test run

Catalog

  • main.yml: Main playbook for guest operating system validation test
  • ansible.cfg: User customized Ansible configuration file
  • autoinstall: Folder for guest operating system unattend install configuration files
  • common: Folder for common tasks called in test cases
  • docs: Folder for guide file and known issues
  • env_setup: Folder for playbooks or tasks which to prepare or cleanup testing environment
  • linux: Folder for playbooks to test Linux guest operating system
  • windows: Folder for playbooks to test Windows guest operating system
  • plugin: Folder for plugin scripts
  • tools: Folder for 3rd-party tools used in test cases
  • vars: Folder for variable files used in testing
  • changelogs: Folder for changelog of each release

Supported Testing Scenarios

This project supports below scenarios for end-to-end guest operating system validation testing

  • Deploy VM and install guest operating system from ISO image
  • Deploy VM from an OVA template
  • Existing VM with installed guest operating system, which should satisfy below requirments.
    • SSH and Python are installed and enabled.
    • 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.
    • The root user should be enabled and permitted to log in through SSH in Linux guest operating system.
    • Execute ConfigureRemotingForAnsible.ps1 script in Windows guest operating system in advance.

Compatible Guest Operating Systems

Guest Operating Systems Automatic Install from ISO Image Deploy from OVA Template Existing VM with Guest Operating System Installed
Red Hat Enterprise Linux 7.x, 8.x, 9.x ✔️ ✔️
CentOS 7.x, 8.x ✔️ ✔️
Oracle Linux 7.x, 8.x, 9.0 ✔️ ✔️
Rocky Linux 8.x, 9.0 ✔️ ✔️
AlmaLinux 8.x, 9.0 ✔️ ✔️
SUSE Linux Enterprise 15 SP3 and later ✔️ ✔️
SUSE Linux Enterprise 12 SP5, 15 SP0/SP1/SP2 ✔️
Photon OS 3.x, 4.x ✔️ ✔️ ✔️
Ubuntu 18.04 and later live-server ✔️ ✔️
Ubuntu 20.04 and later cloud image ✔️ ✔️
Ubuntu 18.04 desktop ✔️
Ubuntu 20.04 and later desktop ✔️ ✔️
Flatcar 2592.0.0 and later ✔️ ✔️
Debian 10.10 and later, 11.x ✔️ ✔️
Debian 9.x, 10.9 and earlier ✔️
Windows 10, 11 ✔️ ✔️
Windows Server 2019, 2022 ✔️ ✔️
UnionTech OS Server 20 1050a ✔️ ✔️
Fedora Server 36 and later ✔️ ✔️

Note: 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.

Docker images

  • Latest (Release v2.1):
    • projects.registry.vmware.com/gos_cert/ansible-vsphere-gos-validation:latest
  • Release v2.1:
    • projects.registry.vmware.com/gos_cert/ansible-vsphere-gos-validation:v2.1

Launch testing using Docker image

  1. Execute below commands in your machine
$ docker pull projects.registry.vmware.com/gos_cert/ansible-vsphere-gos-validation:latest
$ docker run -it --privileged projects.registry.vmware.com/gos_cert/ansible-vsphere-gos-validation:latest
  1. Launch testing in the started container following the steps in this section Steps to Launch Testing
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].