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

mender-create-artifact-worker does not work in Enterprise mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Labels:
    • Days in progress:
      0

      Description

      Steps to reproduce:

      1. Run ./demo -f docker-compose.enterprise.yml up (The user creation is going to fail, but this is a separate issue)
      2. Execute docker ps |grep create-artifact-worker a few times. Notice how it constantly restarts every 10 seconds or so
      3. The logs contains heaps of this:
        $ docker logs integration_mender-create-artifact-worker_1
        failed to connect to db: Error reaching mongo server: context deadline exceeded
        failed to connect to db: Error reaching mongo server: context deadline exceeded
        failed to connect to db: Error reaching mongo server: context deadline exceeded
        ...
        
      4. Run docker exec integration_mender-tenantadm_1 /usr/bin/tenantadm create-org --name=MyOrganization --username=myusername@host.com --password=mysecretpassword
      5. Try to log in and use the Releases -> Upload feature to make an artifact out of a text file. This results in "Artifact couldn't be generated. internal error [Request ID: 4eac34d9]"

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              a10040 Kristian Amlie
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel