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

Docker cron based deployment deploys layers in the wrong order (the manifest.json first)

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: 5.8.4, 5.10.2, 6.6.5, 6.9.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Docker cron based deployment during replication deploys the manifest.json first, instead of last. 

       

      CRON Based Replication:
      20180418173312|91|REQUEST|12.244.40.18|admin|PUT|/docker-local/busybox/latest/manifest.json|HTTP/1.1|201|527
      20180418173312|38|REQUEST|12.244.40.18|admin|PUT|/docker-local/busybox/latest/manifest.json:properties|HTTP/1.1|201|461
      20180418173312|12|REQUEST|12.244.40.18|admin|PUT|/docker-local/busybox/latest/sha256__d070b8ef96fc4f2d92ff520a4fe55594e362b4e1076a32bbfeb261dc03322910|HTTP/1.1|404|0
      20180418173313|229|REQUEST|12.244.40.18|admin|PUT|/docker-local/busybox/latest/sha256__d070b8ef96fc4f2d92ff520a4fe55594e362b4e1076a32bbfeb261dc03322910|HTTP/1.1|201|723113
      20180418173313|8|REQUEST|12.244.40.18|admin|PUT|/docker-local/busybox/latest/sha256__d070b8ef96fc4f2d92ff520a4fe55594e362b4e1076a32bbfeb261dc03322910:properties|HTTP/1.1|201|149
      20180418173313|13|REQUEST|12.244.40.18|admin|PUT|/docker-local/busybox/latest/sha256__f6e427c148a766d2d6c117d67359a0aa7d133b5bc05830a7ff6e8b64ff6b1d1d|HTTP/1.1|201|1497
      20180418173313|6|REQUEST|12.244.40.18|admin|PUT|/docker-local/busybox/latest/sha256__f6e427c148a766d2d6c117d67359a0aa7d133b5bc05830a7ff6e8b64ff6b1d1d:properties|HTTP/1.1|201|149
      20180418173313|18|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/manifest.json|HTTP/1.1|201|2621
      20180418173313|8|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/manifest.json:properties|HTTP/1.1|201|459
      20180418173313|5|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__2a650284a6a80b0d6c4e22f2bd30138dbc439743c5ffc2f1aed4f0a46bb4a5f9|HTTP/1.1|404|0
      20180418173313|66|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__2a650284a6a80b0d6c4e22f2bd30138dbc439743c5ffc2f1aed4f0a46bb4a5f9|HTTP/1.1|201|21308
      20180418173313|6|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__2a650284a6a80b0d6c4e22f2bd30138dbc439743c5ffc2f1aed4f0a46bb4a5f9:properties|HTTP/1.1|201|149
      20180418173313|6|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__2a72cbf407d67c7a7a76dd48e432091678e297140dce050ad5eccad918a9f8d6|HTTP/1.1|404|0
      20180418173317|3255|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__2a72cbf407d67c7a7a76dd48e432091678e297140dce050ad5eccad918a9f8d6|HTTP/1.1|201|22488979
      20180418173317|6|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__2a72cbf407d67c7a7a76dd48e432091678e297140dce050ad5eccad918a9f8d6:properties|HTTP/1.1|201|149
      20180418173317|73|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__38680a9b47a889afdad30e2b778870f30b2adfb670996da71d32fef815446b32|HTTP/1.1|201|1741
      20180418173317|6|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__38680a9b47a889afdad30e2b778870f30b2adfb670996da71d32fef815446b32:properties|HTTP/1.1|201|149
      20180418173317|4|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__4c732aa0eb1bf8ee7a7dfdb2acdb3d1579110241fe47747d2b14a77e2cb504e2|HTTP/1.1|404|0
      20180418173318|679|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__4c732aa0eb1bf8ee7a7dfdb2acdb3d1579110241fe47747d2b14a77e2cb504e2|HTTP/1.1|201|4498488
      20180418173318|7|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__4c732aa0eb1bf8ee7a7dfdb2acdb3d1579110241fe47747d2b14a77e2cb504e2:properties|HTTP/1.1|201|149
      20180418173318|36|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__5195076672a7e30525705a18f7d352c920bbd07a5ae72b30e374081fe660a011|HTTP/1.1|201|6866
      20180418173318|6|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__5195076672a7e30525705a18f7d352c920bbd07a5ae72b30e374081fe660a011:properties|HTTP/1.1|201|149
      20180418173318|15|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__5b5108d08c6de25ab4c9deb68b97ab4730e29a791ed4df8a4eb8be1dc923cd3a|HTTP/1.1|201|225
      20180418173318|6|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__5b5108d08c6de25ab4c9deb68b97ab4730e29a791ed4df8a4eb8be1dc923cd3a:properties|HTTP/1.1|201|149
      20180418173318|12|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__8181cde51c6516c052322c7a2b0ca6639b86ef4c2439abe153748f04e30e80b0|HTTP/1.1|201|121
      20180418173318|5|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__8181cde51c6516c052322c7a2b0ca6639b86ef4c2439abe153748f04e30e80b0:properties|HTTP/1.1|201|149
      20180418173318|6|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__beaff1261757f472efc32ac65001ca49560f36549d9d15d05cf02bc92bc37f19|HTTP/1.1|404|0
      20180418173328|9254|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__beaff1261757f472efc32ac65001ca49560f36549d9d15d05cf02bc92bc37f19|HTTP/1.1|201|83310806
      20180418173328|5|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__beaff1261757f472efc32ac65001ca49560f36549d9d15d05cf02bc92bc37f19:properties|HTTP/1.1|201|149
      20180418173328|13|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__c1a55c6375b519dfc0e608b14d744836952d8c475b81a4c9626fddf2e758fd01|HTTP/1.1|201|2681
      20180418173328|6|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__c1a55c6375b519dfc0e608b14d744836952d8c475b81a4c9626fddf2e758fd01:properties|HTTP/1.1|201|149
      20180418173328|5|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__c5317a34eddd75b2b48e525137d7d7adc1cbba157fe58eb2fc60bf93b68c7b28|HTTP/1.1|404|0
      20180418173329|273|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__c5317a34eddd75b2b48e525137d7d7adc1cbba157fe58eb2fc60bf93b68c7b28|HTTP/1.1|201|1270416
      20180418173329|5|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__c5317a34eddd75b2b48e525137d7d7adc1cbba157fe58eb2fc60bf93b68c7b28:properties|HTTP/1.1|201|149
      20180418173329|4|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__e8ecd8bec5abc5756bbbd1df8ddbe1a353ed521659cfeffeea3c0beed5b9edf2|HTTP/1.1|404|0
      20180418173330|1522|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__e8ecd8bec5abc5756bbbd1df8ddbe1a353ed521659cfeffeea3c0beed5b9edf2|HTTP/1.1|201|12089678
      20180418173330|5|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__e8ecd8bec5abc5756bbbd1df8ddbe1a353ed521659cfeffeea3c0beed5b9edf2:properties|HTTP/1.1|201|149
      20180418173330|18|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__f92be680366c04fd6f6389a6d54d675219999b5af8d26146855f65cdba9fb79d|HTTP/1.1|201|115
      20180418173331|9|REQUEST|12.244.40.18|admin|PUT|/docker-local/mysql/latest/sha256__f92be680366c04fd6f6389a6d54d675219999b5af8d26146855f65cdba9fb79d:properties|HTTP/1.1|201|149

       

      Event Based Replication:
      20180418174826|8|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/|HTTP/1.1|201|0
      20180418174826|11|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__18d605d67f267c15bedbf7720cbe79065e26004d4600c2ed87799dcfdd1e5331|HTTP/1.1|201|3717
      20180418174826|5|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__18d605d67f267c15bedbf7720cbe79065e26004d4600c2ed87799dcfdd1e5331:properties|HTTP/1.1|201|149
      20180418174826|11|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__3a7998bea9fdf4dba81c93004e7641e5ef7ce64ec82aa24228152ba6f4ee2b3f|HTTP/1.1|201|140
      20180418174826|5|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__3a7998bea9fdf4dba81c93004e7641e5ef7ce64ec82aa24228152ba6f4ee2b3f:properties|HTTP/1.1|201|149
      20180418174826|4|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__207ff3c88601bd15065d069fa544f5b73b6dc7e6fe0f1222f6d20506ac2fba8a|HTTP/1.1|404|0
      20180418174835|9215|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__207ff3c88601bd15065d069fa544f5b73b6dc7e6fe0f1222f6d20506ac2fba8a|HTTP/1.1|201|97184127
      20180418174835|5|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__207ff3c88601bd15065d069fa544f5b73b6dc7e6fe0f1222f6d20506ac2fba8a:properties|HTTP/1.1|201|149
      20180418174835|9|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__671c302f3b4092b304b0bee534b3e911775ca626850456158211dddec06004d4|HTTP/1.1|201|226
      20180418174835|5|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__671c302f3b4092b304b0bee534b3e911775ca626850456158211dddec06004d4:properties|HTTP/1.1|201|149
      20180418174835|11|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__e233c6c476cb9a3c3af96224851e2874771a736e19ef2c84b13c896e0d8044dc|HTTP/1.1|201|1443
      20180418174835|5|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__e233c6c476cb9a3c3af96224851e2874771a736e19ef2c84b13c896e0d8044dc:properties|HTTP/1.1|201|149
      20180418174835|10|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__2fdec16e62a33da762a06b5a7e10ce995a2eb745168ec87d54aa8f5e52482617|HTTP/1.1|201|115
      20180418174836|6|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__2fdec16e62a33da762a06b5a7e10ce995a2eb745168ec87d54aa8f5e52482617:properties|HTTP/1.1|201|149
      20180418174836|3|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__908c259a6a99e48c455f1d2bf92c7174f7b4d3067f922fdf908d106ccd0d091c|HTTP/1.1|404|0
      20180418174836|242|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__908c259a6a99e48c455f1d2bf92c7174f7b4d3067f922fdf908d106ccd0d091c|HTTP/1.1|201|816677
      20180418174836|4|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__908c259a6a99e48c455f1d2bf92c7174f7b4d3067f922fdf908d106ccd0d091c:properties|HTTP/1.1|201|149
      20180418174836|4|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__a87b29dbb5532144cd840d9b72eab4321de933a252e86cc472b61546f202c14e|HTTP/1.1|404|0
      20180418174836|394|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__a87b29dbb5532144cd840d9b72eab4321de933a252e86cc472b61546f202c14e|HTTP/1.1|201|2397877
      20180418174836|4|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__a87b29dbb5532144cd840d9b72eab4321de933a252e86cc472b61546f202c14e:properties|HTTP/1.1|201|149
      20180418174837|10|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__1e8b5b4e67a0c87e0946dcac28cc647a7e6c9331118dd0eef93747725d1dab7c|HTTP/1.1|201|2094
      20180418174837|4|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__1e8b5b4e67a0c87e0946dcac28cc647a7e6c9331118dd0eef93747725d1dab7c:properties|HTTP/1.1|201|149
      20180418174837|11|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__b0568b191983bc2844b2fdb48aeefa72452931bfead0a87e0515bfc602ea3b0c|HTTP/1.1|201|0
      20180418174837|3|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__b0568b191983bc2844b2fdb48aeefa72452931bfead0a87e0515bfc602ea3b0c:properties|HTTP/1.1|201|149
      20180418174837|34|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__5b1317f8158fa35a66116d083d8c7e2c64720713b1ce90e2a1ec186e36a98984|HTTP/1.1|201|7061
      20180418174837|5|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/sha256__5b1317f8158fa35a66116d083d8c7e2c64720713b1ce90e2a1ec186e36a98984:properties|HTTP/1.1|201|149
      20180418174837|9|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/manifest.json|HTTP/1.1|201|2407
      20180418174837|6|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/manifest.json:properties|HTTP/1.1|201|461
      20180418174837|3|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/manifest.json:properties|HTTP/1.1|201|461
      20180418174837|3|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/manifest.json:properties|HTTP/1.1|201|461
      20180418174837|9|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/manifest.json:properties|HTTP/1.1|201|461
      20180418174837|4|REQUEST|12.244.40.18|admin|PUT|/docker-local/mymongo/latest/manifest.json:properties|HTTP/1.1|201|461

       

      Reproduction Steps: 

      1. Create a local Docker repository 

      2. Set up pull replication 

      3. Wait for the cron expression to trigger

       

      Results in the following error: 

      2018-04-17 11:23:24,293 [Artifactory event replication 655] [ERROR] (o.a.a.c.BasicStatusHolder:214) - Error occurred while issuing a deploy command on '<repo>:mysql/latest/sha256__4c732aa0eb1bf8ee7a7dfdb2acdb3d1579110241fe47747d2b14a77e2cb504e2 on Url:http://<arti_url>:<port_number>/artifactory/<repo>': null
      org.apache.http.client.ClientProtocolException: null

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mariy Mari Yamaguchi
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: