Created attachment 1330143 [details] engine log Description of problem: IllegalArgumentException is thrown when host with power management is edited Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.Add two hosts 2.Edit one of the hosts check PM checkbox and add one fencing agent 3.click OK 4.Open the host edit dialog for the host with the PM definitions Actual results: IllegalArgumentException is thrown Expected results: Operation should succeed Additional info: Probably a result of moving the default config values to the database re-factoring Exception thrown 2017-09-24 13:26:28,518+03 ERROR [org.ovirt.engine.core.bll.GetAgentFenceOptionsQuery] (default task-71) [9086222a-3454-4eb1-ab90-a126f6df74b4] Exception: java.lang.IllegalArgumentException: VdsFenceOptionMapping has no value for version: general at org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.getValue(DBConfigUtils.java:65) [dal.jar:] at org.ovirt.engine.core.common.config.Config.getValue(Config.java:28) [common.jar:] at org.ovirt.engine.core.utils.pm.FenceConfigHelper.getFenceConfigurationValue(FenceConfigHelper.java:96) [utils.jar:] at org.ovirt.engine.core.utils.pm.VdsFenceOptions.cacheFenceAgentsOptionMapping(VdsFenceOptions.java:78) [utils.jar:] at org.ovirt.engine.core.utils.pm.VdsFenceOptions.initCache(VdsFenceOptions.java:236) [utils.jar:] at org.ovirt.engine.core.utils.pm.VdsFenceOptions.<init>(VdsFenceOptions.java:63) [utils.jar:] at org.ovirt.engine.core.utils.pm.VdsFenceOptions.<init>(VdsFenceOptions.java:47) [utils.jar:] at org.ovirt.engine.core.bll.GetAgentFenceOptionsQuery.executeQueryCommand(GetAgentFenceOptionsQuery.java:18) [bll.jar:] at org.ovirt.engine.core.bll.QueriesCommandBase.executeCommand(QueriesCommandBase.java:106) [bll.jar:] at org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:33) [dal.jar:] at org.ovirt.engine.core.bll.executor.DefaultBackendQueryExecutor.execute(DefaultBackendQueryExecutor.java:14) [bll.jar:] at org.ovirt.engine.core.bll.Backend.runQueryImpl(Backend.java:570) [bll.jar:] at org.ovirt.engine.core.bll.Backend.runQuery(Backend.java:539) [bll.jar:] at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source) [:1.8.0_144] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_144] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_144] 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) Full engine log file is attached
*** Bug 1496499 has been marked as a duplicate of this bug. ***
verified in ovirt-engine-4.2.1.3-0.1.el7.noarch
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.