[MDBF-122] Automate VM creation process for LibVirt workers Created: 2020-09-02 Updated: 2022-08-09 Resolved: 2022-08-09 |
|
| Status: | Closed |
| Project: | MariaDB Foundation Development |
| Component/s: | None |
| Affects Version/s: | N/A |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Vlad Bogolin | Assignee: | Faustin Lammler |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 2.5d | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
For install and upgrade tests we use LibVirt managed KVMs. We currently have one LibVirt worker that handles these types of workers (bg-bbw5-x64). We need an automatic way of creating VMs for all major operating systems and platforms that we are supporting (basically, for all the OSs and platforms for which we create Docker images - see https://github.com/MariaDB/mariadb.org-tools/blob/master/.github/workflows/bb_containers.yml) VM creationCreate the image and configure LibVirt to use it. The current naming scheme consists in "buildbot-osname". Probably we need to adjust that. VM installed packagesThe VMs need to be clean and have nothing installed except:
Attention the WORKERNAME must match the name of the LibVirt VM. The password also needs to be set.
|
| Comments |
| Comment by Vlad Bogolin [ 2022-04-18 ] |
|
First deployment created by faust https://gitlab.com/mariadb/sysadmin/-/merge_requests/28 |
| Comment by Faustin Lammler [ 2022-04-20 ] |
|
| Comment by Faustin Lammler [ 2022-04-20 ] |
|
TODO:
|
| Comment by Faustin Lammler [ 2022-04-21 ] |
|
ARM is now correctly handled by the ansible role deployment system. Following VMs are now available to test installation and upgrade on ARM in BB:
|
| Comment by Faustin Lammler [ 2022-05-12 ] |
|
Following VM are now also available for activation (ARM and x64)
TODO:
|
| Comment by Faustin Lammler [ 2022-05-16 ] |
|
Rhel is now also available:
|
| Comment by Faustin Lammler [ 2022-05-18 ] |
|
|
| Comment by Faustin Lammler [ 2022-05-23 ] |
|
Rhel9 (x64/ARM) have been deployed. |
| Comment by Faustin Lammler [ 2022-06-10 ] |
|
SELinux is now in Enforcing mode for libvirt VM: |
| Comment by Faustin Lammler [ 2022-06-10 ] |
|
First attempt to deploy PPC libvirt workers.
|
| Comment by Faustin Lammler [ 2022-06-14 ] |
|
ppc64le vm have been deployed, here is the list:
|
| Comment by Faustin Lammler [ 2022-08-09 ] |
|
The automated creation process is working for ppc/amd/arm. |