Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package powerpc-utils for openSUSE:Factory 
checked in at 2021-06-15 16:36:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/powerpc-utils (Old)
 and      /work/SRC/openSUSE:Factory/.powerpc-utils.new.32437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "powerpc-utils"

Tue Jun 15 16:36:59 2021 rev:114 rq:899452 version:1.3.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/powerpc-utils/powerpc-utils.changes      
2021-06-11 00:17:43.421217871 +0200
+++ /work/SRC/openSUSE:Factory/.powerpc-utils.new.32437/powerpc-utils.changes   
2021-06-15 16:37:10.281676273 +0200
@@ -1,0 +2,7 @@
+Thu Jun 10 16:44:44 UTC 2021 - Michal Suchanek <msucha...@suse.de>
+
+- When detecting HNV connection list all connections, not only active ones
+  (bsc#1187148 ltc#192985).
+   + 0005-hcnmgr-When-trying-to-detect-HNV-bond-list-all-conne.patch
+
+-------------------------------------------------------------------

New:
----
  0005-hcnmgr-When-trying-to-detect-HNV-bond-list-all-conne.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ powerpc-utils.spec ++++++
--- /var/tmp/diff_new_pack.TyP7Iu/_old  2021-06-15 16:37:10.953677437 +0200
+++ /var/tmp/diff_new_pack.TyP7Iu/_new  2021-06-15 16:37:10.957677444 +0200
@@ -45,6 +45,7 @@
 Patch19:        0002-drmgr-read-the-CPU-NUMA-topology.patch
 Patch20:        0003-drmgr-introduce-NUMA-based-LMB-removal.patch
 Patch21:        drmgr-fix-remove-by-index-operation.patch
+Patch22:        0005-hcnmgr-When-trying-to-detect-HNV-bond-list-all-conne.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libnuma-devel

++++++ 0005-hcnmgr-When-trying-to-detect-HNV-bond-list-all-conne.patch ++++++
>From 1795e222a36333e3ab70d12d681a5705d9d77227 Mon Sep 17 00:00:00 2001
From: Michal Suchanek <msucha...@suse.de>
Date: Thu, 10 Jun 2021 18:38:06 +0200
Subject: [PATCH] hcnmgr: When trying to detect HNV bond list all connections,
 not only active ones.

When NM is starting up the HNV connection is not active when hcnmgr
looks for it and it is recreated.

Signed-off-by: Michal Suchanek <msucha...@suse.de>
---
 scripts/hcnmgr | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/hcnmgr b/scripts/hcnmgr
index ad72c278046d..4b8c0e71e85a 100644
--- a/scripts/hcnmgr
+++ b/scripts/hcnmgr
@@ -284,7 +284,7 @@ do_config_vdevice() {
 
        hcnlog DEBUG "Check if there is bond $BONDNAME with hcn id $HCNID"
 
-       if ! nmcli -f NAME con show --active | grep -q "$BONDNAME\s"; then
+       if ! nmcli -f NAME con show | grep -q "$BONDNAME\s"; then
                hcnlog INFO "nmcli con add type bond con-name $BONDNAME ifname 
$BONDNAME"
                nmcli con add type bond con-name "$BONDNAME" ifname "$BONDNAME"
 
-- 
2.26.2

Reply via email to