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

Bug 1749492

Summary: Cannot add host to a new RHV environment
Product: Red Hat Enterprise Virtualization Manager Reporter: Sanjay Rao <srao>
Component: distributionAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED DUPLICATE QA Contact: Lukas Svaty <lsvaty>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 2.1.0CC: ctatman, david.harmon, dougsland, dshaks, lsurette, Rhev-m-bugs, srevivo, tburke
Target Milestone: ovirt-4.3.6   
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: 2019-09-06 05:36:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Rel-Eng RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The enabled repos on the host. none

Description Sanjay Rao 2019-09-05 18:22:53 UTC
Created attachment 1612073 [details]
The enabled repos on the host.

Description of problem:

Working with partner AMD. We are trying to add a host to a RHV environment. The installation fail with the following message

2019-09-03 15:10:42,974-05 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [163437ed-2c44-479d-812b-8ed2f3633ac0] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during installation of Host SUT: Yum [u'libvirt-admin-4.5.0-23.el7.x86_64 requires libvirt-bash-completion = 4.5.0-23.el7', u'libvirt-lock-sanlock-4.5.0-23.el7.x86_64 requires libvirt-daemon = 4.5.0-23.el7'].
2019-09-03 15:10:42,978-05 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [163437ed-2c44-479d-812b-8ed2f3633ac0] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during installation of Host SUT: Failed to execute stage 'Package installation': [u'libvirt-admin-4.5.0-23.el7.x86_64 requires libvirt-bash-completion = 4.5.0-23.el7', u'libvirt-lock-sanlock-4.5.0-23.el7.x86_64 requires libvirt-daemon = 4.5.0-23.el7'].
2019-09-03 15:10:42,981-05 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [163437ed-2c44-479d-812b-8ed2f3633ac0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host SUT. Yum Performing yum transaction rollback.
2019-09-03 15:10:45,837-05 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [163437ed-2c44-479d-812b-8ed2f3633ac0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host SUT. Stage: Clean up.
2019-09-03 15:10:45,842-05 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [163437ed-2c44-479d-812b-8ed2f3633ac0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host SUT. Stage: Pre-termination.
2019-09-03 15:10:45,860-05 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [163437ed-2c44-479d-812b-8ed2f3633ac0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host SUT. Retrieving installation logs to: '/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-20190903151045-10.227.5.172-163437ed-2c44-479d-812b-8ed2f3633ac0.log'.
2019-09-03 15:10:47,255-05 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [163437ed-2c44-479d-812b-8ed2f3633ac0] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host SUT. Stage: Termination.
2019-09-03 15:10:47,416-05 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (EE-ManagedThreadFactory-engine-Thread-9) [163437ed-2c44-479d-812b-8ed2f3633ac0] SSH error running command root.5.172:'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-deploy DIALOG/dialect=str:machine DIALOG/customization=bool:True': IOException: Command returned failure code 1 during SSH session 'root.5.172'
2019-09-03 15:10:47,417-05 ERROR [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (EE-ManagedThreadFactory-engine-Thread-9) [163437ed-2c44-479d-812b-8ed2f3633ac0] Error during host 10.227.5.172 install
2019-09-03 15:10:47,424-05 ERROR [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (EE-ManagedThreadFactory-engine-Thread-9) [163437ed-2c44-479d-812b-8ed2f3633ac0] Host installation failed for host '584872d0-4cec-4fca-9da8-9c6ee4894c09', 'SUT': Command returned failure code 1 during SSH session 'root.5.172'
2019-09-03 15:10:47,428-05 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (EE-ManagedThreadFactory-engine-Thread-9) [163437ed-2c44-479d-812b-8ed2f3633ac0] START, SetVdsStatusVDSCommand(HostName = SUT, SetVdsStatusVDSCommandParameters:{hostId='584872d0-4cec-4fca-9da8-9c6ee4894c09', status='InstallFailed', nonOperationalReason='NONE', stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 1ad7c4fc
2019-09-03 15:10:47,432-05 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (EE-ManagedThreadFactory-engine-Thread-9) [163437ed-2c44-479d-812b-8ed2f3633ac0] FINISH, SetVdsStatusVDSCommand, return: , log id: 1ad7c4fc
2019-09-03 15:10:47,438-05 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-9) [163437ed-2c44-479d-812b-8ed2f3633ac0] EVENT_ID: VDS_INSTALL_FAILED(505), Host SUT installation failed. Command returned failure code 1 during SSH session 'root.5.172'.
2019-09-03 15:10:47,441-05 INFO  [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (EE-ManagedThreadFactory-engine-Thread-9) [163437ed-2c44-479d-812b-8ed2f3633ac0] Lock freed to object 'EngineLock:{exclusiveLocks='[584872d0-4cec-4fca-9da8-9c6ee4894c09=VDS]', sharedLocks=''}'


All the repos prescribed by the installation document at 

https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/installing_red_hat_virtualization_as_a_standalone_manager_with_local_databases/installing_hosts_for_rhv_sm_localdb_deploy


Version-Release number of selected component (if applicable):


How reproducible:

Readily reproducible

Steps to Reproduce:
1. Install RHV Manager
2. Try to add host
3.

Actual results:


Expected results:


Additional info:

Comment 3 Sandro Bonazzola 2019-09-06 05:36:52 UTC
This seems to be the same issue reported in bug #1748540. closing this here and continue working on bug #1748540

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