mirror of
https://pagure.io/fedora-qa/createhdds.git
synced 2024-11-21 15:03:07 +00:00
createhdds: use user-mode networking for now
There's been an annoying bug on the production openQA server for a while now: createhdds runs to refresh the upgrade base images don't actually work most of the time, each attempt to run virt-install fails. I finally got time to debug this a bit today and it seems to be some kind of network issue: the VM has no network access so the install doesn't work. I've no idea why that's happening, but using user-mode networking seems to work around it for now and shouldn't have any terrible side effects even for openQA servers not affected by this problem. So let's do this until we can pin down the real bug.
This commit is contained in:
parent
359da3d896
commit
7a206b473c
@ -239,6 +239,10 @@ class VirtInstallImage(object):
|
||||
loctmp.format(str(self.release), self.variant, arch), "--graphics", "vnc",
|
||||
"--name", "createhdds", "--memory", "2048", "--noreboot", "--noautoconsole",
|
||||
"--wait", "-1"]
|
||||
# this is a hacky workaround for a weird bug on Fedora's prod
|
||||
# openQA server:
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1387798
|
||||
args.extend(("--network", "user"))
|
||||
# run the command, timing out after 1 hour; sometimes creation
|
||||
# seems to just get mysteriously stuck, we need to bail and
|
||||
# retry in this case
|
||||
|
Loading…
Reference in New Issue
Block a user