Can you share the vdsm log? The host deploy log (from the engine) ?
Y.


On Wed, Apr 12, 2017 at 8:13 AM, Konstantin Raskoshnyi <konrasko@gmail.com> wrote:
Hi guys, We're never had mgmt for our kvm machines

I installed oVirt 4.1 on CentOS73 and trying to add existing kvm hosts but oVirt fails with this error

2017-04-12 05:08:46,430Z ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (org.ovirt.thread.pool-7-thread-21) [4a1d5f35] Exception: java.io.IOException: Command returned failure code 1 during SSH session 'root@tank3'

I don't experience any problems connecting to virtank3 under root.

2017-04-12 05:08:46,445Z ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-21) [4a1d5f35] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), Correlation ID: 4a1d5f35, Call Stack: null, Custom Event ID: -1, Message: Failed to install Host tank3. Command returned failure code 1 during SSH session 'root@tank3'.
2017-04-12 05:08:46,445Z ERROR [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (org.ovirt.thread.pool-7-thread-21) [4a1d5f35] Error during host tank3 install, prefering first exception: Unexpected connection termination
2017-04-12 05:08:46,445Z ERROR [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (org.ovirt.thread.pool-7-thread-21) [4a1d5f35] Host installation failed for host 'cec720ed-460a-48aa-a9fc-2262b6da5a83', 'tank3': Unexpected connection termination
2017-04-12 05:08:46,446Z INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (org.ovirt.thread.pool-7-thread-21) [4a1d5f35] START, SetVdsStatusVDSCommand(HostName = tank3, SetVdsStatusVDSCommandParameters:{runAsync='true', hostId='cec720ed-460a-48aa-a9fc-2262b6da5a83', status='InstallFailed', nonOperationalReason='NONE', stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 4bbc52f9
2017-04-12 05:08:46,449Z INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (org.ovirt.thread.pool-7-thread-21) [4a1d5f35] FINISH, SetVdsStatusVDSCommand, log id: 4bbc52f9
2017-04-12 05:08:46,457Z ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-21) [4a1d5f35] EVENT_ID: VDS_INSTALL_FAILED(505), Correlation ID: 4a1d5f35, Job ID: 8af22af5-72a5-4ec4-b216-4e26ceaa48d6, Call Stack: null, Custom Event ID: -1, Message: Host tank3 installation failed. Unexpected connection termination.
2017-04-12 05:08:46,496Z INFO  [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (org.ovirt.thread.pool-7-thread-21) [4a1d5f35] Lock freed to object 'EngineLock:{exclusiveLocks='[cec720ed-460a-48aa-a9fc-2262b6da5a83=<VDS, ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
2017-04-12 05:09:02,742Z INFO  [org.ovirt.engine.core.bll.RemoveVdsCommand] (default task-48) [13050988-bf00-4391-9862-a8ed8ade34dd] Lock Acquired to object 'EngineLock:{exclusiveLocks='[cec720ed-460a-48aa-a9fc-2262b6da5a83=<VDS, ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
2017-04-12 05:09:02,750Z INFO  [org.ovirt.engine.core.bll.RemoveVdsCommand] (org.ovirt.thread.pool-7-thread-22) [13050988-bf00-4391-9862-a8ed8ade34dd] Running command: RemoveVdsCommand internal: false. Entities affected :  ID: cec720ed-460a-48aa-a9fc-2262b6da5a83 Type: VDSAction group DELETE_HOST with role type ADMIN
2017-04-12 05:09:02,822Z INFO  [org.ovirt.engine.core.vdsbroker.RemoveVdsVDSCommand] (org.ovirt.thread.pool-7-thread-22) [13050988-bf00-4391-9862-a8ed8ade34dd] START, RemoveVdsVDSCommand( RemoveVdsVDSCommandParameters:{runAsync='true', hostId='cec720ed-460a-48aa-a9fc-2262b6da5a83'}), log id: 26e68c12
2017-04-12 05:09:02,822Z INFO  [org.ovirt.engine.core.vdsbroker.VdsManager] (org.ovirt.thread.pool-7-thread-22) [13050988-bf00-4391-9862-a8ed8ade34dd] vdsManager::disposing
2017-04-12 05:09:02,822Z INFO  [org.ovirt.engine.core.vdsbroker.RemoveVdsVDSCommand] (org.ovirt.thread.pool-7-thread-22) [13050988-bf00-4391-9862-a8ed8ade34dd] FINISH, RemoveVdsVDSCommand, log id: 26e68c12
2017-04-12 05:09:02,824Z WARN  [org.ovirt.vdsm.jsonrpc.client.internal.ResponseWorker] (ResponseWorker) [] Exception thrown during message processing
2017-04-12 05:09:02,848Z INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-22) [13050988-bf00-4391-9862-a8ed8ade34dd] EVENT_ID: USER_REMOVE_VDS(44), Correlation ID: 13050988-bf00-4391-9862-a8ed8ade34dd, Call Stack: null, Custom Event ID: -1, Message: Host tank3 was removed by admin@internal-authz.
2017-04-12 05:09:02,848Z INFO  [org.ovirt.engine.core.bll.RemoveVdsCommand] (org.ovirt.thread.pool-7-thread-22) [13050988-bf00-4391-9862-a8ed8ade34dd] Lock freed to object 'EngineLock:{exclusiveLocks='[cec720ed-460a-48aa-a9fc-2262b6da5a83=<VDS, ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
2017-04-12 05:10:56,139Z INFO  [org.ovirt.engine.core.bll.storage.ovfstore.OvfDataUpdater] (DefaultQuartzScheduler8) [] Attempting to update VMs/Templates Ovf.


Package vdsm-tool installed.

Any thoughts?

Thanks

_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users