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

Bug 1347449

Summary: Host installation fails
Product: [oVirt] ovirt-engine Reporter: George Chlipala <gchlip2>
Component: Host-DeployAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6.6CC: bugs, gchlip2, mperina
Target Milestone: ---Flags: rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-21 15:09:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Host deploy logfile none

Description George Chlipala 2016-06-16 22:53:34 UTC
Created attachment 1168859 [details]
Host deploy logfile

Description of problem: Cannot install host from ovirt-engine web interface.


Version-Release number of selected component (if applicable): 3.6.6.2-1.el6


How reproducible: 100% - Have tried with two different systems and receive same error(s).


Steps to Reproduce:
1. From "Hosts" tab within a cluster, click "New"
2. Set host information, i.e. IP address and root password
3. Click "OK"

Have verified that I can SSH into the host(s) as root from the ovirt-engine system.

Actual results: Installation fails.


Expected results: Installation of host succeeds.


Additional info: I have install the ovirt repo package

[root@cridev-kvm01 ~]# rpm -qa | grep ovirt
ovirt-release36-3.6.6-1.noarch
libgovirt-0.3.2-2.el6.x86_64

Looked through the details of the logs and it seems that the install is failing to install the dnf and vdsm package, which are not available.

[root@cridev-kvm01 ~]# yum search dnf vdsm
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: centos.chicago.waneq.com
 * extras: ftpmirror.your.org
 * ovirt-3.6: www.gtlib.gatech.edu
 * ovirt-3.6-epel: mirror.steadfast.net
 * ovirt-3.6-jpackage-6.0-generic: ftp.heanet.ie
 * updates: mirror.eboundhost.com
========================================================================================================================== N/S Matched: vdsm ===========================================================================================================================
vdsm-jsonrpc-java.noarch : oVirt JsonRpc java client (vdsm-jsonrpc-java)
vdsm-jsonrpc-java-repolib.noarch : vdsm-jsonrpc-java maven repo

  Name and summary matches mostly, use "search all" for everything.
Warning: No matches found for: dnf

Comment 1 Martin Perina 2016-06-17 09:54:01 UTC
I've looked at your setup.log and you can safely ignore exceptions around dnf, they are logged only in DEBUG level and those exceptions are part of out detection if dnf is available.

The actual problem is missing vdsm package. What OS are you using on the hosts? Looking at your output:

> [root@cridev-kvm01 ~]# rpm -qa | grep ovirt
> ovirt-release36-3.6.6-1.noarch
> libgovirt-0.3.2-2.el6.x86_64

I guess that you want to use Centos/RHEL 6, right? Please be aware that EL6 is no longer supported as host OS (only engine can still run on EL6 in oVirt 3.6), so you have two options:


1. Install CentOS/RHEL 7 on your hosts

2. If you really need EL6 on hosts, you can enable oVirt 3.5 repo [1] and use older VDSM. 3.6 engine supports older VDSM, but you are limited to 3.5 cluster level compatibility (you cannot use any new 3.6 features)

Generally I'd highly recommend you to use EL7 for both engine and hosts as it will make your life much easier when you upgrade to oVirt 4.0.


[1] http://resources.ovirt.org/pub/ovirt-3.5/rpm/el6/noarch/ovirt-release35-006-1.noarch.rpm

Comment 2 Martin Perina 2016-06-21 15:09:35 UTC
Closing this as NOTABUG, because most probably you are trying to install 3.6 VDSM on EL6, which is no longer supported host OS version. Feel free to reopen if it's not the case.

Comment 3 George Chlipala 2016-06-21 15:11:28 UTC
Although you may want to update the Quick Start guide as it only has host instructions for oVirt Node, Fedora 19, or CentOS 6.5 

https://www.ovirt.org/documentation/quickstart/quickstart-guide/

Comment 4 Martin Perina 2016-10-24 15:21:02 UTC
(In reply to George Chlipala from comment #3)
> Although you may want to update the Quick Start guide as it only has host
> instructions for oVirt Node, Fedora 19, or CentOS 6.5 
> 
> https://www.ovirt.org/documentation/quickstart/quickstart-guide/

Yes, unfortunately our upstream doc is often out-of-date :-( I suggest looking at release notes for each version which should provide crucial information. Anyway feel free to submit a patch to fix upstream doc. Thanks