Bug 1691398 - java.lang.IllegalArgumentException: VdsFenceOptionMapping has no value when selecting PM agent type
Summary: java.lang.IllegalArgumentException: VdsFenceOptionMapping has no value when s...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Infra
Version: 4.3.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.3.3
: ---
Assignee: Martin Perina
QA Contact: Lukas Svaty
URL:
Whiteboard:
: 1692624 (view as bug list)
Depends On:
Blocks: 1692627
TreeView+ depends on / blocked
 
Reported: 2019-03-21 14:24 UTC by Petr Matyáš
Modified: 2019-04-16 13:58 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-16 13:58:10 UTC
oVirt Team: UX
Embargoed:
pm-rhel: ovirt-4.3+


Attachments (Terms of Use)
engine log (12.87 MB, text/plain)
2019-03-21 14:24 UTC, Petr Matyáš
no flags Details

Description Petr Matyáš 2019-03-21 14:24:13 UTC
Created attachment 1546520 [details]
engine log

Description of problem:
I'm adding new PM agent and I'm getting this exception Exception: java.lang.IllegalArgumentException: VdsFenceOptionMapping has no value for version: general when I select any PM type

Version-Release number of selected component (if applicable):
ovirt-engine-4.3.2.1-0.1.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. add new PM agent through UI
2. select any type for it, e.g. ipmilan
3.

Actual results:
exception in log

Expected results:
no exception

Additional info:
2019-03-21 15:17:47,126+01 ERROR [org.ovirt.engine.core.bll.GetAgentFenceOptionsQuery] (default task-81) [d8dd8398-201a-4be0-86c0-5aefd955acf1] Query 'GetAgentFenceOptionsQuery' failed: VdsFenceOptionMapping has no value for version: general
2019-03-21 15:17:47,126+01 ERROR [org.ovirt.engine.core.bll.GetAgentFenceOptionsQuery] (default task-81) [d8dd8398-201a-4be0-86c0-5aefd955acf1] Exception: java.lang.IllegalArgumentException: VdsFenceOptionMapping has no value for version: general
        at org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils.getValue(DBConfigUtils.java:161) [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 io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
        at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
        at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
        at io.undertow.server.Connectors.executeRootHandler(Connectors.java:360)
        at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
        at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
        at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
        at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_201]

Comment 4 Petr Matyáš 2019-03-29 12:12:10 UTC
Just tried on latest engine ovirt-engine-4.3.3.1-0.1.el7.noarch and it works without problems, thus verified.

Comment 5 Ravi Nori 2019-03-29 13:07:00 UTC
*** Bug 1692624 has been marked as a duplicate of this bug. ***

Comment 6 Sandro Bonazzola 2019-04-16 13:58:10 UTC
This bugzilla is included in oVirt 4.3.3 release, published on April 16th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.3 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.