[PATCH] rpm: disable glusterfs on RHEL-9

Daniel P. Berrangé posted 1 patch 2 years, 11 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20210514115809.1368376-1-berrange@redhat.com
libvirt.spec.in | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
[PATCH] rpm: disable glusterfs on RHEL-9
Posted by Daniel P. Berrangé 2 years, 11 months ago
Support for glusterfs with KVM is being dropped in RHEL-9 in the
virtualization stack.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 libvirt.spec.in | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 8ac324be0a..c52f607bd1 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -65,10 +65,15 @@
 %endif
 
 %define with_storage_gluster 0%{!?_without_storage_gluster:1}
-%ifnarch %{arches_qemu_kvm}
-    # gluster is only built where qemu driver is enabled on RHEL
-    %if 0%{?rhel}
+%if 0%{?rhel}
+    # Glusterfs dropped in RHEL-9, and before that only
+    # enabled on arches where KVM exists
+    %if 0%{?rhel} > 8
         %define with_storage_gluster 0
+    %else
+        %ifnarch %{arches_qemu_kvm}
+            %define with_storage_gluster 0
+	%endif
     %endif
 %endif
 
-- 
2.31.1

Re: [PATCH] rpm: disable glusterfs on RHEL-9
Posted by Andrea Bolognani 2 years, 11 months ago
On Fri, May 14, 2021 at 12:58:09PM +0100, Daniel P. Berrangé wrote:
> Support for glusterfs with KVM is being dropped in RHEL-9 in the
> virtualization stack.
>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>  libvirt.spec.in | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index 8ac324be0a..c52f607bd1 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -65,10 +65,15 @@
>  %endif
>
>  %define with_storage_gluster 0%{!?_without_storage_gluster:1}
> -%ifnarch %{arches_qemu_kvm}
> -    # gluster is only built where qemu driver is enabled on RHEL
> -    %if 0%{?rhel}
> +%if 0%{?rhel}
> +    # Glusterfs dropped in RHEL-9, and before that only

*has been dropped

Reviewed-by: Andrea Bolognani <abologna@redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization


Re: [PATCH] rpm: disable glusterfs on RHEL-9
Posted by Neal Gompa 2 years, 11 months ago
On Fri, May 14, 2021 at 8:27 AM Andrea Bolognani <abologna@redhat.com> wrote:
>
> On Fri, May 14, 2021 at 12:58:09PM +0100, Daniel P. Berrangé wrote:
> > Support for glusterfs with KVM is being dropped in RHEL-9 in the
> > virtualization stack.
> >
> > Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> > ---
> >  libvirt.spec.in | 11 ++++++++---
> >  1 file changed, 8 insertions(+), 3 deletions(-)
> >
> > diff --git a/libvirt.spec.in b/libvirt.spec.in
> > index 8ac324be0a..c52f607bd1 100644
> > --- a/libvirt.spec.in
> > +++ b/libvirt.spec.in
> > @@ -65,10 +65,15 @@
> >  %endif
> >
> >  %define with_storage_gluster 0%{!?_without_storage_gluster:1}
> > -%ifnarch %{arches_qemu_kvm}
> > -    # gluster is only built where qemu driver is enabled on RHEL
> > -    %if 0%{?rhel}
> > +%if 0%{?rhel}
> > +    # Glusterfs dropped in RHEL-9, and before that only
>
> *has been dropped
>
> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
>

Press "F" to pay respects to GlusterFS....

Reviewed-by: Neal Gompa <ngompa13@gmail.com>


-- 
真実はいつも一つ!/ Always, there's only one truth!