Change in vdsm[master]: Move validate_libvirt_certs to vdsm-tool

danken at redhat.com danken at redhat.com
Mon Jul 23 11:19:41 UTC 2012


Dan Kenigsberg has posted comments on this change.

Change subject: Move validate_libvirt_certs to vdsm-tool
......................................................................


Patch Set 2: I would prefer that you didn't submit this

(4 inline comments)

....................................................
File vdsm/constants.py.in
Line 117: EXT_OPENSSL = '@OPENSSL_PATH@'
is this really needed? I hope it can be avoided. we would like to make constats.py thinner and thinner.

....................................................
File vdsm-tool/base.py
Line 25: def exec_command(argv):
we have vdsm.utils.execCmd. Why do we want this function (and its enclosing module)?

....................................................
File vdsm-tool/validate_libvirt_certs.py
Line 51:                 exec_command([EX_UNPERSIST, CACERT_PATH, '1'])
it's not your fault, but this function does much more than just validation.

please explain what it does (and why?) and even better - change the name.

Line 53:                 shutil.copy('%s/file' % BASE_PATH, CACERT_PATH)
are you sure 'file' should be quoted here?

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

Gerrit-MessageType: comment
Gerrit-Change-Id: I5b6504ae2e3c8ffa0c33d7ba22a7c16597a51945
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Wenyi Gao <wenyi at linux.vnet.ibm.com>
Gerrit-Reviewer: Adam Litke <agl at us.ibm.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Wenyi Gao <wenyi at linux.vnet.ibm.com>


More information about the vdsm-patches mailing list