Change in vdsm[master]: Move passwd (set saslpassword for libvirt) to vdsm-tool
danken at redhat.com
danken at redhat.com
Mon Apr 27 10:31:00 UTC 2015
Dan Kenigsberg has posted comments on this change.
Change subject: Move passwd (set saslpassword for libvirt) to vdsm-tool
......................................................................
Patch Set 6:
(2 comments)
https://gerrit.ovirt.org/#/c/39823/6/lib/vdsm/tool/configurators/passwd.py
File lib/vdsm/tool/configurators/passwd.py:
Line 1: # Copyright 2012 IBM, Inc.
Also Red Hat and also 2015.
Line 2: #
Line 3: # This program is free software; you can redistribute it and/or modify
Line 4: # it under the terms of the GNU General Public License as published by
Line 5: # the Free Software Foundation; either version 2 of the License, or
Line 49: def configure():
Line 50: script = (str(_SASLPASSWD2), '-p', '-a', 'libvirt', SASL_USERNAME)
Line 51: rc, _, err = utils.execCmd(script, data=libvirt_password())
Line 52: if rc != 0:
Line 53: raise RuntimeError("Set password failed: %s" % (err,))
should we persist the sasl db? Otherwise, we would call configure on every boot.
Line 54:
Line 55:
Line 56: def removeConf():
Line 57: if isconfigured() == YES:
--
To view, visit https://gerrit.ovirt.org/39823
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I98583500a43f35a04ec258f43c0329e71da575c8
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: mooli tayer <mtayer at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
More information about the vdsm-patches
mailing list