Yair Zaslavsky has submitted this change and it was merged.
Change subject: tools: Provide better explaination on why setting password failed.
......................................................................
tools: Provide better explaination on why setting password failed.
Instead of providing the notes, a better error message is printed:
In case the admin-pass-file does not exist, a message indicating the
file does not exist will be printed.
In other cases, if the value is not "interactive" and the file does
not exist, a short message explaining the problem will be presented.
Bug-Url:
https://bugzilla.redhat.com/1058957
Change-Id: I3cbfb4d8ff6cd3dc3a6bdb0b6664d5cfc8012b1a
Signed-off-by: Yair Zaslavsky <yzaslavs(a)redhat.com>
---
M
backend/manager/tools/src/main/java/org/ovirt/engine/core/config/entity/helper/PasswordValueHelper.java
1 file changed, 12 insertions(+), 3 deletions(-)
Approvals:
Martin Peřina: Looks good to me, but someone else must approve
Eli Mesika: Looks good to me, but someone else must approve
Yair Zaslavsky: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/23933
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3cbfb4d8ff6cd3dc3a6bdb0b6664d5cfc8012b1a
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzaslavs(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server