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

Docker image replication fails if one of the labels include the character ":"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 4.14.3, 4.16.0, 5.2.0
    • Fix Version/s: 5.5.2
    • Component/s: Replication
    • Labels:
      None

      Description

      Docker image replication fails if one of the labels include the character ":" .

      from the logs, we can see the following error:
      2017-03-30 18:16:51,416 [http-nio-8083-exec-4] [WARN ] (o.a.r.ArtifactoryResponseBase:107) - Sending HTTP error code 409: Failed to deploy properties :
      ---- Debugging information ----
      cause-exception : com.thoughtworks.xstream.io.StreamException
      cause-message :
      class : org.artifactory.model.xstream.fs.PropertiesImpl
      required-type : org.artifactory.model.xstream.fs.PropertiesImpl
      converter-type : org.artifactory.factory.xstream.PropertiesConverter
      path : /properties
      line number : 7
      version : not available
      ------------------------------- on path docker-test1:yuda-test1/latest/manifest.json:properties

      steps to reproduce:
      1. create Docker image with label for example: LABEL "a:b"="c"
      2.push this image to Artifactory.
      3.create replication to another Artifactory server and start it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rotemk Rotem Kfir
              Reporter:
              yehudah Yehuda Hadad
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: