Lei Li has uploaded a new change for review.
Change subject: Encapsulate vdsm-unregister into vdsm-tool function ......................................................................
Encapsulate vdsm-unregister into vdsm-tool function
Change-Id: I7348baeabbdcbb0c2da64170b6957430feaa1954 Signed-off-by: Lei Li lilei@linux.vnet.ibm.com --- M vdsm-tool/Makefile.am A vdsm-tool/register.py M vdsm.spec.in 3 files changed, 43 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/27/4527/1 -- To view, visit http://gerrit.ovirt.org/4527 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange Gerrit-Change-Id: I7348baeabbdcbb0c2da64170b6957430feaa1954 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Lei Li lilei@linux.vnet.ibm.com
Adam Litke has posted comments on this change.
Change subject: Encapsulate vdsm-unregister into vdsm-tool function ......................................................................
Patch Set 1:
It would help me to justify this patch if it included a use for the new code. Right now, you have moved some functionality to vdsm-tool but you are not using it.
-- To view, visit http://gerrit.ovirt.org/4527 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment Gerrit-Change-Id: I7348baeabbdcbb0c2da64170b6957430feaa1954 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Lei Li lilei@linux.vnet.ibm.com Gerrit-Reviewer: Adam Litke agl@us.ibm.com Gerrit-Reviewer: Federico Simoncelli fsimonce@redhat.com Gerrit-Reviewer: Ryan Harper ryanh@us.ibm.com
Adam Litke has posted comments on this change.
Change subject: Encapsulate vdsm-unregister into vdsm-tool function ......................................................................
Patch Set 1: I would prefer that you didn't submit this
-- To view, visit http://gerrit.ovirt.org/4527 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment Gerrit-Change-Id: I7348baeabbdcbb0c2da64170b6957430feaa1954 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Lei Li lilei@linux.vnet.ibm.com Gerrit-Reviewer: Adam Litke agl@us.ibm.com Gerrit-Reviewer: Federico Simoncelli fsimonce@redhat.com Gerrit-Reviewer: Ryan Harper ryanh@us.ibm.com
Wenyi Gao has posted comments on this change.
Change subject: Encapsulate vdsm-unregister into vdsm-tool function ......................................................................
Patch Set 1: (1 inline comment)
.................................................... File vdsm-tool/register.py Line 1: # Copyright 2012 Red Hat, Inc. Should be IBM Copyright?
-- To view, visit http://gerrit.ovirt.org/4527 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment Gerrit-Change-Id: I7348baeabbdcbb0c2da64170b6957430feaa1954 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Lei Li lilei@linux.vnet.ibm.com Gerrit-Reviewer: Adam Litke agl@us.ibm.com Gerrit-Reviewer: Federico Simoncelli fsimonce@redhat.com Gerrit-Reviewer: Ryan Harper ryanh@us.ibm.com Gerrit-Reviewer: Wenyi Gao wenyi@linux.vnet.ibm.com
oVirt Jenkins CI Server has posted comments on this change.
Change subject: Encapsulate vdsm-unregister into vdsm-tool function ......................................................................
Patch Set 1: No score
Build Started http://jenkins.ovirt.info/job/vdsm_unit_tests_by_patch/109/
-- To view, visit http://gerrit.ovirt.org/4527 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment Gerrit-Change-Id: I7348baeabbdcbb0c2da64170b6957430feaa1954 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Lei Li lilei@linux.vnet.ibm.com Gerrit-Reviewer: Adam Litke agl@us.ibm.com Gerrit-Reviewer: Federico Simoncelli fsimonce@redhat.com Gerrit-Reviewer: Ryan Harper ryanh@us.ibm.com Gerrit-Reviewer: Wenyi Gao wenyi@linux.vnet.ibm.com Gerrit-Reviewer: oVirt Jenkins CI Server
oVirt Jenkins CI Server has posted comments on this change.
Change subject: Encapsulate vdsm-unregister into vdsm-tool function ......................................................................
Patch Set 1:
Build Successful
http://jenkins.ovirt.info/job/vdsm_unit_tests_by_patch/109/ : SUCCESS
-- To view, visit http://gerrit.ovirt.org/4527 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment Gerrit-Change-Id: I7348baeabbdcbb0c2da64170b6957430feaa1954 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Lei Li lilei@linux.vnet.ibm.com Gerrit-Reviewer: Adam Litke agl@us.ibm.com Gerrit-Reviewer: Federico Simoncelli fsimonce@redhat.com Gerrit-Reviewer: Ryan Harper ryanh@us.ibm.com Gerrit-Reviewer: Wenyi Gao wenyi@linux.vnet.ibm.com Gerrit-Reviewer: oVirt Jenkins CI Server
Ryan Harper has posted comments on this change.
Change subject: Encapsulate vdsm-unregister into vdsm-tool function ......................................................................
Patch Set 1: I would prefer that you didn't submit this
(2 inline comments)
.................................................... File vdsm-tool/register.py Line 22: import subprocess Line 23: from vdsm.tool import vdsm_tool_expose Line 24: Line 25: RHEL_PATH = '/etc/rhev-hypervisor-release' Line 26: VDSM_UNREGISTER = '/usr/sbin/vdsm-unregister' These should be in constants.py Line 27: Line 28: @vdsm_tool_expose("stop-vdsm-service") Line 29: def stop_vdsm_service(): Line 30: """
Line 31: Stop vdsm service Line 32: """ Line 33: if not os.path.exists(RHEL_PATH): Line 34: os.system('/bin/systemctl --no-reload disable vdsmd.service') Line 35: os.system('/bin/systemctl stop vdsmd.service') systemctl should be part of constants.py Line 36: else: Line 37: try: Line 38: subprocess.call(VDSM_UNREGISTER, shell=True) Line 39: except OSError, e:
-- To view, visit http://gerrit.ovirt.org/4527 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment Gerrit-Change-Id: I7348baeabbdcbb0c2da64170b6957430feaa1954 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Lei Li lilei@linux.vnet.ibm.com Gerrit-Reviewer: Adam Litke agl@us.ibm.com Gerrit-Reviewer: Federico Simoncelli fsimonce@redhat.com Gerrit-Reviewer: Ryan Harper ryanh@us.ibm.com Gerrit-Reviewer: Wenyi Gao wenyi@linux.vnet.ibm.com Gerrit-Reviewer: oVirt Jenkins CI Server
Itamar Heim has posted comments on this change.
Change subject: Encapsulate vdsm-unregister into vdsm-tool function ......................................................................
Patch Set 1:
ping?
Itamar Heim has posted comments on this change.
Change subject: Encapsulate vdsm-unregister into vdsm-tool function ......................................................................
Patch Set 1:
should this be abandoned?
Itamar Heim has abandoned this change.
Change subject: Encapsulate vdsm-unregister into vdsm-tool function ......................................................................
Abandoned
no comment for 30 days post last ping. abandoning. please re-open if/when relevant and/or ping reviewers directly / promote discussion about the patch in the mailing list.
vdsm-patches@lists.fedorahosted.org