[JBoss JIRA] (WFCORE-3485) Misleading failure-description for capabilities in domain
by Moulali Shikalwadi (Jira)
[ https://issues.redhat.com/browse/WFCORE-3485?page=com.atlassian.jira.plug... ]
Moulali Shikalwadi commented on WFCORE-3485:
--------------------------------------------
[~olukas], [~brian.stansberry] Is this issue still persist? Could you please add some steps to reproduce it.
> Misleading failure-description for capabilities in domain
> ---------------------------------------------------------
>
> Key: WFCORE-3485
> URL: https://issues.redhat.com/browse/WFCORE-3485
> Project: WildFly Core
> Issue Type: Bug
> Components: Management
> Affects Versions: 3.0.10.Final
> Reporter: Ondrej Lukas
> Priority: Minor
>
> In case when configuration in domain.xml tries to reference any capability from host.xml (or vice versa), but should not be able to reference it then it correctly fails, but there is failure-description which is misleading.
> Start domain with default domain.xml and host.xml and run following CLI command and see:
> {code}
> /profile=full/subsystem=elytron/http-authentication-factory=some-factory:add(http-server-mechanism-factory=global,security-domain=ManagementDomain)
> {
> "outcome" => "failed",
> "failure-description" => {"domain-failure-description" => "WFLYCTL0369: Required capabilities are not available:
> org.wildfly.security.security-domain.ManagementDomain in context 'profile=full'; Possible registration points for this capability:
> /host=master/subsystem=elytron/security-domain=*
> /profile=*/subsystem=elytron/security-domain=*"},
> "rolled-back" => true
> }
> {code}
> It should show only correct registration point {{/profile=\*/subsystem=elytron/security-domain=\*}}. It is misleading because ManagementDomain capability exists in {{/host=master/subsystem=elytron/security-domain=*}}.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 2 months
[JBoss JIRA] (WFLY-13575) Remove all hard coded references to Artemis default values
by Emmanuel Hugonnet (Jira)
[ https://issues.redhat.com/browse/WFLY-13575?page=com.atlassian.jira.plugi... ]
Emmanuel Hugonnet commented on WFLY-13575:
------------------------------------------
The goal is to check for changes between current Artemis default and wildFly configuration default when they are not different currently. Those values you found should be excluded for now
> Remove all hard coded references to Artemis default values
> ----------------------------------------------------------
>
> Key: WFLY-13575
> URL: https://issues.redhat.com/browse/WFLY-13575
> Project: WildFly
> Issue Type: Enhancement
> Components: JMS
> Affects Versions: 20.0.0.Final
> Reporter: Emmanuel Hugonnet
> Assignee: Michal Petrov
> Priority: Major
>
> There are still attributes that use Artemis default configuration valuues from FileConfiguration for example.
> Remove those values so that they are not updated behind the scene and add a test to know when our default values don't align with Artemis ones.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 2 months
[JBoss JIRA] (WFLY-13680) Generated metrics have duplicate labels
by Jeff Mesnil (Jira)
[ https://issues.redhat.com/browse/WFLY-13680?page=com.atlassian.jira.plugi... ]
Jeff Mesnil commented on WFLY-13680:
------------------------------------
I checked that WildFly 19 that upgraded the smallrye-metrics component (in charge of exporting the metrics) had fixed this issue in WFLY-13022
> Generated metrics have duplicate labels
> ---------------------------------------
>
> Key: WFLY-13680
> URL: https://issues.redhat.com/browse/WFLY-13680
> Project: WildFly
> Issue Type: Bug
> Components: MP Metrics
> Reporter: Ivona Skorjanc
> Assignee: Jeff Mesnil
> Priority: Major
> Attachments: kc_metric.txt
>
>
> We are using Keycloak which generates metrics using the jBoss CLI: [https://github.com/keycloak/keycloak-containers/blob/master/server/tools/...]
> We want to use Telegraf (with the Prometheus input plugin) to read the generated metrics. However, we get the following error:
> {{Error in plugin: error reading metrics for [http://localhost:9990/metrics]: reading text format failed: text format parsing error in line 34: second HELP line for metric name "base_gc_total"}}
> The base_gc_total metric appears twice for some reason. See the full metrics output in the attachment.
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 2 months
[JBoss JIRA] (WFCORE-4668) Transaction recovery of remote ejb calls should not be using static Default AuthenticationContext
by Moulali Shikalwadi (Jira)
[ https://issues.redhat.com/browse/WFCORE-4668?page=com.atlassian.jira.plug... ]
Moulali Shikalwadi commented on WFCORE-4668:
--------------------------------------------
[~ochaloup] is this issue still persist? Could you please add some steps to reproduce it.
> Transaction recovery of remote ejb calls should not be using static Default AuthenticationContext
> -------------------------------------------------------------------------------------------------
>
> Key: WFCORE-4668
> URL: https://issues.redhat.com/browse/WFCORE-4668
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Affects Versions: 10.0.0.Beta9
> Reporter: Ondrej Chaloupka
> Priority: Critical
>
> The issue WFCORE-4599 removed the `AuthenticationContext` would be static. This started to cause troubles for transaction recovery processing when remote ejb calls are invoked.
> The configuration that was used earlier for server to server ejb calls[1] (used with `-Dwildfly.config.url`) stopped working.
> It was possible to configure the default authentication context in the `standalone.xml` for the whole elytron subsystem (in way like [2]). But this change started to cause threads being stuck on execution of remote ejb calls in WFTC (somewhere here [3]).
> Because of that the WFCORE-4659 reverted back the functionality of static global authentication context. This was rather a bit workaround as the functionality should be rather working as Stuart pointed out
> {quote}
> - Add an explicit config to specify the authentication context used by transaction recovery
> - If this is not set fall back to the default authentication context that is used by deployments
> - If none of the above are set then the auth context should be empty
> {quote}
> [1]
> {code}
> <configuration>
> <authentication-client xmlns="urn:elytron:1.0">
> <authentication-rules>
> <rule use-configuration="jta">
> <match-abstract-type name="jta" authority="jboss"/>
> </rule>
> </authentication-rules>
> <authentication-configurations>
> <configuration name="jta">
> <sasl-mechanism-selector selector="DIGEST-MD5"/>
> <providers>
> <use-service-loader />
> </providers>
> <set-user-name name="ejb"/>
> <credentials>
> <clear-password password="ejb"/>
> </credentials>
> <set-mechanism-realm name="ApplicationRealm" />
> </configuration>
> </authentication-configurations>
> </authentication-client>
> </configuration>
> {code}
> [2]
> {code}
> <subsystem xmlns="urn:wildfly:elytron:8.0" final-providers="combined-providers" disallowed-providers="OracleUcrypto" default-authentication-context="jta">
> <authentication-client>
> <authentication-configuration name="jta" authentication-name="ejb" realm="ApplicationRealm" sasl-mechanism-selector="DIGEST-MD5">
> <credential-reference clear-text="ejb"/>
> </authentication-configuration>
> <authentication-context name="jta">
> <match-rule match-abstract-type-authority="jboss" authentication-configuration="jta"/>
> </authentication-context>
> </authentication-client>
> {code}
> [3] https://github.com/wildfly/wildfly-transaction-client/blob/master/src/mai...
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 2 months