Your message dated Wed, 12 Oct 2022 09:04:24 +0000
with message-id <[email protected]>
and subject line Bug#1016028: fixed in vagrant-libvirt 0.10.8-1
has caused the Debian Bug report #1016028,
regarding vagrant-libvirt: allow_existing for disks is broken with recent
versions of libvirt
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1016028: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016028
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vagrant-libvirt
Version: 0.9.0-1
Severity: normal
Tags: patch
Dear Maintainer,
Since libvirt 8.4.0 (or possibly earlier) the allow_existing option for disks
has been broken in in vagrant-libvirt. The reason is that libvirt gives a
slightly different error message when adding a disk that already exists than
what vagrant-libvirt expects, leading to failure.
The attached patch fixes this, and is in fact already merged upstream, but not
released yet. Would you mind applying it to the Debian package?
Cheers!
From 1ed088924a1560375c353f91f79f4c1cd02de92d Mon Sep 17 00:00:00 2001
From: anonym <[email protected]>
Date: Wed, 8 Jun 2022 18:21:35 +0000
Subject: [PATCH] Fix allow_existing for disks against newer versions of
libvirt. (#1507)
When running vagrant-libvirt on an up-to-date Debian unstable with
libvirt 8.4.0 the expected error message doesn't contain the full
path any more.
---
lib/vagrant-libvirt/action/create_domain.rb | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/lib/vagrant-libvirt/action/create_domain.rb b/lib/vagrant-libvirt/action/create_domain.rb
index 7899424..9da82d3 100644
--- a/lib/vagrant-libvirt/action/create_domain.rb
+++ b/lib/vagrant-libvirt/action/create_domain.rb
@@ -151,9 +151,11 @@ module VagrantPlugins
rescue Libvirt::Error => e
# It is hard to believe that e contains just a string
# and no useful error code!
- msg = "Call to virStorageVolCreateXML failed: " +
- "storage volume '#{disk[:absolute_path]}' exists already"
- if e.message == msg and disk[:allow_existing]
+ msgs = [disk[:name], disk[:absolute_path]].map do |name|
+ "Call to virStorageVolCreateXML failed: " +
+ "storage volume '#{name}' exists already"
+ end
+ if msgs.include?(e.message) and disk[:allow_existing]
disk[:preexisting] = true
else
raise Errors::FogCreateDomainVolumeError,
--
2.36.1
--- End Message ---
--- Begin Message ---
Source: vagrant-libvirt
Source-Version: 0.10.8-1
Done: Hans-Christoph Steiner <[email protected]>
We believe that the bug you reported is fixed in the latest version of
vagrant-libvirt, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Hans-Christoph Steiner <[email protected]> (supplier of updated vagrant-libvirt
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 12 Oct 2022 10:17:30 +0200
Source: vagrant-libvirt
Architecture: source
Version: 0.10.8-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team
<[email protected]>
Changed-By: Hans-Christoph Steiner <[email protected]>
Closes: 1016028
Changes:
vagrant-libvirt (0.10.8-1) unstable; urgency=medium
.
* New upstream version 0.10.8 (Closes: #1016028)
* fix debian/watch
Checksums-Sha1:
6f9b6da689c5218a3e7e1dfc3d731a04a5e5c13a 1908 vagrant-libvirt_0.10.8-1.dsc
bbb4b6282c19d8536f54c6aebd58806723a0b346 228597
vagrant-libvirt_0.10.8.orig.tar.gz
5fa33ee4746404d85b98e716efb80eb3b15acc82 4736
vagrant-libvirt_0.10.8-1.debian.tar.xz
02712e01ab3625afb7cf655f992e35b19fe0ceb6 14222
vagrant-libvirt_0.10.8-1_source.buildinfo
Checksums-Sha256:
e260a48d93abe82e6a705cdb2bde031f5abea0eea3989a35eef16930ab848fe0 1908
vagrant-libvirt_0.10.8-1.dsc
30172ae8690125ad195174ab600224f3a7143f60aba6686da4600f0a8c2e8a64 228597
vagrant-libvirt_0.10.8.orig.tar.gz
03cff47b64ee6821a8711ec5f454e6e038170cab3689fba1226cd48011f48484 4736
vagrant-libvirt_0.10.8-1.debian.tar.xz
640a70d4c2bc84a93d188ed782fe322e5416fac3fa042cabd9d0861229afbf0d 14222
vagrant-libvirt_0.10.8-1_source.buildinfo
Files:
cee53987685dbd9bfc5065f4aab820e5 1908 admin optional
vagrant-libvirt_0.10.8-1.dsc
49a15db9be40f3ff479258e4cf047298 228597 admin optional
vagrant-libvirt_0.10.8.orig.tar.gz
e7f3edd68fa6e1c9fd57185607e5ea47 4736 admin optional
vagrant-libvirt_0.10.8-1.debian.tar.xz
38be2f0a1835c3efc2921333a42da2b2 14222 admin optional
vagrant-libvirt_0.10.8-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEElyI52+aGmfUmwGoFPhd4F7obm/oFAmNGeXYACgkQPhd4F7ob
m/rkOgf+JiSYtTtM//ZGpL/yqEGDozA4OE6WjJdYGd23IBwhyhRrcwwIfHq8EbIP
HXR4Mw8jMlI/GOa97h7Ak4QIveywyjDr/3LCp4Z5O6zBeh6QWqJKkrUYoosAif5a
lefh3xcIsnpQ+XESXhbgQNVwMJfY/xXwIJHsoME3MVLWZAWCkaokBiWZaTlzErir
eOlPE6d1sHqTh07qoqgkIiDVxYeRunmiylsokuzIdNE6stlHD5eYKx463Y6UNwny
DdK1gsrG0F7SM2L4/JAhnbK5KYq3larYyv7N79u2ytYwbuLCmroRiO+Wa3yZgvgx
RYsfUmzL6fsxUEUrr5k3XlpbrzmTcw==
=pG2V
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers