-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression issue: Exception when using OpenShift/Kubernetes extensions and having an external Ansi dependency #15953
Comments
/cc @geoand |
/cc @iocanel |
I agree! The |
If you know any workaround (apart from not using the above dependency), please let me know. This is a blocker for building our test suite against main atm :( |
Any updates about this issue? I could not find any workaround in our side yet as it seems that it's also picking AnsiLogger when: https://github.com/dekorateio/dekorate/blob/7d9a96f0ba3c07983ed89db81b3c84dddfa63433/core/src/main/java/io/dekorate/LoggerFactory.java#L49 I could make it worked when setting Moreover, we raised another issue related to the same changes: #16089 |
@iocanel are you looking at this? |
@geoand @Sgitario: I haven't had the time to look at it and I won't manage to look at it before Thursday. But, here are some thoughts for everyone that wants to go for a fix. AFAIR, we were setting the |
We already seem to have https://github.com/quarkusio/quarkus/blob/main/extensions/kubernetes/vanilla/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesProcessor.java#L135. Furthermore it doesn't seem like we can access Dekorate's logger any other way. |
Any updates about this issue? Otherwise, are you ok if we fix it by: |
This one is really for @iocanel to decide |
This is blocking us with https://github.com/quarkus-qe/quarkus-openshift-test-suite move to Quarkus 2.0.0 Alpha releases. |
@iocanel what do you want to do about this one? |
@geoand there is a new Dekorate minor release that include a patch for this issue: https://github.com/dekorateio/dekorate/releases/tag/2.1.4 Could we upgrade Quarkus Upstream in order to include this lib version? |
@pjgg can you first respond to dekorateio/dekorate#753 (comment) so we can be sure things are fixed? |
He responded via google chat. We are good to go! |
Cool! In the future, it would be great to record such outcomes on the issue for posterity :) |
@iocanel are you planning on opening the PR to bump dekorate? |
Describe the bug
We are getting an exception when using the OpenShift/Kubernetes extensions and having a third party dependency like:
When we build our application, it fails with:
This is a regression issue caused by this change.
Expected behavior
The application should work as before this change.
To Reproduce
Steps to reproduce the behavior:
Additional context
The issue is that the AnsiLogger gets used instead of NoopLogger. But AnsiLogger is not initialized.
The text was updated successfully, but these errors were encountered: