[JBoss JIRA] (WFLY-7432) KeyStore requires set CredentialReference which is optional.
by Hynek Švábek (JIRA)
Hynek Švábek created WFLY-7432:
----------------------------------
Summary: KeyStore requires set CredentialReference which is optional.
Key: WFLY-7432
URL: https://issues.jboss.org/browse/WFLY-7432
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Hynek Švábek
Assignee: Darran Lofthouse
In EAP7.1.0.DR7 keystore uses credentialReference with clear-text attribute for password instead of password attribute.
But there is problem with credential reference element which is optional.
*Scenario:*
I want to create KeyStore with minimum required settings.
But this CLI command */subsystem=elytron/key-store=keyStore:add(type=JKS)* ends with error
{
"outcome" => "failed",
"failure-description" => {
"WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.security.credential-store-client.org.jboss.as.controller.security.CredentialReference"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => ["org.wildfly.security.key-store.keyStore is missing [org.wildfly.security.credential-store-client.org.jboss.as.controller.security.CredentialReference]"]
},
"rolled-back" => true
}
Resource description says this
{code}
"credential-reference" => {
"type" => OBJECT,
"description" => "The reference to credential stored in CredentialStore under defined alias or clear text password.",
"expressions-allowed" => false,
"nillable" => true,
"value-type" => {
"store" => {
"type" => STRING,
"description" => "The name of the credential store holding the alias to credential.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"alias" => {
"type" => STRING,
"description" => "The alias which denotes stored secret or credential in the store.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"type" => {
"type" => STRING,
"description" => "The type of credential this reference is denoting.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"clear-text" => {
"type" => STRING,
"description" => "Secret specified using clear text. Check credential store way of supplying credential/secrets to services.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
}
},
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "no-services"
},
{code}
*NOTE*
EAP7.1.0.DR6 works fine with "password" attribute.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 1 month
[JBoss JIRA] (WFLY-7431) Convert stats-enabled metric into proper statistics-enabled attribute
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/WFLY-7431?page=com.atlassian.jira.plugin.... ]
Paul Ferraro moved JBEAP-6747 to WFLY-7431:
-------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-7431 (was: JBEAP-6747)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Clustering
(was: Clustering)
(was: User Experience)
Affects Version/s: 10.1.0.Final
(was: 7.1.0.DR7)
> Convert stats-enabled metric into proper statistics-enabled attribute
> ---------------------------------------------------------------------
>
> Key: WFLY-7431
> URL: https://issues.jboss.org/browse/WFLY-7431
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 10.1.0.Final
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Priority: Minor
>
> {code}
> /subsystem=jgroups/channel=ee:read-attribute(name=stats-enabled)
> {code}
> Other subsystems usually use attribute name {{statistics-enabled}}, we should deprecate the current attribute name and support the this unified attribute name. This is the case in the transaction subsystem. This issue is similar to JBEAP-6501.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 1 month
[JBoss JIRA] (WFLY-7027) MBeans with ObjectName attributes throw ClassNotFoundException
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFLY-7027?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on WFLY-7027:
-----------------------------------------------
Peter Palaga <ppalaga(a)redhat.com> changed the Status of [bug 1372096|https://bugzilla.redhat.com/show_bug.cgi?id=1372096] from POST to MODIFIED
> MBeans with ObjectName attributes throw ClassNotFoundException
> --------------------------------------------------------------
>
> Key: WFLY-7027
> URL: https://issues.jboss.org/browse/WFLY-7027
> Project: WildFly
> Issue Type: Bug
> Components: JMX
> Affects Versions: 10.0.0.Final
> Reporter: Dennis Reed
> Assignee: Bartosz Baranowski
> Fix For: 11.0.0.Alpha1
>
>
> An MBean with:
> public void setObj(javax.management.ObjectName someObject)
> <mbean ...>
> <attribute name="Obj" />
> causes "java.lang.ClassNotFoundException: javax.management.MalformedObjectNameException from [Module \"org.jboss.common-beans:main\"
> org.jboss.common.beans.property.ObjectNameEditor in that module is used to convert to ObjectName objects, and requires MalformedObjectNameException but it is not on the classpath of that module.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 1 month
[JBoss JIRA] (WFLY-7430) Typo in thread-pool resource description
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/WFLY-7430?page=com.atlassian.jira.plugin.... ]
James Perkins moved JBEAP-6746 to WFLY-7430:
--------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-7430 (was: JBEAP-6746)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Batch
(was: Batch)
(was: User Experience)
Affects Version/s: (was: 7.1.0.DR7)
> Typo in thread-pool resource description
> ----------------------------------------
>
> Key: WFLY-7430
> URL: https://issues.jboss.org/browse/WFLY-7430
> Project: WildFly
> Issue Type: Bug
> Components: Batch
> Reporter: James Perkins
> Assignee: James Perkins
> Priority: Trivial
>
> /subsystem=batch-jberet/thread-pool=batch:read-resource-description()
> returns
> "description" => "... be greaterthan 3..."
> Please split 'greaterthan' to 'greater than'
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 1 month
[JBoss JIRA] (ELY-695) Is impossible remove whole Elytron subsystem when Elytron resource depends on another Elytron resource.
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/ELY-695?page=com.atlassian.jira.plugin.sy... ]
Brian Stansberry commented on ELY-695:
--------------------------------------
I don't know if this is relevant, but please see description of WFCORE-1106 in case it is.
> Is impossible remove whole Elytron subsystem when Elytron resource depends on another Elytron resource.
> -------------------------------------------------------------------------------------------------------
>
> Key: ELY-695
> URL: https://issues.jboss.org/browse/ELY-695
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Credential Store, KeyStores
> Reporter: Hynek Švábek
> Assignee: Darran Lofthouse
>
> Is impossible remove whole Elytron subsystem by one command when Elytron resource depends on another Elytron resource.
> *Scenario:*
> * I have KeyStore in Elytron subsystem with CredentialStoreReference set to CredentialStore
> * I want to delete whole Elytron subsystem
> * I execute this CLI command */subsystem=elytron:remove()* and get error
> {code}
> {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0171: Removing services has lead to unsatisfied dependencies:
> Service org.wildfly.security.credential-store-client.credStore was depended upon by service org.wildfly.security.key-store.firefly",
> "rolled-back" => true
> }
> {code}
> *NOTES:*
> * When I perform CLI command */subsystem=elytron:remove()* again as it passes.
> * When I use for remove {allow-resource-service-restart=true} as /subsystem=elytron:remove(){allow-resource-service-restart=true} then result is successful.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 1 month
[JBoss JIRA] (WFCORE-1902) Error messages from CLI batch should be more informative
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1902?page=com.atlassian.jira.plugi... ]
Brian Stansberry commented on WFCORE-1902:
------------------------------------------
Trying to figure out what line in a script sounds like more trouble than it is worth. If it's possible to report the batch step number and the operation invoked by that step, I think that would provide most of the value. Seeing that :readAttribute(name=nonsence) failed should provide enough insight to let people figure out what line in a script was at fault.
Side note: be cautious about using DMR syntax to report high level failures that aren't simply showing the output of the low level failure. AFAIK we don't do that elsewhere and it's probably not something we should do on a case by case basis without an overall strategy.
> Error messages from CLI batch should be more informative
> --------------------------------------------------------
>
> Key: WFCORE-1902
> URL: https://issues.jboss.org/browse/WFCORE-1902
> Project: WildFly Core
> Issue Type: Feature Request
> Components: CLI
> Affects Versions: 3.0.0.Alpha10
> Reporter: Marek Kopecký
> Assignee: Jean-Francois Denise
>
> *Description of problem:*
> Error messages from CLI batch should be more informative
> *Steps to Reproduce:*
> {noformat}
> cat <<EOF >a
> batch
> :read-attribute(name=product-version)
> :read-attribute(name=product-name)
> :read-attribute(name=nonsence)
> :read-attribute(name=product-name)
> run-batch
> EOF
> ./jboss-cli.sh -c --file=a
> {noformat}
> *Actual results:*
> {noformat}
> The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error): {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-3" => "WFLYCTL0201: Unknown attribute 'nonsence'"}}
> {noformat}
> *Expected results:*
> I can imagine content like following could be helpful for troubleshooting:
> {noformat}
> {
> "WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {
> "Operation step-3" => {
> "line number" => 4
> "operation" => ":read-attribute(name=nonsence)"
> "response" => "WFLYCTL0201: Unknown attribute 'nonsence'"
> }
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 1 month