Bug 1002226
Summary: | Server installation fails due to user requiring escalated permissions for data storage | ||
---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> |
Component: | Installer | Assignee: | John Sanda <jsanda> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | JON 3.2 | CC: | fbrychta, hrupp, jsanda |
Target Milestone: | ER02 | ||
Target Release: | JON 3.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-01-02 20:33:39 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1006862 |
Description
Larry O'Leary
2013-08-28 16:36:00 UTC
The installer should test that default directory for permissions and if the user running the install does not have the permissions ask for a directory to put stuff in. If the user has explicitly given the directory via --storgag-dir... we may just act as we do now. I talked with Larry, and I think we can put the data directory (by default) under RHQ_HOME. Let's say RHQ_HOME is /opt/rhq and I run rhqctl install there. I would wind up with the following directory structure, /opt/rhq | |--rhq-agent | |--rhq-server-<rhq-version> | \ | \--rhq-storage | |--rhq-data This works because it avoid the user needing administrative rights and keeps the data directory out of the rhq-server directory as I previously thought was being suggested. I would like to see this in the 3.2 beta so I have gone with the work, including a new integration test. master commit hash: 6d78a7f3 |