Bug 1464199

Summary: drop m2crypto requirements on ovirt-host-deploy execution
Product: [oVirt] ovirt-host-deploy Reporter: Sandro Bonazzola <sbonazzo>
Component: Plugins.VDSMAssignee: Yedidyah Bar David <didi>
Status: CLOSED CURRENTRELEASE QA Contact: Pavol Brilla <pbrilla>
Severity: medium Docs Contact:
Priority: high    
Version: masterCC: bugs, danken, didi, lsvaty, pkliczew
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
lsvaty: testing_ack+
Target Release: 1.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-12 12:56:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1471196, 1478904    

Description Sandro Bonazzola 2017-06-22 15:52:18 UTC
vdsm dropped dependency on m2crypto in https://gerrit.ovirt.org/76027 without removing its runtime requirement for certificate enrollment in ovirt-host-deploy.
Result is that ovirt-node can't be added anymore as hypervisor since m2crypto is not installed anymore on ovirt-node not being required by vdsm and fails running certificate enrollment.

As temporary solution we're forcing m2crypto installation on ovirt-node but since we are abandoning m2crypto in other projects we should go ahead and remove here as well.

Comment 1 Sandro Bonazzola 2017-09-04 05:59:46 UTC
Didi, can you please check if solution for bug #1471196 solved this one as well?

Comment 2 Yedidyah Bar David 2017-09-04 06:54:47 UTC
(In reply to Sandro Bonazzola from comment #1)
> Didi, can you please check if solution for bug #1471196 solved this one as
> well?

Almost.

We still have there code to install m2crypto, and code to use it, but the code to use is disabled by the patch to bug #1471196.

As discussed in private, it doesn't seem like we'll return to m2crypto for host-deploy, so I'd rather remove all code. We can always copy from git history if needed.

Comment 3 Pavol Brilla 2018-01-08 14:51:43 UTC
# yum deplist ovirt-host-deploy | grep m2crypto
# 


Host added to engine succesfully