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
Node should include/require ovirt-host.
Seems like the correct place to fix is actually ovirt-release, in ovirt-release-host-node.
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
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.
Created attachment 1331937 [details] all logs including engine.log vdsm.log and host_deploy.log
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
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.