[ovirt-users] adding a host

Justin Zygmont jzygmont at proofpoint.com
Thu May 3 19:07:47 UTC 2018


I can’t seem to do anything to control the host from the engine, when I select it for Maint, the engine log shows:

[org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand] (default task-50) [90ba81ef-21e4-4272-8c59-84786e969ff7] Running command: MaintenanceNumberOfVdssCommand internal: false. Entities affected :  ID: 74dfe965-cb11-495a-96a0-3dae6b3cbd75 Type: VDSAction group MANIPULATE_HOST with role type ADMIN
2018-05-03 12:00:37,918-07 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (default task-50) [90ba81ef-21e4-4272-8c59-84786e969ff7] START, SetVdsStatusVDSCommand(HostName = ovnode102, SetVdsStatusVDSCommandParameters:{hostId='74dfe965-cb11-495a-96a0-3dae6b3cbd75', status='PreparingForMaintenance', nonOperationalReason='NONE', stopSpmFailureLogged='true', maintenanceReason='null'}), log id: 647d5f78


I have only 1 host in the DC, status is Up, the cluster says host count is 2 even though the second host stays Non Operational.  I don’t know how to remove it.
I just installed and tried to join the DC, this is a fresh installation, the engine was launched through cockpit.

Heres what nodectl shows from the host:

ovnode102 ~]# nodectl check
Status: OK
Bootloader ... OK
  Layer boot entries ... OK
  Valid boot entries ... OK
Mount points ... OK
  Separate /var ... OK
  Discard is used ... OK
Basic storage ... OK
  Initialized VG ... OK
  Initialized Thin Pool ... OK
  Initialized LVs ... OK
Thin storage ... OK
  Checking available space in thinpool ... OK
  Checking thinpool auto-extend ... OK
vdsmd ... OK



Thanks,


From: Yanir Quinn [mailto:yquinn at redhat.com]
Sent: Thursday, May 3, 2018 1:19 AM
To: Justin Zygmont <jzygmont at proofpoint.com>
Cc: users at ovirt.org
Subject: Re: [ovirt-users] adding a host

Did you try switching the host to maintenance mode first ?
What is the state of the data center and how many active hosts do you have now?
And did you perform any updates recently or just run a fresh installation ?  if so , did you run engine-setup before launching engine ?

On Thu, May 3, 2018 at 12:47 AM, Justin Zygmont <jzygmont at proofpoint.com<mailto:jzygmont at proofpoint.com>> wrote:
I read this page and it doesn’t help since this is a host that can’t be removed, the “remove” button is dimmed out.

This is 4.22 ovirt node, but the host stays in a “non operational” state.  I notice the logs have a lot of errors, for example:


the SERVER log:

2018-05-02 14:40:23,847-07 WARN  [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (ForkJoinPool-1-worker-14) IJ000609: Attempt to return connection twice: org.jboss.jca.core.connectionmanager.listener.TxConnectionListener at 1fab84d7[state=NORMAL<mailto:org.jboss.jca.core.connectionmanager.listener.TxConnectionListener at 1fab84d7[state=NORMAL> managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection at 3f37cf10<mailto:connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection at 3f37cf10> connection handles=0 lastReturned=1525297223847 lastValidated=1525290267811 lastCheckedOut=1525296923770 trackByTx=false pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool at 20550f35<mailto:pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool at 20550f35> mcp=SemaphoreConcurrentLinkedQueueManagedConnectionPool at 5baa90f[pool=ENGINEDataSource] xaResource=LocalXAResourceImpl at 24a7fc0b[connectionListener=1fab84d7 connectionManager=5bec70d2 warned=false currentXid=null productName=PostgreSQL productVersion=9.5.9 jndiName=java:/ENGINEDataSource] txSync=null]: java.lang.Throwable: STACKTRACE
        at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.returnConnection(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:722)
        at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.returnConnection(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:611)
        at org.jboss.jca.core.connectionmanager.pool.AbstractPool.returnConnection(AbstractPool.java:847)
        at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.returnManagedConnection(AbstractConnectionManager.java:725)
        at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.managedConnectionDisconnected(TxConnectionManagerImpl.java:585)
        at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.disconnectManagedConnection(AbstractConnectionManager.java:988)
        at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.reconnectManagedConnection(AbstractConnectionManager.java:974)
        at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:792)
        at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:138)
        at org.jboss.as.connector.subsystems.datasources.WildFlyDataSource.getConnection(WildFlyDataSource.java:64)
        at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111) [spring-jdbc.jar:4.3.9.RELEASE]
        at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77) [spring-jdbc.jar:4.3.9.RELEASE]
        at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:619) [spring-jdbc.jar:4.3.9.RELEASE]
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:684) [spring-jdbc.jar:4.3.9.RELEASE]
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:716) [spring-jdbc.jar:4.3.9.RELEASE]
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:766) [spring-jdbc.jar:4.3.9.RELEASE]
        at org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$PostgresSimpleJdbcCall.executeCallInternal(PostgresDbEngineDialect.java:152) [dal.jar:]
        at org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$PostgresSimpleJdbcCall.doExecute(PostgresDbEngineDialect.java:118) [dal.jar:]
        at org.springframework.jdbc.core.simple.SimpleJdbcCall.execute(SimpleJdbcCall.java:198) [spring-jdbc.jar:4.3.9.RELEASE]
        at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeImpl(SimpleJdbcCallsHandler.java:135) [dal.jar:]
        at org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeReadList(SimpleJdbcCallsHandler.java:105) [dal.jar:]
        at org.ovirt.engine.core.dao.VmDynamicDaoImpl.getAllRunningForVds(VmDynamicDaoImpl.java:52) [dal.jar:]
        at org.ovirt.engine.core.vdsbroker.vdsbroker.HostNetworkTopologyPersisterImpl.isVmRunningOnHost(HostNetworkTopologyPersisterImpl.java:210) [vdsbroker.jar:]
        at org.ovirt.engine.core.vdsbroker.vdsbroker.HostNetworkTopologyPersisterImpl.logChangedDisplayNetwork(HostNetworkTopologyPersisterImpl.java:179) [vdsbroker.jar:]
        at org.ovirt.engine.core.vdsbroker.vdsbroker.HostNetworkTopologyPersisterImpl.auditNetworkCompliance(HostNetworkTopologyPersisterImpl.java:148) [vdsbroker.jar:]
        at org.ovirt.engine.core.vdsbroker.vdsbroker.HostNetworkTopologyPersisterImpl.lambda$persistAndEnforceNetworkCompliance$0(HostNetworkTopologyPersisterImpl.java:100) [vdsbroker.jar:]
        at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:202) [utils.jar:]
        at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInRequired(TransactionSupport.java:137) [utils.jar:]
        at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:105) [utils.jar:]
        at org.ovirt.engine.core.vdsbroker.vdsbroker.HostNetworkTopologyPersisterImpl.persistAndEnforceNetworkCompliance(HostNetworkTopologyPersisterImpl.java:93) [vdsbroker.jar:]
        at org.ovirt.engine.core.vdsbroker.vdsbroker.HostNetworkTopologyPersisterImpl.persistAndEnforceNetworkCompliance(HostNetworkTopologyPersisterImpl.java:154) [vdsbroker.jar:]
        at org.ovirt.engine.core.vdsbroker.VdsManager.processRefreshCapabilitiesResponse(VdsManager.java:794) [vdsbroker.jar:]
        at org.ovirt.engine.core.vdsbroker.VdsManager.handleRefreshCapabilitiesResponse(VdsManager.java:598) [vdsbroker.jar:]
        at org.ovirt.engine.core.vdsbroker.VdsManager.refreshHostSync(VdsManager.java:567) [vdsbroker.jar:]
        at org.ovirt.engine.core.bll.RefreshHostCapabilitiesCommand.executeCommand(RefreshHostCapabilitiesCommand.java:41) [bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1133) [bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1285) [bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1934) [bll.jar:]
        at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:164) [utils.jar:]
        at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:103) [utils.jar:]
        at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1345) [bll.jar:]
        at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:400) [bll.jar:]
        at org.ovirt.engine.core.bll.executor.DefaultBackendActionExecutor.execute(DefaultBackendActionExecutor.java:13) [bll.jar:]
        at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:468) [bll.jar:]
        at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:450) [bll.jar:]
        at org.ovirt.engine.core.bll.Backend.runInternalAction(Backend.java:393) [bll.jar:]
        at sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source) [:1.8.0_161]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_161]
        at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_161]
        at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
        at org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:78)
        at org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:88)
        at org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:101)
        at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-11.0.0.Final.jar:11.0.0.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:40)
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
        at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.as.ejb3.component.singleton.SingletonComponentInstanceAssociationInterceptor.processInvocation(SingletonComponentInstanceAssociationInterceptor.java:53) [wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:264) [wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
        at org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:379) [wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
        at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:244) [wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
        at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73) [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
        at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:89)
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) [wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100) [wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) [wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) [wildfly-ejb3-11.0.0.Final.jar:11.0.0.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:60)
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:438)
        at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:609)
        at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:57)
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
        at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
        at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)
        at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
        at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:81)
        at org.ovirt.engine.core.bll.interfaces.BackendInternal$$$view4.runInternalAction(Unknown Source) [bll.jar:]
        at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source) [:1.8.0_161]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_161]
        at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_161]
        at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433) [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
        at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:127) [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
        at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
        at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67) [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
        at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.4.3.Final.jar:2.4.3.Final]
        at org.ovirt.engine.core.bll.BackendCommandObjectsHandler$BackendInternal$BackendLocal$2049259618$Proxy$_$$_Weld$EnterpriseProxy$.runInternalAction(Unknown Source) [bll.jar:]
        at org.ovirt.engine.core.bll.VdsEventListener.refreshHostCapabilities(VdsEventListener.java:598) [bll.jar:]
        at org.ovirt.engine.core.vdsbroker.HostConnectionRefresher$SubscriberRefreshingHostOnHostConnectionChangeEvent.onNext(HostConnectionRefresher.java:47) [vdsbroker.jar:]
        at org.ovirt.engine.core.vdsbroker.HostConnectionRefresher$SubscriberRefreshingHostOnHostConnectionChangeEvent.onNext(HostConnectionRefresher.java:30) [vdsbroker.jar:]
        at org.ovirt.vdsm.jsonrpc.client.events.EventPublisher$EventCallable.call(EventPublisher.java:118) [vdsm-jsonrpc-java-client.jar:]
        at org.ovirt.vdsm.jsonrpc.client.events.EventPublisher$EventCallable.call(EventPublisher.java:93) [vdsm-jsonrpc-java-client.jar:]
        at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424) [rt.jar:1.8.0_161]
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [rt.jar:1.8.0_161]
        at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [rt.jar:1.8.0_161]
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [rt.jar:1.8.0_161]
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [rt.jar:1.8.0_161]

2018-05-02 14:40:23,851-07 WARN  [com.arjuna.ats.arjuna] (ForkJoinPool-1-worker-14) ARJUNA012077: Abort called on already aborted atomic action 0:ffff7f000001:-21bd8800:5ae90c48:10afa





And the ENGINE log:

2018-05-02 14:40:23,851-07 INFO  [org.ovirt.engine.core.utils.transaction.TransactionSupport] (ForkJoinPool-1-worker-14) [52276df5] transaction rolled back
2018-05-02 14:40:23,851-07 ERROR [org.ovirt.engine.core.vdsbroker.VdsManager] (ForkJoinPool-1-worker-14) [52276df5] Unable to RefreshCapabilities: IllegalStateException: Transaction Local transaction (delegate=TransactionImple < ac, BasicAction: 0:ffff7f000001:-21bd8800:5ae90c48:10afa status: ActionStatus.ABORTED >, owner=Local transaction context for provider JBoss JTA transaction provider) is not active STATUS_ROLLEDBACK
2018-05-02 14:40:23,888-07 INFO  [org.ovirt.engine.core.bll.HandleVdsCpuFlagsOrClusterChangedCommand] (ForkJoinPool-1-worker-14) [5c511e51] Running command: HandleVdsCpuFlagsOrClusterChangedCommand internal: true. Entities affected :  ID: 74dfe965-cb11-495a-96a0-3dae6b3cbd75 Type: VDS
2018-05-02 14:40:23,895-07 INFO  [org.ovirt.engine.core.bll.HandleVdsVersionCommand] (ForkJoinPool-1-worker-14) [2a0ec90b] Running command: HandleVdsVersionCommand internal: true. Entities affected :  ID: 74dfe965-cb11-495a-96a0-3dae6b3cbd75 Type: VDS
2018-05-02 14:40:23,898-07 INFO  [org.ovirt.engine.core.bll.RefreshHostCapabilitiesCommand] (ForkJoinPool-1-worker-14) [2a0ec90b] Refresh host capabilities finished. Lock released. Monitoring can run now for host 'ovnode102 from data-center 'Default'
2018-05-02 14:40:23,898-07 ERROR [org.ovirt.engine.core.bll.RefreshHostCapabilitiesCommand] (ForkJoinPool-1-worker-14) [2a0ec90b] Command 'org.ovirt.engine.core.bll.RefreshHostCapabilitiesCommand' failed: Could not get JDBC Connection; nested exception is java.sql.SQLException: javax.resource.ResourceException: IJ000457: Unchecked throwable in managedConnectionReconnected() cl=org.jboss.jca.core.connectionmanager.listener.TxConnectionListener at 1fab84d7[state=NORMAL<mailto:cl=org.jboss.jca.core.connectionmanager.listener.TxConnectionListener at 1fab84d7[state=NORMAL> managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection at 3f37cf10<mailto:connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection at 3f37cf10> connection handles=0 lastReturned=1525297223847 lastValidated=1525290267811 lastCheckedOut=1525296923770 trackByTx=false pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool at 20550f35<mailto:pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool at 20550f35> mcp=SemaphoreConcurrentLinkedQueueManagedConnectionPool at 5baa90f[pool=ENGINEDataSource] xaResource=LocalXAResourceImpl at 24a7fc0b[connectionListener=1fab84d7 connectionManager=5bec70d2 warned=false currentXid=null productName=PostgreSQL productVersion=9.5.9 jndiName=java:/ENGINEDataSource] txSync=null]
2018-05-02 14:40:23,898-07 ERROR [org.ovirt.engine.core.bll.RefreshHostCapabilitiesCommand] (ForkJoinPool-1-worker-14) [2a0ec90b] Exception: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: javax.resource.ResourceException: IJ000457: Unchecked throwable in managedConnectionReconnected() cl=org.jboss.jca.core.connectionmanager.listener.TxConnectionListener at 1fab84d7[state=NORMAL<mailto:cl=org.jboss.jca.core.connectionmanager.listener.TxConnectionListener at 1fab84d7[state=NORMAL> managed connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection at 3f37cf10<mailto:connection=org.jboss.jca.adapters.jdbc.local.LocalManagedConnection at 3f37cf10> connection handles=0 lastReturned=1525297223847 lastValidated=1525290267811 lastCheckedOut=1525296923770 trackByTx=false pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool at 20550f35<mailto:pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool at 20550f35> mcp=SemaphoreConcurrentLinkedQueueManagedConnectionPool at 5baa90f[pool=ENGINEDataSource] xaResource=LocalXAResourceImpl at 24a7fc0b[connectionListener=1fab84d7 connectionManager=5bec70d2 warned=false currentXid=null productName=PostgreSQL productVersion=9.5.9 jndiName=java:/ENGINEDataSource] txSync=null]
        at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80) [spring-jdbc.jar:4.3.9.RELEASE]
        at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:619) [spring-jdbc.jar:4.3.9.RELEASE]
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:684) [spring-jdbc.jar:4.3.9.RELEASE]
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:716) [spring-jdbc.jar:4.3.9.RELEASE]
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:766) [spring-jdbc.jar:4.3.9.RELEASE]
        at org.ovirt.engine.core.dal.dbbroker.PostgresDbEngineDialect$PostgresSimpleJdbcCall.executeCallInternal(PostgresDbEngineDialect.java:152) [dal.jar:]
.
.
.
.
2018-05-02 14:40:23,907-07 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ForkJoinPool-1-worker-14) [2a0ec90b] EVENT_ID: HOST_REFRESH_CAPABILITIES_FAILED(607), Failed to refresh the capabilities of host ovnode102.
2018-05-02 14:40:23,907-07 INFO  [org.ovirt.engine.core.bll.RefreshHostCapabilitiesCommand] (ForkJoinPool-1-worker-14) [2a0ec90b] Lock freed to object 'EngineLock:{exclusiveLocks='[74dfe965-cb11-495a-96a0-3dae6b3cbd75=VDS, HOST_NETWORK74dfe965-cb11-495a-96a0-3dae6b3cbd75=HOST_NETWORK]', sharedLocks=''}'
2018-05-02 14:40:25,775-07 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoAsyncVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-31) [] START, GetHardwareInfoAsyncVDSCommand(HostName = ovnode102, VdsIdAndVdsVDSCommandParametersBase:{hostId='74dfe965-cb11-495a-96a0-3dae6b3cbd75', vds='Host[ovnode102,74dfe965-cb11-495a-96a0-3dae6b3cbd75]'}), log id: 300f7345
2018-05-02 14:40:25,775-07 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoAsyncVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-31) [] FINISH, GetHardwareInfoAsyncVDSCommand, log id: 300f7345
2018-05-02 14:40:25,802-07 INFO  [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-31) [f2ef21e] Running command: SetNonOperationalVdsCommand internal: true. Entities affected :  ID: 74dfe965-cb11-495a-96a0-3dae6b3cbd75 Type: VDS
2018-05-02 14:40:25,805-07 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-31) [f2ef21e] START, SetVdsStatusVDSCommand(HostName = ovnode102., SetVdsStatusVDSCommandParameters:{hostId='74dfe965-cb11-495a-96a0-3dae6b3cbd75', status='NonOperational', nonOperationalReason='NETWORK_UNREACHABLE', stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 7611d8d8
2018-05-02 14:40:56,722-07 INFO  [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-58) [33bdda7f] Lock Acquired to object 'EngineLock:{exclusiveLocks='[f50bd081-7c5b-4161-a045-068f85d2a476=PROVIDER]', sharedLocks=''}'
2018-05-02 14:40:56,732-07 INFO  [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-58) [33bdda7f] Running command: SyncNetworkProviderCommand internal: true.
2018-05-02 14:40:56,844-07 INFO  [org.ovirt.engine.core.sso.utils.AuthenticationUtils] (default task-40) [] User admin at internal successfully logged in with scopes: ovirt-app-api ovirt-ext=token-info:authz-search ovirt-ext=token-info:public-authz-search ovirt-ext=token-info:validate ovirt-ext=token:password-access
2018-05-02 14:40:57,001-07 INFO  [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-58) [33bdda7f] Lock freed to object 'EngineLock:{exclusiveLocks='[f50bd081-7c5b-4161-a045-068f85d2a476=PROVIDER]', sharedLocks=''}'
2018-05-02 14:44:39,191-07 INFO  [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService] (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool 'default' is using 0 threads out of 1 and 5 tasks are waiting in the queue.
2018-05-02 14:44:39,191-07 INFO  [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService] (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool 'engine' is using 0 threads out of 500, 8 threads waiting for tasks and 0 tasks in queue.
2018-05-02 14:44:39,191-07 INFO  [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService] (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool 'engineScheduled' is using 1 threads out of 100 and 99 tasks are waiting in the queue.
2018-05-02 14:44:39,191-07 INFO  [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService] (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool 'engineThreadMonitoring' is using 1 threads out of 1 and 0 tasks are waiting in the queue.
2018-05-02 14:44:39,191-07 INFO  [org.ovirt.engine.core.bll.utils.ThreadPoolMonitoringService] (EE-ManagedThreadFactory-engineThreadMonitoring-Thread-1) [] Thread pool 'hostUpdatesChecker' is using 0 threads out of 5 and 1 tasks are waiting in the queue.











From: Yanir Quinn [mailto:yquinn at redhat.com<mailto:yquinn at redhat.com>]
Sent: Wednesday, May 2, 2018 12:34 AM
To: Justin Zygmont <jzygmont at proofpoint.com<mailto:jzygmont at proofpoint.com>>
Cc: users at ovirt.org<mailto:users at ovirt.org>
Subject: Re: [ovirt-users] adding a host

Hi,
What document are you using ?
See if you find the needed information here :  https://ovirt.org/documentation/admin-guide/chap-Hosts/<https://urldefense.proofpoint.com/v2/url?u=https-3A__ovirt.org_documentation_admin-2Dguide_chap-2DHosts_&d=DwMFaQ&c=Vxt5e0Osvvt2gflwSlsJ5DmPGcPvTRKLJyp031rXjhg&r=FiPhL0Cl1ymZlnTyAIIL75tE4L0reHcDdD-7wUtUGHA&m=FN0-3R3xk0ckcDVjJSXQDaIrjqC7ovGGfHVXZ7LdmXs&s=saBhjWXwvEHUHBso-YmTvry8ilzICYOIEen05y9q8Pk&e=>

For engine related potential errors i recommend also checking the engine.log and in UI check the events section.
Regards,
Yanir Quinn

On Tue, May 1, 2018 at 11:11 PM, Justin Zygmont <jzygmont at proofpoint.com<mailto:jzygmont at proofpoint.com>> wrote:
I have tried to add a host to the engine and it just takes forever never working or giving any error message.  When I look in the engine’s server.log I see it says the networks are missing.
I thought when you install a node and add it to the engine it will add the networks automatically?  The docs don’t give much information about this, and I can’t even remove the host through the UI.  What steps are required to prepare a node when several vlans are involved?



_______________________________________________
Users mailing list
Users at ovirt.org<mailto:Users at ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.ovirt.org_mailman_listinfo_users&d=DwMFaQ&c=Vxt5e0Osvvt2gflwSlsJ5DmPGcPvTRKLJyp031rXjhg&r=FiPhL0Cl1ymZlnTyAIIL75tE4L0reHcDdD-7wUtUGHA&m=FN0-3R3xk0ckcDVjJSXQDaIrjqC7ovGGfHVXZ7LdmXs&s=X7q8mEin_k15qF6Ph0Grrgn3EH-QPd49puz1QlxQv8o&e=>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180503/ff9aca5d/attachment.html>


More information about the Users mailing list