Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 5.4.5
    • Fix Version/s: None
    • Component/s: Installer
    • Labels:
      None

      Description

      In entrypoint-artifactory.sh, it has a function (see "Details") to check whether primary node is up or not by using anonymous ping. If the primary node disabled anonymous access, then it fails to ping and results in installation failure.

      Either document the possible error in the log or allow passing a username and a password/API-key for the system ping.

      Work-around:

      You may modify the entrypoint-artifactory.sh to remove the System Ping or add a credential to it. After customizing the file, you may create an additional mount on the docker-compose file, so the modified file is mapped to the image's /entrypoint-artifactory.sh.

      Details:

      In entrypoint-artifactory.sh:

      ...
      waitForPrimaryNode ()

      { logger "Waiting for primary node to be up" local CMD="curl --silent --fail $ART_PRIMARY_BASE_URL/api/system/ping" logger "Running $CMD" while [ "$($CMD)" != "OK" ]; do logger "." sleep 4 done logger "Primary node ($ART_PRIMARY_BASE_URL) is up!" }

      ...

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joshuah Joshua Han
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: