Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kubevirt for openSUSE:Factory checked in at 2021-04-21 21:00:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kubevirt (Old) and /work/SRC/openSUSE:Factory/.kubevirt.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kubevirt" Wed Apr 21 21:00:34 2021 rev:15 rq:887335 version:0.40.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes 2021-04-17 00:02:35.813672804 +0200 +++ /work/SRC/openSUSE:Factory/.kubevirt.new.12324/kubevirt.changes 2021-04-21 21:01:19.746383707 +0200 @@ -1,0 +2,22 @@ +Tue Apr 20 13:12:00 UTC 2021 - Vasily Ulyanov <vasily.ulya...@suse.com> + +- Fix issue when calling `virsh-domcapabilities` + fix-virsh-domcapabilities-error.patch + +------------------------------------------------------------------- +Tue Apr 20 08:33:46 UTC 2021 - Vasily Ulyanov <vasily.ulya...@suse.com> + +- Package node-labeller.sh along with virt-launcher + +------------------------------------------------------------------- +Mon Apr 19 15:04:21 UTC 2021 - Vasily Ulyanov <vasily.ulya...@suse.com> + +- Update to version 0.40.0 + Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.40.0 + +------------------------------------------------------------------- +Mon Apr 19 14:44:25 UTC 2021 - Vasily Ulyanov <vasily.ulya...@suse.com> + +- Disable changelog generation via tar_scm service (too verbose) + +------------------------------------------------------------------- Old: ---- _servicedata kubevirt-0.38.1.tar.gz New: ---- fix-virsh-domcapabilities-error.patch kubevirt-0.40.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kubevirt.spec ++++++ --- /var/tmp/diff_new_pack.zYtjdF/_old 2021-04-21 21:01:20.214384444 +0200 +++ /var/tmp/diff_new_pack.zYtjdF/_new 2021-04-21 21:01:20.214384444 +0200 @@ -17,7 +17,7 @@ Name: kubevirt -Version: 0.38.1 +Version: 0.40.0 Release: 0 Summary: Container native virtualization License: Apache-2.0 @@ -28,6 +28,7 @@ Source100: %{name}-rpmlintrc Patch0: dont-build-virtctl-darwin.patch Patch1: dont-use-bazel-in-build-manifests.patch +Patch2: fix-virsh-domcapabilities-error.patch BuildRequires: glibc-devel-static BuildRequires: golang-packaging BuildRequires: pkgconfig @@ -181,6 +182,10 @@ install -p -m 0755 _out/cmd/virt-operator/virt-operator %{buildroot}%{_bindir}/ install -p -m 0755 _out/tests/tests.test %{buildroot}%{_bindir}/virt-tests +# node-labeller needs to be installed in /bin +mkdir -p %{buildroot}/bin +install -p -m 0755 cmd/virt-launcher/node-labeller/node-labeller.sh %{buildroot}/bin/ + mkdir -p %{buildroot}%{_datadir}/kube-virt cp -r _out/manifests %{buildroot}%{_datadir}/kube-virt/ # TODO: @@ -220,6 +225,7 @@ %license LICENSE %doc README.md %{_bindir}/virt-launcher +/bin/node-labeller.sh %files virt-operator %license LICENSE ++++++ _service ++++++ --- /var/tmp/diff_new_pack.zYtjdF/_old 2021-04-21 21:01:20.246384495 +0200 +++ /var/tmp/diff_new_pack.zYtjdF/_new 2021-04-21 21:01:20.246384495 +0200 @@ -1,14 +1,13 @@ <services> <service name="tar_scm" mode="disabled"> <param name="filename">kubevirt</param> - <param name="revision">v0.38.1</param> + <param name="revision">v0.40.0</param> <param name="scm">git</param> <param name="submodules">disable</param> <param name="url">https://github.com/kubevirt/kubevirt</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">[v]?([^\+]+)(.*)</param> <param name="versionrewrite-replacement">\1</param> - <param name="changesgenerate">enable</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> ++++++ fix-virsh-domcapabilities-error.patch ++++++ Fix 'virsh domcapabilities' error Calling `virsh domcapabilities ...` produces an error with some older versions of libvirt: error: failed to get emulator capabilities error: invalid argument: unable to find any emulator to serve 'x86_64' architecture The issue seems fixed if `virsh capabilites` is run first. diff --git a/cmd/virt-launcher/node-labeller/node-labeller.sh b/cmd/virt-launcher/node-labeller/node-labeller.sh index 8ea181963..55a920bdd 100755 --- a/cmd/virt-launcher/node-labeller/node-labeller.sh +++ b/cmd/virt-launcher/node-labeller/node-labeller.sh @@ -13,8 +13,10 @@ chmod o+rw /dev/kvm libvirtd -d +virsh capabilities > /dev/null + virsh domcapabilities --machine q35 --arch x86_64 --virttype kvm > /var/lib/kubevirt-node-labeller/virsh_domcapabilities.xml cp -r /usr/share/libvirt/cpu_map /var/lib/kubevirt-node-labeller -virsh domcapabilities --machine q35 --arch x86_64 --virttype kvm | virsh hypervisor-cpu-baseline --features /dev/stdin --machine q35 --arch x86_64 --virttype kvm > /var/lib/kubevirt-node-labeller/supported_features.xml \ No newline at end of file +virsh domcapabilities --machine q35 --arch x86_64 --virttype kvm | virsh hypervisor-cpu-baseline --features /dev/stdin --machine q35 --arch x86_64 --virttype kvm > /var/lib/kubevirt-node-labeller/supported_features.xml ++++++ kubevirt-0.38.1.tar.gz -> kubevirt-0.40.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.38.1.tar.gz /work/SRC/openSUSE:Factory/.kubevirt.new.12324/kubevirt-0.40.0.tar.gz differ: char 12, line 1