Skip to content

Rollout doesn't start  #1229

Closed
Closed

Description

@andreasantacab52

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

Schermata 2022-02-11 alle 15 53 22

Activity

  1. avgustinmm commented on Jan 8, 2025

    @avgustinmm
    Contributor

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions