[node-patches] Change in ovirt-node[master]: network: Silence rmmod bonding

fabiand at fedoraproject.org fabiand at fedoraproject.org
Thu Jul 11 11:51:02 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: network: Silence rmmod bonding
......................................................................

network: Silence rmmod bonding

Previously a warning cluttered the AI process b/c rmmod tried to remove
the bonding module even if it wasn't loaded.

Change-Id: Ie976ef6e194c65d40affaa8644bbc6370ba17ad7
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/utils/network.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/24/16724/1

diff --git a/src/ovirt/node/utils/network.py b/src/ovirt/node/utils/network.py
index f4e1f29..af78d05 100644
--- a/src/ovirt/node/utils/network.py
+++ b/src/ovirt/node/utils/network.py
@@ -828,4 +828,4 @@
     def delete_all(self):
         """Deletes all bond devices
         """
-        process.call(["rmmod", "bonding"])
+        process.call("rmmod bonding 2> /dev/null", shell=True)


-- 
To view, visit http://gerrit.ovirt.org/16724
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie976ef6e194c65d40affaa8644bbc6370ba17ad7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list