| Summary: | [ovirt] [tools] engine-manage-domains is not working: wrong path to engine-manage-domains.conf | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | yeylon <yeylon> |
| Component: | ovirt-engine-config | Assignee: | Barak <bazulay> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | acathrow, bazulay, dfediuck, iheim, oschreib, pstehlik, srevivo, ykaul |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-12-19 00:41:21 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
the path to the conf file should be /etc/ovirt-engine/engine-manage-domains/engine-manage-domains.conf and not /etc/engine/engine-manage-domains/engine-manage-domains.conf. I found wrong engine-manage-domains.conf paths in the following 2 files: /backend/manager/conf/kerberos/engine-manage-domains /backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/kerberos/ManageDomains.java *** Bug 773596 has been marked as a duplicate of this bug. *** Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug. |
Description of problem: 1. after clean installation Configuration file is missing [root@yeylon-fedora16 ~]# engine-manage-domains Error: Configuration file /etc/engine/engine-manage-domains/engine-manage-domains.conf is either empty or does not exist 2. trying to tun the command with (old RHEVM3.0) parameters fails with the same error as above [root@yeylon-fedora16 ~]# engine-manage-domains -action=add -domain=qa.lab.tlv.redhat.com -user=vdcadmin -password=XXXXXXXX Error: Configuration file /etc/engine/engine-manage-domains/engine-manage-domains.conf is either empty or does not exist 3. help/usage is missing rhevm-manage-domains: add/edit/delete/validate/list domains USAGE: rhevm-manage-domains -action=ACTION [-domain=DOMAIN -user=USER -passwordFile=PASSWORD_FILE -interactive -configFile=PATH] -report Where: ACTION action to perform (add/edit/delete/validate/list). See details below. DOMAIN (mandatory for add, edit and delete) the domain you wish to perform the action on. USER (optional for edit, mandatory for add) the domain user. PASSWORD_FILE (optional for edit, mandatory for add) a file containing the password in the first line. interactive alternative for using -passwordFile - read the password interactively. PATH (optional) use the given alternate configuration file. Available actions: add Examples: -action=add -domain=example.com -user=admin -passwordFile=/tmp/.pwd Add a domain called example.com, using user admin and read the password from /tmp/.pwd. -action=edit -domain=example.com -passwordFile=/tmp/.new_password Edit the domain example.com, using another password file. -action=delete -domain=example.com Delete the domain example.com. -action=validate Validate the current configuration (go over all the domains, try to authenticate to each domain using the configured user/password.). -report In combination with -action=validate will report all validation error, if occured. Default behaviour is to exit when a validation error occurs. -action=list Lists the current configuration. -h Show this help. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: