Bug 880020
| Summary: | rhevm-manage-domains -passwordFile=<existing empty file> give exception. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Chris Pelland <cpelland> |
| Component: | ovirt-engine-config | Assignee: | Yair Zaslavsky <yzaslavs> |
| Status: | CLOSED ERRATA | QA Contact: | Ilanit Stein <istein> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.1.0 | CC: | bazulay, cpelland, dyasny, iheim, istein, oourfali, Rhev-m-bugs, sgordon, sgrinber, ykaul |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | 3.1.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
When an empty file was provided as the -passwordFile argument to the rhevm-manage-domains script then a NullPointerException (NPE) was thrown and a stack trace displayed. The rhevm-manage-domains script has been updated to detect whether or not the -passwordFile contains any data and handle the situation where it does not contain any more gracefully.
|
Story Points: | --- |
| Clone Of: | 870052 | Environment: | |
| Last Closed: | 2013-01-15 15:13:14 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 870052 | ||
| Bug Blocks: | |||
|
Description
Chris Pelland
2012-11-26 02:44:48 UTC
3.1.z merge - https://gerrit.eng.lab.tlv.redhat.com/gitweb?p=ovirt-engine.git;a=commit;h=f9e23cd030046834d9c6bb82e1ef4801a8ac0738 Verified on SI25.1: [root@lilach-rhel ~]# rhevm-manage-domains -action=add -addPermissions -domain=qa.lab.tlv.redhat.com -user=vdcadmin -provider=activeDirectory -passwordFile=pass password file is empty [root@lilach-rhel ~]# rm pass rm: remove regular empty file `pass'? y [root@lilach-rhel ~]# rhevm-manage-domains -action=add -addPermissions -domain=qa.lab.tlv.redhat.com -user=vdcadmin -provider=activeDirectory -passwordFile=pass failed reading password from password file No errors on any recoed for the above actions in engine.log Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0003.html |