By: Vreixo Luis Gonzalez Caneda user 25 Aug 2021 at 8:38 a.m. CDT

1 Response
Vreixo Luis Gonzalez Caneda gravatar
Hi, We are trying to migrate to 4.3.0_b1 and in order to do that we have executed the migration container found in https://github.com/GluuFederation/docker-upgrade with: ``` docker run --rm --network container:consul -e GLUU_CONFIG_CONSUL_HOST=consul -e GLUU_SECRET_VAULT_HOST=vault -e GLUU_PERSISTENCE_TYPE=ldap -e GLUU_LDAP_URL=ldap:1636 -v /root/vault_role_id.txt:/etc/certs/vault_role_id -v /root/vault_secret_id.txt:/etc/certs/vault_secret_id gluufederation/upgrade:4.3.0_b1 --source 4.2 --target 4.3 ``` Output was: ``` INFO - pygluu.containerlib.wait - 2021-08-25 13:36:29,566 - Config is ready INFO - pygluu.containerlib.wait - 2021-08-25 13:36:29,609 - Secret is ready INFO - entrypoint - 2021-08-25 13:36:29,609 - Upgrading data from 4.2 INFO - entrypoint - 2021-08-25 13:36:29,646 - Step 1: upgrading to 4.3 INFO - v43 - 2021-08-25 13:36:29,646 - Adding misc entries into persistence. INFO - v43 - 2021-08-25 13:36:30,982 - Updating attributes in persistence. INFO - v43 - 2021-08-25 13:36:33,160 - Updating scopes in persistence. ``` And after that we have set 4.3.0_b1 for all containers. The problem is that now jackrabbit is restarting all the time with the following error message: ``` WARNING - pygluu.containerlib.wait - 2021-08-25 13:31:57,184 - Config is not ready; reason=HTTPConnectionPool(host='localhost', port=8500): Max retries exceeded with url: /v1/kv/gluu/config/hostname?stale=1 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f229278e7f0>: Failed to establish a new connection: [Errno 111] Connection refused')); retrying in 10.0 seconds ``` Do you know what can be causing the issue? Thank you very much, Regards

By Isman Firmansyah staff 31 Aug 2021 at 4:26 p.m. CDT

Isman Firmansyah gravatar
Hi Vreixo, The `gluufederation/jackrabbit:4.3.0_b1` depends on config and secret services. You may have missing env vars (or using default) in your jackrabbit container. Please refer to https://github.com/GluuFederation/docker-jackrabbit#environment-variables.