Bug 1213878 - Failed to deploy HE environment
Summary: Failed to deploy HE environment
Keywords:
Status: CLOSED DUPLICATE of bug 1208458
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup
Version: 3.6.0
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ---
: 3.6.0
Assignee: Sandro Bonazzola
QA Contact: Artyom
URL:
Whiteboard: integration
Depends On: 1208458 1227466
Blocks: 1024686 1150073 1150087 1178535
TreeView+ depends on / blocked
 
Reported: 2015-04-21 13:26 UTC by Artyom
Modified: 2015-06-03 09:46 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-26 14:23:36 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
deployment log (301.24 KB, text/plain)
2015-04-21 13:26 UTC, Artyom
no flags Details
additional logs (32.64 KB, application/zip)
2015-04-21 14:06 UTC, Artyom
no flags Details

Description Artyom 2015-04-21 13:26:54 UTC
Created attachment 1016871 [details]
deployment log

Description of problem:
Failed to deploy HE environment with next error:

[ INFO  ] Waiting for VDSM hardware info
[ INFO  ] Creating Storage Domain
[ INFO  ] Creating Storage Pool
[ INFO  ] Connecting Storage Pool
[ INFO  ] Verifying sanlock lockspace initialization
[ ERROR ] Failed to execute stage 'Misc configuration': (19, 'Sanlock lockspace write failure', 'No such device')
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20150421162123.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination


Version-Release number of selected component (if applicable):
ovirt-hosted-engine-setup-1.3.0-0.0.master.20150401110307.git9665976.el7.noarch

How reproducible:
Always

Steps to Reproduce:
1. Run HE environment deployment on host with NFSv3 storage
2. Fill all details and contiue
3.

Actual results:
Deployment fail before vm creation with error above

Expected results:
Deployment success without any errors

Additional info:

Comment 1 Simone Tiraboschi 2015-04-21 13:45:28 UTC
Artyom, could you please also attach Sanlock and SELinux logs too?
Thanks

Comment 2 Artyom 2015-04-21 14:06:00 UTC
Created attachment 1016909 [details]
additional logs

Here sanlock and messages logs, I do not why but my /var/log/audit/ directory is empty(maybe it just no event, fresh OS)

Comment 3 Sandro Bonazzola 2015-04-24 12:28:09 UTC
Ala Hino, Artyom, are you able to reproduce with SELinux in Permissive mode?
If with Permissive mode it works, can you please check if it's similar to bug #1208458

I've been able to complete the deployment today using Permissive mode.

Comment 4 Artyom 2015-04-26 14:23:36 UTC
Yes, correct under selinux permissive mode deployment pass.
After I enabled auditd service(from some reason it was disable), I success to get selinux error:
time->Sun Apr 26 17:17:17 2015
type=AVC msg=audit(1430057837.335:322): avc:  denied  { read } for  pid=644 comm="sanlock" name="f40ee661-692e-4f93-921a-7f7335be5b4d" dev="tmpfs" ino=53924 scontext=system_u:system_r:sanlock_t:s0-s0:c0.c1023 tcontext=system_u:object_r:virt_var_run_t:s0 tclass=lnk_file
So it the same bug.

*** This bug has been marked as a duplicate of bug 1208458 ***


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