[node-patches] Change in ovirt-node[master]: Fix an exexption about AssertionError

hadong0720 at gmail.com hadong0720 at gmail.com
Mon Jul 15 09:53:29 UTC 2013


hadong has uploaded a new change for review.

Change subject: Fix an exexption about AssertionError
......................................................................

Fix an exexption about AssertionError

Previously throw an exception about "Miss keys:set(['snmp.
password_confirmation'])" AssertionError when configuring
SNMP password
Now fix it.

Change-Id: Ifc449bbb623e9f7407d32be5888db9e7d335abe2
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=984458
Signed-off-by: hadong <hadong0720 at gmail.com>
---
M src/ovirt/node/setup/snmp/snmp_page.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/44/16844/1

diff --git a/src/ovirt/node/setup/snmp/snmp_page.py b/src/ovirt/node/setup/snmp/snmp_page.py
index 7d4e343..7d6557e 100644
--- a/src/ovirt/node/setup/snmp/snmp_page.py
+++ b/src/ovirt/node/setup/snmp/snmp_page.py
@@ -101,7 +101,7 @@
         self.logger.debug("Changes: %s" % changes)
         self.logger.debug("Effective Model: %s" % effective_model)
 
-        snmp_keys = ["snmp.password_confirmation", "snmp.enabled"]
+        snmp_keys = ["snmp.password", "snmp.enabled"]
 
         txs = utils.Transaction("Updating SNMP configuration")
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifc449bbb623e9f7407d32be5888db9e7d335abe2
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <hadong0720 at gmail.com>



More information about the node-patches mailing list