commit kubevirt for openSUSE:Factory

2024-06-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2024-06-06 12:34:26

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.24587 (New)


Package is "kubevirt"

Thu Jun  6 12:34:26 2024 rev:75 rq:1178919 version:1.2.2

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2024-05-29 
19:36:09.465153243 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.24587/kubevirt.changes 
2024-06-06 12:35:04.321838656 +0200
@@ -1,0 +2,6 @@
+Thu Jun  6 06:54:11 UTC 2024 - Vasily Ulyanov 
+
+- Update to version 1.2.2
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v1.2.2
+
+---

Old:

  kubevirt-1.2.1.tar.gz

New:

  kubevirt-1.2.2.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.sZOeV1/_old  2024-06-06 12:35:04.973862417 +0200
+++ /var/tmp/diff_new_pack.sZOeV1/_new  2024-06-06 12:35:04.977862562 +0200
@@ -30,7 +30,7 @@
 %endif
 
 Name:   kubevirt
-Version:1.2.1
+Version:1.2.2
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0

++ _service ++
--- /var/tmp/diff_new_pack.sZOeV1/_old  2024-06-06 12:35:05.037864749 +0200
+++ /var/tmp/diff_new_pack.sZOeV1/_new  2024-06-06 12:35:05.041864895 +0200
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v1.2.1
+v1.2.2
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.sZOeV1/_old  2024-06-06 12:35:05.069865916 +0200
+++ /var/tmp/diff_new_pack.sZOeV1/_new  2024-06-06 12:35:05.077866207 +0200
@@ -22,7 +22,7 @@
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v1.2.1
+  image: quay.io/kubevirt/disks-images-provider:v1.2.2
   imagePullPolicy: Always
   lifecycle:
 preStop:

++ kubevirt-1.2.1.tar.gz -> kubevirt-1.2.2.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-1.2.1.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.24587/kubevirt-1.2.2.tar.gz differ: 
char 12, line 1


commit kubevirt for openSUSE:Factory

2024-05-29 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2024-05-29 19:35:51

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.24587 (New)


Package is "kubevirt"

Wed May 29 19:35:51 2024 rev:74 rq:1177385 version:1.2.1

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2024-04-12 
17:40:24.54817 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.24587/kubevirt.changes 
2024-05-29 19:36:09.465153243 +0200
@@ -1,0 +2,8 @@
+Tue May 28 12:46:14 UTC 2024 - Vasily Ulyanov 
+
+- Update to version 1.2.1
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v1.2.1
+- Drop upstreamed patch
+  0001-Improve-the-handling-of-ordinal-pod-interface-name-for-upgrade.patch
+
+---

Old:

  0001-Improve-the-handling-of-ordinal-pod-interface-name-for-upgrade.patch
  kubevirt-1.2.0.tar.gz

New:

  kubevirt-1.2.1.tar.gz

BETA DEBUG BEGIN:
  Old:- Drop upstreamed patch
  0001-Improve-the-handling-of-ordinal-pod-interface-name-for-upgrade.patch
BETA DEBUG END:



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.CLm4Rt/_old  2024-05-29 19:36:10.325184391 +0200
+++ /var/tmp/diff_new_pack.CLm4Rt/_new  2024-05-29 19:36:10.329184536 +0200
@@ -30,7 +30,7 @@
 %endif
 
 Name:   kubevirt
-Version:1.2.0
+Version:1.2.1
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0
@@ -41,7 +41,6 @@
 Source2:kubevirt_containers_meta.service
 Source3:%{url}/releases/download/v%{version}/disks-images-provider.yaml
 Source100:  %{name}-rpmlintrc
-Patch1: 
0001-Improve-the-handling-of-ordinal-pod-interface-name-for-upgrade.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ _service ++
--- /var/tmp/diff_new_pack.CLm4Rt/_old  2024-05-29 19:36:10.373186129 +0200
+++ /var/tmp/diff_new_pack.CLm4Rt/_new  2024-05-29 19:36:10.377186274 +0200
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v1.2.0
+v1.2.1
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.CLm4Rt/_old  2024-05-29 19:36:10.401187143 +0200
+++ /var/tmp/diff_new_pack.CLm4Rt/_new  2024-05-29 19:36:10.405187288 +0200
@@ -22,7 +22,7 @@
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v1.2.0
+  image: quay.io/kubevirt/disks-images-provider:v1.2.1
   imagePullPolicy: Always
   lifecycle:
 preStop:

++ kubevirt-1.2.0.tar.gz -> kubevirt-1.2.1.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-1.2.0.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.24587/kubevirt-1.2.1.tar.gz differ: 
char 27, line 1


commit kubevirt for openSUSE:Factory

2024-04-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2024-04-12 17:35:04

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.26366 (New)


Package is "kubevirt"

Fri Apr 12 17:35:04 2024 rev:73 rq:1166997 version:1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2024-03-06 
23:06:29.265571330 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.26366/kubevirt.changes 
2024-04-12 17:40:24.54817 +0200
@@ -1,0 +2,6 @@
+Fri Apr 12 05:51:30 UTC 2024 - Vasily Ulyanov 
+
+- Improve the OrdinalPodInterfaceName mechanism (bsc#1222699)
+  0001-Improve-the-handling-of-ordinal-pod-interface-name-for-upgrade.patch
+
+---

New:

  0001-Improve-the-handling-of-ordinal-pod-interface-name-for-upgrade.patch

BETA DEBUG BEGIN:
  New:- Improve the OrdinalPodInterfaceName mechanism (bsc#1222699)
  0001-Improve-the-handling-of-ordinal-pod-interface-name-for-upgrade.patch
BETA DEBUG END:



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.xUeT6d/_old  2024-04-12 17:40:25.152202244 +0200
+++ /var/tmp/diff_new_pack.xUeT6d/_new  2024-04-12 17:40:25.156202391 +0200
@@ -41,6 +41,7 @@
 Source2:kubevirt_containers_meta.service
 Source3:%{url}/releases/download/v%{version}/disks-images-provider.yaml
 Source100:  %{name}-rpmlintrc
+Patch1: 
0001-Improve-the-handling-of-ordinal-pod-interface-name-for-upgrade.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ 
0001-Improve-the-handling-of-ordinal-pod-interface-name-for-upgrade.patch ++
>From 0e9960022d6c0ecf525d4bc934becab6c536b921 Mon Sep 17 00:00:00 2001
From: Vicente Cheng 
Date: Wed, 10 Apr 2024 00:47:44 +0800
Subject: [PATCH 1/2] network: add more network name scheme test cases

- Add different order to verify the correct interface name
- Add only one secondary network to verify the correct interface name

Signed-off-by: Vicente Cheng 
---
 pkg/network/namescheme/networknamescheme_test.go | 16 
 1 file changed, 16 insertions(+)

diff --git a/pkg/network/namescheme/networknamescheme_test.go 
b/pkg/network/namescheme/networknamescheme_test.go
index 8fe85485006a..7b6fe8f562f4 100644
--- a/pkg/network/namescheme/networknamescheme_test.go
+++ b/pkg/network/namescheme/networknamescheme_test.go
@@ -259,6 +259,22 @@ var _ = Describe("Network Name Scheme", func() {
},
"net2",
),
+   Entry("given secondary network name with different 
order",
+   "multus01",
+   []virtv1.Network{
+   createMultusSecondaryNetwork("blue", 
"test-br"),
+   
createMultusSecondaryNetwork("multus01", "test-br"),
+   newPodNetwork(),
+   },
+   "net2",
+   ),
+   Entry("given secondary network name, only one secondary 
network",
+   "multus01",
+   []virtv1.Network{
+   
createMultusSecondaryNetwork("multus01", "test-br"),
+   },
+   "net1",
+   ),
)
})
 })

>From 3d22893dda229cfd0793beb54cf64271f9b69a17 Mon Sep 17 00:00:00 2001
From: Vicente Cheng 
Date: Wed, 10 Apr 2024 01:10:36 +0800
Subject: [PATCH 2/2] network: improve the OrdinalPodInterfaceName mechanism

- the networks are not ordered, means the pod network is not always
  on the first. We should consider more to get the secondary network
  because the secondary started from 1 to n.
- Also, we should consider only have one multus and secondary
  network situation.

This change mainly finetune the mechanism for get the secondary
multus network.

Signed-off-by: Vicente Cheng 
---
 pkg/network/namescheme/networknamescheme.go | 14 +-
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/pkg/network/namescheme/networknamescheme.go 
b/pkg/network/namescheme/networknamescheme.go
index b2be1d62e54d..470151c91806 100644
--- a/pkg/network/namescheme/networknamescheme.go
+++ b/pkg/network/namescheme/networknamescheme.go
@@ -92,17 +92,13 @@ func CreateOrdinalNetworkNameScheme(vmiNetworks 
[]v1.Network) map[string]string
return 

commit kubevirt for openSUSE:Factory

2024-03-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2024-03-06 23:05:57

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1770 (New)


Package is "kubevirt"

Wed Mar  6 23:05:57 2024 rev:72 rq:1155542 version:1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2024-01-12 
23:46:22.108665899 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1770/kubevirt.changes  
2024-03-06 23:06:29.265571330 +0100
@@ -1,0 +2,9 @@
+Wed Mar  6 07:45:30 UTC 2024 - Vasily Ulyanov 
+
+- Update to version 1.2.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v1.2.0
+- Drop upstreamed patch
+  0001-tests-Adapt-VM-phase-expectation.patch
+- Pack configuration files for libvirt
+
+---

Old:

  0001-tests-Adapt-VM-phase-expectation.patch
  kubevirt-1.1.1.tar.gz

New:

  kubevirt-1.2.0.tar.gz

BETA DEBUG BEGIN:
  Old:- Drop upstreamed patch
  0001-tests-Adapt-VM-phase-expectation.patch
- Pack configuration files for libvirt
BETA DEBUG END:



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.DGQLSE/_old  2024-03-06 23:06:30.181604568 +0100
+++ /var/tmp/diff_new_pack.DGQLSE/_new  2024-03-06 23:06:30.185604713 +0100
@@ -30,7 +30,7 @@
 %endif
 
 Name:   kubevirt
-Version:1.1.1
+Version:1.2.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0
@@ -41,13 +41,12 @@
 Source2:kubevirt_containers_meta.service
 Source3:%{url}/releases/download/v%{version}/disks-images-provider.yaml
 Source100:  %{name}-rpmlintrc
-Patch1: 0001-tests-Adapt-VM-phase-expectation.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig
 BuildRequires:  rsync
 BuildRequires:  sed
-BuildRequires:  golang(API) >= 1.19
+BuildRequires:  golang(API) >= 1.21
 BuildRequires:  pkgconfig(libvirt)
 ExclusiveArch:  %{_exclusive_arch}
 
@@ -280,6 +279,11 @@
 mkdir -p %{buildroot}%{_datadir}/kube-virt/pr-helper
 install -p -m 0644 cmd/pr-helper/multipath.conf 
%{buildroot}%{_datadir}/kube-virt/pr-helper/
 
+# Configuration files for libvirt
+mkdir -p %{buildroot}%{_datadir}/kube-virt/virt-launcher
+install -p -m 0644 cmd/virt-launcher/virtqemud.conf 
%{buildroot}%{_datadir}/kube-virt/virt-launcher
+install -p -m 0644 cmd/virt-launcher/qemu.conf 
%{buildroot}%{_datadir}/kube-virt/virt-launcher
+
 # Install release manifests
 mkdir -p %{buildroot}%{_datadir}/kube-virt/manifests/release
 install -m 0644 _out/manifests/release/kubevirt-operator.yaml 
%{buildroot}%{_datadir}/kube-virt/manifests/release/
@@ -340,12 +344,15 @@
 %files virt-launcher
 %license LICENSE
 %doc README.md
+%dir %{_datadir}/kube-virt
+%dir %{_datadir}/kube-virt/virt-launcher
 %{_bindir}/virt-launcher
 %{_bindir}/virt-launcher-monitor
 %{_bindir}/virt-freezer
 %{_bindir}/virt-probe
 %{_bindir}/virt-tail
 %{_bindir}/node-labeller.sh
+%{_datadir}/kube-virt/virt-launcher
 
 %files virt-operator
 %license LICENSE

++ _service ++
--- /var/tmp/diff_new_pack.DGQLSE/_old  2024-03-06 23:06:30.221606020 +0100
+++ /var/tmp/diff_new_pack.DGQLSE/_new  2024-03-06 23:06:30.225606165 +0100
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v1.1.1
+v1.2.0
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.DGQLSE/_old  2024-03-06 23:06:30.245606890 +0100
+++ /var/tmp/diff_new_pack.DGQLSE/_new  2024-03-06 23:06:30.249607035 +0100
@@ -22,7 +22,7 @@
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v1.1.1
+  image: quay.io/kubevirt/disks-images-provider:v1.2.0
   imagePullPolicy: Always
   lifecycle:
 preStop:

++ kubevirt-1.1.1.tar.gz -> kubevirt-1.2.0.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-1.1.1.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.1770/kubevirt-1.2.0.tar.gz differ: 
char 12, line 1


commit kubevirt for openSUSE:Factory

2024-01-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2024-01-12 23:45:59

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.21961 (New)


Package is "kubevirt"

Fri Jan 12 23:45:59 2024 rev:71 rq:1138242 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2024-01-05 
21:46:36.921698420 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.21961/kubevirt.changes 
2024-01-12 23:46:22.108665899 +0100
@@ -1,0 +2,6 @@
+Fri Jan 12 06:27:45 UTC 2024 - Vasily Ulyanov 
+
+- Fix test with initially invalid DataVolume (bsc#1218174)
+  0001-tests-Adapt-VM-phase-expectation.patch
+
+---

New:

  0001-tests-Adapt-VM-phase-expectation.patch

BETA DEBUG BEGIN:
  New:- Fix test with initially invalid DataVolume (bsc#1218174)
  0001-tests-Adapt-VM-phase-expectation.patch
BETA DEBUG END:



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.csdyQn/_old  2024-01-12 23:46:22.752689471 +0100
+++ /var/tmp/diff_new_pack.csdyQn/_new  2024-01-12 23:46:22.752689471 +0100
@@ -41,6 +41,7 @@
 Source2:kubevirt_containers_meta.service
 Source3:%{url}/releases/download/v%{version}/disks-images-provider.yaml
 Source100:  %{name}-rpmlintrc
+Patch1: 0001-tests-Adapt-VM-phase-expectation.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ 0001-tests-Adapt-VM-phase-expectation.patch ++
>From aa6647c263408bdf0518d74da2d4c37d3bb42de0 Mon Sep 17 00:00:00 2001
From: Vasiliy Ulyanov 
Date: Wed, 13 Dec 2023 08:10:37 +0100
Subject: [PATCH] tests: Adapt VM phase expectation

When CDI uses volume populators with malformed DataVolume, the VM
initially transitions to Scheduling phase.

Signed-off-by: Vasiliy Ulyanov 
---
 tests/storage/datavolume.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/storage/datavolume.go b/tests/storage/datavolume.go
index 46677257d..9d86d0eac 100644
--- a/tests/storage/datavolume.go
+++ b/tests/storage/datavolume.go
@@ -536,7 +536,7 @@ var _ = SIGDescribe("DataVolume Integration", func() {
vm, err = 
virtClient.VirtualMachine(vm.Namespace).Create(context.Background(), vm)
Expect(err).ToNot(HaveOccurred())
 
-   Eventually(ThisVMIWith(vm.Namespace, vm.Name), 
100).Should(BeInPhase(v1.Pending))
+   Eventually(ThisVMIWith(vm.Namespace, vm.Name), 
100).Should(Or(BeInPhase(v1.Pending), BeInPhase(v1.Scheduling)))
 
By("Creating a service which makes the registry 
reachable")
_, err = 
virtClient.CoreV1().Services(vm.Namespace).Create(context.Background(), 
{
-- 
2.43.0


commit kubevirt for openSUSE:Factory

2024-01-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2024-01-03 14:53:54

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.28375 (New)


Package is "kubevirt"

Wed Jan  3 14:53:54 2024 rev:69 rq:1136512 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2023-11-17 
20:51:02.464440892 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.28375/kubevirt.changes 
2024-01-03 14:54:03.594001649 +0100
@@ -1,0 +2,8 @@
+Wed Jan  3 09:53:18 UTC 2024 - Vasily Ulyanov 
+
+- Fix seccomp profile for post-copy migration
+  0004-seccomp-Use-Names-field-to-define-the-syscall.patch
+- Set ExclusiveArch conditionally depending on the distro
+- Remove SLE15 SP4 from the distro check (end of general support)
+
+---

New:

  0004-seccomp-Use-Names-field-to-define-the-syscall.patch

BETA DEBUG BEGIN:
  New:- Fix seccomp profile for post-copy migration
  0004-seccomp-Use-Names-field-to-define-the-syscall.patch
- Set ExclusiveArch conditionally depending on the distro
BETA DEBUG END:



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.1yKHVL/_old  2024-01-03 14:54:04.250025599 +0100
+++ /var/tmp/diff_new_pack.1yKHVL/_new  2024-01-03 14:54:04.250025599 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kubevirt
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,19 @@
 #
 
 
+%if 0%{?sle_version} && !0%{?is_opensuse}
+# SLE
+%define _exclusive_arch x86_64
+%else
+%if 0%{?suse_version} == 1600
+# ALP
+%define _exclusive_arch x86_64
+%else
+# TW
+%define _exclusive_arch x86_64 aarch64
+%endif
+%endif
+
 Name:   kubevirt
 Version:1.1.0
 Release:0
@@ -31,6 +44,7 @@
 Patch1: 0001-Update-google.golang.org-grpc-to-1.56.3.patch
 Patch2: 0002-virt-launcher-fix-qemu-non-root-path.patch
 Patch3: 0003-cgroupsv2-reconstruct-device-allowlist.patch
+Patch4: 0004-seccomp-Use-Names-field-to-define-the-syscall.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig
@@ -38,7 +52,7 @@
 BuildRequires:  sed
 BuildRequires:  golang(API) >= 1.19
 BuildRequires:  pkgconfig(libvirt)
-ExclusiveArch:  x86_64 aarch64
+ExclusiveArch:  %{_exclusive_arch}
 
 %description
 Kubevirt is a virtual machine management add-on for Kubernetes
@@ -165,11 +179,6 @@
 #
 distro='%{?sle_version}:%{?is_opensuse}%{!?is_opensuse:0}'
 case "${distro}" in
-150400:0)
-tagprefix=suse/sles/15.4
-labelprefix=com.suse.kubevirt
-registry=registry.suse.com
-;;
 150500:0)
 tagprefix=suse/sles/15.5
 labelprefix=com.suse.kubevirt
@@ -186,14 +195,14 @@
 registry=registry.opensuse.org
 ;;
 *)
-%if 0%{?suse_version} == 1600
+%if 0%{?suse_version} == 1600
 tagprefix=alp/kubevirt
 labelprefix=com.suse.kubevirt
 registry=registry.suse.com
-%else
+%else
 echo "Unsupported distro: ${distro}" >&2
 exit 1
-%endif
+%endif
 ;;
 esac
 

++ 0004-seccomp-Use-Names-field-to-define-the-syscall.patch ++
>From 0564fc86b7387d2c3b9f16a5f712ed3282c894e5 Mon Sep 17 00:00:00 2001
From: Vasiliy Ulyanov 
Date: Fri, 15 Dec 2023 13:22:10 +0100
Subject: [PATCH] seccomp: Use 'Names' field to define the syscall

Apparently, 'Name' has been deprecated in favour of 'Names'. Some
container runtimes do not handle 'Name' and thus fail to correctly set
the profile for seccomp.

Signed-off-by: Vasiliy Ulyanov 
---
 pkg/virt-handler/seccomp/seccomp.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/virt-handler/seccomp/seccomp.go 
b/pkg/virt-handler/seccomp/seccomp.go
index abc20b24af9e..f2ff71ac0bcc 100644
--- a/pkg/virt-handler/seccomp/seccomp.go
+++ b/pkg/virt-handler/seccomp/seccomp.go
@@ -70,7 +70,7 @@ func defaultProfile() *seccomp.Seccomp {
}
 
profile.Syscalls = append(profile.Syscalls, {
-   Name:   "userfaultfd",
+   Names:  []string{"userfaultfd"},
Action: seccomp.ActAllow,
Args:   []*seccomp.Arg{},
})


commit kubevirt for openSUSE:Factory

2023-10-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2023-10-18 21:26:16

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.31755 (New)


Package is "kubevirt"

Wed Oct 18 21:26:16 2023 rev:67 rq:1118539 version:1.0.1

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2023-10-16 
22:33:43.941440394 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.31755/kubevirt.changes 
2023-10-18 21:26:34.266572669 +0200
@@ -1,0 +2,19 @@
+Wed Oct 18 07:41:49 UTC 2023 - Vasily Ulyanov 
+
+- Update to version 1.0.1
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v1.0.1
+- Drop upstreamed patches
+  0002-ksm-Access-sysfs-from-the-host-filesystem.patch
+  0004-tests-leave-some-space-for-metadata-on-the-backend-P.patch
+  0006-isolation-close-file-when-exits.patch
+  0007-Fix-volume-detach-on-hotplug-attachment-pod-delete.patch
+  0008-fix-ticker-leak.patch
+  0009-tests-Run-helper-pod-as-qemu-107-user.patch
+  0010-Fix-PR-leftover-mount-and-perms.patch
+  0011-Fix-Aggregated-Discovery.patch
+  0012-Wait-for-new-hotplug-attachment-pod-to-be-ready.patch
+  0013-Adapt-e2e-tests-to-CDI-1.57.0.patch
+  0014-Export-create-populator-compatible-datavolumes-from-.patch
+  0015-tests-Delete-VMI-prior-to-NFS-server-pod.patch
+
+---

Old:

  0002-ksm-Access-sysfs-from-the-host-filesystem.patch
  0004-tests-leave-some-space-for-metadata-on-the-backend-P.patch
  0006-isolation-close-file-when-exits.patch
  0007-Fix-volume-detach-on-hotplug-attachment-pod-delete.patch
  0008-fix-ticker-leak.patch
  0009-tests-Run-helper-pod-as-qemu-107-user.patch
  0010-Fix-PR-leftover-mount-and-perms.patch
  0011-Fix-Aggregated-Discovery.patch
  0012-Wait-for-new-hotplug-attachment-pod-to-be-ready.patch
  0013-Adapt-e2e-tests-to-CDI-1.57.0.patch
  0014-Export-create-populator-compatible-datavolumes-from-.patch
  0015-tests-Delete-VMI-prior-to-NFS-server-pod.patch
  kubevirt-1.0.0.tar.gz

New:

  kubevirt-1.0.1.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.O7kns0/_old  2023-10-18 21:26:36.386649468 +0200
+++ /var/tmp/diff_new_pack.O7kns0/_new  2023-10-18 21:26:36.402650047 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:1.0.0
+Version:1.0.1
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0
@@ -29,20 +29,8 @@
 Source3:%{url}/releases/download/v%{version}/disks-images-provider.yaml
 Source100:  %{name}-rpmlintrc
 Patch1: 0001-Fix-qemu-system-lookup.patch
-Patch2: 0002-ksm-Access-sysfs-from-the-host-filesystem.patch
 Patch3: 0003-Virtiofs-Remove-duplicated-functional-tests.patch
-Patch4: 0004-tests-leave-some-space-for-metadata-on-the-backend-P.patch
 Patch5: 0005-Support-multiple-watchdogs-in-the-domain-schema.patch
-Patch6: 0006-isolation-close-file-when-exits.patch
-Patch7: 0007-Fix-volume-detach-on-hotplug-attachment-pod-delete.patch
-Patch8: 0008-fix-ticker-leak.patch
-Patch9: 0009-tests-Run-helper-pod-as-qemu-107-user.patch
-Patch10:0010-Fix-PR-leftover-mount-and-perms.patch
-Patch11:0011-Fix-Aggregated-Discovery.patch
-Patch12:0012-Wait-for-new-hotplug-attachment-pod-to-be-ready.patch
-Patch13:0013-Adapt-e2e-tests-to-CDI-1.57.0.patch
-Patch14:0014-Export-create-populator-compatible-datavolumes-from-.patch
-Patch15:0015-tests-Delete-VMI-prior-to-NFS-server-pod.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ 0001-Fix-qemu-system-lookup.patch ++
--- /var/tmp/diff_new_pack.O7kns0/_old  2023-10-18 21:26:36.566655988 +0200
+++ /var/tmp/diff_new_pack.O7kns0/_new  2023-10-18 21:26:36.570656133 +0200
@@ -1,4 +1,4 @@
-From c4d429f3edffaaf8086f6cd22821b42ce2cf60c0 Mon Sep 17 00:00:00 2001
+From de15ee969681bbd95ed0e6a5a460c3b0cba2cf52 Mon Sep 17 00:00:00 2001
 From: Vasiliy Ulyanov 
 Date: Tue, 4 Jul 2023 13:27:25 +0200
 Subject: [PATCH 1/2] Lookup qemu process by executable prefix
@@ -18,7 +18,7 @@
  4 files changed, 26 insertions(+), 19 deletions(-)
 
 diff --git a/pkg/virt-handler/isolation/detector.go 
b/pkg/virt-handler/isolation/detector.go
-index 62f920025..a90281824 100644
+index 9c282e231..52a1de9ee 100644
 --- a/pkg/virt-handler/isolation/detector.go
 +++ b/pkg/virt-handler/isolation/detector.go
 @@ -185,13 +185,13 @@ func AdjustQemuProcessMemoryLimits(podIsoDetector 
PodIsolationDetector, vmi *v1.
@@ -136,10 +136,10 @@
),
 

commit kubevirt for openSUSE:Factory

2023-10-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2023-10-16 22:33:32

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.20540 (New)


Package is "kubevirt"

Mon Oct 16 22:33:32 2023 rev:66 rq:1117958 version:1.0.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2023-08-30 
10:23:37.438874119 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.20540/kubevirt.changes 
2023-10-16 22:33:43.941440394 +0200
@@ -1,0 +2,6 @@
+Mon Sep 18 12:32:00 UTC 2023 - Vasily Ulyanov 
+
+- Enable the build for ALP and remove no longer supported SLE versions
+  from the distro check
+
+---



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.iwUbyW/_old  2023-10-16 22:33:45.073481227 +0200
+++ /var/tmp/diff_new_pack.iwUbyW/_new  2023-10-16 22:33:45.073481227 +0200
@@ -174,16 +174,6 @@
 #
 distro='%{?sle_version}:%{?is_opensuse}%{!?is_opensuse:0}'
 case "${distro}" in
-150200:0)
-tagprefix=suse/sles/15.2
-labelprefix=com.suse.kubevirt
-registry=registry.suse.com
-;;
-150300:0)
-tagprefix=suse/sles/15.3
-labelprefix=com.suse.kubevirt
-registry=registry.suse.com
-;;
 150400:0)
 tagprefix=suse/sles/15.4
 labelprefix=com.suse.kubevirt
@@ -205,8 +195,14 @@
 registry=registry.opensuse.org
 ;;
 *)
+%if 0%{?suse_version} == 1600
+tagprefix=alp/kubevirt
+labelprefix=com.suse.kubevirt
+registry=registry.suse.com
+%else
 echo "Unsupported distro: ${distro}" >&2
 exit 1
+%endif
 ;;
 esac
 


commit kubevirt for openSUSE:Factory

2023-08-30 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2023-08-30 10:20:50

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1766 (New)


Package is "kubevirt"

Wed Aug 30 10:20:50 2023 rev:65 rq:1107892 version:1.0.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2023-08-17 
19:44:07.274853986 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1766/kubevirt.changes  
2023-08-30 10:23:37.438874119 +0200
@@ -1,0 +2,6 @@
+Mon Aug 28 11:23:30 UTC 2023 - Vasily Ulyanov 
+
+- Delete VMI prior to NFS server pod in tests
+  0015-tests-Delete-VMI-prior-to-NFS-server-pod.patch
+
+---

New:

  0015-tests-Delete-VMI-prior-to-NFS-server-pod.patch



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.GApTxj/_old  2023-08-30 10:23:39.726955790 +0200
+++ /var/tmp/diff_new_pack.GApTxj/_new  2023-08-30 10:23:39.730955933 +0200
@@ -42,6 +42,7 @@
 Patch12:0012-Wait-for-new-hotplug-attachment-pod-to-be-ready.patch
 Patch13:0013-Adapt-e2e-tests-to-CDI-1.57.0.patch
 Patch14:0014-Export-create-populator-compatible-datavolumes-from-.patch
+Patch15:0015-tests-Delete-VMI-prior-to-NFS-server-pod.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ 0015-tests-Delete-VMI-prior-to-NFS-server-pod.patch ++
>From 1d2feb4ac5ac5f26ccd4abf2270caf0599ae893c Mon Sep 17 00:00:00 2001
From: Vasiliy Ulyanov 
Date: Mon, 21 Aug 2023 11:32:56 +0200
Subject: [PATCH 1/3] tests: Delete VMI prior to NFS server pod

Kubelet fails to umount the NFS volume and gets stuck when performing
pod cleanup if the server has already gone. Ensure that the VMI is
deleted first and the corresponding volume is released (current global
tests cleanup hook does not guarantee deletion order).

Signed-off-by: Vasiliy Ulyanov 
---
 tests/storage/storage.go | 5 +
 1 file changed, 5 insertions(+)

diff --git a/tests/storage/storage.go b/tests/storage/storage.go
index 672ba2355..a4dfc3dd5 100644
--- a/tests/storage/storage.go
+++ b/tests/storage/storage.go
@@ -216,6 +216,11 @@ var _ = SIGDescribe("Storage", func() {
var pvName string
var nfsPod *k8sv1.Pod
AfterEach(func() {
+   // Ensure VMI is deleted before 
bringing down the NFS server
+   err = 
virtClient.VirtualMachineInstance(vmi.Namespace).Delete(context.Background(), 
vmi.Name, {})
+   Expect(err).ToNot(HaveOccurred(), 
failedDeleteVMI)
+   
libwait.WaitForVirtualMachineToDisappearWithTimeout(vmi, 120)
+
if targetImagePath != 
testsuite.HostPathAlpine {

tests.DeleteAlpineWithNonQEMUPermissions()
}
-- 
2.41.0


>From 029cb1fd6fee273f5b43615674d8c54143a3ef47 Mon Sep 17 00:00:00 2001
From: Vasiliy Ulyanov 
Date: Wed, 23 Aug 2023 14:41:57 +0200
Subject: [PATCH 2/3] tests: Delete AlpineWithNonQEMUPermissions image

Previously the disk image was not deleted because targetImagePath was
not set properly. The condition in AfterEach was never positive:

if targetImagePath != testsuite.HostPathAlpine {
tests.DeleteAlpineWithNonQEMUPermissions()
}

Signed-off-by: Vasiliy Ulyanov 
---
 tests/storage/storage.go | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/storage/storage.go b/tests/storage/storage.go
index a4dfc3dd5..90bb6e871 100644
--- a/tests/storage/storage.go
+++ b/tests/storage/storage.go
@@ -231,11 +231,10 @@ var _ = SIGDescribe("Storage", func() {
var nodeName string
// Start the VirtualMachineInstance 
with the PVC attached
if storageEngine == "nfs" {
-   targetImage := targetImagePath
if !imageOwnedByQEMU {
-   targetImage, nodeName = 
tests.CopyAlpineWithNonQEMUPermissions()
+   targetImagePath, 
nodeName = tests.CopyAlpineWithNonQEMUPermissions()
}
-   nfsPod = 
storageframework.InitNFS(targetImage, nodeName)
+

commit kubevirt for openSUSE:Factory

2023-08-17 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2023-08-17 19:43:52

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1766 (New)


Package is "kubevirt"

Thu Aug 17 19:43:52 2023 rev:64 rq:1104344 version:1.0.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2023-08-08 
15:55:40.561271733 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1766/kubevirt.changes  
2023-08-17 19:44:07.274853986 +0200
@@ -1,0 +2,12 @@
+Thu Aug 17 09:10:31 UTC 2023 - Vasily Ulyanov 
+
+- Bump client-go (fix possible panic in discovery)
+  0011-Fix-Aggregated-Discovery.patch
+- Wait for new hotplug attachment pod to be ready
+  0012-Wait-for-new-hotplug-attachment-pod-to-be-ready.patch
+- Adapt the storage tests to the new populators flow
+  0013-Adapt-e2e-tests-to-CDI-1.57.0.patch
+- Create export VM datavolumes compatible with populators
+  0014-Export-create-populator-compatible-datavolumes-from-.patch
+
+---

New:

  0011-Fix-Aggregated-Discovery.patch
  0012-Wait-for-new-hotplug-attachment-pod-to-be-ready.patch
  0013-Adapt-e2e-tests-to-CDI-1.57.0.patch
  0014-Export-create-populator-compatible-datavolumes-from-.patch



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.mv42LT/_old  2023-08-17 19:44:08.394856081 +0200
+++ /var/tmp/diff_new_pack.mv42LT/_new  2023-08-17 19:44:08.406856104 +0200
@@ -38,6 +38,10 @@
 Patch8: 0008-fix-ticker-leak.patch
 Patch9: 0009-tests-Run-helper-pod-as-qemu-107-user.patch
 Patch10:0010-Fix-PR-leftover-mount-and-perms.patch
+Patch11:0011-Fix-Aggregated-Discovery.patch
+Patch12:0012-Wait-for-new-hotplug-attachment-pod-to-be-ready.patch
+Patch13:0013-Adapt-e2e-tests-to-CDI-1.57.0.patch
+Patch14:0014-Export-create-populator-compatible-datavolumes-from-.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ 0011-Fix-Aggregated-Discovery.patch ++
 752 lines (skipped)

++ 0012-Wait-for-new-hotplug-attachment-pod-to-be-ready.patch ++
>From ee3463ae990a1776908483b182ad79c79637cd5d Mon Sep 17 00:00:00 2001
From: Alexander Wels 
Date: Fri, 11 Aug 2023 07:56:29 -0500
Subject: [PATCH 1/4] Wait for new attachemnt pod

Before deleting old attachment pod, wait for new attachment
pod to be ready, so k8s should not detach the volume from the
node since there will always be a pod using the volume from
its perspective.

Fixed issue where when adding or removing a volume the existing
volumes would still have the UID of the old attachment pod in
the VMI status which caused errors to appear in the virt-handler
logs about not being able to find the device or image.

Fixed issue where the cleanup would attempt to remove a volume
that was already gone causing errors to appear in the virt-handler
log.

Signed-off-by: Alexander Wels 
---
 pkg/virt-controller/watch/vmi.go   | 60 +++---
 pkg/virt-controller/watch/vmi_test.go  | 52 ++
 pkg/virt-handler/hotplug-disk/mount.go |  7 ++-
 tests/storage/hotplug.go   | 10 +
 4 files changed, 103 insertions(+), 26 deletions(-)

diff --git a/pkg/virt-controller/watch/vmi.go b/pkg/virt-controller/watch/vmi.go
index 9afaee4f0..99af8b8cb 100644
--- a/pkg/virt-controller/watch/vmi.go
+++ b/pkg/virt-controller/watch/vmi.go
@@ -516,11 +516,7 @@ func (c *VMIController) hasOwnerVM(vmi 
*virtv1.VirtualMachineInstance) bool {
}
 
ownerVM := obj.(*virtv1.VirtualMachine)
-   if controllerRef.UID == ownerVM.UID {
-   return true
-   }
-
-   return false
+   return controllerRef.UID == ownerVM.UID
 }
 
 func (c *VMIController) updateStatus(vmi *virtv1.VirtualMachineInstance, pod 
*k8sv1.Pod, dataVolumes []*cdiv1.DataVolume, syncErr syncError) error {
@@ -1816,15 +1812,29 @@ func (c *VMIController) 
waitForFirstConsumerTemporaryPods(vmi *virtv1.VirtualMac
 }
 
 func (c *VMIController) needsHandleHotplug(hotplugVolumes []*virtv1.Volume, 
hotplugAttachmentPods []*k8sv1.Pod) bool {
+   if len(hotplugAttachmentPods) > 1 {
+   return true
+   }
// Determine if the ready volumes have changed compared to the current 
pod
for _, attachmentPod := range hotplugAttachmentPods {
if c.podVolumesMatchesReadyVolumes(attachmentPod, 
hotplugVolumes) {
-   log.DefaultLogger().Infof("Don't need to handle as we 
have a matching attachment pod")
return false
}
-

commit kubevirt for openSUSE:Factory

2023-08-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2023-08-08 15:55:24

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.22712 (New)


Package is "kubevirt"

Tue Aug  8 15:55:24 2023 rev:63 rq:1102850 version:1.0.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2023-08-03 
17:29:23.599621850 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.22712/kubevirt.changes 
2023-08-08 15:55:40.561271733 +0200
@@ -1,0 +2,8 @@
+Tue Aug  8 06:02:05 UTC 2023 - Vasily Ulyanov 
+
+- Run helper pod as qemu user
+  0009-tests-Run-helper-pod-as-qemu-107-user.patch
+- SCSI reservation: fix leftover mount and resource permissions
+  0010-Fix-PR-leftover-mount-and-perms.patch
+
+---

New:

  0009-tests-Run-helper-pod-as-qemu-107-user.patch
  0010-Fix-PR-leftover-mount-and-perms.patch



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.CZsKI2/_old  2023-08-08 15:55:41.289276288 +0200
+++ /var/tmp/diff_new_pack.CZsKI2/_new  2023-08-08 15:55:41.293276314 +0200
@@ -36,6 +36,8 @@
 Patch6: 0006-isolation-close-file-when-exits.patch
 Patch7: 0007-Fix-volume-detach-on-hotplug-attachment-pod-delete.patch
 Patch8: 0008-fix-ticker-leak.patch
+Patch9: 0009-tests-Run-helper-pod-as-qemu-107-user.patch
+Patch10:0010-Fix-PR-leftover-mount-and-perms.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ 0009-tests-Run-helper-pod-as-qemu-107-user.patch ++
>From 1cfcbff44f6310628769445fad570a8ccd18fe22 Mon Sep 17 00:00:00 2001
From: Vasiliy Ulyanov 
Date: Thu, 3 Aug 2023 13:43:51 +0200
Subject: [PATCH] tests: Run helper pod as qemu (107) user

The helper pod needs permissions to access the PVC data. In most cases,
it is owned by the qemu (107) user.

Signed-off-by: Vasiliy Ulyanov 
---
 tests/libstorage/pvc.go | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tests/libstorage/pvc.go b/tests/libstorage/pvc.go
index f2dbdf8d3..b9157eac1 100644
--- a/tests/libstorage/pvc.go
+++ b/tests/libstorage/pvc.go
@@ -52,7 +52,7 @@ const (
 
 func RenderPodWithPVC(name string, cmd []string, args []string, pvc 
*k8sv1.PersistentVolumeClaim) *k8sv1.Pod {
volumeName := "disk0"
-   nonRootUser := int64(1042)
+   nonRootUser := int64(107)
 
// Change to 'pod := RenderPod(name, cmd, args)' once we have a libpod 
package
pod := {
@@ -102,6 +102,10 @@ func RenderPodWithPVC(name string, cmd []string, args 
[]string, pvc *k8sv1.Persi
if volumeMode != nil && *volumeMode == k8sv1.PersistentVolumeBlock {
pod.Spec.Containers[0].VolumeDevices = 
addVolumeDevices(volumeName)
} else {
+   if pod.Spec.SecurityContext == nil {
+   pod.Spec.SecurityContext = {}
+   }
+   pod.Spec.SecurityContext.FSGroup = 
pod.Spec.Containers[0].VolumeMounts = 
addVolumeMounts(volumeName)
}
 
-- 
2.41.0


++ 0010-Fix-PR-leftover-mount-and-perms.patch ++
>From dd782727364aaa2f2914b86ab21bd6ed34c8db7e Mon Sep 17 00:00:00 2001
From: Vasiliy Ulyanov 
Date: Thu, 27 Jul 2023 09:15:31 +0200
Subject: [PATCH 1/8] Drop redundant use of fmt.Sprintf

Signed-off-by: Vasiliy Ulyanov 
---
 pkg/storage/reservation/pr.go | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/pkg/storage/reservation/pr.go b/pkg/storage/reservation/pr.go
index 5ab0dec4c..afda2c8b4 100644
--- a/pkg/storage/reservation/pr.go
+++ b/pkg/storage/reservation/pr.go
@@ -1,7 +1,6 @@
 package reservation
 
 import (
-   "fmt"
"path/filepath"
 
v1 "kubevirt.io/api/core/v1"
@@ -20,15 +19,15 @@ func GetPrResourceName() string {
 }
 
 func GetPrHelperSocketDir() string {
-   return fmt.Sprintf(filepath.Join(sourceDaemonsPath, prHelperDir))
+   return filepath.Join(sourceDaemonsPath, prHelperDir)
 }
 
 func GetPrHelperHostSocketDir() string {
-   return fmt.Sprintf(filepath.Join(hostSourceDaemonsPath, prHelperDir))
+   return filepath.Join(hostSourceDaemonsPath, prHelperDir)
 }
 
 func GetPrHelperSocketPath() string {
-   return fmt.Sprintf(filepath.Join(GetPrHelperSocketDir(), 
prHelperSocket))
+   return filepath.Join(GetPrHelperSocketDir(), prHelperSocket)
 }
 
 func GetPrHelperSocket() string {
-- 
2.41.0


>From b0e7d191686d90a61143beb73dd97e773d5d21de Mon Sep 17 00:00:00 2001
From: Vasiliy Ulyanov 
Date: Thu, 27 Jul 2023 09:18:36 +0200
Subject: [PATCH 2/8] Run pr-helper container as qemu (107) user


commit kubevirt for openSUSE:Factory

2023-08-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2023-08-03 17:29:22

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.22712 (New)


Package is "kubevirt"

Thu Aug  3 17:29:22 2023 rev:62 rq:1102120 version:1.0.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2023-08-01 
15:38:52.397947905 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.22712/kubevirt.changes 
2023-08-03 17:29:23.599621850 +0200
@@ -1,0 +2,6 @@
+Thu Aug  3 06:27:57 UTC 2023 - Vasily Ulyanov 
+
+- Fix leaking tickers
+  0008-fix-ticker-leak.patch
+
+---

New:

  0008-fix-ticker-leak.patch



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.YcshqS/_old  2023-08-03 17:29:24.463627079 +0200
+++ /var/tmp/diff_new_pack.YcshqS/_new  2023-08-03 17:29:24.467627104 +0200
@@ -35,6 +35,7 @@
 Patch5: 0005-Support-multiple-watchdogs-in-the-domain-schema.patch
 Patch6: 0006-isolation-close-file-when-exits.patch
 Patch7: 0007-Fix-volume-detach-on-hotplug-attachment-pod-delete.patch
+Patch8: 0008-fix-ticker-leak.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ 0008-fix-ticker-leak.patch ++
>From f18f0988669908b4bdc5c4152fc7f5863d5ef3cd Mon Sep 17 00:00:00 2001
From: rokkiter <101091030+rokki...@users.noreply.github.com>
Date: Mon, 31 Jul 2023 16:51:08 +0800
Subject: [PATCH 1/2] fix ticker leak

Signed-off-by: rokkiter <101091030+rokki...@users.noreply.github.com>
---
 cmd/virt-launcher/virt-launcher.go | 16 ++--
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/cmd/virt-launcher/virt-launcher.go 
b/cmd/virt-launcher/virt-launcher.go
index e8d7c553f..c682c1bc6 100644
--- a/cmd/virt-launcher/virt-launcher.go
+++ b/cmd/virt-launcher/virt-launcher.go
@@ -237,14 +237,18 @@ func detectDomainWithUUID(domainManager 
virtwrap.DomainManager) *api.Domain {
 
 func waitForDomainUUID(timeout time.Duration, events chan watch.Event, stop 
chan struct{}, domainManager virtwrap.DomainManager) *api.Domain {
 
-   ticker := time.NewTicker(timeout).C
-   checkEarlyExit := time.NewTicker(time.Second * 2).C
-   domainCheckTicker := time.NewTicker(time.Second * 10).C
+   ticker := time.NewTicker(timeout)
+   defer ticker.Stop()
+   checkEarlyExit := time.NewTicker(time.Second * 2)
+   defer checkEarlyExit.Stop()
+   domainCheckTicker := time.NewTicker(time.Second * 10)
+   defer domainCheckTicker.Stop()
+
for {
select {
-   case <-ticker:
+   case <-ticker.C:
panic(fmt.Errorf("timed out waiting for domain to be 
defined"))
-   case <-domainCheckTicker:
+   case <-domainCheckTicker.C:
log.Log.V(3).Infof("Periodically checking for domain 
with UUID")
domain := detectDomainWithUUID(domainManager)
if domain != nil {
@@ -258,7 +262,7 @@ func waitForDomainUUID(timeout time.Duration, events chan 
watch.Event, stop chan
}
case <-stop:
return nil
-   case <-checkEarlyExit:
+   case <-checkEarlyExit.C:
if cmdserver.ReceivedEarlyExitSignal() {
panic(fmt.Errorf("received early exit signal"))
}
-- 
2.41.0


>From e8941fad18234293e10fd3b968491bc4d22a6c09 Mon Sep 17 00:00:00 2001
From: rokkiter <101091030+rokki...@users.noreply.github.com>
Date: Wed, 2 Aug 2023 10:18:39 +0800
Subject: [PATCH 2/2] fix ticker leak

Signed-off-by: rokkiter <101091030+rokki...@users.noreply.github.com>
---
 pkg/monitoring/domainstats/downwardmetrics/scraper.go   | 1 +
 pkg/virt-handler/retry_manager.go   | 1 +
 pkg/virt-launcher/monitor.go| 3 +--
 pkg/virt-launcher/virtwrap/agent-poller/agent_poller.go | 2 +-
 4 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/pkg/monitoring/domainstats/downwardmetrics/scraper.go 
b/pkg/monitoring/domainstats/downwardmetrics/scraper.go
index 8ca6ae4c3..1ca2465cf 100644
--- a/pkg/monitoring/domainstats/downwardmetrics/scraper.go
+++ b/pkg/monitoring/domainstats/downwardmetrics/scraper.go
@@ -149,6 +149,7 @@ func RunDownwardMetricsCollector(context context.Context, 
nodeName string, vmiIn
 
go func() {
ticker := time.NewTicker(DownwardmetricsRefreshDuration)
+   defer ticker.Stop()
  

commit kubevirt for openSUSE:Factory

2023-08-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2023-08-01 15:38:45

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.32662 (New)


Package is "kubevirt"

Tue Aug  1 15:38:45 2023 rev:61 rq:1101726 version:1.0.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2023-07-18 
22:09:09.695336911 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.32662/kubevirt.changes 
2023-08-01 15:38:52.397947905 +0200
@@ -1,0 +2,10 @@
+Fri Jul 28 08:20:41 UTC 2023 - Vasily Ulyanov 
+
+- Support multiple watchdogs in the domain schema
+  0005-Support-multiple-watchdogs-in-the-domain-schema.patch
+- Fix leaking file descriptor
+  0006-isolation-close-file-when-exits.patch
+- Fix volume detach on hotplug attachment pod delete
+  0007-Fix-volume-detach-on-hotplug-attachment-pod-delete.patch
+
+---

New:

  0005-Support-multiple-watchdogs-in-the-domain-schema.patch
  0006-isolation-close-file-when-exits.patch
  0007-Fix-volume-detach-on-hotplug-attachment-pod-delete.patch



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.kaA7ZR/_old  2023-08-01 15:38:53.429954295 +0200
+++ /var/tmp/diff_new_pack.kaA7ZR/_new  2023-08-01 15:38:53.433954320 +0200
@@ -32,6 +32,9 @@
 Patch2: 0002-ksm-Access-sysfs-from-the-host-filesystem.patch
 Patch3: 0003-Virtiofs-Remove-duplicated-functional-tests.patch
 Patch4: 0004-tests-leave-some-space-for-metadata-on-the-backend-P.patch
+Patch5: 0005-Support-multiple-watchdogs-in-the-domain-schema.patch
+Patch6: 0006-isolation-close-file-when-exits.patch
+Patch7: 0007-Fix-volume-detach-on-hotplug-attachment-pod-delete.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ 0005-Support-multiple-watchdogs-in-the-domain-schema.patch ++
>From 12cb69406a3a33a3b38c97e35014fa905858fe72 Mon Sep 17 00:00:00 2001
From: Vasiliy Ulyanov 
Date: Wed, 19 Jul 2023 10:36:21 +0200
Subject: [PATCH] Support multiple watchdogs in the domain schema

Libvirt allows several watchdog devices since 9.1.0. The documentation
now states:

Having multiple watchdogs is usually not something very common, but be
aware that this might happen, for example, when an implicit watchdog
device is added as part of another device. For example the iTCO watchdog
being part of the ich9 southbridge, which is used with the q35 machine
type.

Signed-off-by: Vasiliy Ulyanov 
---
 pkg/virt-launcher/virtwrap/api/deepcopy_generated.go  | 10 ++
 pkg/virt-launcher/virtwrap/api/schema.go  |  2 +-
 pkg/virt-launcher/virtwrap/api/schema_test.go | 10 ++
 pkg/virt-launcher/virtwrap/converter/converter.go |  2 +-
 pkg/virt-launcher/virtwrap/converter/pci-placement.go |  4 ++--
 5 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/pkg/virt-launcher/virtwrap/api/deepcopy_generated.go 
b/pkg/virt-launcher/virtwrap/api/deepcopy_generated.go
index b5cb529e2..c1d3a781a 100644
--- a/pkg/virt-launcher/virtwrap/api/deepcopy_generated.go
+++ b/pkg/virt-launcher/virtwrap/api/deepcopy_generated.go
@@ -736,10 +736,12 @@ func (in *Devices) DeepCopyInto(out *Devices) {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
-   if in.Watchdog != nil {
-   in, out := , 
-   *out = new(Watchdog)
-   (*in).DeepCopyInto(*out)
+   if in.Watchdogs != nil {
+   in, out := , 
+   *out = make([]Watchdog, len(*in))
+   for i := range *in {
+   (*in)[i].DeepCopyInto(&(*out)[i])
+   }
}
if in.Rng != nil {
in, out := , 
diff --git a/pkg/virt-launcher/virtwrap/api/schema.go 
b/pkg/virt-launcher/virtwrap/api/schema.go
index 465c6c6c1..ff4e6e959 100644
--- a/pkg/virt-launcher/virtwrap/api/schema.go
+++ b/pkg/virt-launcher/virtwrap/api/schema.go
@@ -473,7 +473,7 @@ type Devices struct {
Inputs  []Input`xml:"input"`
Serials []Serial   `xml:"serial"`
Consoles[]Console  `xml:"console"`
-   Watchdog*Watchdog  `xml:"watchdog,omitempty"`
+   Watchdogs   []Watchdog `xml:"watchdog,omitempty"`
Rng *Rng   `xml:"rng,omitempty"`
Filesystems []FilesystemDevice `xml:"filesystem,omitempty"`
Redirs  []RedirectedDevice `xml:"redirdev,omitempty"`
diff --git a/pkg/virt-launcher/virtwrap/api/schema_test.go 

commit kubevirt for openSUSE:Factory

2023-07-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2023-07-18 22:08:43

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.3193 (New)


Package is "kubevirt"

Tue Jul 18 22:08:43 2023 rev:60 rq:1099271 version:1.0.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2023-07-13 
17:19:19.161390212 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.3193/kubevirt.changes  
2023-07-18 22:09:09.695336911 +0200
@@ -1,0 +2,10 @@
+Fri Jul 14 05:22:41 UTC 2023 - Vasily Ulyanov 
+
+- Access ksm sysfs from the host filesystem
+  0002-ksm-Access-sysfs-from-the-host-filesystem.patch
+- Remove duplicated virtiofs tests
+  0003-Virtiofs-Remove-duplicated-functional-tests.patch
+- Fix SCSI Persistent Reservations tests
+  0004-tests-leave-some-space-for-metadata-on-the-backend-P.patch
+
+---

New:

  0002-ksm-Access-sysfs-from-the-host-filesystem.patch
  0003-Virtiofs-Remove-duplicated-functional-tests.patch
  0004-tests-leave-some-space-for-metadata-on-the-backend-P.patch



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.J6ZCT3/_old  2023-07-18 22:09:11.279345766 +0200
+++ /var/tmp/diff_new_pack.J6ZCT3/_new  2023-07-18 22:09:11.303345900 +0200
@@ -29,6 +29,9 @@
 Source3:%{url}/releases/download/v%{version}/disks-images-provider.yaml
 Source100:  %{name}-rpmlintrc
 Patch1: 0001-Fix-qemu-system-lookup.patch
+Patch2: 0002-ksm-Access-sysfs-from-the-host-filesystem.patch
+Patch3: 0003-Virtiofs-Remove-duplicated-functional-tests.patch
+Patch4: 0004-tests-leave-some-space-for-metadata-on-the-backend-P.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ 0002-ksm-Access-sysfs-from-the-host-filesystem.patch ++
>From b32657feb4529888cb9d233deee8986395469c0f Mon Sep 17 00:00:00 2001
From: Vasiliy Ulyanov 
Date: Thu, 13 Jul 2023 16:24:48 +0200
Subject: [PATCH] ksm: Access sysfs from the host filesystem

In some environments, sysfs is mounted read-only even for privileged
containers. Use the ksm path from the host filesystem.

Related issue: https://github.com/containerd/containerd/issues/8445

Co-authored-by: Luboslav Pivarc 
Signed-off-by: Vasiliy Ulyanov 
Signed-off-by: Luboslav Pivarc 
---
 pkg/virt-handler/node-labeller/node_labeller.go | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pkg/virt-handler/node-labeller/node_labeller.go 
b/pkg/virt-handler/node-labeller/node_labeller.go
index f5eba812e..ec1852a34 100644
--- a/pkg/virt-handler/node-labeller/node_labeller.go
+++ b/pkg/virt-handler/node-labeller/node_labeller.go
@@ -50,7 +50,10 @@ import (
"kubevirt.io/kubevirt/pkg/virt-handler/node-labeller/util"
 )
 
-const ksmPath = "/sys/kernel/mm/ksm/run"
+// In some environments, sysfs is mounted read-only even for privileged
+// containers: https://github.com/containerd/containerd/issues/8445.
+// Use the path from the host filesystem.
+const ksmPath = "/proc/1/root/sys/kernel/mm/ksm/run"
 
 var nodeLabellerLabels = []string{
util.DeprecatedLabelNamespace + util.DeprecatedcpuModelPrefix,
-- 
2.41.0


++ 0003-Virtiofs-Remove-duplicated-functional-tests.patch ++
>From 039a1749c4326fe8937a38e67dd7674eb1d1f3a8 Mon Sep 17 00:00:00 2001
From: Javier Cano Cano 
Date: Tue, 2 May 2023 11:33:02 +0200
Subject: [PATCH] Virtiofs: Remove duplicated functional tests

Removes virtiofs test located in tests/storage/storage.go
which are already present in tests/virtiofs/datavolume.go.

Signed-off-by: Javier Cano Cano 
---
 tests/storage/storage.go | 257 ---
 tests/virtiofs/BUILD.bazel   |   3 +
 tests/virtiofs/datavolume.go |  62 -
 3 files changed, 62 insertions(+), 260 deletions(-)

diff --git a/tests/storage/storage.go b/tests/storage/storage.go
index 672ba2355..3e5963139 100644
--- a/tests/storage/storage.go
+++ b/tests/storage/storage.go
@@ -346,264 +346,7 @@ var _ = SIGDescribe("Storage", func() {
})
 
})
-   Context("VirtIO-FS with multiple PVCs", func() {
-   pvc1 := "pvc-1"
-   pvc2 := "pvc-2"
-   createPVC := func(name string) {
-   sc, _ := 
libstorage.GetRWXFileSystemStorageClass()
-   pvc := libstorage.NewPVC(name, "1Gi", sc)
-   _, err = 
virtClient.CoreV1().PersistentVolumeClaims(testsuite.NamespacePrivileged).Create(context.Background(),
 pvc, 

commit kubevirt for openSUSE:Factory

2023-07-13 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2023-07-13 17:19:16

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.8922 (New)


Package is "kubevirt"

Thu Jul 13 17:19:16 2023 rev:59 rq:1098530 version:1.0.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2023-07-10 
16:40:35.606790585 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.8922/kubevirt.changes  
2023-07-13 17:19:19.161390212 +0200
@@ -1,0 +2,11 @@
+Wed Jul 12 07:54:37 UTC 2023 - Vasily Ulyanov 
+
+- Update to version 1.0.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v1.0.0
+- Drop patches
+  0001-Vulnerability-fix-limit-operator-secrets-permission.patch
+  0002-Fix-qemu-system-lookup.patch
+- Add 0001-Fix-qemu-system-lookup.patch
+- Add registry path for SLE15 SP6
+
+---

Old:

  0001-Vulnerability-fix-limit-operator-secrets-permission.patch
  0002-Fix-qemu-system-lookup.patch
  kubevirt-0.59.2.tar.gz

New:

  0001-Fix-qemu-system-lookup.patch
  kubevirt-1.0.0.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.8W6gTS/_old  2023-07-13 17:19:20.685399206 +0200
+++ /var/tmp/diff_new_pack.8W6gTS/_new  2023-07-13 17:19:20.689399230 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.59.2
+Version:1.0.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0
@@ -28,8 +28,7 @@
 Source2:kubevirt_containers_meta.service
 Source3:%{url}/releases/download/v%{version}/disks-images-provider.yaml
 Source100:  %{name}-rpmlintrc
-Patch0: 0001-Vulnerability-fix-limit-operator-secrets-permission.patch
-Patch1: 0002-Fix-qemu-system-lookup.patch
+Patch1: 0001-Fix-qemu-system-lookup.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig
@@ -107,6 +106,14 @@
 %descriptionvirt-operator
 The virt-opertor package provides an operator for kubevirt CRD
 
+%packagepr-helper-conf
+Summary:Configuration files for persistent reservation helper
+Group:  System/Packages
+
+%descriptionpr-helper-conf
+The pr-helper-conf package provides configuration files for persistent
+reservation helper
+
 %packagemanifests
 Summary:YAML manifests used to install kubevirt
 Group:  System/Packages
@@ -173,6 +180,11 @@
 labelprefix=com.suse.kubevirt
 registry=registry.suse.com
 ;;
+150600:0)
+tagprefix=suse/sles/15.6
+labelprefix=com.suse.kubevirt
+registry=registry.suse.com
+;;
 *:1)
 tagprefix=kubevirt
 labelprefix=org.opensuse.kubevirt
@@ -255,6 +267,10 @@
 # virt-launcher SELinux policy needs to land in virt-handler container
 install -p -m 0644 cmd/virt-handler/virt_launcher.cil 
%{buildroot}%{_datadir}/kube-virt/virt-handler/
 
+# Persistent reservation helper configuration files
+mkdir -p %{buildroot}%{_datadir}/kube-virt/pr-helper
+install -p -m 0644 cmd/pr-helper/multipath.conf 
%{buildroot}%{_datadir}/kube-virt/pr-helper/
+
 # Install release manifests
 mkdir -p %{buildroot}%{_datadir}/kube-virt/manifests/release
 install -m 0644 _out/manifests/release/kubevirt-operator.yaml 
%{buildroot}%{_datadir}/kube-virt/manifests/release/
@@ -326,6 +342,13 @@
 %doc README.md
 %{_bindir}/virt-operator
 
+%files pr-helper-conf
+%license LICENSE
+%doc README.md
+%dir %{_datadir}/kube-virt
+%dir %{_datadir}/kube-virt/pr-helper
+%{_datadir}/kube-virt/pr-helper
+
 %files manifests
 %license LICENSE
 %doc README.md

++ 0002-Fix-qemu-system-lookup.patch -> 0001-Fix-qemu-system-lookup.patch 
++

++ _service ++
--- /var/tmp/diff_new_pack.8W6gTS/_old  2023-07-13 17:19:20.745399560 +0200
+++ /var/tmp/diff_new_pack.8W6gTS/_new  2023-07-13 17:19:20.749399584 +0200
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.59.2
+v1.0.0
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.8W6gTS/_old  2023-07-13 17:19:20.769399702 +0200
+++ /var/tmp/diff_new_pack.8W6gTS/_new  2023-07-13 17:19:20.773399725 +0200
@@ -22,7 +22,7 @@
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v0.59.2
+  image: quay.io/kubevirt/disks-images-provider:v1.0.0
   imagePullPolicy: Always
   lifecycle:
 preStop:

++ kubevirt-0.59.2.tar.gz -> kubevirt-1.0.0.tar.gz ++

commit kubevirt for openSUSE:Factory

2023-07-10 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2023-07-10 16:40:35

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.23466 (New)


Package is "kubevirt"

Mon Jul 10 16:40:35 2023 rev:58 rq:1097921 version:0.59.2

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2023-06-21 
22:40:32.922620162 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.23466/kubevirt.changes 
2023-07-10 16:40:35.606790585 +0200
@@ -1,0 +2,6 @@
+Mon Jul 10 11:19:52 UTC 2023 - Vasily Ulyanov 
+
+- Fix qemu-system- process lookup
+  0002-Fix-qemu-system-lookup.patch
+
+---

New:

  0002-Fix-qemu-system-lookup.patch



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.hjV9iH/_old  2023-07-10 16:40:37.246800359 +0200
+++ /var/tmp/diff_new_pack.hjV9iH/_new  2023-07-10 16:40:37.298800669 +0200
@@ -29,6 +29,7 @@
 Source3:%{url}/releases/download/v%{version}/disks-images-provider.yaml
 Source100:  %{name}-rpmlintrc
 Patch0: 0001-Vulnerability-fix-limit-operator-secrets-permission.patch
+Patch1: 0002-Fix-qemu-system-lookup.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ 0002-Fix-qemu-system-lookup.patch ++
>From c4d429f3edffaaf8086f6cd22821b42ce2cf60c0 Mon Sep 17 00:00:00 2001
From: Vasiliy Ulyanov 
Date: Tue, 4 Jul 2023 13:27:25 +0200
Subject: [PATCH 1/2] Lookup qemu process by executable prefix

Exact matching with 'qemu-system' does not work since the executable
name also includes a suffix with current architecture, e.g.
qemu-system-x86_64. This leads to errors of type:

no QEMU process found under process 16427 child processes

Signed-off-by: Vasiliy Ulyanov 
---
 pkg/virt-handler/isolation/detector.go  |  6 +++---
 pkg/virt-handler/isolation/detector_test.go |  2 +-
 pkg/virt-handler/isolation/process.go   | 17 -
 pkg/virt-handler/isolation/process_test.go  | 20 ++--
 4 files changed, 26 insertions(+), 19 deletions(-)

diff --git a/pkg/virt-handler/isolation/detector.go 
b/pkg/virt-handler/isolation/detector.go
index 62f920025..a90281824 100644
--- a/pkg/virt-handler/isolation/detector.go
+++ b/pkg/virt-handler/isolation/detector.go
@@ -185,13 +185,13 @@ func AdjustQemuProcessMemoryLimits(podIsoDetector 
PodIsolationDetector, vmi *v1.
return nil
 }
 
-var qemuProcessExecutables = []string{"qemu-system", "qemu-kvm"}
+var qemuProcessExecutablePrefixes = []string{"qemu-system", "qemu-kvm"}
 
 // findIsolatedQemuProcess Returns the first occurrence of the QEMU process 
whose parent is PID"
 func findIsolatedQemuProcess(processes []ps.Process, pid int) (ps.Process, 
error) {
processes = childProcesses(processes, pid)
-   for _, exec := range qemuProcessExecutables {
-   if qemuProcess := lookupProcessByExecutable(processes, exec); 
qemuProcess != nil {
+   for _, execPrefix := range qemuProcessExecutablePrefixes {
+   if qemuProcess := lookupProcessByExecutablePrefix(processes, 
execPrefix); qemuProcess != nil {
return qemuProcess, nil
}
}
diff --git a/pkg/virt-handler/isolation/detector_test.go 
b/pkg/virt-handler/isolation/detector_test.go
index 29486d00d..6ada37918 100644
--- a/pkg/virt-handler/isolation/detector_test.go
+++ b/pkg/virt-handler/isolation/detector_test.go
@@ -132,7 +132,7 @@ var _ = Describe("findIsolatedQemuProcess", func() {
fakeProcess3}
 
qemuKvmProc := ProcessStub{pid: 101, ppid: virtLauncherPid, binary: 
"qemu-kvm"}
-   qemuSystemProc := ProcessStub{pid: 101, ppid: virtLauncherPid, binary: 
"qemu-system"}
+   qemuSystemProc := ProcessStub{pid: 101, ppid: virtLauncherPid, binary: 
"qemu-system-x86_64"}
 
DescribeTable("should return QEMU process",
func(processes []ps.Process, pid int, expectedProcess 
ps.Process) {
diff --git a/pkg/virt-handler/isolation/process.go 
b/pkg/virt-handler/isolation/process.go
index bf3072153..6a99a4d52 100644
--- a/pkg/virt-handler/isolation/process.go
+++ b/pkg/virt-handler/isolation/process.go
@@ -19,7 +19,11 @@
 
 package isolation
 
-import "github.com/mitchellh/go-ps"
+import (
+   "strings"
+
+   "github.com/mitchellh/go-ps"
+)
 
 // childProcesses given a list of processes, it returns the ones that are 
children
 // of the given PID.
@@ -34,11 +38,14 @@ func childProcesses(processes []ps.Process, pid int) 
[]ps.Process {
return childProcesses
 }
 
-// lookupProcessByExecutable 

commit kubevirt for openSUSE:Factory

2023-06-21 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2023-06-21 22:39:27

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.15902 (New)


Package is "kubevirt"

Wed Jun 21 22:39:27 2023 rev:57 rq:1094271 version:0.59.2

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2023-06-06 
19:56:57.130719747 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.15902/kubevirt.changes 
2023-06-21 22:40:32.922620162 +0200
@@ -1,0 +2,6 @@
+Wed Jun 21 05:24:13 UTC 2023 - Vasily Ulyanov 
+
+- Update to version 0.59.2
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.59.2
+
+---

Old:

  kubevirt-0.59.1.tar.gz

New:

  kubevirt-0.59.2.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.RZuZQB/_old  2023-06-21 22:40:33.534623845 +0200
+++ /var/tmp/diff_new_pack.RZuZQB/_new  2023-06-21 22:40:33.538623869 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.59.1
+Version:0.59.2
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0

++ _service ++
--- /var/tmp/diff_new_pack.RZuZQB/_old  2023-06-21 22:40:33.594624206 +0200
+++ /var/tmp/diff_new_pack.RZuZQB/_new  2023-06-21 22:40:33.594624206 +0200
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.59.1
+v0.59.2
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.RZuZQB/_old  2023-06-21 22:40:33.614624326 +0200
+++ /var/tmp/diff_new_pack.RZuZQB/_new  2023-06-21 22:40:33.614624326 +0200
@@ -22,7 +22,7 @@
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v0.59.1
+  image: quay.io/kubevirt/disks-images-provider:v0.59.2
   imagePullPolicy: Always
   lifecycle:
 preStop:

++ kubevirt-0.59.1.tar.gz -> kubevirt-0.59.2.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.59.1.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.15902/kubevirt-0.59.2.tar.gz differ: 
char 12, line 1


commit kubevirt for openSUSE:Factory

2023-06-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2023-06-06 19:56:12

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.15902 (New)


Package is "kubevirt"

Tue Jun  6 19:56:12 2023 rev:56 rq:1091035 version:0.59.1

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2023-05-02 
16:24:23.743720810 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.15902/kubevirt.changes 
2023-06-06 19:56:57.130719747 +0200
@@ -1,0 +2,8 @@
+Tue Jun  6 06:17:00 UTC 2023 - Vasily Ulyanov 
+
+- Update to version 0.59.1
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.59.1
+- Drop upstreamed patches
+  0002-TSC-frequencies-add-250PPM-tolerance.patch
+
+---

Old:

  0002-TSC-frequencies-add-250PPM-tolerance.patch
  kubevirt-0.59.0.tar.gz

New:

  kubevirt-0.59.1.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.BbouQ6/_old  2023-06-06 19:56:57.810723779 +0200
+++ /var/tmp/diff_new_pack.BbouQ6/_new  2023-06-06 19:56:57.818723826 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.59.0
+Version:0.59.1
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0
@@ -29,7 +29,6 @@
 Source3:%{url}/releases/download/v%{version}/disks-images-provider.yaml
 Source100:  %{name}-rpmlintrc
 Patch0: 0001-Vulnerability-fix-limit-operator-secrets-permission.patch
-Patch1: 0002-TSC-frequencies-add-250PPM-tolerance.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ _service ++
--- /var/tmp/diff_new_pack.BbouQ6/_old  2023-06-06 19:56:57.890724254 +0200
+++ /var/tmp/diff_new_pack.BbouQ6/_new  2023-06-06 19:56:57.894724276 +0200
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.59.0
+v0.59.1
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.BbouQ6/_old  2023-06-06 19:56:57.918724419 +0200
+++ /var/tmp/diff_new_pack.BbouQ6/_new  2023-06-06 19:56:57.922724442 +0200
@@ -22,7 +22,7 @@
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v0.59.0
+  image: quay.io/kubevirt/disks-images-provider:v0.59.1
   imagePullPolicy: Always
   lifecycle:
 preStop:

++ kubevirt-0.59.0.tar.gz -> kubevirt-0.59.1.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.59.0.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.15902/kubevirt-0.59.1.tar.gz differ: 
char 12, line 1


commit kubevirt for openSUSE:Factory

2023-05-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2023-05-02 16:19:38

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1533 (New)


Package is "kubevirt"

Tue May  2 16:19:38 2023 rev:55 rq:1084028 version:0.59.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2023-03-17 
17:04:51.621869367 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1533/kubevirt.changes  
2023-05-02 16:24:23.743720810 +0200
@@ -1,0 +2,6 @@
+Tue May  2 12:01:29 UTC 2023 - Vasily Ulyanov 
+
+- TSC frequencies: add 250PPM tolerance (bsc#1210906)
+  0002-TSC-frequencies-add-250PPM-tolerance.patch
+
+---

New:

  0002-TSC-frequencies-add-250PPM-tolerance.patch



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.Ej8Wek/_old  2023-05-02 16:24:24.319724226 +0200
+++ /var/tmp/diff_new_pack.Ej8Wek/_new  2023-05-02 16:24:24.323724250 +0200
@@ -29,6 +29,7 @@
 Source3:%{url}/releases/download/v%{version}/disks-images-provider.yaml
 Source100:  %{name}-rpmlintrc
 Patch0: 0001-Vulnerability-fix-limit-operator-secrets-permission.patch
+Patch1: 0002-TSC-frequencies-add-250PPM-tolerance.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ 0002-TSC-frequencies-add-250PPM-tolerance.patch ++
>From 5b2375575346dc36d63aa2a68174db48a4439dbe Mon Sep 17 00:00:00 2001
From: Jed Lejosne 
Date: Thu, 20 Apr 2023 16:45:47 -0400
Subject: [PATCH] TSC frequencies: add 250PPM tolerance

It is possible to migrate VMs to nodes that have a TSC frequency within 250PPM 
of theirs.
This adds support for it by tagging nodes with VMI frequencies within the 
tolerance range.

Signed-off-by: Jed Lejosne 
---
 pkg/virt-controller/watch/topology/filter.go  |  8 ++
 pkg/virt-controller/watch/topology/tsc.go | 26 ++-
 .../watch/topology/tsc_test.go| 21 ++-
 3 files changed, 42 insertions(+), 13 deletions(-)

diff --git a/pkg/virt-controller/watch/topology/filter.go 
b/pkg/virt-controller/watch/topology/filter.go
index 0108f5a41..ddf05489a 100644
--- a/pkg/virt-controller/watch/topology/filter.go
+++ b/pkg/virt-controller/watch/topology/filter.go
@@ -1,6 +1,8 @@
 package topology
 
 import (
+   "math"
+
v1 "k8s.io/api/core/v1"
 
virtv1 "kubevirt.io/api/core/v1"
@@ -10,6 +12,7 @@ import (
 const TSCFrequencyLabel = virtv1.CPUTimerLabel + "tsc-frequency"
 const TSCFrequencySchedulingLabel = "scheduling.node.kubevirt.io/tsc-frequency"
 const TSCScalableLabel = virtv1.CPUTimerLabel + "tsc-scalable"
+const TSCTolerancePPM float64 = 250
 
 type FilterPredicateFunc func(node *v1.Node) bool
 
@@ -89,3 +92,8 @@ func FilterNodesFromCache(objs []interface{}, predicates 
...FilterPredicateFunc)
}
return match
 }
+
+// ToleranceForFrequency returns TSCTolerancePPM parts per million of freq, 
rounded down to the nearest Hz
+func ToleranceForFrequency(freq int64) int64 {
+   return int64(math.Floor(float64(freq) * (TSCTolerancePPM / 100)))
+}
diff --git a/pkg/virt-controller/watch/topology/tsc.go 
b/pkg/virt-controller/watch/topology/tsc.go
index ebde09aa6..06795deab 100644
--- a/pkg/virt-controller/watch/topology/tsc.go
+++ b/pkg/virt-controller/watch/topology/tsc.go
@@ -85,14 +85,24 @@ func TSCFrequenciesOnNode(node *v1.Node) (frequencies 
[]int64) {
return
 }
 
-func CalculateTSCLabelDiff(frequenciesInUse []int64, frequenciesOnNode 
[]int64, nodeFrequency int64, scalable bool) (toAdd []int64, toRemove []int64) {
-   if scalable {
-   frequenciesInUse = append(frequenciesInUse, nodeFrequency)
-   } else {
-   frequenciesInUse = []int64{nodeFrequency}
+func distance(freq1, freq2 int64) int64 {
+   if freq1 > freq2 {
+   return freq1 - freq2
}
+   return freq2 - freq1
+}
+
+func CalculateTSCLabelDiff(frequenciesInUse []int64, frequenciesOnNode 
[]int64, nodeFrequency int64, scalable bool) (toAdd []int64, toRemove []int64) {
+   frequenciesInUse = append(frequenciesInUse, nodeFrequency)
+   tolerance := ToleranceForFrequency(nodeFrequency)
requiredMap := map[int64]struct{}{}
for _, freq := range frequenciesInUse {
+   if !scalable && distance(freq, nodeFrequency) > tolerance {
+   // A non-scalable node can only accept frequencies that 
are within Qemu's tolerance:
+   // nodeFrequency*(1-0.000250) < acceptableFrequency < 
nodeFrequency*(1+0.000250).
+ 

commit kubevirt for openSUSE:Factory

2023-03-17 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2023-03-17 17:04:32

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.31432 (New)


Package is "kubevirt"

Fri Mar 17 17:04:32 2023 rev:54 rq:1072517 version:0.59.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2023-03-02 
23:04:24.044122861 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.31432/kubevirt.changes 
2023-03-17 17:04:51.621869367 +0100
@@ -1,0 +2,6 @@
+Thu Mar 16 09:13:41 UTC 2023 - Vasily Ulyanov 
+
+- Limit operator secrets permission (CVE-2023-26484, bsc#1209359)
+  0001-Vulnerability-fix-limit-operator-secrets-permission.patch
+
+---

New:

  0001-Vulnerability-fix-limit-operator-secrets-permission.patch



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.dhFmYD/_old  2023-03-17 17:04:52.697875038 +0100
+++ /var/tmp/diff_new_pack.dhFmYD/_new  2023-03-17 17:04:52.701875059 +0100
@@ -28,12 +28,13 @@
 Source2:kubevirt_containers_meta.service
 Source3:%{url}/releases/download/v%{version}/disks-images-provider.yaml
 Source100:  %{name}-rpmlintrc
+Patch0: 0001-Vulnerability-fix-limit-operator-secrets-permission.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig
 BuildRequires:  rsync
 BuildRequires:  sed
-BuildRequires:  golang(API) = 1.19
+BuildRequires:  golang(API) >= 1.19
 BuildRequires:  pkgconfig(libvirt)
 ExclusiveArch:  x86_64 aarch64
 

++ 0001-Vulnerability-fix-limit-operator-secrets-permission.patch ++
 806 lines (skipped)


commit kubevirt for openSUSE:Factory

2023-03-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2023-03-02 23:03:59

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.31432 (New)


Package is "kubevirt"

Thu Mar  2 23:03:59 2023 rev:53 rq:1068627 version:0.59.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2022-12-20 
20:21:53.638340851 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.31432/kubevirt.changes 
2023-03-02 23:04:24.044122861 +0100
@@ -1,0 +2,9 @@
+Thu Mar  2 07:12:05 UTC 2023 - Vasily Ulyanov 
+
+- Update to version 0.59.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.59.0
+- Drop upstreamed patches
+  0001-guestfs-flag-to-set-uid-and-gid.patch
+  0002-network-Use-JSON-syntax-for-slirp-device.patch
+
+---

Old:

  0001-guestfs-flag-to-set-uid-and-gid.patch
  0002-network-Use-JSON-syntax-for-slirp-device.patch
  kubevirt-0.58.0.tar.gz

New:

  kubevirt-0.59.0.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.Zw4KGx/_old  2023-03-02 23:04:24.948127377 +0100
+++ /var/tmp/diff_new_pack.Zw4KGx/_new  2023-03-02 23:04:24.952127397 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kubevirt
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.58.0
+Version:0.59.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0
@@ -28,14 +28,12 @@
 Source2:kubevirt_containers_meta.service
 Source3:%{url}/releases/download/v%{version}/disks-images-provider.yaml
 Source100:  %{name}-rpmlintrc
-Patch0: 0001-guestfs-flag-to-set-uid-and-gid.patch
-Patch1: 0002-network-Use-JSON-syntax-for-slirp-device.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig
 BuildRequires:  rsync
 BuildRequires:  sed
-BuildRequires:  golang(API) = 1.17
+BuildRequires:  golang(API) = 1.19
 BuildRequires:  pkgconfig(libvirt)
 ExclusiveArch:  x86_64 aarch64
 
@@ -248,14 +246,12 @@
 install -p -m 0755 _out/tests/tests.test %{buildroot}%{_bindir}/virt-tests
 install -p -m 0755 cmd/virt-launcher/node-labeller/node-labeller.sh 
%{buildroot}%{_bindir}/
 
-# virt-launcher SELinux policy needs to land in virt-handler container
-install -p -m 0644 cmd/virt-handler/virt_launcher.cil %{buildroot}/
-
 # Install network stuff
 mkdir -p %{buildroot}%{_datadir}/kube-virt/virt-handler
 install -p -m 0644 cmd/virt-handler/nsswitch.conf 
%{buildroot}%{_datadir}/kube-virt/virt-handler/
-install -p -m 0644 cmd/virt-handler/ipv4-nat.nft 
%{buildroot}%{_datadir}/kube-virt/virt-handler/
-install -p -m 0644 cmd/virt-handler/ipv6-nat.nft 
%{buildroot}%{_datadir}/kube-virt/virt-handler/
+
+# virt-launcher SELinux policy needs to land in virt-handler container
+install -p -m 0644 cmd/virt-handler/virt_launcher.cil 
%{buildroot}%{_datadir}/kube-virt/virt-handler/
 
 # Install release manifests
 mkdir -p %{buildroot}%{_datadir}/kube-virt/manifests/release
@@ -313,7 +309,6 @@
 %{_bindir}/virt-handler
 %{_bindir}/virt-chroot
 %{_datadir}/kube-virt/virt-handler
-/virt_launcher.cil
 
 %files virt-launcher
 %license LICENSE

++ _service ++
--- /var/tmp/diff_new_pack.Zw4KGx/_old  2023-03-02 23:04:25.060127936 +0100
+++ /var/tmp/diff_new_pack.Zw4KGx/_new  2023-03-02 23:04:25.076128017 +0100
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.58.0
+v0.59.0
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.Zw4KGx/_old  2023-03-02 23:04:25.120128236 +0100
+++ /var/tmp/diff_new_pack.Zw4KGx/_new  2023-03-02 23:04:25.132128297 +0100
@@ -22,12 +22,12 @@
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v0.58.0
+  image: quay.io/kubevirt/disks-images-provider:v0.59.0
   imagePullPolicy: Always
   lifecycle:
 preStop:
   exec:
-command: ["/bin/sh","-c","source /etc/bashrc && chroot /host 
losetup -d ${LOOP_DEVICE} && chroot /host umount ${LOOP_DEVICE_HP} && chroot 
/host losetup -d ${LOOP_DEVICE_HP}"]
+command: ["/bin/sh","-c","source /etc/bashrc && chroot /host 
umount ${LOOP_DEVICE_HP} && chroot /host losetup -d ${LOOP_DEVICE_HP}"]
   volumeMounts:
   

commit kubevirt for openSUSE:Factory

2022-12-20 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2022-12-20 20:21:11

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1835 (New)


Package is "kubevirt"

Tue Dec 20 20:21:11 2022 rev:52 rq:1043919 version:0.58.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2022-12-08 
16:52:30.743890930 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1835/kubevirt.changes  
2022-12-20 20:21:53.638340851 +0100
@@ -1,0 +2,6 @@
+Tue Dec 20 10:26:46 UTC 2022 - Vasily Ulyanov 
+
+- Use JSON syntax for slirp device
+  0002-network-Use-JSON-syntax-for-slirp-device.patch
+
+---

New:

  0002-network-Use-JSON-syntax-for-slirp-device.patch



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.1IzsF4/_old  2022-12-20 20:21:54.178343810 +0100
+++ /var/tmp/diff_new_pack.1IzsF4/_new  2022-12-20 20:21:54.186343854 +0100
@@ -29,6 +29,7 @@
 Source3:%{url}/releases/download/v%{version}/disks-images-provider.yaml
 Source100:  %{name}-rpmlintrc
 Patch0: 0001-guestfs-flag-to-set-uid-and-gid.patch
+Patch1: 0002-network-Use-JSON-syntax-for-slirp-device.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ 0002-network-Use-JSON-syntax-for-slirp-device.patch ++
>From 8c4fa60175c11257b93a0328b44e86a044d4 Mon Sep 17 00:00:00 2001
From: Andrea Bolognani 
Date: Wed, 19 Oct 2022 19:32:45 +0200
Subject: [PATCH] network: Use JSON syntax for slirp device

Mixing the key=value syntax with the JSON syntax, which libvirt
now uses, leads to unpredictable results.

Signed-off-by: Andrea Bolognani 
---
 pkg/network/domainspec/generators.go  |  5 +++--
 pkg/network/domainspec/generators_test.go | 12 
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/pkg/network/domainspec/generators.go 
b/pkg/network/domainspec/generators.go
index bf51be780..367d74fdd 100644
--- a/pkg/network/domainspec/generators.go
+++ b/pkg/network/domainspec/generators.go
@@ -230,11 +230,12 @@ func (b *SlirpLibvirtSpecGenerator) Generate() error {
return fmt.Errorf("failed to find interface %s in vmi spec", 
b.vmiSpecIface.Name)
}
 
-   qemuArg := fmt.Sprintf("%s,netdev=%s,id=%s", foundIfaceModelType, 
b.vmiSpecIface.Name, b.vmiSpecIface.Name)
+   qemuArg := fmt.Sprintf(`{"driver":%q,"netdev":%q,"id":%q`, 
foundIfaceModelType, b.vmiSpecIface.Name, b.vmiSpecIface.Name)
if b.vmiSpecIface.MacAddress != "" {
// We assume address was already validated in API layer so just 
pass it to libvirt as-is.
-   qemuArg += fmt.Sprintf(",mac=%s", b.vmiSpecIface.MacAddress)
+   qemuArg += fmt.Sprintf(`,"mac":%q`, b.vmiSpecIface.MacAddress)
}
+   qemuArg += "}"
// Add interface configuration to qemuArgs
b.domain.Spec.QEMUCmd.QEMUArg = append(
b.domain.Spec.QEMUCmd.QEMUArg,
diff --git a/pkg/network/domainspec/generators_test.go 
b/pkg/network/domainspec/generators_test.go
index 7867b7e25..4d2305d30 100644
--- a/pkg/network/domainspec/generators_test.go
+++ b/pkg/network/domainspec/generators_test.go
@@ -20,6 +20,7 @@
 package domainspec
 
 import (
+   "fmt"
"io/ioutil"
"net"
"os"
@@ -84,18 +85,21 @@ var _ = Describe("Pod Network", func() {

Expect(domain.Spec.Devices.Interfaces).To(BeEmpty())

Expect(domain.Spec.QEMUCmd.QEMUArg).To(HaveLen(2))

Expect(domain.Spec.QEMUCmd.QEMUArg[0]).To(Equal(api.Arg{Value: "-device"}))
-   
Expect(domain.Spec.QEMUCmd.QEMUArg[1]).To(Equal(api.Arg{Value: 
"e1000,netdev=default,id=default"}))
+   
Expect(domain.Spec.QEMUCmd.QEMUArg[1]).To(Equal(api.Arg{Value: 
`{"driver":"e1000","netdev":"default","id":"default"}`}))
})
 
It("Should append MAC address to qemu arguments if 
set", func() {
-   
vmi.Spec.Domain.Devices.Interfaces[0].MacAddress = "de-ad-00-00-be-af"
+   mac := "de-ad-00-00-be-af"
+   device := 
fmt.Sprintf(`{"driver":"e1000","netdev":"default","id":"default","mac":%q}`, 
mac)
+
+   
vmi.Spec.Domain.Devices.Interfaces[0].MacAddress = mac
specGenerator := 
NewSlirpLibvirtSpecGenerator([0], domain)

commit kubevirt for openSUSE:Factory

2022-12-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2022-12-08 16:52:21

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1835 (New)


Package is "kubevirt"

Thu Dec  8 16:52:21 2022 rev:51 rq:1041362 version:0.58.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2022-12-01 
19:20:12.314050802 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1835/kubevirt.changes  
2022-12-08 16:52:30.743890930 +0100
@@ -1,0 +2,6 @@
+Thu Dec  8 07:14:45 UTC 2022 - Vasily Ulyanov 
+
+- Fix libguestfs pod startup error
+  0001-guestfs-flag-to-set-uid-and-gid.patch
+
+---

New:

  0001-guestfs-flag-to-set-uid-and-gid.patch



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.F57Qak/_old  2022-12-08 16:52:31.483894725 +0100
+++ /var/tmp/diff_new_pack.F57Qak/_new  2022-12-08 16:52:31.487894745 +0100
@@ -28,6 +28,7 @@
 Source2:kubevirt_containers_meta.service
 Source3:%{url}/releases/download/v%{version}/disks-images-provider.yaml
 Source100:  %{name}-rpmlintrc
+Patch0: 0001-guestfs-flag-to-set-uid-and-gid.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ 0001-guestfs-flag-to-set-uid-and-gid.patch ++
 915 lines (skipped)


commit kubevirt for openSUSE:Factory

2022-12-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2022-12-01 19:20:11

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1835 (New)


Package is "kubevirt"

Thu Dec  1 19:20:11 2022 rev:50 rq:1039305 version:0.58.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2022-10-14 
15:43:38.660029114 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1835/kubevirt.changes  
2022-12-01 19:20:12.314050802 +0100
@@ -1,0 +2,8 @@
+Thu Dec  1 09:16:49 UTC 2022 - Vasily Ulyanov 
+
+- Ensure RPMs and containers are built against the same distro
+- Be more strict when discovering the registry path: error out if the
+  distro is unknown, instead of falling through to 'opensuse' by
+  default
+
+---



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.F90aI5/_old  2022-12-01 19:20:13.138055372 +0100
+++ /var/tmp/diff_new_pack.F90aI5/_new  2022-12-01 19:20:13.158055483 +0100
@@ -171,11 +171,15 @@
 labelprefix=com.suse.kubevirt
 registry=registry.suse.com
 ;;
-*)
+*:1)
 tagprefix=kubevirt
 labelprefix=org.opensuse.kubevirt
 registry=registry.opensuse.org
 ;;
+*)
+echo "Unsupported distro: ${distro}" >&2
+exit 1
+;;
 esac
 
 %if "%{?kubevirt_registry_path}" == ""
@@ -190,6 +194,7 @@
 -e "s#_REGISTRY_#${registry}#g" \
 -e "s#_PKG_VERSION_#%{version}#g" \
 -e "s#_PKG_RELEASE_#%{release}#g" \
+-e "s#_DISTRO_#${distro}#g" \
 %{S:1}
 
 mkdir -p go/src/kubevirt.io go/pkg

++ kubevirt_containers_meta ++
--- /var/tmp/diff_new_pack.F90aI5/_old  2022-12-01 19:20:13.274056126 +0100
+++ /var/tmp/diff_new_pack.F90aI5/_new  2022-12-01 19:20:13.274056126 +0100
@@ -1,10 +1,16 @@
-#!/bin/bash
+#!/bin/bash -xe
 
 TAGPREFIX=_TAGPREFIX_
 LABELPREFIX=_LABELPREFIX_
 REGISTRY=_REGISTRY_
 PKG_VERSION=_PKG_VERSION_
 PKG_RELEASE=_PKG_RELEASE_
+DISTRO=_DISTRO_
+
+# Set HOME=/root as a workaround for
+#   https://github.com/openSUSE/obs-build/issues/901
+_distro=$(HOME=/root rpm --eval 
'%{?sle_version}:%{?is_opensuse}%{!?is_opensuse:0}')
+[ "${DISTRO}" == "${_distro}" ] || exit 1
 
 if [ -n "${pkg}" ]; then
 if rpm -q ${pkg}; then


commit kubevirt for openSUSE:Factory

2022-10-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2022-10-14 15:42:24

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.2275 (New)


Package is "kubevirt"

Fri Oct 14 15:42:24 2022 rev:49 rq:1010572 version:0.58.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2022-10-12 
18:25:14.481746895 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.2275/kubevirt.changes  
2022-10-14 15:43:38.660029114 +0200
@@ -1,0 +2,6 @@
+Fri Oct 14 05:16:27 UTC 2022 - Vasily Ulyanov 
+
+- Update to version 0.58.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.58.0
+
+---

Old:

  kubevirt-0.57.0.tar.gz

New:

  kubevirt-0.58.0.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.FjZ6Gy/_old  2022-10-14 15:43:39.216030042 +0200
+++ /var/tmp/diff_new_pack.FjZ6Gy/_new  2022-10-14 15:43:39.220030049 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.57.0
+Version:0.58.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0

++ _service ++
--- /var/tmp/diff_new_pack.FjZ6Gy/_old  2022-10-14 15:43:39.276030142 +0200
+++ /var/tmp/diff_new_pack.FjZ6Gy/_new  2022-10-14 15:43:39.280030149 +0200
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.57.0
+v0.58.0
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.FjZ6Gy/_old  2022-10-14 15:43:39.304030189 +0200
+++ /var/tmp/diff_new_pack.FjZ6Gy/_new  2022-10-14 15:43:39.308030196 +0200
@@ -16,10 +16,13 @@
 kubevirt.io: disks-images-provider
   name: disks-images-provider
 spec:
+  tolerations:
+- key: CriticalAddonsOnly
+  operator: Exists
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v0.57.0
+  image: quay.io/kubevirt/disks-images-provider:v0.58.0
   imagePullPolicy: Always
   lifecycle:
 preStop:

++ kubevirt-0.57.0.tar.gz -> kubevirt-0.58.0.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.57.0.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.2275/kubevirt-0.58.0.tar.gz differ: 
char 14, line 1


commit kubevirt for openSUSE:Factory

2022-10-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2022-10-12 18:23:59

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.2275 (New)


Package is "kubevirt"

Wed Oct 12 18:23:59 2022 rev:48 rq:1008804 version:0.57.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2022-09-23 
14:15:48.322062636 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.2275/kubevirt.changes  
2022-10-12 18:25:14.481746895 +0200
@@ -4 +4 @@
-- Update SP5 kubevirt registry path
+- Update SP5 kubevirt registry path (bsc#1204140)



Other differences:
--


commit kubevirt for openSUSE:Factory

2022-09-23 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2022-09-23 14:15:13

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.2275 (New)


Package is "kubevirt"

Fri Sep 23 14:15:13 2022 rev:47 rq:1005482 version:0.57.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2022-09-14 
13:45:19.625946362 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.2275/kubevirt.changes  
2022-09-23 14:15:48.322062636 +0200
@@ -1,0 +2,5 @@
+Thu Sep 22 18:52:28 UTC 2022 - Caleb Crane 
+
+- Update SP5 kubevirt registry path
+
+---



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.wjefEJ/_old  2022-09-23 14:15:48.862063895 +0200
+++ /var/tmp/diff_new_pack.wjefEJ/_new  2022-09-23 14:15:48.866063904 +0200
@@ -166,6 +166,11 @@
 labelprefix=com.suse.kubevirt
 registry=registry.suse.com
 ;;
+150500:0)
+tagprefix=suse/sles/15.5
+labelprefix=com.suse.kubevirt
+registry=registry.suse.com
+;;
 *)
 tagprefix=kubevirt
 labelprefix=org.opensuse.kubevirt


commit kubevirt for openSUSE:Factory

2022-09-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2022-09-14 13:45:05

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.2083 (New)


Package is "kubevirt"

Wed Sep 14 13:45:05 2022 rev:46 rq:1003446 version:0.57.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2022-08-30 
14:51:01.348356572 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.2083/kubevirt.changes  
2022-09-14 13:45:19.625946362 +0200
@@ -1,0 +2,6 @@
+Wed Sep 14 06:12:35 UTC 2022 - Vasily Ulyanov 
+
+- Update to version 0.57.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.57.0
+
+---

Old:

  kubevirt-0.56.0.tar.gz

New:

  kubevirt-0.57.0.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.zgVmFS/_old  2022-09-14 13:45:20.437948407 +0200
+++ /var/tmp/diff_new_pack.zgVmFS/_new  2022-09-14 13:45:20.441948417 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.56.0
+Version:0.57.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0

++ _service ++
--- /var/tmp/diff_new_pack.zgVmFS/_old  2022-09-14 13:45:20.493948547 +0200
+++ /var/tmp/diff_new_pack.zgVmFS/_new  2022-09-14 13:45:20.501948567 +0200
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.56.0
+v0.57.0
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.zgVmFS/_old  2022-09-14 13:45:20.529948638 +0200
+++ /var/tmp/diff_new_pack.zgVmFS/_new  2022-09-14 13:45:20.537948658 +0200
@@ -19,7 +19,7 @@
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v0.56.0
+  image: quay.io/kubevirt/disks-images-provider:v0.57.0
   imagePullPolicy: Always
   lifecycle:
 preStop:

++ kubevirt-0.56.0.tar.gz -> kubevirt-0.57.0.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.56.0.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.2083/kubevirt-0.57.0.tar.gz differ: 
char 12, line 1


commit kubevirt for openSUSE:Factory

2022-08-30 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2022-08-30 14:50:11

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.2083 (New)


Package is "kubevirt"

Tue Aug 30 14:50:11 2022 rev:45 rq:1000169 version:0.56.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2022-07-22 
19:21:55.548725786 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.2083/kubevirt.changes  
2022-08-30 14:51:01.348356572 +0200
@@ -1,0 +2,6 @@
+Tue Aug 30 06:30:33 UTC 2022 - Vasily Ulyanov 
+
+- Update to version 0.56.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.56.0
+
+---

Old:

  kubevirt-0.55.0.tar.gz

New:

  kubevirt-0.56.0.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.tszaP5/_old  2022-08-30 14:51:03.060360941 +0200
+++ /var/tmp/diff_new_pack.tszaP5/_new  2022-08-30 14:51:03.064360951 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.55.0
+Version:0.56.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0

++ _service ++
--- /var/tmp/diff_new_pack.tszaP5/_old  2022-08-30 14:51:03.108361063 +0200
+++ /var/tmp/diff_new_pack.tszaP5/_new  2022-08-30 14:51:03.112361074 +0200
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.55.0
+v0.56.0
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.tszaP5/_old  2022-08-30 14:51:03.144361155 +0200
+++ /var/tmp/diff_new_pack.tszaP5/_new  2022-08-30 14:51:03.152361176 +0200
@@ -19,7 +19,7 @@
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v0.55.0
+  image: quay.io/kubevirt/disks-images-provider:v0.56.0
   imagePullPolicy: Always
   lifecycle:
 preStop:

++ kubevirt-0.55.0.tar.gz -> kubevirt-0.56.0.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.55.0.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.2083/kubevirt-0.56.0.tar.gz differ: 
char 14, line 1


commit kubevirt for openSUSE:Factory

2022-07-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2022-07-22 19:21:36

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.21925 (New)


Package is "kubevirt"

Fri Jul 22 19:21:36 2022 rev:44 rq:990688 version:0.55.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2022-07-15 
13:53:15.335578494 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.21925/kubevirt.changes 
2022-07-22 19:21:55.548725786 +0200
@@ -1,0 +2,5 @@
+Thu Jul 21 12:15:22 UTC 2022 - Vasily Ulyanov 
+
+- Build new packages: virt-exportproxy and virt-exportserver
+
+---



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.7U4w3L/_old  2022-07-22 19:21:56.052726564 +0200
+++ /var/tmp/diff_new_pack.7U4w3L/_new  2022-07-22 19:21:56.052726564 +0200
@@ -68,6 +68,22 @@
 %descriptionvirt-controller
 The virt-controller package provides a controller for kubevirt
 
+%packagevirt-exportproxy
+Summary:Export proxy for kubevirt
+Group:  System/Packages
+
+%descriptionvirt-exportproxy
+The virt-exportproxy package provides a proxy for kubevirt to pass
+requests to virt-exportserver
+
+%packagevirt-exportserver
+Summary:Export server for kubevirt
+Group:  System/Packages
+
+%descriptionvirt-exportserver
+The virt-exportserver package provides an http server for kubevirt to
+serve the data of VirtualMachineExport resource in different formats
+
 %packagevirt-handler
 Summary:Handler component for kubevirt
 Group:  System/Packages
@@ -188,6 +204,8 @@
 cmd/virt-api \
 cmd/virt-chroot \
 cmd/virt-controller \
+cmd/virt-exportproxy \
+cmd/virt-exportserver \
 cmd/virt-freezer \
 cmd/virt-handler \
 cmd/virt-launcher \
@@ -207,6 +225,8 @@
 install -p -m 0755 _out/cmd/virt-api/virt-api %{buildroot}%{_bindir}/
 install -p -m 0755 _out/cmd/virt-controller/virt-controller 
%{buildroot}%{_bindir}/
 install -p -m 0755 _out/cmd/virt-chroot/virt-chroot %{buildroot}%{_bindir}/
+install -p -m 0755 _out/cmd/virt-exportproxy/virt-exportproxy 
%{buildroot}%{_bindir}/
+install -p -m 0755 _out/cmd/virt-exportserver/virt-exportserver 
%{buildroot}%{_bindir}/
 install -p -m 0755 _out/cmd/virt-handler/virt-handler %{buildroot}%{_bindir}/
 install -p -m 0755 _out/cmd/virt-launcher/virt-launcher %{buildroot}%{_bindir}/
 install -p -m 0755 _out/cmd/virt-launcher-monitor/virt-launcher-monitor 
%{buildroot}%{_bindir}/
@@ -263,6 +283,16 @@
 %doc README.md
 %{_bindir}/virt-controller
 
+%files virt-exportproxy
+%license LICENSE
+%doc README.md
+%{_bindir}/virt-exportproxy
+
+%files virt-exportserver
+%license LICENSE
+%doc README.md
+%{_bindir}/virt-exportserver
+
 %files virt-handler
 %license LICENSE
 %doc README.md


commit kubevirt for openSUSE:Factory

2022-07-15 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2022-07-15 13:52:56

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1523 (New)


Package is "kubevirt"

Fri Jul 15 13:52:56 2022 rev:43 rq:989374 version:0.55.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2022-06-21 
16:32:51.347850222 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1523/kubevirt.changes  
2022-07-15 13:53:15.335578494 +0200
@@ -1,0 +2,6 @@
+Fri Jul 15 09:58:15 UTC 2022 - Vasily Ulyanov 
+
+- Update to version 0.55.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.55.0
+
+---

Old:

  kubevirt-0.54.0.tar.gz

New:

  kubevirt-0.55.0.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.vFQ9Ll/_old  2022-07-15 13:53:16.023578716 +0200
+++ /var/tmp/diff_new_pack.vFQ9Ll/_new  2022-07-15 13:53:16.027578717 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.54.0
+Version:0.55.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0

++ _service ++
--- /var/tmp/diff_new_pack.vFQ9Ll/_old  2022-07-15 13:53:16.067578730 +0200
+++ /var/tmp/diff_new_pack.vFQ9Ll/_new  2022-07-15 13:53:16.071578731 +0200
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.54.0
+v0.55.0
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.vFQ9Ll/_old  2022-07-15 13:53:16.091578738 +0200
+++ /var/tmp/diff_new_pack.vFQ9Ll/_new  2022-07-15 13:53:16.091578738 +0200
@@ -19,7 +19,7 @@
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v0.54.0
+  image: quay.io/kubevirt/disks-images-provider:v0.55.0
   imagePullPolicy: Always
   lifecycle:
 preStop:

++ kubevirt-0.54.0.tar.gz -> kubevirt-0.55.0.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.54.0.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.1523/kubevirt-0.55.0.tar.gz differ: 
char 12, line 1


commit kubevirt for openSUSE:Factory

2022-06-21 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2022-06-21 16:32:43

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1548 (New)


Package is "kubevirt"

Tue Jun 21 16:32:43 2022 rev:42 rq:984097 version:0.54.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2022-05-12 
22:59:04.780693634 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1548/kubevirt.changes  
2022-06-21 16:32:51.347850222 +0200
@@ -1,0 +2,6 @@
+Tue Jun 21 06:07:07 UTC 2022 - Vasily Ulyanov 
+
+- Update to version 0.54.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.54.0
+
+---

Old:

  kubevirt-0.53.0.tar.gz

New:

  kubevirt-0.54.0.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.1kRp4r/_old  2022-06-21 16:32:52.207851483 +0200
+++ /var/tmp/diff_new_pack.1kRp4r/_new  2022-06-21 16:32:52.211851490 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.53.0
+Version:0.54.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0

++ _service ++
--- /var/tmp/diff_new_pack.1kRp4r/_old  2022-06-21 16:32:52.247851542 +0200
+++ /var/tmp/diff_new_pack.1kRp4r/_new  2022-06-21 16:32:52.251851548 +0200
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.53.0
+v0.54.0
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.1kRp4r/_old  2022-06-21 16:32:52.275851583 +0200
+++ /var/tmp/diff_new_pack.1kRp4r/_new  2022-06-21 16:32:52.279851589 +0200
@@ -19,7 +19,7 @@
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v0.53.0
+  image: quay.io/kubevirt/disks-images-provider:v0.54.0
   imagePullPolicy: Always
   lifecycle:
 preStop:

++ kubevirt-0.53.0.tar.gz -> kubevirt-0.54.0.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.53.0.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.1548/kubevirt-0.54.0.tar.gz differ: 
char 20, line 1


commit kubevirt for openSUSE:Factory

2022-05-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2022-05-12 22:58:36

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1538 (New)


Package is "kubevirt"

Thu May 12 22:58:36 2022 rev:41 rq:976176 version:0.53.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2022-04-11 
23:50:22.134300134 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1538/kubevirt.changes  
2022-05-12 22:59:04.780693634 +0200
@@ -1,0 +2,12 @@
+Mon May  9 15:18:55 UTC 2022 - Vasily Ulyanov 
+
+- Update to version 0.53.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.53.0
+
+---
+Thu Apr 28 06:21:51 UTC 2022 - Vasily Ulyanov 
+
+- Build and pack virt-freezer and virt-probe helpers
+- Increase storage requirements in _constraints
+
+---

Old:

  kubevirt-0.52.0.tar.gz

New:

  kubevirt-0.53.0.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.subxb6/_old  2022-05-12 22:59:05.400694466 +0200
+++ /var/tmp/diff_new_pack.subxb6/_new  2022-05-12 22:59:05.404694472 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.52.0
+Version:0.53.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0
@@ -185,13 +185,16 @@
 KUBEVIRT_GIT_TREE_STATE="clean" \
 build_tests="true" \
 ./hack/build-go.sh install \
-cmd/virtctl \
 cmd/virt-api \
-cmd/virt-controller \
 cmd/virt-chroot \
+cmd/virt-controller \
+cmd/virt-freezer \
 cmd/virt-handler \
 cmd/virt-launcher \
+cmd/virt-launcher-monitor \
 cmd/virt-operator \
+cmd/virt-probe \
+cmd/virtctl \
 %{nil}
 
 env DOCKER_PREFIX=$reg_path DOCKER_TAG=%{version}-%{release} 
KUBEVIRT_NO_BAZEL=true ./hack/build-manifests.sh
@@ -206,6 +209,9 @@
 install -p -m 0755 _out/cmd/virt-chroot/virt-chroot %{buildroot}%{_bindir}/
 install -p -m 0755 _out/cmd/virt-handler/virt-handler %{buildroot}%{_bindir}/
 install -p -m 0755 _out/cmd/virt-launcher/virt-launcher %{buildroot}%{_bindir}/
+install -p -m 0755 _out/cmd/virt-launcher-monitor/virt-launcher-monitor 
%{buildroot}%{_bindir}/
+install -p -m 0755 _out/cmd/virt-freezer/virt-freezer %{buildroot}%{_bindir}/
+install -p -m 0755 _out/cmd/virt-probe/virt-probe %{buildroot}%{_bindir}/
 install -p -m 0755 _out/cmd/virt-operator/virt-operator %{buildroot}%{_bindir}/
 install -p -m 0755 _out/tests/tests.test %{buildroot}%{_bindir}/virt-tests
 install -p -m 0755 cmd/virt-launcher/node-labeller/node-labeller.sh 
%{buildroot}%{_bindir}/
@@ -271,6 +277,9 @@
 %license LICENSE
 %doc README.md
 %{_bindir}/virt-launcher
+%{_bindir}/virt-launcher-monitor
+%{_bindir}/virt-freezer
+%{_bindir}/virt-probe
 %{_bindir}/node-labeller.sh
 
 %files virt-operator

++ _constraints ++
--- /var/tmp/diff_new_pack.subxb6/_old  2022-05-12 22:59:05.444694525 +0200
+++ /var/tmp/diff_new_pack.subxb6/_new  2022-05-12 22:59:05.448694531 +0200
@@ -2,7 +2,7 @@
   
   
 
-  6
+  10
 
   
 

++ _service ++
--- /var/tmp/diff_new_pack.subxb6/_old  2022-05-12 22:59:05.468694557 +0200
+++ /var/tmp/diff_new_pack.subxb6/_new  2022-05-12 22:59:05.476694568 +0200
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.52.0
+v0.53.0
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.subxb6/_old  2022-05-12 22:59:05.500694600 +0200
+++ /var/tmp/diff_new_pack.subxb6/_new  2022-05-12 22:59:05.504694605 +0200
@@ -19,7 +19,7 @@
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v0.52.0
+  image: quay.io/kubevirt/disks-images-provider:v0.53.0
   imagePullPolicy: Always
   lifecycle:
 preStop:

++ kubevirt-0.52.0.tar.gz -> kubevirt-0.53.0.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.52.0.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.1538/kubevirt-0.53.0.tar.gz differ: 
char 29, line 1


commit kubevirt for openSUSE:Factory

2022-04-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2022-04-11 23:48:54

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1900 (New)


Package is "kubevirt"

Mon Apr 11 23:48:54 2022 rev:40 rq:968374 version:0.52.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2022-03-11 
11:45:45.462909839 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1900/kubevirt.changes  
2022-04-11 23:50:22.134300134 +0200
@@ -1,0 +2,6 @@
+Mon Apr 11 07:30:43 UTC 2022 - Vasily Ulyanov 
+
+- Update to version 0.52.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.52.0
+
+---

Old:

  kubevirt-0.51.0.tar.gz

New:

  kubevirt-0.52.0.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.OvHXYk/_old  2022-04-11 23:50:22.770292879 +0200
+++ /var/tmp/diff_new_pack.OvHXYk/_new  2022-04-11 23:50:22.774292833 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.51.0
+Version:0.52.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0

++ _service ++
--- /var/tmp/diff_new_pack.OvHXYk/_old  2022-04-11 23:50:22.822292285 +0200
+++ /var/tmp/diff_new_pack.OvHXYk/_new  2022-04-11 23:50:22.822292285 +0200
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.51.0
+v0.52.0
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.OvHXYk/_old  2022-04-11 23:50:22.846292011 +0200
+++ /var/tmp/diff_new_pack.OvHXYk/_new  2022-04-11 23:50:22.846292011 +0200
@@ -19,7 +19,7 @@
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v0.51.0
+  image: quay.io/kubevirt/disks-images-provider:v0.52.0
   imagePullPolicy: Always
   lifecycle:
 preStop:

++ kubevirt-0.51.0.tar.gz -> kubevirt-0.52.0.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.51.0.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.1900/kubevirt-0.52.0.tar.gz differ: 
char 29, line 1


commit kubevirt for openSUSE:Factory

2022-03-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2022-03-10 22:45:13

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.2349 (New)


Package is "kubevirt"

Thu Mar 10 22:45:13 2022 rev:39 rq:960667 version:0.51.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2022-02-11 
23:08:33.442798094 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.2349/kubevirt.changes  
2022-03-11 11:45:45.462909839 +0100
@@ -1,0 +2,6 @@
+Thu Mar 10 08:12:52 UTC 2022 - Vasily Ulyanov 
+
+- Update to version 0.51.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.51.0
+
+---

Old:

  kubevirt-0.50.0.tar.gz

New:

  kubevirt-0.51.0.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.Um4GDz/_old  2022-03-11 11:45:46.102910556 +0100
+++ /var/tmp/diff_new_pack.Um4GDz/_new  2022-03-11 11:45:46.106910561 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.50.0
+Version:0.51.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0

++ _service ++
--- /var/tmp/diff_new_pack.Um4GDz/_old  2022-03-11 11:45:46.158910619 +0100
+++ /var/tmp/diff_new_pack.Um4GDz/_new  2022-03-11 11:45:46.162910623 +0100
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.50.0
+v0.51.0
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.Um4GDz/_old  2022-03-11 11:45:46.190910655 +0100
+++ /var/tmp/diff_new_pack.Um4GDz/_new  2022-03-11 11:45:46.194910660 +0100
@@ -19,7 +19,7 @@
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v0.50.0
+  image: quay.io/kubevirt/disks-images-provider:v0.51.0
   imagePullPolicy: Always
   lifecycle:
 preStop:

++ kubevirt-0.50.0.tar.gz -> kubevirt-0.51.0.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.50.0.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.2349/kubevirt-0.51.0.tar.gz differ: 
char 42, line 1


commit kubevirt for openSUSE:Factory

2022-02-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2022-02-11 23:07:18

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1956 (New)


Package is "kubevirt"

Fri Feb 11 23:07:18 2022 rev:38 rq:953340 version:0.50.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2022-01-14 
23:15:07.810704882 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1956/kubevirt.changes  
2022-02-11 23:08:33.442798094 +0100
@@ -1,0 +2,12 @@
+Fri Feb 11 05:21:06 UTC 2022 - Vasily Ulyanov 
+
+- Update to version 0.50.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.50.0
+
+---
+Wed Jan 19 13:30:51 UTC 2022 - Vasily Ulyanov 
+
+- Pack nft rules and nsswitch.conf for virt-handler
+- Drop kubevirt-psp-caasp.yaml and cleanup the spec
+
+---

Old:

  kubevirt-0.49.0.tar.gz
  kubevirt-psp-caasp.yaml

New:

  kubevirt-0.50.0.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.FwL8jG/_old  2022-02-11 23:08:34.158800165 +0100
+++ /var/tmp/diff_new_pack.FwL8jG/_new  2022-02-11 23:08:34.162800176 +0100
@@ -17,24 +17,23 @@
 
 
 Name:   kubevirt
-Version:0.49.0
+Version:0.50.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0
 Group:  System/Packages
 URL:https://github.com/kubevirt/kubevirt
 Source0:%{name}-%{version}.tar.gz
-Source1:kubevirt-psp-caasp.yaml
-Source2:kubevirt_containers_meta
-Source3:kubevirt_containers_meta.service
-Source4:
https://github.com/kubevirt/kubevirt/releases/download/v%{version}/disks-images-provider.yaml
+Source1:kubevirt_containers_meta
+Source2:kubevirt_containers_meta.service
+Source3:%{url}/releases/download/v%{version}/disks-images-provider.yaml
 Source100:  %{name}-rpmlintrc
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig
 BuildRequires:  rsync
 BuildRequires:  sed
-BuildRequires:  golang(API) = 1.16
+BuildRequires:  golang(API) = 1.17
 BuildRequires:  pkgconfig(libvirt)
 ExclusiveArch:  x86_64 aarch64
 
@@ -170,7 +169,7 @@
 -e "s#_REGISTRY_#${registry}#g" \
 -e "s#_PKG_VERSION_#%{version}#g" \
 -e "s#_PKG_RELEASE_#%{release}#g" \
-%{S:2}
+%{S:1}
 
 mkdir -p go/src/kubevirt.io go/pkg
 ln -s ../../../ go/src/kubevirt.io/kubevirt
@@ -195,7 +194,7 @@
cmd/virt-operator \
%{nil}
 
-env DOCKER_PREFIX=$reg_path DOCKER_TAG=%{version}-%{release} 
KUBEVIRT_NO_BAZEL=true GO_BUILD=true ./hack/build-manifests.sh
+env DOCKER_PREFIX=$reg_path DOCKER_TAG=%{version}-%{release} 
KUBEVIRT_NO_BAZEL=true ./hack/build-manifests.sh
 
 %install
 mkdir -p %{buildroot}%{_bindir}
@@ -214,28 +213,29 @@
 # virt-launcher SELinux policy needs to land in virt-handler container
 install -p -m 0644 cmd/virt-handler/virt_launcher.cil %{buildroot}/
 
+# Install network stuff
+mkdir -p %{buildroot}%{_datadir}/kube-virt/virt-handler
+install -p -m 0644 cmd/virt-handler/nsswitch.conf 
%{buildroot}%{_datadir}/kube-virt/virt-handler/
+install -p -m 0644 cmd/virt-handler/ipv4-nat.nft 
%{buildroot}%{_datadir}/kube-virt/virt-handler/
+install -p -m 0644 cmd/virt-handler/ipv6-nat.nft 
%{buildroot}%{_datadir}/kube-virt/virt-handler/
+
 # Install release manifests
 mkdir -p %{buildroot}%{_datadir}/kube-virt/manifests/release
 install -m 0644 _out/manifests/release/kubevirt-operator.yaml 
%{buildroot}%{_datadir}/kube-virt/manifests/release/
 install -m 0644 _out/manifests/release/kubevirt-cr.yaml 
%{buildroot}%{_datadir}/kube-virt/manifests/release/
-# TODO:
-# Create a proper Pod Security Policy (PSP) for KubeVirt. For now, add one
-# that uses the CaaSP privileged PSP. It can be used with CaaSP-based
-# Kubernetes clusters.
-install -m 644 %{S:1} %{buildroot}/%{_datadir}/kube-virt/manifests/release/
 
 # Install manifests for testing
 mkdir -p %{buildroot}%{_datadir}/kube-virt/manifests/testing
 install -m 0644 _out/manifests/testing/* 
%{buildroot}%{_datadir}/kube-virt/manifests/testing/
 # The generated disks-images-provider.yaml refers to nonexistent container
 # images. Overwrite it with the upstream version for testing.
-install -m 0644 %{S:4} %{buildroot}/%{_datadir}/kube-virt/manifests/testing/
+install -m 0644 %{S:3} %{buildroot}/%{_datadir}/kube-virt/manifests/testing/
 install -m 0644 tests/default-config.json 
%{buildroot}%{_datadir}/kube-virt/manifests/testing/
 
 # Install kubevirt_containers_meta 

commit kubevirt for openSUSE:Factory

2022-01-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2022-01-14 23:13:35

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1892 (New)


Package is "kubevirt"

Fri Jan 14 23:13:35 2022 rev:37 rq:946481 version:0.49.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2022-01-13 
00:23:16.963969639 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1892/kubevirt.changes  
2022-01-14 23:15:07.810704882 +0100
@@ -14,0 +15,5 @@
+Fri Dec  3 14:13:32 UTC 2021 - Guillaume GARDET 
+
+- Enable build on aarch64
+
+---



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.If16NP/_old  2022-01-14 23:15:08.374705245 +0100
+++ /var/tmp/diff_new_pack.If16NP/_new  2022-01-14 23:15:08.378705248 +0100
@@ -36,7 +36,7 @@
 BuildRequires:  sed
 BuildRequires:  golang(API) = 1.16
 BuildRequires:  pkgconfig(libvirt)
-ExclusiveArch:  x86_64
+ExclusiveArch:  x86_64 aarch64
 
 %description
 Kubevirt is a virtual machine management add-on for Kubernetes


commit kubevirt for openSUSE:Factory

2022-01-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2022-01-13 00:22:22

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1892 (New)


Package is "kubevirt"

Thu Jan 13 00:22:22 2022 rev:36 rq:945742 version:0.49.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-12-16 
21:20:50.446556136 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1892/kubevirt.changes  
2022-01-13 00:23:16.963969639 +0100
@@ -1,0 +2,7 @@
+Wed Jan 12 06:29:18 UTC 2022 - Vasily Ulyanov 
+
+- Update to version 0.49.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.49.0
+  Includes the fix for CVE-2021-43565 (bsc#1193930)
+
+---

Old:

  kubevirt-0.48.1.tar.gz

New:

  kubevirt-0.49.0.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.0Zef51/_old  2022-01-13 00:23:17.611970105 +0100
+++ /var/tmp/diff_new_pack.0Zef51/_new  2022-01-13 00:23:17.615970108 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kubevirt
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.48.1
+Version:0.49.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0

++ _service ++
--- /var/tmp/diff_new_pack.0Zef51/_old  2022-01-13 00:23:17.671970149 +0100
+++ /var/tmp/diff_new_pack.0Zef51/_new  2022-01-13 00:23:17.671970149 +0100
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.48.1
+v0.49.0
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.0Zef51/_old  2022-01-13 00:23:17.691970163 +0100
+++ /var/tmp/diff_new_pack.0Zef51/_new  2022-01-13 00:23:17.695970166 +0100
@@ -19,7 +19,7 @@
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v0.48.1
+  image: quay.io/kubevirt/disks-images-provider:v0.49.0
   imagePullPolicy: Always
   lifecycle:
 preStop:

++ kubevirt-0.48.1.tar.gz -> kubevirt-0.49.0.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.48.1.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.1892/kubevirt-0.49.0.tar.gz differ: 
char 13, line 1


commit kubevirt for openSUSE:Factory

2021-12-16 Thread Source-Sync
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-12-16 21:19:35

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.2520 (New)


Package is "kubevirt"

Thu Dec 16 21:19:35 2021 rev:35 rq:940829 version:0.48.1

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-11-27 
00:52:17.806600620 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.2520/kubevirt.changes  
2021-12-16 21:20:50.446556136 +0100
@@ -1,0 +2,6 @@
+Thu Dec 16 07:23:09 UTC 2021 - Vasily Ulyanov 
+
+- Update to version 0.48.1
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.48.1
+
+---

Old:

  kubevirt-0.47.1.tar.gz

New:

  kubevirt-0.48.1.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.WYTLrW/_old  2021-12-16 21:20:51.038556361 +0100
+++ /var/tmp/diff_new_pack.WYTLrW/_new  2021-12-16 21:20:51.046556365 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.47.1
+Version:0.48.1
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0

++ _service ++
--- /var/tmp/diff_new_pack.WYTLrW/_old  2021-12-16 21:20:51.086556379 +0100
+++ /var/tmp/diff_new_pack.WYTLrW/_new  2021-12-16 21:20:51.090556381 +0100
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.47.1
+v0.48.1
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.WYTLrW/_old  2021-12-16 21:20:51.110556389 +0100
+++ /var/tmp/diff_new_pack.WYTLrW/_new  2021-12-16 21:20:51.110556389 +0100
@@ -19,7 +19,7 @@
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v0.47.1
+  image: quay.io/kubevirt/disks-images-provider:v0.48.1
   imagePullPolicy: Always
   lifecycle:
 preStop:

++ kubevirt-0.47.1.tar.gz -> kubevirt-0.48.1.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.47.1.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.2520/kubevirt-0.48.1.tar.gz differ: 
char 14, line 1


commit kubevirt for openSUSE:Factory

2021-11-26 Thread Source-Sync
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-11-27 00:51:27

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1895 (New)


Package is "kubevirt"

Sat Nov 27 00:51:27 2021 rev:34 rq:933994 version:0.47.1

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-11-13 
22:49:02.333273566 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1895/kubevirt.changes  
2021-11-27 00:52:17.806600620 +0100
@@ -1,0 +2,5 @@
+Fri Nov 26 05:49:31 UTC 2021 - Vasily Ulyanov 
+
+- Detect SLE15 SP4 build environment
+
+---



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.WZgvmN/_old  2021-11-27 00:52:18.374598659 +0100
+++ /var/tmp/diff_new_pack.WZgvmN/_new  2021-11-27 00:52:18.374598659 +0100
@@ -146,6 +146,11 @@
 labelprefix=com.suse.kubevirt
 registry=registry.suse.com
 ;;
+150400:0)
+tagprefix=suse/sles/15.4
+labelprefix=com.suse.kubevirt
+registry=registry.suse.com
+;;
 *)
 tagprefix=kubevirt
 labelprefix=org.opensuse.kubevirt


commit kubevirt for openSUSE:Factory

2021-11-13 Thread Source-Sync
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-11-13 22:48:30

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1890 (New)


Package is "kubevirt"

Sat Nov 13 22:48:30 2021 rev:33 rq:931162 version:0.47.1

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-10-26 
20:13:57.506018194 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1890/kubevirt.changes  
2021-11-13 22:49:02.333273566 +0100
@@ -1,0 +2,6 @@
+Fri Nov 12 05:56:34 UTC 2021 - Vasily Ulyanov 
+
+- Update to version 0.47.1
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.47.1
+
+---

Old:

  kubevirt-0.46.0.tar.gz

New:

  kubevirt-0.47.1.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.hwX5EK/_old  2021-11-13 22:49:02.917274015 +0100
+++ /var/tmp/diff_new_pack.hwX5EK/_new  2021-11-13 22:49:02.921274018 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.46.0
+Version:0.47.1
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0
@@ -190,7 +190,7 @@
cmd/virt-operator \
%{nil}
 
-env DOCKER_PREFIX=$reg_path DOCKER_TAG=%{version}-%{release} GO_BUILD=true 
./hack/build-manifests.sh
+env DOCKER_PREFIX=$reg_path DOCKER_TAG=%{version}-%{release} 
KUBEVIRT_NO_BAZEL=true GO_BUILD=true ./hack/build-manifests.sh
 
 %install
 mkdir -p %{buildroot}%{_bindir}

++ _service ++
--- /var/tmp/diff_new_pack.hwX5EK/_old  2021-11-13 22:49:02.961274049 +0100
+++ /var/tmp/diff_new_pack.hwX5EK/_new  2021-11-13 22:49:02.961274049 +0100
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.46.0
+v0.47.1
 git
 disable
 https://github.com/kubevirt/kubevirt

++ disks-images-provider.yaml ++
--- /var/tmp/diff_new_pack.hwX5EK/_old  2021-11-13 22:49:02.985274067 +0100
+++ /var/tmp/diff_new_pack.hwX5EK/_new  2021-11-13 22:49:02.985274067 +0100
@@ -19,7 +19,7 @@
   serviceAccountName: kubevirt-testing
   containers:
 - name: target
-  image: quay.io/kubevirt/disks-images-provider:v0.46.0
+  image: quay.io/kubevirt/disks-images-provider:v0.47.1
   imagePullPolicy: Always
   lifecycle:
 preStop:

++ kubevirt-0.46.0.tar.gz -> kubevirt-0.47.1.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.46.0.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.1890/kubevirt-0.47.1.tar.gz differ: 
char 91, line 2


commit kubevirt for openSUSE:Factory

2021-10-26 Thread Source-Sync
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-10-26 20:13:38

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1890 (New)


Package is "kubevirt"

Tue Oct 26 20:13:38 2021 rev:32 rq:927407 version:0.46.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-10-13 
18:11:01.223738620 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1890/kubevirt.changes  
2021-10-26 20:13:57.506018194 +0200
@@ -1,0 +2,7 @@
+Tue Oct 19 16:24:09 UTC 2021 - Vasily Ulyanov 
+
+- Pack only kubevirt-{operator,cr}.yaml into manifests
+- Include manifests/testing/* into tests package
+- Use disks-images-provider.yaml from upstream
+
+---

New:

  disks-images-provider.yaml



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.7s2Wu6/_old  2021-10-26 20:13:58.118018517 +0200
+++ /var/tmp/diff_new_pack.7s2Wu6/_new  2021-10-26 20:13:58.126018522 +0200
@@ -27,6 +27,7 @@
 Source1:kubevirt-psp-caasp.yaml
 Source2:kubevirt_containers_meta
 Source3:kubevirt_containers_meta.service
+Source4:
https://github.com/kubevirt/kubevirt/releases/download/v%{version}/disks-images-provider.yaml
 Source100:  %{name}-rpmlintrc
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
@@ -208,16 +209,23 @@
 # virt-launcher SELinux policy needs to land in virt-handler container
 install -p -m 0644 cmd/virt-handler/virt_launcher.cil %{buildroot}/
 
-mkdir -p %{buildroot}%{_datadir}/kube-virt
-cp -r _out/manifests %{buildroot}%{_datadir}/kube-virt/
-# Dont install OLM manifests
-rm -rf %{buildroot}%{_datadir}/kube-virt/manifests/release/olm
+# Install release manifests
+mkdir -p %{buildroot}%{_datadir}/kube-virt/manifests/release
+install -m 0644 _out/manifests/release/kubevirt-operator.yaml 
%{buildroot}%{_datadir}/kube-virt/manifests/release/
+install -m 0644 _out/manifests/release/kubevirt-cr.yaml 
%{buildroot}%{_datadir}/kube-virt/manifests/release/
 # TODO:
 # Create a proper Pod Security Policy (PSP) for KubeVirt. For now, add one
 # that uses the CaaSP privileged PSP. It can be used with CaaSP-based
 # Kubernetes clusters.
 install -m 644 %{S:1} %{buildroot}/%{_datadir}/kube-virt/manifests/release/
-install -m 0644 tests/default-config.json %{buildroot}%{_datadir}/kube-virt
+
+# Install manifests for testing
+mkdir -p %{buildroot}%{_datadir}/kube-virt/manifests/testing
+install -m 0644 _out/manifests/testing/* 
%{buildroot}%{_datadir}/kube-virt/manifests/testing/
+# The generated disks-images-provider.yaml refers to nonexistent container
+# images. Overwrite it with the upstream version for testing.
+install -m 0644 %{S:4} %{buildroot}/%{_datadir}/kube-virt/manifests/testing/
+install -m 0644 tests/default-config.json 
%{buildroot}%{_datadir}/kube-virt/manifests/testing/
 
 # Install kubevirt_containers_meta build service
 mkdir -p %{buildroot}%{_prefix}/lib/obs/service
@@ -266,14 +274,16 @@
 %license LICENSE
 %doc README.md
 %dir %{_datadir}/kube-virt
-%{_datadir}/kube-virt/manifests
+%dir %{_datadir}/kube-virt/manifests
+%{_datadir}/kube-virt/manifests/release
 
 %files tests
 %license LICENSE
 %doc README.md
 %dir %{_datadir}/kube-virt
+%dir %{_datadir}/kube-virt/manifests
 %{_bindir}/virt-tests
-%{_datadir}/kube-virt/default-config.json
+%{_datadir}/kube-virt/manifests/testing
 
 %files -n obs-service-kubevirt_containers_meta
 %license LICENSE

++ _service ++
--- /var/tmp/diff_new_pack.7s2Wu6/_old  2021-10-26 20:13:58.178018550 +0200
+++ /var/tmp/diff_new_pack.7s2Wu6/_new  2021-10-26 20:13:58.186018554 +0200
@@ -14,4 +14,5 @@
 gz
   
   
+  
 

++ disks-images-provider.yaml ++
apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: disks-images-provider
  namespace: kubevirt
  labels:
kubevirt.io: "disks-images-provider"
spec:
  selector:
matchLabels:
  kubevirt.io: "disks-images-provider"
  template:
metadata:
  labels:
name: disks-images-provider
kubevirt.io: disks-images-provider
  name: disks-images-provider
spec:
  serviceAccountName: kubevirt-testing
  containers:
- name: target
  image: quay.io/kubevirt/disks-images-provider:v0.46.0
  imagePullPolicy: Always
  lifecycle:
preStop:
  exec:
command: ["/bin/sh","-c","source /etc/bashrc && chroot /host 
losetup -d ${LOOP_DEVICE} && chroot /host umount ${LOOP_DEVICE_HP} && chroot 
/host losetup -d ${LOOP_DEVICE_HP}"]
  volumeMounts:
  - name: images
mountPath: 

commit kubevirt for openSUSE:Factory

2021-10-13 Thread Source-Sync
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-10-13 18:06:25

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.2443 (New)


Package is "kubevirt"

Wed Oct 13 18:06:25 2021 rev:31 rq:925072 version:0.46.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-09-09 
23:08:11.500876048 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.2443/kubevirt.changes  
2021-10-13 18:11:01.223738620 +0200
@@ -1,0 +2,7 @@
+Mon Oct 11 15:02:22 UTC 2021 - Vasily Ulyanov 
+
+- Update to version 0.46.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.46.0
+- Drop upstreamed patch 0001-Specify-format-of-the-backing-image.patch
+
+---

Old:

  0001-Specify-format-of-the-backing-image.patch
  kubevirt-0.45.0.tar.gz

New:

  kubevirt-0.46.0.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.mX9F9i/_old  2021-10-13 18:11:02.071739949 +0200
+++ /var/tmp/diff_new_pack.mX9F9i/_new  2021-10-13 18:11:02.075739955 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.45.0
+Version:0.46.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0
@@ -28,7 +28,6 @@
 Source2:kubevirt_containers_meta
 Source3:kubevirt_containers_meta.service
 Source100:  %{name}-rpmlintrc
-Patch0: 0001-Specify-format-of-the-backing-image.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ _service ++
--- /var/tmp/diff_new_pack.mX9F9i/_old  2021-10-13 18:11:02.135740050 +0200
+++ /var/tmp/diff_new_pack.mX9F9i/_new  2021-10-13 18:11:02.135740050 +0200
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.45.0
+v0.46.0
 git
 disable
 https://github.com/kubevirt/kubevirt

++ kubevirt-0.45.0.tar.gz -> kubevirt-0.46.0.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.45.0.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.2443/kubevirt-0.46.0.tar.gz differ: 
char 12, line 1


commit kubevirt for openSUSE:Factory

2021-09-09 Thread Source-Sync
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-09-09 23:07:45

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1899 (New)


Package is "kubevirt"

Thu Sep  9 23:07:45 2021 rev:30 rq:917735 version:0.45.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-09-02 
23:20:37.772577025 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1899/kubevirt.changes  
2021-09-09 23:08:11.500876048 +0200
@@ -1,0 +2,7 @@
+Thu Sep  9 05:01:33 UTC 2021 - Vasily Ulyanov 
+
+- Update to version 0.45.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.45.0
+
+
+---

Old:

  kubevirt-0.44.1.tar.gz

New:

  kubevirt-0.45.0.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.xhVBk2/_old  2021-09-09 23:08:12.048876683 +0200
+++ /var/tmp/diff_new_pack.xhVBk2/_new  2021-09-09 23:08:12.048876683 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.44.1
+Version:0.45.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0

++ 0001-Specify-format-of-the-backing-image.patch ++
--- /var/tmp/diff_new_pack.xhVBk2/_old  2021-09-09 23:08:12.068876707 +0200
+++ /var/tmp/diff_new_pack.xhVBk2/_new  2021-09-09 23:08:12.068876707 +0200
@@ -1,4 +1,4 @@
-From da2d833ad71d79e468a98f23f77db547ca9319e3 Mon Sep 17 00:00:00 2001
+From 9619e0e977af51bf01917dc0f482c06daa32f089 Mon Sep 17 00:00:00 2001
 From: Vasiliy Ulyanov 
 Date: Fri, 27 Aug 2021 13:38:24 +0200
 Subject: [PATCH] Specify format of the backing image
@@ -169,7 +169,7 @@
if err != nil {
return nil, fmt.Errorf("failed to parse disk info: %v", err)
 diff --git a/pkg/virt-launcher/virtwrap/converter/converter.go 
b/pkg/virt-launcher/virtwrap/converter/converter.go
-index 540235aa5..81d6fc8e3 100644
+index ac1ba5a10..eeb0b2eb4 100644
 --- a/pkg/virt-launcher/virtwrap/converter/converter.go
 +++ b/pkg/virt-launcher/virtwrap/converter/converter.go
 @@ -26,10 +26,8 @@ package converter
@@ -189,10 +189,10 @@
PermanentVolumes  map[string]v1.VolumeStatus
 -  DiskType  map[string]*containerdisk.DiskInfo
 +  DiskType  map[string]*ephemeraldisk.DiskInfo
-   SRIOVDevices  []api.HostDevice
SMBios*cmdv1.SMBios
-   GpuDevices[]string
-@@ -452,7 +450,7 @@ func SetDriverCacheMode(disk *api.Disk, directIOChecker 
DirectIOChecker) error {
+   SRIOVDevices  []api.HostDevice
+   LegacyHostDevices []api.HostDevice
+@@ -407,7 +405,7 @@ func SetDriverCacheMode(disk *api.Disk, directIOChecker 
DirectIOChecker) error {
  }
  
  func isPreAllocated(path string) bool {
@@ -201,8 +201,8 @@
if err != nil {
return false
}
-@@ -2021,23 +2019,6 @@ func createHostDevicesFromMdevUUIDList(mdevUuidList 
[]string) ([]api.HostDevice,
-   return hds, nil
+@@ -1873,23 +1871,6 @@ func boolToString(value *bool, defaultPositive bool, 
positive string, negative s
+   return toString(*value)
  }
  
 -func GetImageInfo(imagePath string) (*containerdisk.DiskInfo, error) {
@@ -226,10 +226,10 @@
for _, disk := range vmi.Spec.Domain.Devices.Disks {
if disk.LUN != nil && disk.LUN.Bus == "scsi" {
 diff --git a/pkg/virt-launcher/virtwrap/manager.go 
b/pkg/virt-launcher/virtwrap/manager.go
-index 9c14deed5..1617827c9 100644
+index e559b7292..615c53473 100644
 --- a/pkg/virt-launcher/virtwrap/manager.go
 +++ b/pkg/virt-launcher/virtwrap/manager.go
-@@ -672,7 +672,7 @@ func (l *LibvirtDomainManager) 
generateConverterContext(vmi *v1.VirtualMachineIn
+@@ -640,7 +640,7 @@ func (l *LibvirtDomainManager) 
generateConverterContext(vmi *v1.VirtualMachineIn
// Check if PVC volumes are block volumes
isBlockPVCMap := make(map[string]bool)
isBlockDVMap := make(map[string]bool)
@@ -238,7 +238,7 @@
for i, volume := range vmi.Spec.Volumes {
if volume.VolumeSource.PersistentVolumeClaim != nil {
isBlockPVC := false
-@@ -687,7 +687,7 @@ func (l *LibvirtDomainManager) 
generateConverterContext(vmi *v1.VirtualMachineIn
+@@ -655,7 +655,7 @@ func (l *LibvirtDomainManager) 
generateConverterContext(vmi *v1.VirtualMachineIn
if err != nil {
return nil, err
}
@@ -248,5 +248,5 @@
return nil, err
}
 -- 
-2.32.0
+2.33.0
 

++ _service ++

commit kubevirt for openSUSE:Factory

2021-09-02 Thread Source-Sync
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-09-02 23:20:18

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1899 (New)


Package is "kubevirt"

Thu Sep  2 23:20:18 2021 rev:29 rq:915714 version:0.44.1

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-08-27 
21:44:58.786045700 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1899/kubevirt.changes  
2021-09-02 23:20:37.772577025 +0200
@@ -1,0 +2,6 @@
+Fri Aug 27 11:53:09 UTC 2021 - Vasily Ulyanov 
+
+- Fix issue with recent qemu-img
+  0001-Specify-format-of-the-backing-image.patch
+
+---

New:

  0001-Specify-format-of-the-backing-image.patch



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.TFf71D/_old  2021-09-02 23:20:38.344577738 +0200
+++ /var/tmp/diff_new_pack.TFf71D/_new  2021-09-02 23:20:38.348577743 +0200
@@ -28,6 +28,7 @@
 Source2:kubevirt_containers_meta
 Source3:kubevirt_containers_meta.service
 Source100:  %{name}-rpmlintrc
+Patch0: 0001-Specify-format-of-the-backing-image.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ 0001-Specify-format-of-the-backing-image.patch ++
>From da2d833ad71d79e468a98f23f77db547ca9319e3 Mon Sep 17 00:00:00 2001
From: Vasiliy Ulyanov 
Date: Fri, 27 Aug 2021 13:38:24 +0200
Subject: [PATCH] Specify format of the backing image

Latest qemu-img deprecates use of -b without -F.

Signed-off-by: Vasiliy Ulyanov 
---
 pkg/container-disk/validation.go  | 13 ++---
 pkg/ephemeral-disk/ephemeral-disk.go  | 50 +++
 pkg/virt-handler/isolation/BUILD.bazel|  2 +-
 pkg/virt-handler/isolation/validation.go  |  6 +--
 .../virtwrap/converter/converter.go   | 23 +
 pkg/virt-launcher/virtwrap/manager.go |  4 +-
 6 files changed, 52 insertions(+), 46 deletions(-)

diff --git a/pkg/container-disk/validation.go b/pkg/container-disk/validation.go
index fcc4fa023..4160d4f15 100644
--- a/pkg/container-disk/validation.go
+++ b/pkg/container-disk/validation.go
@@ -2,20 +2,15 @@ package containerdisk
 
 import (
"fmt"
+
+   ephemeraldisk "kubevirt.io/kubevirt/pkg/ephemeral-disk"
 )
 
 const (
DiskSourceFallbackPath = "/disk"
 )
 
-type DiskInfo struct {
-   Format  string `json:"format"`
-   BackingFile string `json:"backing-filename"`
-   ActualSize  int`json:"actual-size"`
-   VirtualSize int`json:"virtual-size"`
-}
-
-func VerifyQCOW2(diskInfo *DiskInfo) error {
+func VerifyQCOW2(diskInfo *ephemeraldisk.DiskInfo) error {
if diskInfo.Format != "qcow2" {
return fmt.Errorf("expected a disk format of qcow2, but got 
'%v'", diskInfo.Format)
}
@@ -26,7 +21,7 @@ func VerifyQCOW2(diskInfo *DiskInfo) error {
return nil
 }
 
-func VerifyImage(diskInfo *DiskInfo) error {
+func VerifyImage(diskInfo *ephemeraldisk.DiskInfo) error {
switch diskInfo.Format {
case "qcow2":
return VerifyQCOW2(diskInfo)
diff --git a/pkg/ephemeral-disk/ephemeral-disk.go 
b/pkg/ephemeral-disk/ephemeral-disk.go
index c88c21f64..fb0a51b32 100644
--- a/pkg/ephemeral-disk/ephemeral-disk.go
+++ b/pkg/ephemeral-disk/ephemeral-disk.go
@@ -20,6 +20,7 @@
 package ephemeraldisk
 
 import (
+   "encoding/json"
"fmt"
"os"
"os/exec"
@@ -34,6 +35,13 @@ const (
ephemeralDiskPVCBaseDir = "/var/run/kubevirt-private/vmi-disks"
 )
 
+type DiskInfo struct {
+   Format  string `json:"format"`
+   BackingFile string `json:"backing-filename"`
+   ActualSize  int`json:"actual-size"`
+   VirtualSize int`json:"virtual-size"`
+}
+
 type EphemeralDiskCreatorInterface interface {
CreateBackedImageForVolume(volume v1.Volume, backingFile string) error
CreateEphemeralImages(vmi *v1.VirtualMachineInstance) error
@@ -130,14 +138,36 @@ func (c *ephemeralDiskCreator) CreateEphemeralImages(vmi 
*v1.VirtualMachineInsta
 }
 
 func createBackingDisk(backingFile string, imagePath string) ([]byte, error) {
-   // #nosec No risk for attacket injection. Parameters are predefined 
strings
-   cmd := exec.Command("qemu-img",
-   "create",
-   "-f",
-   "qcow2",
-   "-b",
-   backingFile,
-   imagePath,
-   )
-   return cmd.CombinedOutput()
+   if backingInfo, err := GetImageInfo(backingFile); err != nil {
+   return nil, err
+   } else 

commit kubevirt for openSUSE:Factory

2021-08-27 Thread Source-Sync
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-08-27 21:43:49

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1899 (New)


Package is "kubevirt"

Fri Aug 27 21:43:49 2021 rev:28 rq:914516 version:0.44.1

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-08-10 
10:28:13.301759997 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1899/kubevirt.changes  
2021-08-27 21:44:58.786045700 +0200
@@ -1,0 +2,6 @@
+Fri Aug 27 05:51:11 UTC 2021 - Vasily Ulyanov 
+
+- Update to version 0.44.1
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.44.1
+
+---

Old:

  kubevirt-0.44.0.tar.gz

New:

  kubevirt-0.44.1.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.vhWm10/_old  2021-08-27 21:44:59.318046335 +0200
+++ /var/tmp/diff_new_pack.vhWm10/_new  2021-08-27 21:44:59.322046340 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.44.0
+Version:0.44.1
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0

++ _service ++
--- /var/tmp/diff_new_pack.vhWm10/_old  2021-08-27 21:44:59.362046387 +0200
+++ /var/tmp/diff_new_pack.vhWm10/_new  2021-08-27 21:44:59.366046392 +0200
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.44.0
+v0.44.1
 git
 disable
 https://github.com/kubevirt/kubevirt

++ kubevirt-0.44.0.tar.gz -> kubevirt-0.44.1.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.44.0.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.1899/kubevirt-0.44.1.tar.gz differ: 
char 12, line 1


commit kubevirt for openSUSE:Factory

2021-08-10 Thread Source-Sync
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-08-10 10:27:40

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1899 (New)


Package is "kubevirt"

Tue Aug 10 10:27:40 2021 rev:27 rq:911083 version:0.44.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-07-13 
22:37:51.069927545 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1899/kubevirt.changes  
2021-08-10 10:28:13.301759997 +0200
@@ -1,0 +2,6 @@
+Mon Aug  9 16:26:50 UTC 2021 - Vasily Ulyanov 
+
+- Update to version 0.44.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.44.0
+
+---

Old:

  kubevirt-0.43.0.tar.gz

New:

  kubevirt-0.44.0.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.JKGvL5/_old  2021-08-10 10:28:13.941759255 +0200
+++ /var/tmp/diff_new_pack.JKGvL5/_new  2021-08-10 10:28:13.949759246 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.43.0
+Version:0.44.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0

++ _service ++
--- /var/tmp/diff_new_pack.JKGvL5/_old  2021-08-10 10:28:14.013759171 +0200
+++ /var/tmp/diff_new_pack.JKGvL5/_new  2021-08-10 10:28:14.017759167 +0200
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.43.0
+v0.44.0
 git
 disable
 https://github.com/kubevirt/kubevirt

++ kubevirt-0.43.0.tar.gz -> kubevirt-0.44.0.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.43.0.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.1899/kubevirt-0.44.0.tar.gz differ: 
char 12, line 1


commit kubevirt for openSUSE:Factory

2021-07-13 Thread Source-Sync
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-07-13 22:37:24

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.2625 (New)


Package is "kubevirt"

Tue Jul 13 22:37:24 2021 rev:26 rq:905983 version:0.43.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-07-05 
22:23:18.357570596 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.2625/kubevirt.changes  
2021-07-13 22:37:51.069927545 +0200
@@ -1,0 +2,8 @@
+Mon Jul 12 14:47:36 UTC 2021 - Vasily Ulyanov 
+
+- Drop upstreamed patch 0002-Don-t-use-Bazel-in-build-manifests.sh.patch
+- Install node-labeller.sh in %{_bindir}
+- Update to version 0.43.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.43.0
+
+---

Old:

  0002-Don-t-use-Bazel-in-build-manifests.sh.patch
  kubevirt-0.42.1.tar.gz

New:

  kubevirt-0.43.0.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.9ntDTS/_old  2021-07-13 22:37:51.585923390 +0200
+++ /var/tmp/diff_new_pack.9ntDTS/_new  2021-07-13 22:37:51.589923357 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.42.1
+Version:0.43.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0
@@ -28,7 +28,6 @@
 Source2:kubevirt_containers_meta
 Source3:kubevirt_containers_meta.service
 Source100:  %{name}-rpmlintrc
-Patch0: 0002-Don-t-use-Bazel-in-build-manifests.sh.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig
@@ -190,7 +189,7 @@
cmd/virt-operator \
%{nil}
 
-env DOCKER_PREFIX=$reg_path DOCKER_TAG=%{version}-%{release} 
./hack/build-manifests.sh
+env DOCKER_PREFIX=$reg_path DOCKER_TAG=%{version}-%{release} GO_BUILD=true 
./hack/build-manifests.sh
 
 %install
 mkdir -p %{buildroot}%{_bindir}
@@ -204,10 +203,7 @@
 install -p -m 0755 _out/cmd/virt-launcher/virt-launcher %{buildroot}%{_bindir}/
 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/
+install -p -m 0755 cmd/virt-launcher/node-labeller/node-labeller.sh 
%{buildroot}%{_bindir}/
 
 # virt-launcher SELinux policy needs to land in virt-handler container
 install -p -m 0644 cmd/virt-handler/virt_launcher.cil %{buildroot}/
@@ -259,7 +255,7 @@
 %license LICENSE
 %doc README.md
 %{_bindir}/virt-launcher
-/bin/node-labeller.sh
+%{_bindir}/node-labeller.sh
 
 %files virt-operator
 %license LICENSE

++ _service ++
--- /var/tmp/diff_new_pack.9ntDTS/_old  2021-07-13 22:37:51.629923035 +0200
+++ /var/tmp/diff_new_pack.9ntDTS/_new  2021-07-13 22:37:51.629923035 +0200
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.42.1
+v0.43.0
 git
 disable
 https://github.com/kubevirt/kubevirt

++ kubevirt-0.42.1.tar.gz -> kubevirt-0.43.0.tar.gz ++
/work/SRC/openSUSE:Factory/kubevirt/kubevirt-0.42.1.tar.gz 
/work/SRC/openSUSE:Factory/.kubevirt.new.2625/kubevirt-0.43.0.tar.gz differ: 
char 18, line 1


commit kubevirt for openSUSE:Factory

2021-07-05 Thread Source-Sync
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-07-05 22:22:52

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.2625 (New)


Package is "kubevirt"

Mon Jul  5 22:22:52 2021 rev:25 rq:904003 version:0.42.1

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-06-15 
16:38:56.729860631 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.2625/kubevirt.changes  
2021-07-05 22:23:18.357570596 +0200
@@ -1,0 +2,5 @@
+Wed Jun 30 05:17:29 UTC 2021 - Vasily Ulyanov 
+
+- Generate meta info for containers during rpm build
+
+---



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.CbOq3I/_old  2021-07-05 22:23:19.037565334 +0200
+++ /var/tmp/diff_new_pack.CbOq3I/_new  2021-07-05 22:23:19.041565303 +0200
@@ -134,20 +134,39 @@
 # If 'kubevirt_registry_path' is not specified, the standard publish location
 # for SLE and openSUSE-based containers is used.
 #
-%if "%{?kubevirt_registry_path}" == ""
-distro='%{?sle_version}:%{is_opensuse}'
+distro='%{?sle_version}:%{?is_opensuse}%{!?is_opensuse:0}'
 case "${distro}" in
 150200:0)
-reg_path='registry.suse.com/suse/sles/15.2' ;;
+tagprefix=suse/sles/15.2
+labelprefix=com.suse.kubevirt
+registry=registry.suse.com
+;;
 150300:0)
-reg_path='registry.suse.com/suse/sles/15.3' ;;
+tagprefix=suse/sles/15.3
+labelprefix=com.suse.kubevirt
+registry=registry.suse.com
+;;
 *)
-reg_path='registry.opensuse.org/kubevirt' ;;
+tagprefix=kubevirt
+labelprefix=org.opensuse.kubevirt
+registry=registry.opensuse.org
+;;
 esac
+
+%if "%{?kubevirt_registry_path}" == ""
+reg_path="${registry}/${tagprefix}"
 %else
-reg_path='%{kubevirt_registry_path}'
+reg_path='%{kubevirt_registry_path}'
 %endif
 
+sed -i"" \
+-e "s#_TAGPREFIX_#${tagprefix}#g" \
+-e "s#_LABELPREFIX_#${labelprefix}#g" \
+-e "s#_REGISTRY_#${registry}#g" \
+-e "s#_PKG_VERSION_#%{version}#g" \
+-e "s#_PKG_RELEASE_#%{release}#g" \
+%{S:2}
+
 mkdir -p go/src/kubevirt.io go/pkg
 ln -s ../../../ go/src/kubevirt.io/kubevirt
 export GOPATH=${PWD}/go

++ kubevirt_containers_meta ++
--- /var/tmp/diff_new_pack.CbOq3I/_old  2021-07-05 22:23:19.185564189 +0200
+++ /var/tmp/diff_new_pack.CbOq3I/_new  2021-07-05 22:23:19.185564189 +0200
@@ -1,23 +1,10 @@
 #!/bin/bash
 
-distro=$(rpm --eval '%{?sle_version}:%{?is_opensuse}%{!?is_opensuse:0}')
-case "${distro}" in
-150200:0)
-TAGPREFIX=suse/sles/15.2
-LABELPREFIX=com.suse.kubevirt
-REGISTRY=registry.suse.com
-;;
-150300:0)
-TAGPREFIX=suse/sles/15.3
-LABELPREFIX=com.suse.kubevirt
-REGISTRY=registry.suse.com
-;;
-*)
-TAGPREFIX=kubevirt
-LABELPREFIX=org.opensuse.kubevirt
-REGISTRY=registry.opensuse.org
-;;
-esac
+TAGPREFIX=_TAGPREFIX_
+LABELPREFIX=_LABELPREFIX_
+REGISTRY=_REGISTRY_
+PKG_VERSION=_PKG_VERSION_
+PKG_RELEASE=_PKG_RELEASE_
 
 if [ -n "${pkg}" ]; then
 if rpm -q ${pkg}; then


commit kubevirt for openSUSE:Factory

2021-06-15 Thread Source-Sync
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-06-15 16:38:18

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.32437 (New)


Package is "kubevirt"

Tue Jun 15 16:38:18 2021 rev:24 rq:900166 version:0.42.1

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-06-14 
23:11:15.088768471 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.32437/kubevirt.changes 
2021-06-15 16:38:56.729860631 +0200
@@ -1,0 +2,11 @@
+Wed Jun  9 07:49:45 UTC 2021 - Vasily Ulyanov 
+
+- Use registry.suse.com as the default fallback for sle
+- Rename macro registry_path to kubevirt_registry_path
+- Switch to golang 1.16
+- Drop 0001-Don-t-build-virtctl-for-darwin-and-windows.patch
+- Drop --skipj2 arg for build-manifests.sh
+- Update to version 0.42.1
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.42.1
+
+---

Old:

  0001-Don-t-build-virtctl-for-darwin-and-windows.patch
  kubevirt-0.41.0.tar.gz

New:

  kubevirt-0.42.1.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.4pUK5k/_old  2021-06-15 16:38:57.169861393 +0200
+++ /var/tmp/diff_new_pack.4pUK5k/_new  2021-06-15 16:38:57.169861393 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.41.0
+Version:0.42.1
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0
@@ -28,14 +28,13 @@
 Source2:kubevirt_containers_meta
 Source3:kubevirt_containers_meta.service
 Source100:  %{name}-rpmlintrc
-Patch0: 0001-Don-t-build-virtctl-for-darwin-and-windows.patch
-Patch1: 0002-Don-t-use-Bazel-in-build-manifests.sh.patch
+Patch0: 0002-Don-t-use-Bazel-in-build-manifests.sh.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig
 BuildRequires:  rsync
 BuildRequires:  sed
-BuildRequires:  golang(API) = 1.13
+BuildRequires:  golang(API) = 1.16
 BuildRequires:  pkgconfig(libvirt)
 ExclusiveArch:  x86_64
 
@@ -121,36 +120,32 @@
 # Hackery to determine which registry path to use in kubevirt-operator.yaml
 # when building the manifests
 #
-# The 'registry_path' macro can be used to define an explicit path in the
-# project config, e.g.
+# The 'kubevirt_registry_path' macro can be used to define an explicit path in
+# the project config, e.g.
 #
 # Macros:
-# %registry_path registry.opensuse.org/Virtualization/container
+# %kubevirt_registry_path registry.opensuse.org/Virtualization/container
 # :Macros
 #
-# 'registry_path' can also be defined when building locally, e.g.
+# 'kubevirt_registry_path' can also be defined when building locally, e.g.
 #
-# osc build --define='registry_path registry.opensuse.org/foo/bar/baz' ...
+# osc build --define='kubevirt_registry_path 
registry.opensuse.org/foo/bar/baz' ...
 #
-# If 'registry_path' is not specified, the standard publish location for SLE 
and
-# openSUSE-based containers is used.
+# If 'kubevirt_registry_path' is not specified, the standard publish location
+# for SLE and openSUSE-based containers is used.
 #
-# TODO:
-# 1. Determine "standard publish location" for SLE and openSUSE variants
-# 2. Support Leap when 1 is done
-#
-%if "%{?registry_path}" == ""
+%if "%{?kubevirt_registry_path}" == ""
 distro='%{?sle_version}:%{is_opensuse}'
 case "${distro}" in
-150200:0)
-   
reg_path='registry.suse.de/suse/containers/sle-server/15/containers/suse/sles/15.2'
 ;;
-150300:0)
-   
reg_path='registry.suse.de/suse/containers/sle-server/15/containers/suse/sles/15.3'
 ;;
-*)
+150200:0)
+reg_path='registry.suse.com/suse/sles/15.2' ;;
+150300:0)
+reg_path='registry.suse.com/suse/sles/15.3' ;;
+*)
reg_path='registry.opensuse.org/kubevirt' ;;
 esac
 %else
-reg_path='%{registry_path}'
+reg_path='%{kubevirt_registry_path}'
 %endif
 
 mkdir -p go/src/kubevirt.io go/pkg
@@ -176,7 +171,7 @@
cmd/virt-operator \
%{nil}
 
-env DOCKER_PREFIX=$reg_path DOCKER_TAG=%{version}-%{release} 
./hack/build-manifests.sh --skipj2
+env DOCKER_PREFIX=$reg_path DOCKER_TAG=%{version}-%{release} 
./hack/build-manifests.sh
 
 %install
 mkdir -p %{buildroot}%{_bindir}

++ _service ++
--- /var/tmp/diff_new_pack.4pUK5k/_old  2021-06-15 16:38:57.205861455 +0200
+++ /var/tmp/diff_new_pack.4pUK5k/_new  2021-06-15 16:38:57.209861462 +0200
@@ -1,7 +1,7 @@
 
   
 kubevirt
-v0.41.0
+v0.42.1
 git
 disable
 https://github.com/kubevirt/kubevirt

++ kubevirt-0.41.0.tar.gz -> kubevirt-0.42.1.tar.gz ++

commit kubevirt for openSUSE:Factory

2021-06-14 Thread Source-Sync
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-06-14 23:10:45

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.32437 (New)


Package is "kubevirt"

Mon Jun 14 23:10:45 2021 rev:23 rq:898405 version:0.41.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-05-23 
00:06:04.754641147 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.32437/kubevirt.changes 
2021-06-14 23:11:15.088768471 +0200
@@ -1,0 +2,5 @@
+Fri Jun  4 11:19:34 UTC 2021 - Fabian Vogt 
+
+- Also specify the registry in kubevirt_containers_meta
+
+---



Other differences:
--
++ kubevirt_containers_meta ++
--- /var/tmp/diff_new_pack.7BzQbC/_old  2021-06-14 23:11:15.672769525 +0200
+++ /var/tmp/diff_new_pack.7BzQbC/_new  2021-06-14 23:11:15.672769525 +0200
@@ -5,14 +5,17 @@
 150200:0)
 TAGPREFIX=suse/sles/15.2
 LABELPREFIX=com.suse.kubevirt
+REGISTRY=registry.suse.com
 ;;
 150300:0)
 TAGPREFIX=suse/sles/15.3
 LABELPREFIX=com.suse.kubevirt
+REGISTRY=registry.suse.com
 ;;
 *)
 TAGPREFIX=kubevirt
 LABELPREFIX=org.opensuse.kubevirt
+REGISTRY=registry.opensuse.org
 ;;
 esac
 


commit kubevirt for openSUSE:Factory

2021-05-22 Thread Source-Sync
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-05-23 00:06:03

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.2988 (New)


Package is "kubevirt"

Sun May 23 00:06:03 2021 rev:22 rq:894862 version:0.41.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-05-20 
19:25:18.321882200 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.2988/kubevirt.changes  
2021-05-23 00:06:04.754641147 +0200
@@ -1,0 +2,17 @@
+Thu May 20 11:34:20 UTC 2021 - Vasily Ulyanov 
+
+- Use git format-patch:
+  0001-Don-t-build-virtctl-for-darwin-and-windows.patch
+  0002-Don-t-use-Bazel-in-build-manifests.sh.patch
+- Drop patches:
+  dont-build-virtctl-darwin.patch
+  dont-use-bazel-in-build-manifests.patch
+  fix-double-free-of-VirDomain.patch
+
+---
+Thu May 20 08:52:49 UTC 2021 - Vasily Ulyanov 
+
+- Update to version 0.41.0
+  Release notes https://github.com/kubevirt/kubevirt/releases/tag/v0.41.0
+
+---

Old:

  dont-build-virtctl-darwin.patch
  dont-use-bazel-in-build-manifests.patch
  fix-double-free-of-VirDomain.patch
  kubevirt-0.40.0.tar.gz

New:

  0001-Don-t-build-virtctl-for-darwin-and-windows.patch
  0002-Don-t-use-Bazel-in-build-manifests.sh.patch
  kubevirt-0.41.0.tar.gz



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.9d5gLR/_old  2021-05-23 00:06:05.258638465 +0200
+++ /var/tmp/diff_new_pack.9d5gLR/_new  2021-05-23 00:06:05.262638444 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   kubevirt
-Version:0.40.0
+Version:0.41.0
 Release:0
 Summary:Container native virtualization
 License:Apache-2.0
@@ -28,9 +28,8 @@
 Source2:kubevirt_containers_meta
 Source3:kubevirt_containers_meta.service
 Source100:  %{name}-rpmlintrc
-Patch0: dont-build-virtctl-darwin.patch
-Patch1: dont-use-bazel-in-build-manifests.patch
-Patch2: fix-double-free-of-VirDomain.patch
+Patch0: 0001-Don-t-build-virtctl-for-darwin-and-windows.patch
+Patch1: 0002-Don-t-use-Bazel-in-build-manifests.sh.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ 0001-Don-t-build-virtctl-for-darwin-and-windows.patch ++
>From f8882298f6a38a61add3af08136e86830cc97796 Mon Sep 17 00:00:00 2001
From: Vasiliy Ulyanov 
Date: Thu, 20 May 2021 10:42:24 +0200
Subject: [PATCH 1/2] Don't build virtctl for darwin and windows

Noticed the following build failure when specifying '-buildmode=pie'
in GOFLAGS

/usr/lib64/go/1.13/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: cannot
find 1144: No such file or directory

The failure was encountered when building virtctl for darwin and windows.
Remove the builds for these OSes.

Signed-off-by: Vasiliy Ulyanov 
Signed-off-by: Jim Fehlig 
---
 hack/build-go.sh | 9 -
 1 file changed, 9 deletions(-)

diff --git a/hack/build-go.sh b/hack/build-go.sh
index 9e0f3fe22..d46310f36 100755
--- a/hack/build-go.sh
+++ b/hack/build-go.sh
@@ -125,15 +125,6 @@ for arg in $args; do
 
 kubevirt::version::get_version_vars
 echo "$KUBEVIRT_GIT_VERSION" >${CMD_OUT_DIR}/${BIN_NAME}/.version
-
-# build virtctl also for darwin and windows on amd64
-if [ "${BIN_NAME}" = "virtctl" -a "${ARCH}" = "amd64" ]; then
-GOOS=darwin GOARCH=amd64 go_build -i -o 
${CMD_OUT_DIR}/${BIN_NAME}/${ARCH_BASENAME}-darwin-amd64 -ldflags 
"$(kubevirt::version::ldflags)" $(pkg_dir darwin amd64)
-GOOS=windows GOARCH=amd64 go_build -i -o 
${CMD_OUT_DIR}/${BIN_NAME}/${ARCH_BASENAME}-windows-amd64.exe -ldflags 
"$(kubevirt::version::ldflags)" $(pkg_dir windows amd64)
-# Create symlinks to the latest binary of each architecture
-(cd ${CMD_OUT_DIR}/${BIN_NAME} && ln -sf 
${ARCH_BASENAME}-darwin-amd64 ${BIN_NAME}-darwin)
-(cd ${CMD_OUT_DIR}/${BIN_NAME} && ln -sf 
${ARCH_BASENAME}-windows-amd64.exe ${BIN_NAME}-windows.exe)
-fi
 )
 else
 (
-- 
2.31.1

++ 0002-Don-t-use-Bazel-in-build-manifests.sh.patch ++
>From 1228a2f14f4f3aeab91a43f7a71a74ecf61fb8f9 Mon Sep 17 00:00:00 2001
From: Vasiliy Ulyanov 
Date: Thu, 20 May 2021 10:48:30 +0200
Subject: [PATCH 2/2] Don't use Bazel in build-manifests.sh

This is a partial revert of the commit

e410cdd77968dae258e83ccc0171e855b8678063

which switches to 

commit kubevirt for openSUSE:Factory

2021-05-20 Thread Source-Sync
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-05-20 19:24:55

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.2988 (New)


Package is "kubevirt"

Thu May 20 19:24:55 2021 rev:21 rq:894391 version:0.40.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-05-17 
18:46:04.248431132 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.2988/kubevirt.changes  
2021-05-20 19:25:18.321882200 +0200
@@ -1,0 +2,5 @@
+Tue May 18 05:15:45 UTC 2021 - Vasily Ulyanov 
+
+- Drop fix-virsh-domcapabilities-error.patch (bsc#1185119)
+
+---

Old:

  fix-virsh-domcapabilities-error.patch



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.S59DsX/_old  2021-05-20 19:25:18.841880067 +0200
+++ /var/tmp/diff_new_pack.S59DsX/_new  2021-05-20 19:25:18.841880067 +0200
@@ -30,8 +30,7 @@
 Source100:  %{name}-rpmlintrc
 Patch0: dont-build-virtctl-darwin.patch
 Patch1: dont-use-bazel-in-build-manifests.patch
-Patch2: fix-virsh-domcapabilities-error.patch
-Patch3: fix-double-free-of-VirDomain.patch
+Patch2: fix-double-free-of-VirDomain.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig


commit kubevirt for openSUSE:Factory

2021-05-17 Thread Source-Sync
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-05-17 18:45:33

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.2988 (New)


Package is "kubevirt"

Mon May 17 18:45:33 2021 rev:20 rq:893759 version:0.40.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-05-06 
22:53:41.662485450 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.2988/kubevirt.changes  
2021-05-17 18:46:04.248431132 +0200
@@ -1,0 +2,5 @@
+Mon May 17 09:02:36 UTC 2021 - Vasily Ulyanov 
+
+- Do not package OLM manifests
+
+---



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.6R3dAC/_old  2021-05-17 18:46:04.940428196 +0200
+++ /var/tmp/diff_new_pack.6R3dAC/_new  2021-05-17 18:46:04.944428179 +0200
@@ -202,6 +202,8 @@
 
 mkdir -p %{buildroot}%{_datadir}/kube-virt
 cp -r _out/manifests %{buildroot}%{_datadir}/kube-virt/
+# Dont install OLM manifests
+rm -rf %{buildroot}%{_datadir}/kube-virt/manifests/release/olm
 # TODO:
 # Create a proper Pod Security Policy (PSP) for KubeVirt. For now, add one
 # that uses the CaaSP privileged PSP. It can be used with CaaSP-based


commit kubevirt for openSUSE:Factory

2021-05-06 Thread Source-Sync
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-05-06 22:53:08

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.2988 (New)


Package is "kubevirt"

Thu May  6 22:53:08 2021 rev:19 rq:891082 version:0.40.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-05-04 
22:01:30.064485246 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.2988/kubevirt.changes  
2021-05-06 22:53:41.662485450 +0200
@@ -1,0 +2,5 @@
+Thu May  6 11:19:59 UTC 2021 - Vasily Ulyanov 
+
+- Install virt-launcher SELinux policy (bsc#1185714)
+
+---



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.7wkamR/_old  2021-05-06 22:53:42.138483487 +0200
+++ /var/tmp/diff_new_pack.7wkamR/_new  2021-05-06 22:53:42.142483470 +0200
@@ -197,6 +197,9 @@
 mkdir -p %{buildroot}/bin
 install -p -m 0755 cmd/virt-launcher/node-labeller/node-labeller.sh 
%{buildroot}/bin/
 
+# virt-launcher SELinux policy needs to land in virt-handler container
+install -p -m 0644 cmd/virt-handler/virt_launcher.cil %{buildroot}/
+
 mkdir -p %{buildroot}%{_datadir}/kube-virt
 cp -r _out/manifests %{buildroot}%{_datadir}/kube-virt/
 # TODO:
@@ -236,6 +239,7 @@
 %doc README.md
 %{_bindir}/virt-handler
 %{_bindir}/virt-chroot
+/virt_launcher.cil
 
 %files virt-launcher
 %license LICENSE


commit kubevirt for openSUSE:Factory

2021-04-29 Thread Source-Sync
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-29 22:46:16

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.1947 (New)


Package is "kubevirt"

Thu Apr 29 22:46:16 2021 rev:17 rq:889191 version:0.40.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-04-25 
21:29:06.760552435 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.1947/kubevirt.changes  
2021-04-29 22:52:57.574012258 +0200
@@ -1,0 +2,6 @@
+Thu Apr 29 05:17:03 UTC 2021 - Vasily Ulyanov 
+
+- Set default reg_path='registry.opensuse.org/kubevirt'
+- Add _constraints file with disk requirements
+
+---

New:

  _constraints



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.ECu8tw/_old  2021-04-29 22:52:58.046010156 +0200
+++ /var/tmp/diff_new_pack.ECu8tw/_new  2021-04-29 22:52:58.046010156 +0200
@@ -139,7 +139,7 @@
 150300:0)

reg_path='registry.suse.de/suse/containers/sle-server/15/containers/suse/sles/15.3'
 ;;
 *)
-   reg_path='registry.opensuse.org/virtualization/container/kubevirt' ;;
+   reg_path='registry.opensuse.org/kubevirt' ;;
 esac
 %else
 reg_path='%{registry_path}'

++ _constraints ++

  
  

  6

  



commit kubevirt for openSUSE:Factory

2021-04-25 Thread Source-Sync
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-25 21:27:30

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.12324 (New)


Package is "kubevirt"

Sun Apr 25 21:27:30 2021 rev:16 rq:888311 version:0.40.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-04-21 
21:01:19.746383707 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.12324/kubevirt.changes 
2021-04-25 21:29:06.760552435 +0200
@@ -1,0 +2,6 @@
+Fri Apr 23 09:50:20 UTC 2021 - Vasily Ulyanov 
+
+- Fix virt-launcher crash
+  fix-double-free-of-VirDomain.patch
+
+---

New:

  fix-double-free-of-VirDomain.patch



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.hjzT3H/_old  2021-04-25 21:29:07.256553033 +0200
+++ /var/tmp/diff_new_pack.hjzT3H/_new  2021-04-25 21:29:07.260553037 +0200
@@ -29,6 +29,7 @@
 Patch0: dont-build-virtctl-darwin.patch
 Patch1: dont-use-bazel-in-build-manifests.patch
 Patch2: fix-virsh-domcapabilities-error.patch
+Patch3: fix-double-free-of-VirDomain.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ fix-double-free-of-VirDomain.patch ++
Fix double free of VirDomain

diff --git a/pkg/virt-launcher/virtwrap/manager.go 
b/pkg/virt-launcher/virtwrap/manager.go
index a3fe15e39..660423269 100644
--- a/pkg/virt-launcher/virtwrap/manager.go
+++ b/pkg/virt-launcher/virtwrap/manager.go
@@ -1494,7 +1494,6 @@ func (l *LibvirtDomainManager) SyncVMI(vmi 
*v1.VirtualMachineInstance, useEmulat
if err != nil {
return nil, err
}
-   defer dom.Free()
logger.Info("Domain defined.")
} else {
logger.Reason(err).Error("Getting the domain failed.")


commit kubevirt for openSUSE:Factory

2021-04-21 Thread Source-Sync
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.changes2021-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 
+
+- Fix issue when calling `virsh-domcapabilities`
+  fix-virsh-domcapabilities-error.patch
+
+---
+Tue Apr 20 08:33:46 UTC 2021 - Vasily Ulyanov 
+
+- Package node-labeller.sh along with virt-launcher
+
+---
+Mon Apr 19 15:04:21 UTC 2021 - Vasily Ulyanov 
+
+- 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 
+
+- 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.21438 +0200
+++ /var/tmp/diff_new_pack.zYtjdF/_new  2021-04-21 21:01:20.21438 +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 @@
 
   
 kubevirt
-v0.38.1
+v0.40.0
 git
 disable
 https://github.com/kubevirt/kubevirt
 @PARENT_TAG@
 [v]?([^\+]+)(.*)
 \1
-enable
   
   
 *.tar

++ 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 

commit kubevirt for openSUSE:Factory

2021-04-16 Thread Source-Sync
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-17 00:02:16

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.12324 (New)


Package is "kubevirt"

Sat Apr 17 00:02:16 2021 rev:14 rq:886070 version:0.38.1

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-04-08 
21:32:21.675820014 +0200
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.12324/kubevirt.changes 
2021-04-17 00:02:35.813672804 +0200
@@ -1,0 +2,5 @@
+Thu Apr 15 14:54:40 UTC 2021 - Vasily Ulyanov 
+
+- Drop csv-generator
+
+---



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.08QuJD/_old  2021-04-17 00:02:36.325673614 +0200
+++ /var/tmp/diff_new_pack.08QuJD/_new  2021-04-17 00:02:36.329673621 +0200
@@ -164,7 +164,6 @@
cmd/virt-handler \
cmd/virt-launcher \
cmd/virt-operator \
-   tools/csv-generator \
%{nil}
 
 env DOCKER_PREFIX=$reg_path DOCKER_TAG=%{version} ./hack/build-manifests.sh 
--skipj2
@@ -180,7 +179,6 @@
 install -p -m 0755 _out/cmd/virt-handler/virt-handler %{buildroot}%{_bindir}/
 install -p -m 0755 _out/cmd/virt-launcher/virt-launcher %{buildroot}%{_bindir}/
 install -p -m 0755 _out/cmd/virt-operator/virt-operator %{buildroot}%{_bindir}/
-install -p -m 0755 _out/cmd/csv-generator/csv-generator %{buildroot}%{_bindir}/
 install -p -m 0755 _out/tests/tests.test %{buildroot}%{_bindir}/virt-tests
 
 mkdir -p %{buildroot}%{_datadir}/kube-virt
@@ -227,7 +225,6 @@
 %license LICENSE
 %doc README.md
 %{_bindir}/virt-operator
-%{_bindir}/csv-generator
 
 %files manifests
 %license LICENSE


commit kubevirt for openSUSE:Factory

2021-04-08 Thread Source-Sync
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-08 21:32:13

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.2401 (New)


Package is "kubevirt"

Thu Apr  8 21:32:13 2021 rev:13 rq:883625 version:0.38.1

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-03-05 
13:49:36.699858646 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.2401/kubevirt.changes  
2021-04-08 21:32:21.675820014 +0200
@@ -1,0 +2,5 @@
+Wed Apr  7 08:02:52 UTC 2021 - Vasily Ulyanov 
+
+- Update registry path
+
+---



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.0AFHAf/_old  2021-04-08 21:32:22.215820607 +0200
+++ /var/tmp/diff_new_pack.0AFHAf/_new  2021-04-08 21:32:22.219820611 +0200
@@ -104,7 +104,6 @@
 %descriptiontests
 The package provides Kubevirt end-to-end tests.
 
-
 %prep
 %autosetup -p1
 
@@ -138,7 +137,7 @@
 150300:0)

reg_path='registry.suse.de/suse/containers/sle-server/15/containers/suse/sles/15.3'
 ;;
 *)
-   
reg_path='registry.opensuse.org/virtualization/container/opensuse/tumbleweed' ;;
+   reg_path='registry.opensuse.org/virtualization/container/kubevirt' ;;
 esac
 %else
 reg_path='%{registry_path}'


commit kubevirt for openSUSE:Factory

2021-03-05 Thread Source-Sync
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-03-05 13:46:59

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.2378 (New)


Package is "kubevirt"

Fri Mar  5 13:46:59 2021 rev:12 rq:876823 version:0.38.1

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-02-17 
18:13:38.442043720 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.2378/kubevirt.changes  
2021-03-05 13:49:36.699858646 +0100
@@ -1,0 +2,211 @@
+Wed Mar 03 13:58:24 UTC 2021 - vasily.ulya...@suse.com
+
+- Update to version 0.38.1:
+  * Run bazelisk run //plugins/cmd/uploader:uploader -- -workspace 
/home/prow/go/src/github.com/kubevirt/project-infra/../kubevirt/WORKSPACE 
-dry-run=false
+  * Expose field name 'ipFamily' for k8s < 1.20
+  * Bump k8s deps to 0.20.2
+  * verify that VMIs can be started with images not owned by qemu provided by 
FS PVC
+  * change ownership of the image provided by a filesystem PVC to qemu
+  * virt-launcher's FSGroup functional test is obsolete
+  * virt-controller: Remove FSGroup from Pod
+  * cloudinit.GenerateLocalData: defer removal of temp files
+  * rpm: update `make rpm-deps`
+  * launcher / handler rpm: add tar as pod dependency
+  * cloudinit.GenerateLocalData: drop ineffectual assignment
+  * tests/config_test: fix ineffectual assignment to err
+  * pkg/virt-handler/migration-proxy/migration-proxy_test: fix ineffectual 
assignment to err
+  * tests/replicaset_test: fix ineffectual assignment to err
+  * pkg/virt-launcher/virtwrap/access-credentials/access_credentials_test: fix 
ineffectual assignment to err
+  * tests/vnc_test: fix ineffectual assignment to err
+  * pkg/virt-handler/isolation/isolation_test: fix ineffectual assignment to 
err
+  * pkg/virt-controller/watch/migration: fix ineffectual assignment to err
+  * tools/vms-generator/utils/utils: fix ineffectual assignment to err
+  * tests/vmi_gpu_test: fix ineffectual assignment to err
+  * pkg/virt-handler/cache/cache_test:fix ineffectual assignment to err
+  * pkg/virt-launcher/virtwrap/manager_test:fix ineffectual assignment to err
+  * multus, tests: assert error does not happen
+  * Bump bazeldnf to v0.0.15
+  * pkg/virt-handler/cmd-client/client_test:fix ineffectual assignment to err
+  * pkg/virt-operator/creation/components/secrets_test: fix ineffectual 
assignment to err
+  * tests/infra_test.go: fix ineffectual assignment to err
+  * tests/vmipreset_test: fix ineffectual assignment to err
+  * func tests, multus: getting the kubevirtClient must be done first
+  * func tests, multus: execute BeforeAll before BeforeEach
+  * document the interface between hostdev device plugins and kubevirt
+  * Refactor methods to reduce their Cognitive Complexity
+  * Define a constant instead of duplicating literal
+  * Refactor method to reduce its Cognitive Complexity
+  * Define a constant instead of duplicating literals
+  * Refactor method to reduce its Cognitive Complexity
+  * Add a nested comment indicating about an empty function
+  * Define a constant instead of duplicating a literal
+  * Refactor methods to reduce their Cognitive Complexity
+  * Increase subresource pod test execution timeout
+  * Add Nvidia as a KubeVirt ADOPTOR
+  * ipv4, network tests: refactor the masquerade test table
+  * controller, virtinformers: Define the unexpected error once
+  * Run bazelisk run //plugins/cmd/uploader:uploader -- -workspace 
/home/prow/go/src/github.com/kubevirt/project-infra/../kubevirt/WORKSPACE 
-dry-run=false
+  * Converter: Handle 'float' memory
+  * Tests: Ensure cpu/memory in requests/limits allow int/float
+  * virt-launcher: Support (non-)transitional virtio-balloon
+  * rpm: Bump libvirt and QEMU
+  * tests/utils: fix ineffectual assignment to ok
+  * tests/utils: fix ineffectual assignment to err
+  * tests/utils: fix ineffectual assignment to scale
+  * pkg/container-disk/container-disk_test: fix ineffectual assignment to path
+  * pkg/virt-launcher/virtwrap/network/common: fix ineffectual assignment to 
err
+  * tests/vm_test: fix ineffectual assignment to err
+  * tests/vm_watch_test: fix ineffectual assignment to cmdName
+  * pkg/virt-handler/hotplug-disk/mount_test: fix ineffectual assignment to err
+  * pkg/virt-handler/hotplug-disk/mount_test: fix ineffectual assignment to res
+  * tests/reporter/kubernetes: fix ineffectual assignment to err
+  * pkg/virt-launcher/virtwrap/access-credentials: fix ineffectual assignment 
to err
+  * pkg/virt-launcher/virtwrap/access-credentials: fix ineffectual assignment 
to output
+  * pkg/virt-handler/vm_test: fix ineffectual assignment to err
+  * tools/util/marshaller: fix ineffectual assignment to err
+  * 

commit kubevirt for openSUSE:Factory

2021-02-17 Thread Source-Sync
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-02-17 18:12:56

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.28504 (New)


Package is "kubevirt"

Wed Feb 17 18:12:56 2021 rev:11 rq:873106 version:0.37.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2021-01-27 
18:58:53.432494260 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.28504/kubevirt.changes 
2021-02-17 18:13:38.442043720 +0100
@@ -1,0 +2,5 @@
+Mon Feb 15 13:40:14 UTC 2021 - Vasily Ulyanov 
+
+- Add building of virt-tests
+
+---



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.PAeXpM/_old  2021-02-17 18:13:39.110044266 +0100
+++ /var/tmp/diff_new_pack.PAeXpM/_new  2021-02-17 18:13:39.114044270 +0100
@@ -96,6 +96,13 @@
 This contains the built YAML manifests used to install kubevirt into a
 kubernetes installation with kubectl apply.
 
+%packagetests
+Summary:Kubevirt functional tests
+Group:  System/Packages
+
+%descriptiontests
+The package provides Kubevirt end-to-end tests.
+
 
 %prep
 %autosetup -p1
@@ -148,6 +155,7 @@
 KUBEVIRT_GIT_COMMIT='v%{version}' \
 KUBEVIRT_GIT_VERSION='v%{version}' \
 KUBEVIRT_GIT_TREE_STATE="clean" \
+build_tests="true" \
 ./hack/build-go.sh install \
cmd/virtctl \
cmd/virt-api \
@@ -173,6 +181,7 @@
 install -p -m 0755 _out/cmd/virt-launcher/virt-launcher %{buildroot}%{_bindir}/
 install -p -m 0755 _out/cmd/virt-operator/virt-operator %{buildroot}%{_bindir}/
 install -p -m 0755 _out/cmd/csv-generator/csv-generator %{buildroot}%{_bindir}/
+install -p -m 0755 _out/tests/tests.test %{buildroot}%{_bindir}/virt-tests
 
 mkdir -p %{buildroot}%{_datadir}/kube-virt
 cp -r _out/manifests %{buildroot}%{_datadir}/kube-virt/
@@ -181,6 +190,7 @@
 # that uses the CaaSP privileged PSP. It can be used with CaaSP-based
 # Kubernetes clusters.
 install -m 644 %{S:1} %{buildroot}/%{_datadir}/kube-virt/manifests/release/
+install -m 0644 tests/default-config.json %{buildroot}%{_datadir}/kube-virt
 
 %files virtctl
 %license LICENSE
@@ -225,4 +235,11 @@
 %dir %{_datadir}/kube-virt
 %{_datadir}/kube-virt/manifests
 
+%files tests
+%license LICENSE
+%doc README.md
+%dir %{_datadir}/kube-virt
+%{_bindir}/virt-tests
+%{_datadir}/kube-virt/default-config.json
+
 %changelog


commit kubevirt for openSUSE:Factory

2021-01-27 Thread Source-Sync
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-01-27 18:58:05

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.28504 (New)


Package is "kubevirt"

Wed Jan 27 18:58:05 2021 rev:10 rq:867022 version:0.37.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2020-12-28 
10:31:45.733608734 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.28504/kubevirt.changes 
2021-01-27 18:58:53.432494260 +0100
@@ -1,0 +2,132 @@
+Wed Jan 20 00:44:01 UTC 2021 - jfeh...@suse.com
+
+- Update to version 0.37.0:
+  * Remove travis-ci logic for pushing to quay app registery
+  * Update Quay credentials in travis config
+  * MacvtapPodInterface.setCachedInterface: fix arg name
+  * make generate: 2021 edition
+  * tests, dhcpv6: verify connectivity survives after migration
+  * tests, dhcpv6: use python server instead of nc
+  * tests, dhcpv6: start dhcpv6 client, config d.route & prefix via console
+  * tests, dhcpv6: use fedora vms for masquerade ipv6 connectiviy tests
+  * tests: split masquerade connectivity tests to ipv4 and ipv6
+  * tests: remove libnet.WithIPv6 from ipv4 only dhcp test
+  * dhcpv6: unit tests
+  * dhcpv6: Extracting the build of the server response to a separate method
+  * dhcpv6: Add the request iana to the response
+  * dhcpv6: reply to dhcp solict with rapid commit
+  * add ipv6 address to VIF.String
+  * dhcpv6: run only for masquerade
+  * dhcpv6: introduce prepareDHCPv6Modifiers
+  * dhcpv6: Allow dhcpv6 server to run without CAP_NET_RAW
+  * dhcpv6: handle requests from client - adding DUID and IANA options
+  * virt-launcher: vendor dhcpv6
+  * virt-launcher: introduce dhcpv6
+  * Extend version functional tests
+  * Set --stamp as default build flag
+  * imageupload: improve nosec comment
+  * cloud-init: test that GenerateLocalData can run twice
+  * cloud-init, GenerateLocalData: simplify staging replacement
+  * tests, ping: increase default amount of packets
+  * cloud-init, GenerateLocalData: drop redundant diskutils.RemoveFile call
+  * cloud-init, GenerateLocalData: drop ambiguous comment
+  * add use case Signed-off-by: xiaobo 
+  * add use case Signed-off-by: xiaobo 
+  * add use case Signed-off-by: xiaobo 
+  * add use case Signed-off-by: xiaobo 
+  * Run bazelisk run //plugins/cmd/uploader:uploader -- -workspace 
/home/prow/go/src/github.com/kubevirt/project-infra/../kubevirt/WORKSPACE 
-dry-run=false
+  * Document dependency update flows
+  * Newer curl version don't allow headerless HTTP
+  * Build all test images in kubervirt/kubevirt
+  * Add managed RPMs and remove unmanaged RPMs
+  * Add repo.yaml files
+  * Add bazeldnf dependencies
+  * Add a script to resolve RPM dependencies
+  * virt-launcher, converter: Extract SRIOV hostdev creation
+  * virt-launcher, converter: Refactor network indexing
+  * virt-launcher, converter: Refactor iface multi queue
+  * tests, vmi_multus: test Sriov with Vlan
+  * Don't overwrite user-provided GOFLAGS
+  * Handle btrfs subvolumes when parsing mountinfo
+  * Add mount info test cases
+  * Add testdata for mount info tests
+  * Cleanup duplicated code
+  * Refactor containerdisk mount code
+  * tests,sriov:make createSriovVms recieve network names
+  * tests, sriov: remove un-needed function.
+  * tests: sriov: extract NAD creation to a helper
+  * tests, utils, delete vmi waiting: assert on err
+  * Preapre build environment for bazeldnf
+  * use placement api for assinging virt-handler pod
+  * virt-launcher, libvirt: Free (all) domain resources
+  * Generate release manifests using quay images
+  * Add maiqueb to code-reviewers list
+  * Update vendored dependencies
+  * Update versions of some dependencies
+  * only validate status of vm, vmi, and vmi migration objects
+  * This fixes a race condition between unmounting a file system volume and 
detaching a disk from the running VM. In certain conditions it would attempt to 
unmount before the disk was fully detached causing the unmount to error and 
preventing the VM sync from fully detaching. This moves the unmount to after 
the sync, so this race never happens.
+  * smbios, sidecar hook, tests: assert the hook version is advertised
+  * smbios cmd: set the version parameter as mandatory
+  * examples, hooks: correct the vmi-sidecar-hook example
+  * add kubernetes os nodeSelector to injectPlacementMetadata
+  * virt-launcher, converter: Set SRIOV device as unmanaged
+  * tests, sriov: XFail IPv4 connectivity test
+  * Append rootfs mount to containerdisk base path
+  * Narrow down watcher select which waits for object states
+  * Fix Eventually which used the time out as description
+  * Remove unused functions: GenerateSelfSignedCertKey and 

[opensuse-commit] commit kubevirt for openSUSE:Factory

2020-11-15 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2020-11-15 15:26:15

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.24930 (New)


Package is "kubevirt"

Sun Nov 15 15:26:15 2020 rev:8 rq:848441 version:0.35.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2020-11-11 
20:46:30.495653419 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.24930/kubevirt.changes 
2020-11-15 15:27:35.635528670 +0100
@@ -1,0 +2,6 @@
+Fri Nov 13 23:32:52 UTC 2020 - James Fehlig 
+
+- Fix -buildmode=pie
+  fix-goflags-overwrite.patch, dont-build-virtctl-darwin.patch
+
+---

New:

  dont-build-virtctl-darwin.patch
  fix-goflags-overwrite.patch



Other differences:
--
++ kubevirt.spec ++
--- /var/tmp/diff_new_pack.wIFFpB/_old  2020-11-15 15:27:36.151529223 +0100
+++ /var/tmp/diff_new_pack.wIFFpB/_new  2020-11-15 15:27:36.155529227 +0100
@@ -26,6 +26,8 @@
 Source0:%{name}-%{version}.tar.gz
 Source1:kubevirt-psp-caasp.yaml
 Source100:  %{name}-rpmlintrc
+Patch0: fix-goflags-overwrite.patch
+Patch1: dont-build-virtctl-darwin.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++ dont-build-virtctl-darwin.patch ++
Don't build virtctl for darwin and windows

Noticed the following build failure when specifying '-buildmode=pie'
in GOFLAGS

/usr/lib64/go/1.13/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: 
cannot 
find 1144: No such file or directory

The failure was encountered when building virtctl for darwin and windows.
Remove the builds for these OSes.

Signed-off-by: Jim Fehlig 

Index: kubevirt-0.35.0/hack/build-go.sh
===
--- kubevirt-0.35.0.orig/hack/build-go.sh
+++ kubevirt-0.35.0/hack/build-go.sh
@@ -114,15 +114,6 @@ for arg in $args; do
 
 kubevirt::version::get_version_vars
 echo "$KUBEVIRT_GIT_VERSION" >${CMD_OUT_DIR}/${BIN_NAME}/.version
-
-# build virtctl also for darwin and windows
-if [ "${BIN_NAME}" = "virtctl" ]; then
-GOOS=darwin GOARCH=amd64 go_build -i -o 
${CMD_OUT_DIR}/${BIN_NAME}/${ARCH_BASENAME}-darwin-amd64 -ldflags 
"$(kubevirt::version::ldflags)" $(pkg_dir darwin amd64)
-GOOS=windows GOARCH=amd64 go_build -i -o 
${CMD_OUT_DIR}/${BIN_NAME}/${ARCH_BASENAME}-windows-amd64.exe -ldflags 
"$(kubevirt::version::ldflags)" $(pkg_dir windows amd64)
-# Create symlinks to the latest binary of each architecture
-(cd ${CMD_OUT_DIR}/${BIN_NAME} && ln -sf 
${ARCH_BASENAME}-darwin-amd64 ${BIN_NAME}-darwin)
-(cd ${CMD_OUT_DIR}/${BIN_NAME} && ln -sf 
${ARCH_BASENAME}-windows-amd64.exe ${BIN_NAME}-windows.exe)
-fi
 )
 else
 (
++ fix-goflags-overwrite.patch ++
Don't overwrite user-provided GOFLAGS

Signed-off-by: Jim Fehlig 

Index: kubevirt-0.35.0/hack/common.sh
===
--- kubevirt-0.35.0.orig/hack/common.sh
+++ kubevirt-0.35.0/hack/common.sh
@@ -4,7 +4,7 @@ if [ -f cluster-up/hack/common.sh ]; the
 source cluster-up/hack/common.sh
 fi
 
-export GOFLAGS=-mod=vendor
+export GOFLAGS="$GOFLAGS -mod=vendor"
 
 KUBEVIRT_DIR="$(
 cd "$(dirname "$BASH_SOURCE[0]")/../"
@@ -23,7 +23,7 @@ ARCHITECTURE=$(uname -m)
 
 function build_func_tests() {
 mkdir -p "${TESTS_OUT_DIR}/"
-GOPROXY=off GOFLAGS=-mod=vendor \
+GOPROXY=off GOFLAGS="$GOFLAGS -mod=vendor" \
 go test -c "${KUBEVIRT_DIR}/tests" -o "${TESTS_OUT_DIR}/tests.test"
 }
 
@@ -62,7 +62,7 @@ function kubevirt_version() {
 KUBEVIRT_VERSION="$(kubevirt_version)"
 
 function go_build() {
-GOPROXY=off GOFLAGS=-mod=vendor go build "$@"
+GOPROXY=off GOFLAGS="$GOFLAGS -mod=vendor" go build "$@"
 }
 
 # Use this environment variable to set a local path to a custom CA certificate 
for
___
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org


[opensuse-commit] commit kubevirt for openSUSE:Factory

2020-11-13 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2020-11-11 20:46:25

Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and  /work/SRC/openSUSE:Factory/.kubevirt.new.26437 (New)


Package is "kubevirt"

Wed Nov 11 20:46:25 2020 rev:7 rq:847543 version:0.35.0

Changes:

--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes2020-11-10 
13:53:18.590866268 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.26437/kubevirt.changes 
2020-11-11 20:46:30.495653419 +0100
@@ -1,0 +2,197 @@
+Tue Nov 10 15:54:58 UTC 2020 - jfeh...@suse.com
+
+- Update to version 0.35.0:
+  * sriov lane: skip flaky tests until their issue is resolved
+  * add an independent claclulation of required vcpus for mem overhead 
calculation
+  * adjust memory overhead calculating by adding a static 10Mi
+  * move guest cpu topology modification to vmi mutator webhook
+  * Ensure that we restore the cdi-insecure-registry configmap in tests
+  * Add test_ids_cnv_2.5
+  * dual stack, expose, tests: remove batchv1.Job duplicated code
+  * test, waitvmi: Add context mechanism to WaitUntilVMIReadAsync
+  * dual stack, expose, tests: skip on non dual stack clusters
+  * dual stack, expose, tests: port VM service tests
+  * tests, multus-tests, SRIOV: configure IP based on MAC or name
+  * Catch goroutine panic with GinkgoRecover in tests
+  * tests, multus_tests: make helpers return an error
+  * dual stack, expose, tests: port VMIRS cluster IP service test
+  * dual stack, expose, tests: port UDP services test
+  * dual stack, tests: ping first on helloWorld{UDP|HTTP} jobs
+  * dual stack, expose, tests: port the VMI service test cases
+  * Bump kubevirtci
+  * make generate and make deps-updateand update test import
+  * Bump CDI to 1.25.0
+  * Reduce the cluster size a little
+  * dual stack, expose, tests: get the IP addr from a DNS name
+  * bump kubevirtci: get latest sriov provider
+  * Infra test made invalid assumptions about cluster composition
+  * Fix panic when endpoints were empty.
+  * dual-stack, virtctl: expose ipv6 services
+  * Remove 'string' from json tag to preserve type information in our API
+  * automation: cancel CDI insecure registries cehck on sriov lane
+  * Emit an event if we detect terminating pods
+  * tests, pausing_test: change long process test
+  * test, infra_test, Adapt tests to support dual stack
+  * tests: remove `IsRunningOnKindInfraIPv6`
+  * fix wrong logic in SetDriverCacheMode log message
+  * Revise functional test to verify 440 read only image
+  * Build container disks with 440 mode and 107:107 ownership
+  * Add e2e test for replacing terminating pods immediately
+  * Bump kubevirtci
+  * test: Remove all the usages of `IsRunningOnKindInfraIPv6`
+  * Disable service links on virt-launcher Pod
+  * tests, infra-test, Remove unneeded vmi creation
+  * infra_test, Refactor tests to use a DescribeTable
+  * infra_test, Add validation of errors
+  * Fix flaky timezone test
+  * Let VMIRS react to terminating pods of VMIs
+  * Let the VMI indicate when Pods are terminating
+  * functests, macvtap, migration: successful macvtap VMI migration
+  * functests, migration: move some asserter subset to common helpers
+  * functests, macvtap, multus: use libvmi Cirros VMI factory
+  * functests, macvtap, multus: schedule the VMs in the same node
+  * tests: update the `StartVmOnNode` method to return the started VMI
+  * examples, macvtap, multus: add example for macvtap VMI
+  * macvtap, admitter: macvtap requires multus network
+  * functests, macvtap, multus: add connectivity test between VMs
+  * macvtap: feature gate macvtap feature
+  * functests, multus: refactor `configInterface` to allow sudo
+  * functests, macvtap, multus: add test with a custom MAC address
+  * tests: remove all net-attach-defs on test cleanup
+  * automation, macvtap: restrict macvtap func tests to multus lanes
+  * unit tests, macvtap, multus: introduce macvtap
+  * macvtap, multus: add macvtap BindingMechanism
+  * improving PCI configuration tests
+  * Template the cdi namespace
+  * add dev registry as insecure registry to cdi
+  * Update testing infra to cdi 1.23.7 in order to bring in registry import 
fixes
+  * Datavolume container registry import test
+  * CONTRIBUTING: point developers to kubevirt-dev slack
+  * rebase
+  * Remove incorrect listtype
+  * fix 1.19 lane
+  * Propagate error from patchValidation
+  * rebase
+  * reduce scope to vm/vmi
+  * Remove +listType=map from tolerations This marker also requires 
//+listMapKey which can't be resonable set at this moment. (All fields are 
optional and missing default)
+  * update builder
+  * review
+  * Add missing markers
+  * Test verifying kubectl explain works
+  * Adding test verifying crds are structural
+  * Use controller-gen to generate