Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-18303

HA-Specific Environment Variables HA_HOST_IP is being overwritten by the entrypoint-artifactory.sh script

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: 6.6.3
    • Fix Version/s: 6.9.0
    • Component/s: None
    • Labels:
      None
    • Severity:
      Medium

      Description

      SENSITIVE DATA HAS BEEN REMOVED FROM THIS TICKET ACCORDING TO JFROG'S INTERNAL POLICY.

       

      HA-Specific Environment Variables HA_HOST_IP is being overwritten by the entrypoint-artifactory.sh script. 

      The script will take the value from HA_HOST_IP=$(hostname -i) and not the env. passed during the docker run.

      Steps to reproduce:

      1 - docker run -d --name art2 -e HA_IS_PRIMARY=true -e HA_HOST_IP= RESTRICTED_IP -p 8083:8083 RESTRICTED_PATH 

      2 - ha-node.properties will contain the following:

      node.id=node-ed7b60afd98c
      context.url=http://172.17.0.2:8081/artifactory .  context.url=http://${HA_HOST_IP}:8081/artifactory
      membership.port=10002
      primary=true
      hazelcast.interface=172.17.0.2 

       

        Attachments

          Activity

            People

            Assignee:
            eldada Eldad Assis
            Reporter:
            Nimerb Nimer Bsoul
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-18303 -
                SYNCHRONIZED
                • Last Sync Date: