Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1256467

Summary: hosted-engine-setup fails acquiring CA.crt with a 404 error
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Simone Tiraboschi <stirabos>
Component: Plugins.PKIAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED CURRENTRELEASE QA Contact: Nikolai Sednev <nsednev>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.0.0CC: bugs, didi, ecohen, gklein, lsurette, lveyde, rbalakri, rmartins, sbonazzo, stirabos, yeylon, ylavi
Target Milestone: ovirt-3.6.1Keywords: Automation, Triaged, ZStream
Target Release: 1.3.1Flags: rule-engine: ovirt-3.6.z+
rule-engine: blocker+
rule-engine: planning_ack+
sbonazzo: devel_ack+
istein: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: hosted-engine setup was trying to fetch the CA cert from http://{fqdn}/ca.crt but since 3.6 that certificate is available only from the pki-resource servlet. Consequence: A 404 error Fix: Getting and validating the CA cert from the pki-resource servlet
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-16 12:18:20 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:
Bug Depends On:    
Bug Blocks: 1284979    

Description Simone Tiraboschi 2015-08-24 16:19:03 UTC
Description of problem:
hosted-engine-setup fails acquiring CA.crt:
 [ INFO  ] Engine replied: DB Up!Welcome to Health Status!
 [ ERROR ] Failed to execute stage 'Closing up': HTTP Error 404: Not Found
 [ INFO  ] Stage: Clean up
In the past the cert was available as
http://{fqdn}/ca.crt
but now the engine responds with a 404 Not found.

Moving to pki-resource servlet


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

How reproducible:
100%

Steps to Reproduce:
1. lauch hosted-engine --deploy
2.
3.

Actual results:
 [ ERROR ] Failed to execute stage 'Closing up': HTTP Error 404: Not Found

Expected results:
it deploys

Additional info:

Comment 1 Simone Tiraboschi 2015-09-01 15:47:49 UTC
It doesn't reproduce on 3.6 but only in master

Comment 2 Red Hat Bugzilla Rules Engine 2015-10-19 10:53:49 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 3 Red Hat Bugzilla Rules Engine 2015-10-22 14:17:10 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 4 Nikolai Sednev 2015-11-25 07:48:10 UTC
Works for me on these components:
ovirt-vmconsole-host-1.0.1-0.0.master.20151105234454.git3e5d52e.el7.noarch
ovirt-release36-002-2.noarch
ovirt-engine-sdk-python-3.6.0.4-0.2.20151123.gita2f81ed.el7.centos.noarch
sanlock-3.2.4-1.el7.x86_64
ovirt-setup-lib-1.0.1-0.0.master.20151119123055.gitfa908be.el7.centos.noarch
qemu-kvm-rhev-2.3.0-31.el7_2.3.x86_64
ovirt-hosted-engine-ha-1.3.3-0.0.master.20151118145556.20151118145552.git71b535e.el7.noarch
ovirt-vmconsole-1.0.1-0.0.master.20151105234454.git3e5d52e.el7.noarch
ovirt-release36-snapshot-002-2.noarch
libvirt-client-1.2.17-13.el7.x86_64
ovirt-hosted-engine-setup-1.3.1-0.0.master.20151118143825.gitc013638.el7.centos.noarch
ovirt-host-deploy-1.4.2-0.0.master.20151122153544.gitfc808fc.el7.noarch
vdsm-4.17.10.1-0.el7ev.noarch
mom-0.5.1-2.el7.noarch

Comment 5 Sandro Bonazzola 2015-12-16 12:18:20 UTC
According to verification status and target milestone this issue should be fixed in oVirt 3.6.1. Closing current release.