- bsc#944670: virt-install does not work on SLES 12 SP1 beta3 xen

590f5a52-urlfetcher-Clear-cached-ftp-connection-on-cleanupLoc.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=266
This commit is contained in:
Charles Arnold 2015-09-15 20:27:38 +00:00 committed by Git OBS Bridge
parent 35c5930eff
commit 11f8556f5e
3 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 590f5a525bccded6866461b4ff3e1bb7adae086b Mon Sep 17 00:00:00 2001
From: Cole Robinson <crobinso@redhat.com>
Date: Mon, 14 Sep 2015 10:34:19 -0400
Subject: [PATCH] urlfetcher: Clear cached ftp connection on cleanupLocation
Reported-by: Chun Yan Liu <cyliu@suse.com>
---
virtinst/urlfetcher.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/virtinst/urlfetcher.py b/virtinst/urlfetcher.py
index 40f7c05..cda67a2 100644
--- a/virtinst/urlfetcher.py
+++ b/virtinst/urlfetcher.py
@@ -167,6 +167,7 @@ class _FTPImageFetcher(_URIImageFetcher):
except:
logging.debug("Error quitting ftp connection", exc_info=True)
+ self.ftp = None
def hasFile(self, filename):
path = self._make_path(filename)
--
1.8.5.6

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 15 02:21:36 UTC 2015 - cyliu@suse.com
- bsc#944670: virt-install does not work on SLES 12 SP1 beta3 xen
590f5a52-urlfetcher-Clear-cached-ftp-connection-on-cleanupLoc.patch
-------------------------------------------------------------------
Fri Sep 11 11:17:43 MDT 2015 - carnold@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package virt-manager
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -49,6 +49,7 @@ Patch9: 4970615f-fix-qemu-vs-lxc-detection.patch
Patch10: eb92178e-virtinst-fix-storage-pool-lookup.patch
Patch11: 5e68b0fc-dont-try-to-set-vmport-on-non-x86.patch
Patch12: 360fe110-add-s390x-arch-support.patch
Patch13: 590f5a52-urlfetcher-Clear-cached-ftp-connection-on-cleanupLoc.patch
# SUSE Only
Patch70: virtman-desktop.patch
Patch71: virtman-kvm.patch
@ -182,6 +183,7 @@ machine).
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
# SUSE Only
%patch70 -p1
%patch71 -p1