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

[integration] production enterprise yaml templates are wrong for useradm

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Labels:
    • Sprint:
      MEN Sprint 164
    • Story Points:
      1
    • Backlog:
      yes
    • Days in progress:
      0

      Description

       

      The integration files for the enterprise version were not correct for the useradm-enterprise container.

      The useradm service contains a volume mapping: “- ./production/keys-generated/keys/useradm/private.key:/etc/useradm/rsa/private.pem:ro”. This is defined in prod.yaml.template and this is not changed between the two versions. Also not using an override/environment setting from another file.

      Version 3.1.0 : https://github.com/mendersoftware/integration/blob/3.1.0/production/config/prod.yml.template#L34

      Version 3.2.1: https://github.com/mendersoftware/integration/blob/3.2.1/production/config/prod.yml.template#L37

      The container “registry.mender.io/mendersoftware/useradm-enterprise:mender-3.2.1” is updated to 3.2.1 and gives an error that it could not find: “/etc/useradm-enterprise/rsa/private.pem”. So the enterprise container now expect a different path. The solution was updating the volume mapping so it matches “/etc/useradm-enterprise/rsa/private.pem”

        Attachments

          Activity

            People

            Assignee:
            tranchitella Fabio Tranchitella
            Reporter:
            tranchitella Fabio Tranchitella
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support