Repository navigation
Closed
Description
When creating a new rollout the creation process is stuck in "Creating" status.
The only log we can recover is:
Exception on forEachTenant execution for tenant DEFAULT with error message [No such user]. Continue with next tenant
The user we use to create a new Rollout has all the permissions:
"SYSTEM_ADMIN"
"CREATE_ROLLOUT"
"READ_ROLLOUT"
"UPDATE_ROLLOUT"
"DELETE_ROLLOUT"
"HANDLE_ROLLOUT"
"APPROVE_ROLLOUT"
[...]
We tested a similar thing in the test environment that use a similar configuration without problems. The only thing that differs between the two versions is the Keycloak version that in the test environment is older (prod: 11.0.2, test: 6.0.1).
Here are the TEST configuration variables:
Environment:
MY_POD_IP: (v1:status.podIP)
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_OIDC_CLIENT-ID: <set to the key 'clientid' in secret 'hawkbit-oauth2-credentials'>
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_OIDC_CLIENT-SECRET: <set to the key 'clientsecret' in secret 'hawkbit-oauth2-credentials'>
SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_OIDC_ISSUER-URI: <set to the key 'issueruri' in secret 'hawkbit-oauth2-credentials'>
MSSQL_URL: <set to the key 'server' in secret 'hawkbit-database-credentials'> Optional: false
MSSQL_USERNAME: <set to the key 'username' in secret 'hawkbit-database-credentials'> Optional: false
MSSQL_PASSWORD: <set to the key 'password' in secret 'hawkbit-database-credentials'> Optional: false
AZURE_STORAGE_CONNSTRING: <set to the key 'connection-string' in secret 'azure-storage-credentials'> Optional: false
HAWKBIT_DOMAIN: hawkbit.tst.example.cloud
DEVICE_HAWKBITDOMAIN: dev-hawkbit.tst.example.cloud
HAWKBIT_DOWNLOADHOSTNAME: dev-hawkbit.tst.example.cloud
and here are the PROD configuration variables:
Environment:
MY_POD_IP: (v1:status.podIP)
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_OIDC_CLIENT-ID: <set to the key 'clientid' in secret 'hawkbit-oauth2-credentials'> Optional: false
SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_OIDC_CLIENT-SECRET: <set to the key 'clientsecret' in secret 'hawkbit-oauth2-credentials'> Optional: false
SPRING_SECURITY_OAUTH2_CLIENT_PROVIDER_OIDC_ISSUER-URI: <set to the key 'issueruri' in secret 'hawkbit-oauth2-credentials'> Optional: false
MSSQL_URL: <set to the key 'server' in secret 'hawkbit-database-credentials'> Optional: false
MSSQL_USERNAME: <set to the key 'username' in secret 'hawkbit-database-credentials'> Optional: false
MSSQL_PASSWORD: <set to the key 'password' in secret 'hawkbit-database-credentials'> Optional: false
AZURE_STORAGE_CONNSTRING: <set to the key 'connection-string' in secret 'hawkbit-azure-storage-credentials'> Optional: false
HAWKBIT_DOMAIN: hawkbit.cloud.example.com
DEVICE_HAWKBITDOMAIN: dev-hawkbit.cloud.example.com
HAWKBIT_DOWNLOADHOSTNAME: dev-hawkbit.cloud.example.com
Metadata
Metadata
Assignees
Labels
No labels

Activity
avgustinmm commentedon Jan 8, 2025
It's probably related to some specific configuration (as in general rollouts could be started). And is outdated, related to too old hawkBit version.
I'll close the issue. If it is still occurring with current hawkBit I could reopen it