Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package vagrant-libvirt for openSUSE:Factory checked in at 2021-12-07 00:00:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vagrant-libvirt (Old) and /work/SRC/openSUSE:Factory/.vagrant-libvirt.new.31177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vagrant-libvirt" Tue Dec 7 00:00:12 2021 rev:16 rq:936031 version:0.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/vagrant-libvirt/vagrant-libvirt.changes 2021-11-03 17:27:30.129377791 +0100 +++ /work/SRC/openSUSE:Factory/.vagrant-libvirt.new.31177/vagrant-libvirt.changes 2021-12-07 00:01:53.964030268 +0100 @@ -1,0 +2,140 @@ +Fri Dec 3 08:04:57 UTC 2021 - Dan ??erm??k <dcer...@suse.com> + +- New upstream release 0.7.0 + + Rebase patch: + * 0001-Remove-simplecov-from-tests.patch + + Added patches: + * 0002-Double-the-UDPSocket-in-cases-where-there-s-no-netwo.patch (https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1414) + * 0003-Allow-the-connection.client.libversion-call-1416.patch (https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1416) + +# Changelog + +## [0.7.0](https://github.com/vagrant-libvirt/vagrant-libvirt/tree/0.7.0) (2021-11-08) + +[Full Changelog](https://github.com/vagrant-libvirt/vagrant-libvirt/compare/0.6.3...0.7.0) + +**Closed issues:** + +- Network 192.168.33.10 is not available [\#1389](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1389) +- Podman example in README.md returns error [\#1373](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1373) +- VM creation fails 2nd time [\#1342](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1342) + +**Merged pull requests:** + +- Derive system URI from default URI [\#1398](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1398) ([electrofelix](https://github.com/electrofelix)) +- Switch back to read-only system connection [\#1397](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1397) ([electrofelix](https://github.com/electrofelix)) +- Reorder qemu agent usage for use with sessions [\#1396](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1396) ([electrofelix](https://github.com/electrofelix)) +- Add gem version badge [\#1395](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1395) ([electrofelix](https://github.com/electrofelix)) +- Update the source code URI [\#1394](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1394) ([electrofelix](https://github.com/electrofelix)) +- Regression unit test for frozen string literal fix [\#1393](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1393) ([electrofelix](https://github.com/electrofelix)) +- Fix a FrozenError in prepare\_nfs\_settings.rb [\#1392](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1392) ([rledisez](https://github.com/rledisez)) +- Update issue templates [\#1391](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1391) ([electrofelix](https://github.com/electrofelix)) +- Update podman instructions to mount tmp [\#1388](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1388) ([electrofelix](https://github.com/electrofelix)) +- Replace Travis references in README [\#1387](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1387) ([swalkinshaw](https://github.com/swalkinshaw)) +- Add options for 3d acceleration [\#1386](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1386) ([amezin](https://github.com/amezin)) +- Add basic support to control serial console settings [\#1385](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1385) ([Itxaka](https://github.com/Itxaka)) +- Add a :libvirt\_\_always\_destroy flag to network definitions [\#1381](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1381) ([jamie01](https://github.com/jamie01)) + + +## [0.6.3](https://github.com/vagrant-libvirt/vagrant-libvirt/tree/0.6.3) (2021-10-16) + +[Full Changelog](https://github.com/vagrant-libvirt/vagrant-libvirt/compare/0.6.2...0.6.3) + +**Fixed bugs:** + +- The behavior of "vagrant box add -f" is confusing with libvirt [\#1351](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1351) + +**Closed issues:** + +- Wrong nameserver in /etc/resolv.conf [\#1380](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1380) +- Question: Is it it supported on windows 10? [\#1368](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1368) + +**Merged pull requests:** + +- Re-upload un-versioned boxes based on modified time [\#1382](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1382) ([electrofelix](https://github.com/electrofelix)) + + +## [0.6.2](https://github.com/vagrant-libvirt/vagrant-libvirt/tree/0.6.2) (2021-10-12) + +[Full Changelog](https://github.com/vagrant-libvirt/vagrant-libvirt/compare/0.6.1...0.6.2) + +**Merged pull requests:** + +- Ensure ssh\_run and ssh actions match vagrant [\#1378](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1378) ([electrofelix](https://github.com/electrofelix)) + + +## [0.6.1](https://github.com/vagrant-libvirt/vagrant-libvirt/tree/0.6.1) (2021-10-11) + +[Full Changelog](https://github.com/vagrant-libvirt/vagrant-libvirt/compare/0.6.0...0.6.1) + +**Closed issues:** + +- Running `vagrant reload && vagrant ssh -c '..'` has unexpected results with vagrant-libvirt 0.6.0 [\#1376](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1376) +- Question: Passthrough of blockdevice? [\#1350](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1350) + +**Merged pull requests:** + +- Rework shutdown domain to avoid trailing action [\#1377](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1377) ([electrofelix](https://github.com/electrofelix)) + + +## [0.6.0](https://github.com/vagrant-libvirt/vagrant-libvirt/tree/0.6.0) (2021-10-08) + +[Full Changelog](https://github.com/vagrant-libvirt/vagrant-libvirt/compare/0.5.3...0.6.0) + +**Closed issues:** + +- Vagrant up times out after a provisioner reboots the VM [\#1366](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1366) +- Configuring provider uri per vm definition is not thread-safe [\#1358](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1358) +- support podman in addition to docker [\#1357](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1357) +- Not sure if this is a vagrant-libvirt issue but SD card is not correctly read. blk\_update\_request: I/O error. [\#1346](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1346) +- Error connecting to graphical console at virt-manager. Unable to read from monitor. [\#1340](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1340) +- ERROR warden: Error occurred: Call to virStorageVolCreateXML failed: storage volume 'xxx\_box.img' exists already [\#1338](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1338) +- MacOS can't specify accellerator as hvf [\#1336](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1336) +- bus pci.0 not found for q35 [\#1327](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1327) +- Unable to install this plugin [\#1326](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1326) +- machine\_virtual\_size has not real effect [\#1325](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1325) +- Dep ruby-libvirt broken with Vagrant 2.2.17 and Ruby \>=3.0 [\#1322](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1322) +- vagrant-libvirt wont work with centos8 [\#1317](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1317) +- Error installing vagrant-libvirt on Debian buster [\#1314](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1314) +- Creating a VM with numa fails - Parameter -numa node,mem is not supported [\#1312](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1312) +- GPT PMBR size mismatch with second disk [\#1308](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1308) +- Export/Import Box as Original VM with `virsh dumpxml` and `virsh define`? [\#1256](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1256) +- hangs on Waiting for domain to get an IP address only on remote libvirt [\#1252](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1252) +- Error during install on Debian 10 [\#1216](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1216) +- Unable to install another plugin into Docker based Installation [\#1198](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1198) +- Docker based Installation does not work [\#1191](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1191) +- Support frozen string literals [\#1177](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1177) + +**Merged pull requests:** + +- Add aliases for devices [\#1374](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1374) ([electrofelix](https://github.com/electrofelix)) +- Handle VM not accessible during reboot [\#1367](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1367) ([electrofelix](https://github.com/electrofelix)) +- Refactor create domain tests [\#1364](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1364) ([electrofelix](https://github.com/electrofelix)) +- Support provider URI per machine definition [\#1363](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1363) ([electrofelix](https://github.com/electrofelix)) +- Ensure sensible default USB controller model used [\#1362](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1362) ([electrofelix](https://github.com/electrofelix)) +- \#1341 fix condition check on @qemu\_use\_agent [\#1361](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1361) ([abbbi](https://github.com/abbbi)) +- Provide support for packaging into v2 format [\#1360](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1360) ([electrofelix](https://github.com/electrofelix)) +- Document running using Podman [\#1359](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1359) ([ghost](https://github.com/ghost)) +- Update to vagrant 2.2.18 for docker image [\#1354](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1354) ([electrofelix](https://github.com/electrofelix)) +- Avoid blanking username if set by user [\#1352](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1352) ([electrofelix](https://github.com/electrofelix)) +- Fix variable in entrypoint.sh when determining user based on Vagrantfile ownership [\#1349](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1349) ([mmguero](https://github.com/mmguero)) +- Output XML elements to debug logs [\#1345](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1345) ([electrofelix](https://github.com/electrofelix)) +- Support dev setting vagrant-spec version from env [\#1344](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1344) ([electrofelix](https://github.com/electrofelix)) +- Retrieve IP Address of management interface using qemu-guest-agent commands \#1341 [\#1343](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1343) ([abbbi](https://github.com/abbbi)) +- Improve handling of cpu model and initrd settings [\#1333](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1333) ([electrofelix](https://github.com/electrofelix)) +- Fixed handling of nil volumes [\#1332](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1332) ([guss77](https://github.com/guss77)) +- fix\(action\): fix typo in change domain disk\_bus [\#1331](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1331) ([gmmephisto](https://github.com/gmmephisto)) +- Unrestrict rspec-\* version to \>= 3.5 to sync with vagrant [\#1330](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1330) ([dcermak](https://github.com/dcermak)) +- Bump vagrant version and update README [\#1321](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1321) ([electrofelix](https://github.com/electrofelix)) +- Use working directory for user/group resolution [\#1320](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1320) ([electrofelix](https://github.com/electrofelix)) +- Enable frozen string across project [\#1319](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1319) ([electrofelix](https://github.com/electrofelix)) +- Remove debug statement accidentally left behind [\#1318](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1318) ([electrofelix](https://github.com/electrofelix)) +- Allow rspec to float on minor releases [\#1316](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1316) ([electrofelix](https://github.com/electrofelix)) +- Disable removal of host keys by default [\#1315](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1315) ([electrofelix](https://github.com/electrofelix)) +- Use GracefulHalt builtin action [\#1310](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1310) ([chrisroberts](https://github.com/chrisroberts)) +- Basic packaging tests and restructure action [\#1307](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1307) ([electrofelix](https://github.com/electrofelix)) +- Default to build and publish extendible image [\#1246](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1246) ([electrofelix](https://github.com/electrofelix)) + +------------------------------------------------------------------- Old: ---- vagrant-libvirt-0.5.3.gem New: ---- 0002-Double-the-UDPSocket-in-cases-where-there-s-no-netwo.patch 0003-Allow-the-connection.client.libversion-call-1416.patch vagrant-libvirt-0.7.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vagrant-libvirt.spec ++++++ --- /var/tmp/diff_new_pack.Gsvrhs/_old 2021-12-07 00:01:54.568028132 +0100 +++ /var/tmp/diff_new_pack.Gsvrhs/_new 2021-12-07 00:01:54.572028117 +0100 @@ -27,7 +27,7 @@ %endif Name: vagrant-libvirt -Version: 0.5.3 +Version: 0.7.0 Release: 0 %define mod_name vagrant-libvirt %define mod_full_name %{mod_name}-%{version} @@ -84,10 +84,14 @@ BuildRequires: %{rubygem childprocess > 3} BuildRequires: fdupes +BuildRequires: procps +BuildRequires: kmod URL: https://github.com/vagrant-libvirt/vagrant-libvirt Source: https://rubygems.org/gems/%{mod_full_name}.gem Patch0: 0001-Remove-simplecov-from-tests.patch +Patch1: 0002-Double-the-UDPSocket-in-cases-where-there-s-no-netwo.patch +Patch2: 0003-Allow-the-connection.client.libversion-call-1416.patch Summary: Vagrant provider for libvirt License: MIT ++++++ 0001-Remove-simplecov-from-tests.patch ++++++ --- /var/tmp/diff_new_pack.Gsvrhs/_old 2021-12-07 00:01:54.592028047 +0100 +++ /var/tmp/diff_new_pack.Gsvrhs/_new 2021-12-07 00:01:54.592028047 +0100 @@ -1,17 +1,19 @@ -From 31556255dc146457cfc72e85ca03e0b0bcbf52b0 Mon Sep 17 00:00:00 2001 +From ee2347143ed5cd867803a2d5aa3b85f5c443444e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcer...@suse.com> Date: Thu, 1 Apr 2021 15:25:35 +0200 -Subject: [PATCH] Remove simplecov from tests +Subject: [PATCH 1/3] Remove simplecov from tests --- - spec/spec_helper.rb | 29 ----------------------------- - 1 file changed, 29 deletions(-) + spec/spec_helper.rb | 31 ------------------------------- + 1 file changed, 31 deletions(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb -index e688eb9..eb271cc 100644 +index cb7a814..9a3912f 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb -@@ -1,32 +1,3 @@ +@@ -1,34 +1,3 @@ +-# frozen_string_literal: true +- -require 'simplecov' -require 'simplecov-lcov' - ++++++ 0002-Double-the-UDPSocket-in-cases-where-there-s-no-netwo.patch ++++++ >From 940bb9d1f7de30969859dcefd5f373a3fbb4ff69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <45594031+dcer...@users.noreply.github.com> Date: Thu, 2 Dec 2021 17:16:44 +0100 Subject: [PATCH 2/3] Double the UDPSocket in cases where there's no network (#1414) In PrepareNFSSettings.read_host_ip we use a UDPSocket to connect to the host in question. However, this fails completely if the system executing the tests has no network adapters enable, like builders in OBS or Koji. If we double the calls to this, then we no longer face that issue. (cherry picked from commit 97e534b1e7b8784887e6e02b5b4847a5f697bc33) --- spec/unit/action/prepare_nfs_settings_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/unit/action/prepare_nfs_settings_spec.rb b/spec/unit/action/prepare_nfs_settings_spec.rb index e3ab7a9..f668432 100644 --- a/spec/unit/action/prepare_nfs_settings_spec.rb +++ b/spec/unit/action/prepare_nfs_settings_spec.rb @@ -32,10 +32,14 @@ describe VagrantPlugins::ProviderLibvirt::Action::PrepareNFSSettings do EOF end let(:socket) { double('socket') } + let(:udp_socket) { double('udp_socket') } before do allow(::TCPSocket).to receive(:new).and_return(socket) allow(socket).to receive(:close) + + allow(::UDPSocket).to receive(:open).and_return(udp_socket) + allow(udp_socket).to receive(:connect) end it 'should retrieve the guest IP address' do -- 2.31.1 ++++++ 0003-Allow-the-connection.client.libversion-call-1416.patch ++++++ >From a07889c9d23207e041144f525d410f53dd982061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <45594031+dcer...@users.noreply.github.com> Date: Fri, 3 Dec 2021 09:11:06 +0100 Subject: [PATCH 3/3] Allow the connection.client.libversion call (#1416) When the tests are executed and rsync is not installed on the machine executing the tests, then vagrant-libvirt will automatically fallback to virtiofs or 9p. Both of these perform the following call to check the libvirt version: libvirt_version = machine.provider.driver.connection.client.libversion However, this mock was not setup and thus those tests would fail. This fixes https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1415 (cherry picked from commit 5914f0cffde072001f418aa04194408f2ea34aee) --- spec/unit/action_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/unit/action_spec.rb b/spec/unit/action_spec.rb index 18e31fd..0eac063 100644 --- a/spec/unit/action_spec.rb +++ b/spec/unit/action_spec.rb @@ -27,6 +27,8 @@ describe VagrantPlugins::ProviderLibvirt::Action do allow(logger).to receive(:info) allow(logger).to receive(:debug) allow(logger).to receive(:error) + + allow(connection.client).to receive(:libversion).and_return(6_002_000) end def allow_action_env_result(action, *responses) -- 2.31.1 ++++++ vagrant-libvirt-0.5.3.gem -> vagrant-libvirt-0.7.0.gem ++++++ ++++ 4687 lines of diff (skipped)