[JBoss JIRA] (WFLY-13598) Hard coded dependencies from resource adapters to legacy security sercvies.
by Darran Lofthouse (Jira)
[ https://issues.redhat.com/browse/WFLY-13598?page=com.atlassian.jira.plugi... ]
Darran Lofthouse updated WFLY-13598:
------------------------------------
Description:
A resource adapter defined similar to:
{code:xml}
<resource-adapters>
<resource-adapter id="myrar.rar">
<archive>
myrar.rar
</archive>
<connection-definitions>
<connection-definition class-name="org.wildfly.test.MyRar" pool-name="connection-definition"/>
</connection-definitions>
</resource-adapter>
</resource-adapters>
{code}
Leads to an error:
{code}
13:48:11,932 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "resource-adapters"),
("resource-adapter" => "myrar.rar"),
("connection-definitions" => "connection-definition")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.security.subject-factory",
"jboss.security.simple-security-manager"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.resourceadapters.ra.\"myrar.rar\".connection-definition is missing [jboss.security.simple-security-manager, jboss.security.subject-factory]"]
}
{code}
Resources should not depend on legacy security by default as it may not be there.
was:
A resource adapter defined similar to:
{code:xml}
<resource-adapter id="somerar.rar">
<archive>somerar.rar</archive>
<workmanager>
</workmanager>
<connection-definitions>
<connection-definition jndi-name="java:/eis/whitebox-permissiondd"
class-name="classname.classname"
pool-name="wb-permissiondd-connection">
<pool>
<max-pool-size>1000</max-pool-size>
</pool>
</connection-definition>
</connection-definitions>
</resource-adapter>
{code}
Leads to an error:
{code}
13:16:30,615 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "resource-adapters"),
("resource-adapter" => "somerar.rar"),
("connection-definitions" => "wb-permissiondd-connection")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.security.subject-factory",
"jboss.security.simple-security-manager"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.resourceadapters.ra.\"somerar.rar\".wb-permissiondd-connection is missing [jboss.security.simple-security-manager, jboss.security.subject-factory]"]
}
{code}
Resources should not depend on legacy security by default as it may not be there.
Steps to Reproduce:
This can be reproduced with the following CLI commands against a freshly built WildFly:
{code}
/subsystem=security:remove
/extension=org.jboss.as.security:remove
/subsystem=resource-adapters/resource-adapter=myrar.rar:add(archive=myrar.rar)
/subsystem=resource-adapters/resource-adapter=myrar.rar/connection-definitions=connection-definition:add(class-name=org.wildfly.test.MyRar)
:reload
{code}
> Hard coded dependencies from resource adapters to legacy security sercvies.
> ---------------------------------------------------------------------------
>
> Key: WFLY-13598
> URL: https://issues.redhat.com/browse/WFLY-13598
> Project: WildFly
> Issue Type: Bug
> Components: JCA, Security
> Affects Versions: 20.0.0.Final
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
> Priority: Major
> Fix For: 21.0.0.Beta1
>
>
> A resource adapter defined similar to:
>
> {code:xml}
> <resource-adapters>
> <resource-adapter id="myrar.rar">
> <archive>
> myrar.rar
> </archive>
> <connection-definitions>
> <connection-definition class-name="org.wildfly.test.MyRar" pool-name="connection-definition"/>
> </connection-definitions>
> </resource-adapter>
> </resource-adapters>
> {code}
> Leads to an error:
> {code}
> 13:48:11,932 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "resource-adapters"),
> ("resource-adapter" => "myrar.rar"),
> ("connection-definitions" => "connection-definition")
> ]) - failure description: {
> "WFLYCTL0412: Required services that are not installed:" => [
> "jboss.security.subject-factory",
> "jboss.security.simple-security-manager"
> ],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.resourceadapters.ra.\"myrar.rar\".connection-definition is missing [jboss.security.simple-security-manager, jboss.security.subject-factory]"]
> }
> {code}
> Resources should not depend on legacy security by default as it may not be there.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (WFLY-13598) Hard coded dependencies from resource adapters to legacy security sercvies.
by Darran Lofthouse (Jira)
Darran Lofthouse created WFLY-13598:
---------------------------------------
Summary: Hard coded dependencies from resource adapters to legacy security sercvies.
Key: WFLY-13598
URL: https://issues.redhat.com/browse/WFLY-13598
Project: WildFly
Issue Type: Bug
Components: JCA, Security
Affects Versions: 20.0.0.Final
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Fix For: 21.0.0.Beta1
A resource adapter defined similar to:
{code:xml}
<resource-adapter id="somerar.rar">
<archive>somerar.rar</archive>
<workmanager>
</workmanager>
<connection-definitions>
<connection-definition jndi-name="java:/eis/whitebox-permissiondd"
class-name="classname.classname"
pool-name="wb-permissiondd-connection">
<pool>
<max-pool-size>1000</max-pool-size>
</pool>
</connection-definition>
</connection-definitions>
</resource-adapter>
{code}
Leads to an error:
{code}
13:16:30,615 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "resource-adapters"),
("resource-adapter" => "somerar.rar"),
("connection-definitions" => "wb-permissiondd-connection")
]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.security.subject-factory",
"jboss.security.simple-security-manager"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.resourceadapters.ra.\"somerar.rar\".wb-permissiondd-connection is missing [jboss.security.simple-security-manager, jboss.security.subject-factory]"]
}
{code}
Resources should not depend on legacy security by default as it may not be there.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (WFLY-13597) EjbInvocationStatisticsTestCase fails intermittently: wait-time=0
by Brian Stansberry (Jira)
Brian Stansberry created WFLY-13597:
---------------------------------------
Summary: EjbInvocationStatisticsTestCase fails intermittently: wait-time=0
Key: WFLY-13597
URL: https://issues.redhat.com/browse/WFLY-13597
Project: WildFly
Issue Type: Bug
Components: Test Suite
Affects Versions: 12.0.0.Final
Reporter: Jan Kalina
Assignee: Cheng Fang
Fix For: 21.0.0.Beta1, 20.0.1.Final
Sometime, when running EjbInvocationStatisticsTestCase on Windows, assertion fails, as wait-time is 0 (verified it is 0 by adding debug message).
For me it fails allTests in most of cases, but when running test standalone, it fails only in 1 of 4 cases.
I suppose it is because of too short sleep in AbstractManagedBean. (in test is called 4 times, each invocation include 50ms sleep, so I consider probable the wait-time is 0 - need to use longer sleeps to fulfill the test)
{code}
[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.078 s <<< FAILURE! - in org.jboss.as.test.integration.ejb.management.deployments.EjbInvocationStatisticsTestCase
[ERROR] testSingletonWaitTime(org.jboss.as.test.integration.ejb.management.deployments.EjbInvocationStatisticsTestCase) Time elapsed: 0.438 s <<< FAILURE!
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at org.jboss.as.test.integration.ejb.management.deployments.EjbInvocationStatisticsTestCase.validateWaitTimeStatistic(EjbInvocationStatisticsTestCase.java:179)
at org.jboss.as.test.integration.ejb.management.deployments.EjbInvocationStatisticsTestCase.testSingletonWaitTime(EjbInvocationStatisticsTestCase.java:148)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:379)
...
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (WFLY-13596) Add missing exclusions for dependencies artifacts
by Roberto Oliveira (Jira)
Roberto Oliveira created WFLY-13596:
---------------------------------------
Summary: Add missing exclusions for dependencies artifacts
Key: WFLY-13596
URL: https://issues.redhat.com/browse/WFLY-13596
Project: WildFly
Issue Type: Bug
Affects Versions: 20.0.0.Final
Reporter: Roberto Oliveira
Assignee: Roberto Oliveira
Add missing exclusions for the following artifacts:
- com.fasterxml.jackson.module:jackson-module-jaxb-annotations
- com.github.fge:json-patch
- io.smallrye:smallrye-fault-tolerance
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (SWSQE-1188) Mirroring the Kiali Catalog is not working on disconnected.
by Filip Brychta (Jira)
[ https://issues.redhat.com/browse/SWSQE-1188?page=com.atlassian.jira.plugi... ]
Filip Brychta resolved SWSQE-1188.
----------------------------------
Resolution: Done
The issue is caused by probably by [https://bugzilla.redhat.com/show_bug.cgi?id=1840370]
I tried to build the catalog via docker instead of podman and the mirroring is working fine.
> Mirroring the Kiali Catalog is not working on disconnected.
> -----------------------------------------------------------
>
> Key: SWSQE-1188
> URL: https://issues.redhat.com/browse/SWSQE-1188
> Project: Kiali QE
> Issue Type: Bug
> Reporter: Guilherme Baufaker Rêgo
> Assignee: Filip Brychta
> Priority: Critical
> Labels: infrastructure
> Attachments: catalog-sources-disconnected.sh
>
>
> Attached the script that I used for installing catalog sources on Disconnected Clusters.
>
> Maistra went well:
>
> {code:java}
> oc image mirror quay.io/maistra/servicemesh-olm-cs:1.1.3 ${BASTION_HOST}:55555/maistra/servicemesh-olm-cs:1.1.3 --registry-config auth.json
> bastion.gbaufake-disconnected.maistra.upshift.redhat.com:55555/
> maistra/servicemesh-olm-cs
> manifests:
> sha256:a33eef817f6d259e911b0c1a490aacbbdf0e9cd50766427d07898091bb3ab9bb -> 1.1.3
> stats: shared=0 unique=0 size=0B
> phase 0:
> bastion.gbaufake-disconnected.maistra.upshift.redhat.com:55555 maistra/servicemesh-olm-cs blobs=0 mounts=0 manifests=1 shared=0
> info: Planning completed in 370ms
> sha256:a33eef817f6d259e911b0c1a490aacbbdf0e9cd50766427d07898091bb3ab9bb bastion.gbaufake-disconnected.maistra.upshift.redhat.com:55555/maistra/servicemesh-olm-cs:1.1.3
> info: Mirroring completed in 10ms (0B/s)
> {code}
>
> The following error is occurring on kiali:
> {code:java}
> oc image mirror quay.io/maistra/kiali-olm-cs:${KIALI_VERSION} ${BASTION_HOST}:55555/maistra/kiali-olm-cs:${KIALI_VERSION} --registry-config auth.json
> bastion.gbaufake-disconnected.maistra.upshift.redhat.com:55555/
> maistra/kiali-olm-cs
> blobs:
> quay.io/maistra/kiali-olm-cs sha256:2baa60ab307e57d54636480f288f3ee467d83c606334057cbf12da781d4ed10c
> quay.io/maistra/kiali-olm-cs sha256:76d97be54a93e3fa5a85e44fcbe8fbb5b5624254f37a871597b9ef3e1c6cec51
> quay.io/maistra/kiali-olm-cs sha256:772064a3a17bf5e293309a416f105d05f42a1862e789339c83fe67776a4ffe2a
> quay.io/maistra/kiali-olm-cs sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
> manifests:
> sha256:924b15f202eb41b6d7933d267f9dd74065cd0ab37ea94582fea1290078186da8 -> 1.12.13
> stats: shared=0 unique=4 size=0B
> phase 0:
> bastion.gbaufake-disconnected.maistra.upshift.redhat.com:55555 maistra/kiali-olm-cs blobs=4 mounts=0 manifests=1 shared=0
> info: Planning completed in 330ms
> error: unable to push manifest to bastion.gbaufake-disconnected.maistra.upshift.redhat.com:55555/maistra/kiali-olm-cs:1.12.13: received unexpected HTTP status: 500 Internal Server Error
> info: Mirroring completed in 10ms (0B/s)
> error: one or more errors occurred while uploading images
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (SWSQE-1188) Mirroring the Kiali Catalog is not working on disconnected.
by Filip Brychta (Jira)
[ https://issues.redhat.com/browse/SWSQE-1188?page=com.atlassian.jira.plugi... ]
Filip Brychta updated SWSQE-1188:
---------------------------------
Labels: infrastructure (was: )
Sprint: Kiali Sprint #41
> Mirroring the Kiali Catalog is not working on disconnected.
> -----------------------------------------------------------
>
> Key: SWSQE-1188
> URL: https://issues.redhat.com/browse/SWSQE-1188
> Project: Kiali QE
> Issue Type: Bug
> Reporter: Guilherme Baufaker Rêgo
> Assignee: Filip Brychta
> Priority: Critical
> Labels: infrastructure
> Attachments: catalog-sources-disconnected.sh
>
>
> Attached the script that I used for installing catalog sources on Disconnected Clusters.
>
> Maistra went well:
>
> {code:java}
> oc image mirror quay.io/maistra/servicemesh-olm-cs:1.1.3 ${BASTION_HOST}:55555/maistra/servicemesh-olm-cs:1.1.3 --registry-config auth.json
> bastion.gbaufake-disconnected.maistra.upshift.redhat.com:55555/
> maistra/servicemesh-olm-cs
> manifests:
> sha256:a33eef817f6d259e911b0c1a490aacbbdf0e9cd50766427d07898091bb3ab9bb -> 1.1.3
> stats: shared=0 unique=0 size=0B
> phase 0:
> bastion.gbaufake-disconnected.maistra.upshift.redhat.com:55555 maistra/servicemesh-olm-cs blobs=0 mounts=0 manifests=1 shared=0
> info: Planning completed in 370ms
> sha256:a33eef817f6d259e911b0c1a490aacbbdf0e9cd50766427d07898091bb3ab9bb bastion.gbaufake-disconnected.maistra.upshift.redhat.com:55555/maistra/servicemesh-olm-cs:1.1.3
> info: Mirroring completed in 10ms (0B/s)
> {code}
>
> The following error is occurring on kiali:
> {code:java}
> oc image mirror quay.io/maistra/kiali-olm-cs:${KIALI_VERSION} ${BASTION_HOST}:55555/maistra/kiali-olm-cs:${KIALI_VERSION} --registry-config auth.json
> bastion.gbaufake-disconnected.maistra.upshift.redhat.com:55555/
> maistra/kiali-olm-cs
> blobs:
> quay.io/maistra/kiali-olm-cs sha256:2baa60ab307e57d54636480f288f3ee467d83c606334057cbf12da781d4ed10c
> quay.io/maistra/kiali-olm-cs sha256:76d97be54a93e3fa5a85e44fcbe8fbb5b5624254f37a871597b9ef3e1c6cec51
> quay.io/maistra/kiali-olm-cs sha256:772064a3a17bf5e293309a416f105d05f42a1862e789339c83fe67776a4ffe2a
> quay.io/maistra/kiali-olm-cs sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
> manifests:
> sha256:924b15f202eb41b6d7933d267f9dd74065cd0ab37ea94582fea1290078186da8 -> 1.12.13
> stats: shared=0 unique=4 size=0B
> phase 0:
> bastion.gbaufake-disconnected.maistra.upshift.redhat.com:55555 maistra/kiali-olm-cs blobs=4 mounts=0 manifests=1 shared=0
> info: Planning completed in 330ms
> error: unable to push manifest to bastion.gbaufake-disconnected.maistra.upshift.redhat.com:55555/maistra/kiali-olm-cs:1.12.13: received unexpected HTTP status: 500 Internal Server Error
> info: Mirroring completed in 10ms (0B/s)
> error: one or more errors occurred while uploading images
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (WFCORE-4873) Upgrade JGit to 5.8.0.202006091008-r
by Emmanuel Hugonnet (Jira)
[ https://issues.redhat.com/browse/WFCORE-4873?page=com.atlassian.jira.plug... ]
Emmanuel Hugonnet updated WFCORE-4873:
--------------------------------------
Description: In order to be able to switch the ssh implementation we need to upgrade JGit to 5.8.0.202006091008-r (was: In order to be able to switch the ssh implementation we need to upgrade JGit to 5.7.0.202003090808-r)
> Upgrade JGit to 5.8.0.202006091008-r
> ------------------------------------
>
> Key: WFCORE-4873
> URL: https://issues.redhat.com/browse/WFCORE-4873
> Project: WildFly Core
> Issue Type: Component Upgrade
> Components: Management
> Affects Versions: 11.0.0.Final
> Reporter: Emmanuel Hugonnet
> Assignee: Emmanuel Hugonnet
> Priority: Major
>
> In order to be able to switch the ssh implementation we need to upgrade JGit to 5.8.0.202006091008-r
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (DROOLS-5441) DMN editor handy doc for functions
by Matteo Mortari (Jira)
Matteo Mortari created DROOLS-5441:
--------------------------------------
Summary: DMN editor handy doc for functions
Key: DROOLS-5441
URL: https://issues.redhat.com/browse/DROOLS-5441
Project: Drools
Issue Type: Feature Request
Components: DMN Editor
Reporter: Matteo Mortari
Assignee: Guilherme Gomes
Attachments: exampleTOC.adoc, exampleTOC.html, image-2020-06-18-10-07-54-962.png
Please consider something like the following:
!image-2020-06-18-10-07-54-962.png|thumbnail!
Using an embedded html rendition of the built-in functions (attached)
can be achieved with Asciidoc by import/include easily with
{code:java}
= Example TOC
:toc:
include::FEELbuiltinfunctions.adoc[]
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (DROOLS-5440) DMN FEEL built-in functions verifiable documentation
by Matteo Mortari (Jira)
[ https://issues.redhat.com/browse/DROOLS-5440?page=com.atlassian.jira.plug... ]
Matteo Mortari updated DROOLS-5440:
-----------------------------------
Description:
Create and asciidoc documenting the DMN FEEL built-in functions as mandated by the spec.
Have snippet of code with language="FEEL" actually executed during test phase, so to have assurance the tests actually work and are 100% correct.
Every snippet code example should be a FEEL expression that, once executed, will result in `true`.
> DMN FEEL built-in functions verifiable documentation
> -----------------------------------------------------
>
> Key: DROOLS-5440
> URL: https://issues.redhat.com/browse/DROOLS-5440
> Project: Drools
> Issue Type: Feature Request
> Components: dmn engine, docs
> Reporter: Matteo Mortari
> Assignee: Matteo Mortari
> Priority: Major
>
> Create and asciidoc documenting the DMN FEEL built-in functions as mandated by the spec.
> Have snippet of code with language="FEEL" actually executed during test phase, so to have assurance the tests actually work and are 100% correct.
> Every snippet code example should be a FEEL expression that, once executed, will result in `true`.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years