Bug 1538938

Summary: Failed to bootstrap local vm while deploying HE based otopi via cockpit
Product: [oVirt] cockpit-ovirt Reporter: Yihui Zhao <yzhao>
Component: Hosted EngineAssignee: Phillip Bailey <phbailey>
Status: CLOSED DUPLICATE QA Contact: Yihui Zhao <yzhao>
Severity: high Docs Contact:
Priority: unspecified    
Version: ---CC: bugs, cshao, dguo, huzhao, phbailey, qiyuan, rbarry, sabose, sbonazzo, stirabos, weiwang, yaniwang, ycui, yisong, yzhao
Target Milestone: ovirt-4.2.2Flags: rule-engine: ovirt-4.2+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-31 14:24:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
cockpit.png
none
/var/log/* none

Description Yihui Zhao 2018-01-26 08:02:50 UTC
Created attachment 1386491 [details]
cockpit.png

Description of problem: 

Failed to bootstrap local vm while deploying HE based otopi via cockpit.
Cockpit shows that error information:
 Error: Failed to read response.
 fatal: [localhost]: FAILED! => {"attempts": 150, "changed": false, "msg": "Failed to read response."}
 Failed to execute stage 'Closing up': Failed executing ansible-playbook
 Hosted Engine deployment failed: this system is not reliable, please check the issue,fix and redeploy

Version-Release number of selected component (if applicable): 
cockpit-ws-157-1.el7.x86_64
cockpit-bridge-157-1.el7.x86_64
cockpit-storaged-157-1.el7.noarch
cockpit-dashboard-157-1.el7.x86_64
cockpit-157-1.el7.x86_64
cockpit-ovirt-dashboard-0.11.5-0.1.el7ev.noarch
cockpit-system-157-1.el7.noarch
ovirt-hosted-engine-setup-2.2.8-1.el7ev.noarch
ovirt-hosted-engine-ha-2.2.4-1.el7ev.noarch
rhvm-appliance-4.2-20171219.0.el7.noarch
rhvh-4.2.1.2-0.20180125.0+1

How reproducible: 
100% 


Steps to Reproduce: 
1. Clean install RHVH4.2.1 (rhvh-4.2.1.2-0.20180125.0+1) with ks
2. Deploy HE via cockpit based otopi


Actual results: 
Failed to bootstrap local vm while deploying HE based otopi via cockpit.
Cockpit shows that error information:
 Error: Failed to read response.
 fatal: [localhost]: FAILED! => {"attempts": 150, "changed": false, "msg": "Failed to read response."}
 Failed to execute stage 'Closing up': Failed executing ansible-playbook
 Hosted Engine deployment failed: this system is not reliable, please check the issue,fix and redeploy


Expected results: 
Deploy HE via cockpit based otopi successfully.

Additional info:

Comment 1 Yihui Zhao 2018-01-26 08:05:42 UTC
Created attachment 1386492 [details]
/var/log/*

Comment 2 Yihui Zhao 2018-01-26 08:07:45 UTC
(In reply to Yihui Zhao from comment #0)
> Created attachment 1386491 [details]
> cockpit.png
> 
> Description of problem: 
> 
> Failed to bootstrap local vm while deploying HE based otopi via cockpit.
> Cockpit shows that error information:
>  Error: Failed to read response.
>  fatal: [localhost]: FAILED! => {"attempts": 150, "changed": false, "msg":
> "Failed to read response."}
>  Failed to execute stage 'Closing up': Failed executing ansible-playbook
>  Hosted Engine deployment failed: this system is not reliable, please check
> the issue,fix and redeploy
> 
> Version-Release number of selected component (if applicable): 
> cockpit-ws-157-1.el7.x86_64
> cockpit-bridge-157-1.el7.x86_64
> cockpit-storaged-157-1.el7.noarch
> cockpit-dashboard-157-1.el7.x86_64
> cockpit-157-1.el7.x86_64
> cockpit-ovirt-dashboard-0.11.5-0.1.el7ev.noarch
> cockpit-system-157-1.el7.noarch
> ovirt-hosted-engine-setup-2.2.8-1.el7ev.noarch
> ovirt-hosted-engine-ha-2.2.4-1.el7ev.noarch
> rhvm-appliance-4.2-20171219.0.el7.noarch
> rhvh-4.2.1.2-0.20180125.0+1
> 
> How reproducible: 
> 100% 
> 
> 
> Steps to Reproduce: 
> 1. Clean install RHVH4.2.1 (rhvh-4.2.1.2-0.20180125.0+1) with ks
> 2. Deploy HE via cockpit based otopi
> 
> 
> Actual results: 
> Failed to bootstrap local vm while deploying HE based otopi via cockpit.
> Cockpit shows that error information:
>  Error: Failed to read response.
>  fatal: [localhost]: FAILED! => {"attempts": 150, "changed": false, "msg":
> "Failed to read response."}
>  Failed to execute stage 'Closing up': Failed executing ansible-playbook
>  Hosted Engine deployment failed: this system is not reliable, please check
> the issue,fix and redeploy
> 
> 
> Expected results: 
> Deploy HE via cockpit based otopi successfully.
> 
> Additional info:

Update the additional info:
Add the additional info:
Before deploying the HE , the /etc/hosts file :
10.73.73.19 rhevh-hostedengine-vm-04.lab.eng.pek2.redhat.com
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
10.73.73.19  dell-per515-02.lab.eng.pek2.redhat.com

After deploying the HE failed, the /etc/hosts file:
192.168.124.70 rhevh -hostedengine-vm-04.lab.eng.pek2.redhat.com
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
10.73.73.19  dell-per515-02.lab.eng.pek2.redhat.com

Comment 3 Sahina Bose 2018-01-29 17:04:00 UTC
Logged Bug 1539734 which I saw from deploying via CLI. Looks like a duplicate

Comment 4 Ryan Barry 2018-01-31 14:16:01 UTC
This does not appear to be the otopi flow.

Simone, this looks like a duplicate to me. Thoughts?

Comment 5 Simone Tiraboschi 2018-01-31 14:24:05 UTC
(In reply to Ryan Barry from comment #4)
> This does not appear to be the otopi flow.
> 
> Simone, this looks like a duplicate to me. Thoughts?

Yes, I agree

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