From b94cda9ed82261c348d50cac0a3f01e0fe0ce729 Mon Sep 17 00:00:00 2001 From: Charles Arnold Date: Wed, 9 Jan 2019 22:59:10 +0000 Subject: [PATCH] - 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 --- ...bc6-increase-timeout-for-vm-to-start.patch | 19 +++++++++++++++++++ virt-manager.changes | 7 +++++++ virt-manager.spec | 4 +++- 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 c30b3bc6-increase-timeout-for-vm-to-start.patch diff --git a/c30b3bc6-increase-timeout-for-vm-to-start.patch b/c30b3bc6-increase-timeout-for-vm-to-start.patch new file mode 100644 index 00000000..687b50f2 --- /dev/null +++ b/c30b3bc6-increase-timeout-for-vm-to-start.patch @@ -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 diff --git a/virt-manager.changes b/virt-manager.changes index a77228e1..09d5d691 100644 --- a/virt-manager.changes +++ b/virt-manager.changes @@ -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 diff --git a/virt-manager.spec b/virt-manager.spec index 3e232c3e..0f8a6f15 100644 --- a/virt-manager.spec +++ b/virt-manager.spec @@ -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