Sergey Gotliv has uploaded a new change for review.
Change subject: Change iscsiadm operational mode while updating 'node.startup'
setting
......................................................................
Change iscsiadm operational mode while updating 'node.startup' setting
Iscsiadm operational mode must be 'node' while updating 'node.startup'
setting and not 'discoverydb' as it is today.
Change-Id: Ib34952047367db196733e942416a232d12a4e491
Bug-Url:
https://bugzilla.redhat.com/851050
Signed-off-by: Sergey Gotliv <sgotliv(a)redhat.com>
---
M vdsm/storage/iscsi.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/12/17212/1
diff --git a/vdsm/storage/iscsi.py b/vdsm/storage/iscsi.py
index bb09544..a8cba3d 100644
--- a/vdsm/storage/iscsi.py
+++ b/vdsm/storage/iscsi.py
@@ -187,7 +187,7 @@
# write the database when the discovery fails, therefore we try
# to set the node startup to manual anyway.
try:
- iscsiadm.discoverydb_update(discoverType, iface.name, portalStr,
+ iscsiadm.node_update(discoverType, iface.name, portalStr,
"node.startup", "manual")
except:
# this is just to be polite we don't really care
--
To view, visit
http://gerrit.ovirt.org/17212
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib34952047367db196733e942416a232d12a4e491
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Sergey Gotliv <sgotliv(a)redhat.com>