- Increase the timeout for a vm to start before assuming something

is wrong. (bsc#1027942)
  c30b3bc6-increase-timeout-for-vm-to-start.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=452
This commit is contained in:
Charles Arnold 2019-01-09 22:59:10 +00:00 committed by Git OBS Bridge
parent 896e78020a
commit b94cda9ed8
3 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,19 @@
Subject: Update create.py
From: kalebskeithley kkeithle@redhat.com Thu Nov 1 09:18:34 2018 -0400
Date: Thu Nov 15 12:05:36 2018 -0500:
Git: c30b3bc6119aeb3d32e0e899a581c3cafd7aab8b
100 is a bit too short for managing/creating vms over the corporate VPN. About half the time it times out and I have to exit the virtmgr app and restart it to see the new vm.
diff --git a/virtManager/create.py b/virtManager/create.py
index a60e9a3f..d3844a52 100644
--- a/virtManager/create.py
+++ b/virtManager/create.py
@@ -2123,7 +2123,7 @@ class vmmCreate(vmmGObjectUI):
self.conn.schedule_priority_tick(pollvm=True)
count = 0
foundvm = None
- while count < 100:
+ while count < 200:
for vm in self.conn.list_vms():
if vm.get_uuid() == guest.uuid:
foundvm = vm

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jan 9 15:55:22 MST 2019 - carnold@suse.com
- Increase the timeout for a vm to start before assuming something
is wrong. (bsc#1027942)
c30b3bc6-increase-timeout-for-vm-to-start.patch
-------------------------------------------------------------------
Mon Dec 17 14:19:11 MST 2018 - carnold@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package virt-manager
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -35,6 +35,7 @@ Source3: virt-manager-supportconfig
Patch1: b8aff280-virtinst-quickfix-ubuntu-net-preseed-insert-cdrom-error.patch
Patch2: 25b88733-urldetect-Dont-overload-suse_content-variable.patch
Patch3: 9308bae3-util-Fix-typo-vpcu-vcpu.patch
Patch4: c30b3bc6-increase-timeout-for-vm-to-start.patch
# SUSE Only
Patch70: virtman-desktop.patch
Patch71: virtman-kvm.patch
@ -164,6 +165,7 @@ machine).
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
# SUSE Only
%patch70 -p1
%patch71 -p1