Bug 999865 - Check for storage domain permissions missing in ovirt-hosted-engine setup therefore storage domain creation fails.
Summary: Check for storage domain permissions missing in ovirt-hosted-engine setup the...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.3.0
Assignee: Sandro Bonazzola
QA Contact: Leonid Natapov
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-22 09:41 UTC by Leonid Natapov
Modified: 2015-09-22 13:09 UTC (History)
3 users (show)

Fixed In Version: ovirt-hosted-engine-setup-1.0.0-0.3.beta.el6ev
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-21 16:52:29 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0083 0 normal SHIPPED_LIVE new package: ovirt-hosted-engine-setup 2014-01-21 21:42:22 UTC
oVirt gerrit 18421 0 None MERGED packaging: setup: check access rights on storage 2020-01-24 00:59:25 UTC

Description Leonid Natapov 2013-08-22 09:41:28 UTC
Check for storage domain permissions missing in ovirt-hosted-engine setup therefore storage domain creation fails.
While setup user asked to give storage domain path.
There is a check for correct storage domain path but no check for the permissions.

Storage creation fails with: StorageServerAccessPermissionError: Permission settings on the specified path do not allow access to the storage. Verify permission settings on the specified storage path.: 'path = /rhev/data-center/mnt/dellserver.home:_home_images'

How to reproduce:
While ovirt-hosted-engine-setup give the storage domain path but make sure that library owner is NOT vdsm:kvm

Expected Results:
setup should give an appropriate error message

Comment 1 Sandro Bonazzola 2013-08-22 13:32:10 UTC
during customization also check for access permissions
on storage location avoiding to fail storage domain
creation in a later stage.

Comment 2 Sandro Bonazzola 2013-08-23 06:21:56 UTC
patch merged upstream master

Comment 4 Leonid Natapov 2013-10-17 10:51:21 UTC
fixed. ovirt-hosted-engine-setup-1.0.0-0.5.2.beta1.local.el6.noarch

Comment 5 Charlie 2013-11-28 01:19:09 UTC
This bug is currently attached to errata RHBA-2013:15257. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to 
minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.

Comment 6 Sandro Bonazzola 2013-12-05 10:59:47 UTC
hosted engine is a new package, does not need errata for specific bugs during its development.

Comment 7 errata-xmlrpc 2014-01-21 16:52:29 UTC
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-2014-0083.html


Note You need to log in before you can comment on or make changes to this bug.