]
Panagiotis Sotiropoulos moved JBEAP-7299 to WFCORE-1988:
--------------------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-1988 (was: JBEAP-7299)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Domain Management
(was: Domain Management)
(was: User Experience)
Affects Version/s: (was: 7.1.0.DR8)
/host-exclude=XX:add(management-minor-version=1) produces
java.lang.IllegalArgumentException
--------------------------------------------------------------------------------------------
Key: WFCORE-1988
URL:
https://issues.jboss.org/browse/WFCORE-1988
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Panagiotis Sotiropoulos
Assignee: Panagiotis Sotiropoulos
{code:java}
/host-exclude=XX:add(management-minor-version=2)
{code}
produces
{code:java}
{
"outcome" => "failed",
"failure-description" => {"domain-failure-description" =>
"WFLYCTL0158: Operation handler failed: java.lang.IllegalArgumentException"},
"rolled-back" => true
}
{code}
which is not sufficient
operation description:
{code:java}
/host-exclude=XX:read-operation-description(name=add)
...
"management-major-version" => {
"type" => INT,
"description" => "The major version of the kernel
management API that is supported by slaves that should be affected by this
configuration.",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"alternatives" => ["host-release"],
"requires" => ["management-minor-version"]
},
"management-micro-version" => {
"type" => INT,
"description" => "The micro version of the kernel
management API that is supported by slaves that should be affected by this configuration.
If not defined, this configuration applies to all releases of the given major/minor
version, excluding any for which a different configuration with a micro version also
specified is present.",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"alternatives" => ["host-release"],
"requires" => [
"management-major-version",
"management-minor-version"
]
},
"management-minor-version" => {
"type" => INT,
"description" => "The minor version of the kernel
management API that is supported by slaves that should be affected by this
configuration.",
"expressions-allowed" => false,
"required" => false,
"nillable" => true,
"alternatives" => ["host-release"]
}
{code}
Proposed solution:
make management-minor-version require management-major-version