Also, to save time, I have plenty of free space 100GB+ on both / and /home.

On Fri, Mar 24, 2017 at 1:22 PM Cory Taylor <legomind@gmail.com> wrote:
Yes, already checked permissions. I start the installation with an empty share, and after failure, a storage domain exists - so it has write permission.

On Fri, Mar 24, 2017 at 1:11 PM Simone Tiraboschi <stirabos@redhat.com> wrote:
On Fri, Mar 24, 2017 at 4:25 PM, Cory Taylor <legomind@gmail.com> wrote:
I am having some difficulty setting up a self hosted engine on a new install of centos 7, and would appreciate any help.

upon hosted-engine --deploy, I get this:

[ ERROR ] Failed to execute stage 'Misc configuration': [Errno 1] Operation not permitted: '/var/run/vdsm/storage/39015a62-0f8f-4b73-998e-5a4923b060f0/9d1ebe53-9997-46fe-a39f-aff5768eae59'

Could you please try directly mounting svr-fs-01.mact.co:/exports/ovirt_storage/engine_data and ensure you can successfully write there as vdsm:kvm and change a file ownership to vdsm:kvm or 36:36?


the relevant error in vdsm.log:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 878, in _run
    return fn(*args, **kargs)
  File "/usr/lib/python2.7/site-packages/vdsm/logUtils.py", line 52, in wrapper
    res = f(*args, **kwargs)
  File "/usr/share/vdsm/storage/hsm.py", line 3145, in prepareImage
    raise se.VolumeDoesNotExist(leafUUID)
VolumeDoesNotExist: Volume does not exist: (u'b5b2412a-f825-43f2-b923-191216117d25',)
2017-03-24 11:19:17,572-0400 INFO  (jsonrpc/0) [storage.TaskManager.Task] (Task='82952b56-0894-4a25-b14c-1f277d20d30a') aborting: Task is aborted: 'Volume does not exist' - code 201 (task:1176)
2017-03-24 11:19:17,573-0400 ERROR (jsonrpc/0) [storage.Dispatcher] {'status': {'message': "Volume does not exist: (u'b5b2412a-f825-43f2-b923-191216117d25',)", 'code': 201}} (dispatcher:78)

This is not an issue: hosted-engine-setup it's checking here to be sure that the SD uuid is free
 
2017-03-24 11:19:17,573-0400 INFO  (jsonrpc/0) [jsonrpc.JsonRpcServer] RPC call Image.prepare failed (error 201) in 0.01 seconds (__init__:552)
2017-03-24 11:19:17,583-0400 INFO  (jsonrpc/2) [dispatcher] Run and protect: createVolume(sdUUID=u'39015a62-0f8f-4b73-998e-5a4923b060f0', spUUID=u'53edef91-404b-45d6-8180-48c59def4e01', imgUUID=u'bff0948c-0916-49f8-9026-c23a571b8abe', size=u'1048576', volFormat=5, preallocate=1, diskType=2, volUUID=u'b5b2412a-f825-43f2-b923-191216117d25', desc=u'hosted-engine.lockspace', srcImgUUID=u'00000000-0000-0000-0000-000000000000', srcVolUUID=u'00000000-0000-0000-0000-000000000000', initialSize=None) (logUtils:51)

and it's creating the volume here
 

_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users