[node-patches] Change in ovirt-node[master]: iscsi_install: create appvg if options are provided. rhbz#88...
jboggs at redhat.com
jboggs at redhat.com
Wed Oct 30 17:29:26 UTC 2013
Hello hadong,
I'd like you to do a code review. Please visit
http://gerrit.ovirt.org/20722
to review the following change.
Change subject: iscsi_install: create appvg if options are provided. rhbz#885961
......................................................................
iscsi_install: create appvg if options are provided.
rhbz#885961
Signed-off-by: Joey Boggs <jboggs at redhat.com>
Signed-off-by: hadong <hadong0720 at gmail.com>
Change-Id: Ic72975084dc8ab69538997fe589449596c21287a
---
M src/ovirtnode/storage.py
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/22/20722/1
diff --git a/src/ovirtnode/storage.py b/src/ovirtnode/storage.py
index 5c6b45e..7ecad7e 100644
--- a/src/ovirtnode/storage.py
+++ b/src/ovirtnode/storage.py
@@ -833,6 +833,8 @@
if self.create_iscsiroot():
logger.info("iSCSI Root Partitions Created")
if self.create_hostvg():
+ if len(self.APPVGDRIVE) > 0:
+ self.create_appvg()
logger.info("Completed!")
return True
--
To view, visit http://gerrit.ovirt.org/20722
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic72975084dc8ab69538997fe589449596c21287a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>
Gerrit-Reviewer: hadong <hadong0720 at gmail.com>
More information about the node-patches
mailing list