Bug 1495854 - Engine requires 'ovirt-host' package and failing to add ovirt-node-4.2
Summary: Engine requires 'ovirt-host' package and failing to add ovirt-node-4.2
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-node
Classification: oVirt
Component: General
Version: master
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ovirt-4.2.0
: 4.2
Assignee: Ryan Barry
QA Contact: dguo
URL:
Whiteboard:
Depends On:
Blocks: 1460609
TreeView+ depends on / blocked
 
Reported: 2017-09-26 12:35 UTC by Michael Burman
Modified: 2019-04-28 13:15 UTC (History)
13 users (show)

Fixed In Version: ovirt-release-host-node-4.2.0-2
Clone Of:
Environment:
Last Closed: 2017-12-20 11:11:05 UTC
oVirt Team: Node
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: blocker+
cshao: testing_plan_complete?
rbarry: devel_ack+
cshao: testing_ack+


Attachments (Terms of Use)
deploy log (21.56 KB, application/x-gzip)
2017-09-26 12:35 UTC, Michael Burman
no flags Details
all logs including engine.log vdsm.log and host_deploy.log (65.08 KB, application/x-gzip)
2017-09-28 12:02 UTC, dguo
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 82267 0 master MERGED node: require ovirt-host 2017-09-28 13:07:40 UTC
oVirt gerrit 82268 0 ovirt-4.2 MERGED node: require ovirt-host 2017-09-28 13:10:18 UTC
oVirt gerrit 82269 0 master MERGED node: ensure irqbalance is started 2017-09-28 13:23:46 UTC
oVirt gerrit 82270 0 ovirt-4.2 MERGED node: ensure irqbalance is started 2017-09-28 13:24:01 UTC
oVirt gerrit 82271 0 ovirt-4.1 ABANDONED node: ensure irqbalance is started 2018-01-10 13:20:52 UTC
oVirt gerrit 82272 0 ovirt-4.1 MERGED node: ensure irqbalance is started 2017-09-28 13:24:13 UTC

Description Michael Burman 2017-09-26 12:35:01 UTC
Created attachment 1331044 [details]
deploy log

Description of problem:
Engine requires 'ovirt-host' package and failing to add ovirt-node-4.2.

Latest master now requires 'ovirt-host' package when trying to add ovirt-node-4.2 to the engine and failing installation.

Version-Release number of selected component (if applicable):
4.2.0-0.0.master.20170925172449.git9d850a9.el7.centos
ovirt-node-ng-4.2.0-0.20170918.0+1
vdsm-4.20.3-55.git5d02f64.el7.centos.x86_64
ovirt-host-deploy-1.7.0-0.0.master.20170912090102.git1eeb5a2.el7.centos.noarch

How reproducible:
%

Steps to Reproduce:
1. Try to add ovirt-node-4.2 to master engine

Actual results:
Add host failed

Expected results:
Should work

Additional info:
Also see - BZ 1490274

Comment 1 Yedidyah Bar David 2017-09-26 12:42:06 UTC
Node should include/require ovirt-host.

Comment 2 Yedidyah Bar David 2017-09-26 12:43:10 UTC
Seems like the correct place to fix is actually ovirt-release, in ovirt-release-host-node.

Comment 3 dguo 2017-09-27 12:54:16 UTC
I tested on ovirt-node-ng-4.2.0-0.20170924.0+1 for twice, but could not reproduce since "ovirt-host" indeed exists on this build.

[root@dhcp-8-109 ~]# imgbase w
You are on ovirt-node-ng-4.2.0-0.20170924.0+1

[root@dhcp-8-109 ~]# rpm -qa|grep ovirt-host
ovirt-hosted-engine-ha-2.2.0-0.0.master.20170914130805.20170914130802.git82df275.el7.centos.noarch
ovirt-host-4.2.0-0.0.master.20170913090858.git0bfa7ab.el7.centos.noarch
ovirt-host-deploy-1.7.0-0.0.master.20170912090102.git1eeb5a2.el7.centos.noarch
ovirt-hosted-engine-setup-2.2.0-0.0.master.20170919052946.git896e399.el7.centos.noarch
ovirt-host-dependencies-4.2.0-0.0.master.20170913090858.git0bfa7ab.el7.centos.noarch

[root@dhcp-8-109 ~]# rpm -qR ovirt-hosted-engine-setup-2.2.0-0.0.master.20170919052946.git896e399.el7.centos.noarch|grep ovirt-host
ovirt-host >= 4.2.0
ovirt-host-deploy >= 1.7.0
ovirt-hosted-engine-ha >= 2.2.0

Comment 4 dguo 2017-09-28 11:59:08 UTC
I am also trying to reproduce this issue on build ovirt-node-ng-4.2.0-0.20170915.0+1, find that the "ovirt-host" exists on rhvh originally, but be removed strangely while adding host to engine.   

Test version:
engine version: 4.2.0-0.0.master.20170925172449.git9d850a9.el7.centos
vdsm-4.20.3-27.git4fb1e37.el7.centos.x86_64
ovirt-host-deploy-1.7.0-0.0.master.20170912090102.git1eeb5a2.el7.centos.noarch
ovirt-node-ng-4.2.0-0.20170915.0+1

Here is the test step:
1. Fresh install rhvh via ovirt-node-ng-installer-master-2017091509.iso
2. After first reboot, check "ovirt-host" package
3. Add host to engine, check "ovirt-host" package on rhvh during "installing phase"
4. Check if adding sucess

Actual results:
After step#2:
[root@dell-per515-01 ~]# imgbase w
You are on ovirt-node-ng-4.2.0-0.20170915.0+1
[root@dell-per515-01 ~]# date
Thu Sep 28 11:24:55 CST 2017
[root@dell-per515-01 ~]# rpm -qa|grep ovirt-host
ovirt-host-dependencies-4.2.0-0.0.master.20170913090858.git0bfa7ab.el7.centos.noarch
ovirt-hosted-engine-ha-2.2.0-0.0.master.20170911110029.20170911110026.git158d6fa.el7.centos.noarch
ovirt-host-4.2.0-0.0.master.20170913090858.git0bfa7ab.el7.centos.noarch
ovirt-host-deploy-1.7.0-0.0.master.20170912090102.git1eeb5a2.el7.centos.noarch
ovirt-hosted-engine-setup-2.2.0-0.0.master.20170913082146.git120d800.el7.centos.noarch

As you can see above, the "ovirt-host" package does exist.

After step #3:
[root@dell-per515-01 ~]# rpm -qa|grep ovirt-host
ovirt-host-dependencies-4.2.0-0.0.master.20170913090858.git0bfa7ab.el7.centos.noarch
ovirt-hosted-engine-ha-2.2.0-0.0.master.20170911110029.20170911110026.git158d6fa.el7.centos.noarch
ovirt-host-deploy-1.7.0-0.0.master.20170912090102.git1eeb5a2.el7.centos.noarch
[root@dell-per515-01 ~]# date
Thu Sep 28 19:30:35 CST 2017
[root@dell-per515-01 ~]# imgbase w
You are on ovirt-node-ng-4.2.0-0.20170915.0+1

But here, there is no "ovirt-host" package during adding host to engine

Finally, adding host failed

Additional info:
1. Remove the host from dc, and re-add to engine, then will reproduce the issue in description.

Comment 5 dguo 2017-09-28 12:02:15 UTC
Created attachment 1331937 [details]
all logs including engine.log vdsm.log and host_deploy.log

Comment 6 dguo 2017-10-31 02:50:39 UTC
Add latest ovirt-node-ng-4.2.0-0.20171030 to engine successfully, can not reproduce the issue and put it to verified.

Test versions:
ovirt-node-ng-4.2.0-0.20171030.0+1
ovirt-engine: 4.2.0-0.0.master.20171030210714.gitef6bb9c.el7.centos


Test step:
1. Install node via iso and configure network successfully
2. Check node if include ovirt-host package
3. Add node to engine

Actural results:
1. After step#2
[root@bootp-73-75-18 ~]# rpm -qa|grep ovirt-host
ovirt-host-dependencies-4.2.0-0.0.master.20170928133754.git2e62abb.el7.centos.noarch
ovirt-host-deploy-1.7.0-0.0.master.20170912090102.git1eeb5a2.el7.centos.noarch
ovirt-hosted-engine-ha-2.2.0-0.0.master.20171026143552.20171026143550.gitcbe3c76.el7.centos.noarch
ovirt-host-4.2.0-0.0.master.20170928133754.git2e62abb.el7.centos.noarch
ovirt-hosted-engine-setup-2.2.0-0.0.master.20171016160008.git55723e8.el7.centos.noarch
2.After step#3
The node was added to engine successfully

Comment 7 Sandro Bonazzola 2017-12-20 11:11:05 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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