Bug 1241566

Summary: Can't add additional host to HE environment | [ ERROR ] Failed to execute stage 'Setup validation': [Errno 2] No such file or directory: '/rhev/data-center/mnt/10.35.160.108:_RHEV_nsednev__HE__3__6/4141123f-99d3-4c2f-bb15-5abd14fcc40a/ha_agent/hosted-engi
Product: Red Hat Enterprise Virtualization Manager Reporter: Nikolai Sednev <nsednev>
Component: ovirt-hosted-engine-setupAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: high Docs Contact:
Priority: urgent    
Version: 3.6.0CC: ecohen, gklein, lsurette, nsednev, sbonazzo
Target Milestone: ---Keywords: Regression
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-15 09:24:01 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:
Attachments:
Description Flags
second host's logs none

Description Nikolai Sednev 2015-07-09 13:55:17 UTC
Created attachment 1050297 [details]
second host's logs

Description of problem:
Can't add additional host to HE environment.
[ ERROR ] Failed to execute stage 'Setup validation': [Errno 2] No such file or directory: '/rhev/data-center/mnt/10.35.160.108:_RHEV_nsednev__HE__3__6/4141123f-99d3-4c2f-bb15-5abd14fcc40a/ha_agent/hosted-engine.metadata'
Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1.Deploy HE on first host.
2.Add via CLI additional host to the HE environment.
3.

Actual results:
[ ERROR ] Failed to execute stage 'Setup validation': [Errno 2] No such file or directory: '/rhev/data-center/mnt/10.35.160.108:_RHEV_nsednev__HE__3__6/4141123f-99d3-4c2f-bb15-5abd14fcc40a/ha_agent/hosted-engine.metadata'

Expected results:
Additional host have to be added normally.


Additional info:
Logs attached.

Comment 2 Sandro Bonazzola 2015-07-09 14:01:56 UTC
Nikolai, can you please check if this is a duplicate of bug #1215967 ?

Comment 3 Nikolai Sednev 2015-07-09 14:20:56 UTC
(In reply to Sandro Bonazzola from comment #2)
> Nikolai, can you please check if this is a duplicate of bug #1215967 ?

I think they both has something in common, but my don't has:
OSError: [Errno 2] No such file or directory: '/rhev/data-center/mnt/**FILTERED**0.35.**FILTERED**60.**FILTERED**08:_RHEV_artyom__hosted__engine__36/5874a7c**FILTERED**-3384-4b07-839c-b5cc4aa555a6/ha_agent/hosted-engine.metadata'

In case they look like the same, please consider closing mine as duplicate.

Comment 4 Sandro Bonazzola 2015-07-09 14:23:44 UTC
Keeping for now so Simone can review this too.

Comment 6 Simone Tiraboschi 2015-07-15 09:24:01 UTC
It's reproducible but it's just a duplicate of #1215967
hosted-engine.metadata exists as a symlink to /var/run/vdsm/storage/dfce38c3-009d-4015-b4c0-4dcff4f38911/1e448bad-c4bd-45ed-bd5a-95c97b30f13c/d9979560-5de5-43a8-a18b-28d52ffc3b3c
while the whole /var/run/vdsm/storage/ is missing


[root@c71he36n2 ~]# ls -lh /rhev/data-center/mnt/192.168.1.115\:_Virtual_exthe7/dfce38c3-009d-4015-b4c0-4dcff4f38911/ha_agent/
total 8.0K
lrwxrwxrwx. 1 vdsm kvm 132 Jul 15 10:24 hosted-engine.lockspace -> /var/run/vdsm/storage/dfce38c3-009d-4015-b4c0-4dcff4f38911/eb9545ae-a833-4bb9-9b22-26b7042fa854/adf5b8cf-14f1-4aa7-bcf4-08c310a2242b
lrwxrwxrwx. 1 vdsm kvm 132 Jul 15 10:24 hosted-engine.metadata -> /var/run/vdsm/storage/dfce38c3-009d-4015-b4c0-4dcff4f38911/1e448bad-c4bd-45ed-bd5a-95c97b30f13c/d9979560-5de5-43a8-a18b-28d52ffc3b3c
[root@c71he36n2 ~]# ls /var/run/vdsm/
client.log  lvm  mom-vdsm.sock  nets_restored  sourceRoutes  svdsm.sock  trackedInterfaces  v2v
[root@c71he36n2 ~]#

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