1
0
mirror of https://pagure.io/fedora-qa/createhdds.git synced 2024-12-02 18:53:07 +00:00
Commit Graph

184 Commits

Author SHA1 Message Date
Adam Williamson
90661e5d15 Make sure we have a branched minimal image for aarch64
upgrade_minimal_64bit for Rawhide needs it. Honestly I don't
remember the logic behind all these values any more, just hitting
this with a stick.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-15 12:23:46 -08:00
Adam Williamson
841fdf1ffb Move the 'unknown' image check below the renaming gubbins
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-10 11:07:58 -07:00
Adam Williamson
6fbe122c0c Fix typo in previous commit
D'oh.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-10 11:00:32 -07:00
Adam Williamson
ce84310d2e Use '.qcow2' not '.img' as the extension for virt-install images
They're qcow2 images, so this is more correct, and will make
os-autoinst's new backing format autodetection work correctly.
We make the `check` function rename existing images, for
convenience.
NOTE: this requires a matching change to the templates in
os-autoinst, and you will want to run the check function to
rename all existing images to avoid wasting a ton of time
recreating them.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-10 10:49:55 -07:00
Adam Williamson
90c23bff6e Use 3G memory for virt-install image builds
Seems like 2G isn't enough in some cases, it's why the F34 server
and support image builds have been failing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-10 09:19:13 -07:00
Adam Williamson
d9997df5f1 KDE: add workaround repo for F35 background update
This should make the desktop background test start passing on
F35 updates.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-02 10:53:38 -07:00
Adam Williamson
dc500293d1 Build desktop images for aarch64 upgrade tests
We want to run the desktop upgrade tests on aarch64; to do that,
we need the required base images to be built. We also need to
do the `console=tty0 quiet` boot args for the desktopencrypt
image so the decrypt prompt is visible on boot; to handle this,
we extend the existing hack for using a release-specific ks
to be more generic and allow for a more specific kickstart by
arch, release or both.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-06-28 13:51:13 -07:00
Adam Williamson
5b3cf53c25 Drop long-unneeded workaround repo from desktop ks
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-06-28 13:51:13 -07:00
Adam Williamson
707eb5e837 Update copyright statement to current RH recommendation
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-06-01 13:35:42 -07:00
Adam Williamson
fe87f40d94 Hack to avoid F33 KDE image using Wayland (#1960458)
This is a bit ugly but offhand can't think of a better way. We
are dropping plasma-workspace-wayland from the F33 KDE image to
try and avoid it using Plasma-on-Wayland as the default session,
which is #1960458.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-05-13 16:29:27 -07:00
Adam Williamson
8727e37d0f drop a fixme from kde.ks (no longer needed)
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-05-13 16:04:39 -07:00
Adam Williamson
e993ec1326 Drop F32 desktop image for aarch64/ppc64le
This was only needed while we were using it to work around
https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/201 ,
it should no longer be necessary.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-04-30 11:41:02 -07:00
Adam Williamson
accaa3f42c Stealth bump server disk size to 7G
6 seems a bit too small for the upgrade_2_server_domain_controller
test.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-17 09:22:32 -07:00
Adam Williamson
c83783fde0 Add plymouth-system-theme to server.ks (workaround #1933378)
The bug where the bootsplash doesn't always clear is really
playing havoc with F34 tests right now, and dealing with it by
workaround needles isn't going so well. I'm hoping installing a
real Plymouth theme might help, and in a quick trial run on lab
it seems to, so let's try this. The bug is still a bug, but it's
no good to us for update tests to randomly fail on it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-03-02 11:59:51 -08:00
Adam Williamson
5d6842d146 Add current minimal-uefi for aarch64, stop allowing "current"
"current" is just a synonym for "-1" but made the code more
complex. Let's ditch it and just note in a comment that -1 is
CURRREL and -2 is PREVREL. We need minimal-uefi for aarch64 as
install_blivet_btrfs_preserve_home_uefi uses it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-02-19 11:29:25 -08:00
Adam Williamson
6eb79f76f9 Bump 'ks' image version
Since the kickstarts on it changed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-01-19 10:04:15 -08:00
Adam Williamson
5378f166b1 Drop 'install' directive from all kickstarts
It was deprecated three years ago, apparently, and now causes
anaconda in Rawhide to die.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-01-19 09:59:28 -08:00
Lukáš Růžička
d982ca73e7 Add a postinstall section to leave a trace in the home directory.
This PR adds the post-installation section that adds a file
in the /home space, which then can be checked by a `preserve_home`
post-installation test and prove that it was possible to
preserve home on btrfs layouts.
2021-01-08 10:22:20 +01:00
Adam Williamson
f9dd6ed212 Use test.openqa.fedoraproject.org instead of domain.local
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-12-15 14:40:02 -08:00
Adam Williamson
bdcc1b794a desktop: add a side repo with fwupd 1.5.1-2
I'm hoping this fixes the issues with the update test lately.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-11-20 19:04:10 -08:00
Adam Williamson
cd06804bf0 Drop workaround repo for KDE that's no longer needed
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-11-20 19:04:10 -08:00
Michel Normand
5732bf97be Revert "Work around RHBZ #1769600 on ppc64"
This reverts commit 8f53b9f5f8.

similar revert already done since a while in os-autoinst-distri-fedora
"e020b87  Drop the pseries-4.0 workaround for ppc64le"
2020-11-09 17:55:27 +01:00
Adam Williamson
79c0317970 Same as previous commit for ppc64le
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-11-04 10:12:54 -08:00
Adam Williamson
f34ac0c042 We need an F32 desktop image for aarch64
This is for
https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/201 -
we're working around that by using the F32 image for now, but it
doesn't exist on aarch64 ATM. We'll have to remember to take
this out when that's fixed.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-11-04 10:11:13 -08:00
Adam Williamson
ddf0fe0a69 Correct new KDE workaround repo line
baseurl, not url.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-09-08 18:06:36 -07:00
Adam Williamson
11aa7d9735 Remove old GNOME workaround repo, add KDE F33 backgrounds one
Add a workaround repo to kde.ks to get the kde-settings that
will put F33 backgrounds in F33 images (hopefully). Remove an old
workaround repo from the desktop kickstarts that isn't needed
any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-09-08 16:17:15 -07:00
Adam Williamson
6a6e04ac18 Add minimal-uefi Branched image
Needed for Rawhide N-1 upgrade tests, when Branched exists.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-08-25 16:01:37 -07:00
Adam Williamson
ea505d4473 Bump ks disk ver to 4
Since we changed the kickstarts...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-08-24 12:37:34 -07:00
Adam Williamson
48fdc18cf2 Update FreeIPA kickstarts for use of 172.16 network
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-08-24 12:36:04 -07:00
Adam Williamson
0564f0a315 desktop: add a temp repo with g-i-s timezone fix
This is causing us pain in the tests, so let's work around it
now rather than wait for the updates to go stable. Can remove
these once the updates are stable.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-06-23 15:39:39 -07:00
Adam Williamson
fa2194cdec Forcibly exclude fedora-jam-kde-theme from KDE images
2.0.0 went stable in F31, but it's kinda messed up, it provides
kde-settings, and when building this image, anaconda actually
prefers it over the 'real' kde-settings, which breaks the desktop
background among other things. 3.0.0 should fix it but it's still
in updates-testing, so let's forcibly exclude it for now.
2020-05-25 12:56:33 -07:00
Adam Williamson
24adb3b607 desktop kickstarts: exclude selinux-policy-minimum
This seems to be causing the images to fail to boot, see
https://bugzilla.redhat.com/show_bug.cgi?id=1820674 .

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-09 09:14:46 -07:00
Adam Williamson
e03456491b Enable virt-install debug logging when we are at debug log level
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-09 09:13:19 -07:00
Adam Williamson
289371a581 Have minimal-uefi.ks use autopart
It should work just fine. We don't need to manually specify a
partition layout.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-08 17:18:23 -07:00
Adam Williamson
0bbe629647 Drop minimal image size back down to 10GB
We bumped it for the live image build update test, but I tweaked
that to use a separate scratch disk now, so the base image no
longer needs to be so big.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-07 15:59:33 -07:00
Adam Williamson
ecc183e890 Build desktopencrypt for Branched too
We need this for upgrade tests now I fixed the upgrade test
scheduling so Rawhide upgrade tests run from Rawhide-1 and
Rawhide-2, not currrel and prevrel...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-07 15:58:44 -07:00
Adam Williamson
c9ce6b5d0a Tweak get_virtinstall_images to not include dupes
Some of the version config directives make it possible to wind
up with dupes - for instance, our config for the 'minimal' image
can result in multiple instances of VirtInstallImage for F31
appearing in the list, meaning we'll build the same image two
or more times in the same run. That's silly! Let's not do that.
Using a dict keyed on the release number and arch we wind up with
after interpreting the config file should avoid it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-05-06 16:04:19 -07:00
Adam Williamson
05b418b796 Add aarch64 as a valid choice for CLI arch arg
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-18 15:15:04 -07:00
Adam Williamson
4d590a1947 We don't need desktopencrypt on Branched
It's only used for upgrade tests, and we don't test upgrading
from Branched, only from current stables.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-16 09:28:52 -07:00
Adam Williamson
46ee22f70f Add more stuff to KDE image, build it for more releases
This is related to enabling update tests for KDE. While testing
that it transpired that the KDE disk image is missing various
stuff that is on the live image and systems installed from the
live image; this is because the kde-desktop-environment env
group doesn't by default include several groups and individual
packages that the live kickstart *does* include. So our current
disk image closely matches what you get if you do a network
install and pick the KDE env group and don't pick any option
groups, but that's not a very common thing to do, and it causes
problems for the tests (e.g. okular and firefox not being
there). I think it's reasonable to make the image resemble a
live install more closely; this is more convenient but I think
it's *also* more useful, as there are probably far more KDE
installs out there *with* these things than without them. More
KDE installs are probably done with the live than via network
install, and even KDE installs done via netinst may well have
these bits added subsequently.

Obviously, we bump the image version with this change, so we'll
need to update the scheduler and templates also.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-12-10 14:16:59 -08:00
Adam Williamson
84237fc43d Drop remaining i686 images
We don't need these any more, we don't use them for anything.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-12-03 09:55:29 -08:00
Adam Williamson
fa714d59a0 Sigh. JSON and commas.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-11-24 16:07:02 -08:00
Adam Williamson
86e873b717 We don't need 'stable' or 'branched' for minimal-uefi
For an image only used for upgrade tests, we only need -1 and -2.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-11-21 09:13:16 -08:00
Adam Williamson
7fac94df95 Add current stable desktop image for aarch64 and ppc64le
We need this for the VNC tests to work.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-11-20 12:52:24 -08:00
Lukáš Růžička
73d810b9f7 Update docs with information about new options. 2019-11-14 07:43:58 -08:00
Lukáš Růžička
e63e8314f4 Add support for setting the GUID of the partition to set
its correct type.

Previously, it was not possible to set the type of the partition via
the specific GUID. This commit adds support for adding the GUID into
the gtp_type of the partition description in hdds.json and this field
will be utilized in to code.
2019-11-14 10:22:18 +01:00
Lukáš Růžička
a01d22f6ef Enable booting the VM as UEFI and provide record for a UEFI machine.
This commit adds support for boot options, that can be passed
from `hdds.json` to control the creation of the virtual
machines, such as enabling of EFI based machines, boot order
control, etc. It also adds EFI based machine to `hdds.json`
and adds a kickstart file for such machine.
2019-11-13 20:19:44 +01:00
Adam Williamson
8f53b9f5f8 Work around RHBZ #1769600 on ppc64
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-11-07 13:36:17 -08:00
Adam Williamson
53ef72b734 Drop some old release-based workarounds, no longer needed
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-11-06 11:58:18 -08:00
Adam Williamson
c9da58b0b0 Move i686 F31+ filter, drop ppc64 F29+ one
We previously did a filter like the one for 'i686 on F31+' for
'ppc64 on F29+', only in a different place which was actually a
better place. That filter is now unneeded as F28 went EOL, so
drop it...but move the i686 F31+ filter into the same place, as
it's better done there than in create().

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-11-05 12:40:02 -08:00