Skip to content
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

[BUG] Login stops working after keycloak pod is restarted #326

Closed
1 task done
ibragins opened this issue Jun 5, 2024 · 3 comments
Closed
1 task done

[BUG] Login stops working after keycloak pod is restarted #326

ibragins opened this issue Jun 5, 2024 · 3 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. priority/release-blocker Must be staffed and worked in time for the next release.
Milestone

Comments

@ibragins
Copy link

ibragins commented Jun 5, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Konveyor version

latest

Priority

Critical

Current Behavior

Login stops working, keycloak's pod contains multiple errors

Expected Behavior

Pod should recover after restart and work as usual

How Reproducible

Always (Default)

Steps To Reproduce

  1. Deploy Tackle
  2. Do first login, change password to non-default one
  3. Make sure you can login with the new password
  4. Restart pods
  5. Try to login again
  6. Check keycloak's pod for errors (oc logs ...)

Environment

- OS:

Anything else?

15:13:35,340 WARN  [org.wildfly.extension.elytron] (MSC service thread 1-2) WFLYELY00023: KeyStore file '/opt/jboss/keycloak/standalone/configuration/application.keystore' does not exist. Used blank.
15:13:35,362 WARN  [org.wildfly.extension.elytron] (MSC service thread 1-2) WFLYELY01084: KeyStore /opt/jboss/keycloak/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self-signed certificate for host localhost
15:14:01,639 ERROR [org.jboss.modcluster] (ServerService Thread Pool -- 56) MODCLUSTER000034: Failed to start advertise listener: java.net.SocketException: bad argument for IP_MULTICAST_IF: address not bound to any interface
        at java.base/java.net.PlainDatagramSocketImpl.socketSetOption0(Native Method)
        at java.base/java.net.PlainDatagramSocketImpl.socketSetOption(PlainDatagramSocketImpl.java:91)
        at java.base/java.net.AbstractPlainDatagramSocketImpl.setOption(AbstractPlainDatagramSocketImpl.java:371)
        at java.base/java.net.MulticastSocket.setInterface(MulticastSocket.java:477)
        at [email protected]//org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.init(AdvertiseListenerImpl.java:151)
        at [email protected]//org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.start(AdvertiseListenerImpl.java:161)
        at [email protected]//org.jboss.modcluster.ModClusterService.init(ModClusterService.java:166)
        at [email protected]//org.wildfly.mod_cluster.undertow.UndertowEventHandlerAdapterService.start(UndertowEventHandlerAdapterService.java:83)
        at [email protected]//org.wildfly.clustering.service.AsyncServiceConfigurator$AsyncService.lambda$start$0(AsyncServiceConfigurator.java:117)
        at [email protected]//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
        at [email protected]//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
        at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
        at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
        at java.base/java.lang.Thread.run(Thread.java:829)
        at [email protected]//org.jboss.threads.JBossThread.run(JBossThread.java:513)
18:30:05,558 WARN  [org.keycloak.events] (default task-7) type=LOGIN_ERROR, realmId=a44fa203-7a2d-4641-b43a-210a8bd2c8ee, clientId=tackle-ui, userId=430a3636-3d69-4103-bb83-e88e1a98bb64, ipAddress=::ffff:10.128.2.2, error=invalid_user_credentials, auth_method=openid-connect, auth_type=code, redirect_uri=https://tackle-konveyor-tackle.apps.mig01.rhos-psi.cnv-qe.rhood.us/, code_id=b8603429-f9a5-4e02-91ab-4c253b62e4ed, username=admin, authSessionParentId=b8603429-f9a5-4e02-91ab-4c253b62e4ed, authSessionTabId=TiSW2LJJFdk
19:19:48,307 WARN  [org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory] (ConnectionValidator) IJ030027: Destroying connection that is not valid, due to the following exception: org.postgresql.jdbc.PgConnection@2bc8d924: org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.
        at [email protected]//org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:382)
        at [email protected]//org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:490)
        at [email protected]//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:408)
        at [email protected]//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:329)
        at [email protected]//org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:315)
        at [email protected]//org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:291)
        at [email protected]//org.postgresql.jdbc.PgStatement.execute(PgStatement.java:286)
        at [email protected]//org.jboss.jca.adapters.jdbc.CheckValidConnectionSQL.isValidConnection(CheckValidConnectionSQL.java:74)
        at [email protected]//org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnectionFactory.isValidConnection(BaseWrapperManagedConnectionFactory.java:1372)
        at [email protected]//org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnectionFactory.getInvalidConnections(BaseWrapperManagedConnectionFactory.java:1179)
        at [email protected]//org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.validateConnections(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:1450)
        at [email protected]//org.jboss.jca.core.connectionmanager.pool.validator.ConnectionValidator$ConnectionValidatorRunner.run(ConnectionValidator.java:285)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.EOFException
        at [email protected]//org.postgresql.core.PGStream.receiveChar(PGStream.java:455)
        at [email protected]//org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2119)
        at [email protected]//org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:355)
        ... 14 more
@ibragins ibragins added kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jun 5, 2024
@konveyor-ci-bot
Copy link

This issue is currently awaiting triage.
If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.
The triage/accepted label can be added by org members.

@konveyor-ci-bot konveyor-ci-bot bot added the needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. label Jun 5, 2024
@jortel
Copy link
Contributor

jortel commented Jun 6, 2024

This is not a hub issue. Please move to operator.

@jortel jortel transferred this issue from konveyor/tackle2-hub Jun 6, 2024
@dymurray dymurray added this to the v0.5.0 milestone Jun 20, 2024
@dymurray dymurray added the priority/release-blocker Must be staffed and worked in time for the next release. label Jul 18, 2024
@konveyor-ci-bot konveyor-ci-bot bot removed the needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. label Jul 18, 2024
@dymurray
Copy link
Contributor

Doesn't seem to be an issue any longer, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. priority/release-blocker Must be staffed and worked in time for the next release.
Projects
Status: ✅ Done
Development

No branches or pull requests

3 participants