Bug 1490274 - Engine requires 'ovirt-host' package and failing add host 4.1
Summary: Engine requires 'ovirt-host' package and failing add host 4.1
Keywords:
Status: CLOSED DUPLICATE of bug 1503124
Alias: None
Product: ovirt-host-deploy
Classification: oVirt
Component: Core
Version: 1.7.0
Hardware: x86_64
OS: Linux
urgent
high
Target Milestone: ovirt-4.2.0
: ---
Assignee: Yedidyah Bar David
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-11 08:21 UTC by Michael Burman
Modified: 2017-10-25 11:25 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-25 11:25:11 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: blocker+


Attachments (Terms of Use)
deploy engine log (18.21 KB, application/x-gzip)
2017-09-11 08:21 UTC, Michael Burman
no flags Details

Description Michael Burman 2017-09-11 08:21:46 UTC
Created attachment 1324366 [details]
deploy engine log

Description of problem:
Engine requires 'ovirt-host' package and failing add host 4.1.
Engine now started to require 'ovirt-host' package, but 4.1 version doesn't have this package available.

2017-09-11 09:49:10,977+0300 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
  File "/tmp/ovirt-lj1TGuGN4k/pythonlib/otopi/context.py", line 132, in _executeMethod
    method['method']()
  File "/tmp/ovirt-lj1TGuGN4k/otopi-plugins/ovirt-host-deploy/host/packages.py", line 69, in _validation
    'Cannot locate ovirt-host package, '
RuntimeError: Cannot locate ovirt-host package, possible cause is incorrect channels
2017-09-11 09:49:10,978+0300 ERROR otopi.context context._executeMethod:151 Failed to execute stage 'Setup validation': Cannot locate ovirt-host package, possible cause is incorrect channels

Engine should ignore this for hosts lower then < 4.2 and not fail the host installation.

Version-Release number of selected component (if applicable):
4.2.0-0.0.master.20170907100709.git14accac.el7.centos

How reproducible:
100%

Steps to Reproduce:
1. Try to add 4.1 host to latest master

Actual results:
Engine requires new package 'ovirt-host' and add host failing.

Expected results:
Engine shouldn't require 'ovirt-host' for versions lower then < 4.2 and shouldn't fail the install on this.

Comment 1 Sandro Bonazzola 2017-09-11 08:51:06 UTC
Alternative is to backport ovirt-host package to previous versions.
Martin? Yaniv?

Comment 2 Sandro Bonazzola 2017-09-11 08:55:07 UTC
Also, I'm not sure that oVirt host deploy knows the cluster version of the host being deployed.

Comment 3 Martin Perina 2017-09-11 09:06:07 UTC
So again, why not take the simplest solution and add the package to both 4.1 and 3.6?

Comment 4 Martin Perina 2017-09-11 09:07:44 UTC
4.1 is necessary only for oVirt now, as on downstream 4.x hosts have the same channel, but 3.6 might be needed even for downstream

Comment 7 Michael Burman 2017-09-26 11:46:59 UTC
Engine now requires this package for ovirt-node-4.2 as well!
A week ago it was working and i managed to add ovirt-node-4.2, but now we require this package for oVirt Node 4.2.0_master - ovirt-node-ng-4.2.0-0.20170918.0+1 

2017-09-26 14:38:12,430+0300 DEBUG otopi.context context._executeMethod:143 method exception
Traceback (most recent call last):
  File "/tmp/ovirt-6FReoq1Fhi/pythonlib/otopi/context.py", line 133, in _executeMethod
    method['method']()
  File "/tmp/ovirt-6FReoq1Fhi/otopi-plugins/ovirt-host-deploy/host/packages.py", line 69, in _validation
    'Cannot locate ovirt-host package, '
RuntimeError: Cannot locate ovirt-host package, possible cause is incorrect channels

ovirt-engine-4.2.0-0.0.master.20170925172449.git9d850a9.el7.centos.noarch

Comment 8 Yedidyah Bar David 2017-09-26 12:13:15 UTC
(In reply to Michael Burman from comment #7)
> Engine now requires this package for ovirt-node-4.2 as well!

Please file a new bug for this, on node, and make it a dependency of bug 1460609. Thanks. I thought we handled this, but can't find neither a patch nor a bug.

Comment 9 Dan Kenigsberg 2017-10-18 07:24:35 UTC
I understand from Didi that you intend not to fix this bug. I find it problematic; we need automatic testing of 4.2 Engine with 4.1 hosts (to ensure no regressions). Not having this bug fixed would make these tests slower and more complicated (would require Engine 4.1->4.2 upgrade after adding the hosts).

Comment 10 Yedidyah Bar David 2017-10-18 07:50:56 UTC
We decided to fix current bug, I am working on it, moving to ASSIGNED. Still not sure what we are going to officially support, that's a separate discussion.

Comment 11 Yedidyah Bar David 2017-10-19 14:05:01 UTC
See also: bug 1503124 . Might eventually be closed as duplicate of that one, TBD

Comment 12 Yedidyah Bar David 2017-10-25 11:25:11 UTC

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


Note You need to log in before you can comment on or make changes to this bug.