Bug 1007714

Summary: RHEVM 3.0 failed to install rhel 5.10 host, instCert failed
Product: Red Hat Enterprise Virtualization Manager Reporter: gaoshang <sgao>
Component: vdsmAssignee: Alon Bar-Lev <alonbl>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.0.8CC: alonbl, bazulay, hateya, iheim, liliu, lpeer, qianzhan, sgao, shihliu, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-16 11:48:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
rhevm.log
none
log in rhel 5.10 host
none
log in rhel 5.10 host
none
log in rhel 5.10 host
none
log in rhel 5.10 host none

Description gaoshang 2013-09-13 08:02:55 UTC
Description of problem:
When installing rhel 5.10 host in RHEVM 3.0, after applied patch http://lyarwood-fab.usersys.redhat.com/tickets/00663482/20120711150630_vds_bootstrap.py, got following error in step instCert, 

"Failed to install Host XX.XX.XX.XX. Step: instCert."

please see log attached for more details, thanks.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. Install latest rhel 5.10
2. Install rhevm 3.0 (ic159)
3. Try to up rhel 5.10 in rhevm web UI

Actual results:
Up rhel 5.10 should be successful

Expected results:
Up rhel 5.10 failed with error
"Failed to install Host XX.XX.XX.XX. Step: instCert."

Additional info:

Comment 1 gaoshang 2013-09-13 08:05:09 UTC
Created attachment 797202 [details]
rhevm.log

Comment 2 Alon Bar-Lev 2013-09-15 06:22:44 UTC
Can I have whatever /tmp/*.log at host?

Comment 3 gaoshang 2013-09-16 11:12:19 UTC
Created attachment 798238 [details]
log in rhel 5.10 host

Comment 4 gaoshang 2013-09-16 11:13:16 UTC
Created attachment 798239 [details]
log in rhel 5.10 host

Comment 5 gaoshang 2013-09-16 11:16:49 UTC
Created attachment 798240 [details]
log in rhel 5.10 host

Comment 6 gaoshang 2013-09-16 11:17:11 UTC
Created attachment 798241 [details]
log in rhel 5.10 host

Comment 7 gaoshang 2013-09-16 11:22:02 UTC
(In reply to Alon Bar-Lev from comment #2)
> Can I have whatever /tmp/*.log at host?

4 log files found in rhel 5.10 host under /tmp/ and error found in the first and second attachments, please see above attachments, thanks.

Comment 8 Alon Bar-Lev 2013-09-16 11:28:43 UTC
2013-09-16 06:45:57,428 DEBUG    deployUtil 1117 instCert: failed.
Traceback (most recent call last):
  File "/tmp/deployUtil.py", line 1098, in instCert
    if e.errno != os.errno.EEXIST:
AttributeError: 'module' object has no attribute 'errno'

Comment 9 Alon Bar-Lev 2013-09-16 11:48:05 UTC
Workaround:

remove manually the following directory from host:

  /etc/pki/vdsm/libvirt-spice

then deploy again.

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

Comment 10 gaoshang 2013-09-16 12:34:25 UTC
(In reply to Alon Bar-Lev from comment #9)
> Workaround:
> 
> remove manually the following directory from host:
> 
>   /etc/pki/vdsm/libvirt-spice
> 
> then deploy again.
> 
> *** This bug has been marked as a duplicate of bug 882556 ***

Thank you Alon, after removing folder of /var/vdsm/ts/libvirt-spice in host, I can up rhel 5.10 host now.