Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-5571

Mender-Deployments

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: 3.1.1
    • Fix Version/s: None
    • Environment:
      Kubernetes
      S3 Storage
      MongoDB
    • Backlog:
      no
    • Days in progress:
      0

      Description

      Hello,

      using the helm-chart :
      https://github.com/mendersoftware/mender-helm/tree/master/mender

      My deployments pod stays in a crashloopbackoff state.
      See logs excerpt for the pod:

      [rta@ mender (master)]$ kube logs deployments-855897fd56-4nwf2
      time="2022-04-05T09:16:19Z" level=info msg="'presign.secret' not configured. Generating a random secret." file=main.go func=main.doMain.func1 line=98
      time="2022-04-05T09:16:19Z" level=info msg="Deployments Service starting up" file=main.go func=main.cmdServer line=137
      time="2022-04-05T09:16:19Z" level=info msg="automigrate is ON, will apply migrations" file=migrations.go func=mongo.Migrate line=48
      time="2022-04-05T09:16:19Z" level=info msg="migrating deployment_service" file=migrations.go func=mongo.MigrateSingle line=70
      time="2022-04-05T09:16:19Z" level=info msg="migration to version 1.2.1 skipped" db=deployment_service file=migrator_simple.go func="migrate.(*SimpleMigrator).Apply" line=125
      time="2022-04-05T09:16:19Z" level=info msg="migration to version 1.2.2 skipped" db=deployment_service file=migrator_simple.go func="migrate.(*SimpleMigrator).Apply" line=125
      time="2022-04-05T09:16:19Z" level=info msg="migration to version 1.2.3 skipped" db=deployment_service file=migrator_simple.go func="migrate.(*SimpleMigrator).Apply" line=125
      time="2022-04-05T09:16:19Z" level=info msg="migration to version 1.2.4 skipped" db=deployment_service file=migrator_simple.go func="migrate.(*SimpleMigrator).Apply" line=125
      time="2022-04-05T09:16:19Z" level=info msg="migration to version 1.2.5 skipped" db=deployment_service file=migrator_simple.go func="migrate.(*SimpleMigrator).Apply" line=125
      time="2022-04-05T09:16:19Z" level=info msg="migration to version 1.2.6 skipped" db=deployment_service file=migrator_simple.go func="migrate.(*SimpleMigrator).Apply" line=125
      time="2022-04-05T09:16:19Z" level=info msg="DB migrated to version 1.2.6" db=deployment_service file=migrator_simple.go func="migrate.(*SimpleMigrator).Apply" line=140
      RequestCanceled: request context canceled
      caused by: context deadline exceeded

      Configuration works in one of my two environments, using the same settings (minus secrets).
      Could you provide some guidance on debugging or fixing this issue ?

      What I already tried:
      Starting from scratch
      Start a shell on a pod in the same namespace - successfully connect to my MongoDB & my S3 storage

      Thanks in advance !

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            kolstiGG Raymond TEA
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support