Project

Profile

Help

Issue #4095 ยป docker_upload.log

akofink, 11/02/2018 03:17 PM

 
1
[vagrant@centos7-devel tmp]$ skopeo copy docker://docker.io/library/alpine dir:/tmp/alpine_schema2
2
Getting image source signatures
3
Copying blob sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde
4
 2.10 MB / 2.10 MB [========================================================] 0s
5
Copying config sha256:196d12cf6ab19273823e700516e98eb1910b03b17840f9d5509f03858484d321
6
 1.48 KB / 1.48 KB [========================================================] 0s
7
Writing manifest to image destination
8
Storing signatures
9

    
10

    
11
[vagrant@centos7-devel tmp]$ skopeo copy --format v2s1 docker://docker.io/library/alpine dir:/tmp/alpine_schema1
12
Getting image source signatures
13
Copying blob sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde
14
 2.10 MB / 2.10 MB [========================================================] 0s
15
Writing manifest to image destination
16
Storing signatures
17

    
18

    
19

    
20
[vagrant@centos7-devel tmp]$ cat alpine_schema1/manifest.json
21
{"name":"","tag":"","architecture":"amd64","fsLayers":[{"blobSum":"sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4"},{"blobSum":"sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde"}],"history":[{"v1Compatibility":"{\"architecture\":\"amd64\",\"config\":{\"Hostname\":\"\",\"Domainname\":\"\",\"User\":\"\",\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"],\"Cmd\":[\"/bin/sh\"],\"ArgsEscaped\":true,\"Image\":\"sha256:836dc9b148a584f3f42ac645c7d2bfa11423c1a07a054446314e11259f0e59b7\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"OnBuild\":null,\"Labels\":null},\"container\":\"cdce86c23e71b41aab0cdb15c010945deadaf59b296f216b0f9f43c331730049\",\"container_config\":{\"Hostname\":\"cdce86c23e71\",\"Domainname\":\"\",\"User\":\"\",\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"],\"Cmd\":[\"/bin/sh\",\"-c\",\"#(nop) \",\"CMD [\\\"/bin/sh\\\"]\"],\"ArgsEscaped\":true,\"Image\":\"sha256:836dc9b148a584f3f42ac645c7d2bfa11423c1a07a054446314e11259f0e59b7\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"OnBuild\":null,\"Labels\":{}},\"created\":\"2018-09-11T22:19:50.322783064Z\",\"docker_version\":\"17.06.2-ce\",\"id\":\"f33084b4b6032f9c77744a165174368fa4aed696ac301bfe504fa5533121690f\",\"os\":\"linux\",\"parent\":\"70034ea7817b10a77d60705f61423abcc61b8bb299571494ddbfd4f1f83f46ee\",\"throwaway\":true}"},{"v1Compatibility":"{\"id\":\"70034ea7817b10a77d60705f61423abcc61b8bb299571494ddbfd4f1f83f46ee\",\"created\":\"2018-09-11T22:19:50.165674013Z\",\"container_config\":{\"Cmd\":[\"/bin/sh -c #(nop) ADD file:25c10b1d1b41d46a1827ad0b0d2389c24df6d31430005ff4e9a2d84ea23ebd42 in / \"]}}"}],"schemaVersion":1,"signatures":[{"header":{"jwk":{"crv":"P-256","kid":"K6GN:HTKC:SUEJ:EJVK:3PGL:3AZR:4K6U:ISDY:I5AL:XMFH:NYGX:GCA6","kty":"EC","x":"Gba4cHqvKRtc6t3Rwll6ODX7a0pWVeLnNC6rYHGmMc4","y":"VeSl80R4QAa6t5Jb3tsca6Xgm0YrFnQB5TenZ5es-gI"},"alg":"ES256"},"signature":"3KneuDXT9GWkFIlZ-hNHg3zBkcxG2tP1S1ubqY9Bt7SwXClAAgFCep-8zkxEyZKcVI8pn7rQSfaJXRm3SwSKxg","protected":"eyJmb3JtYXRMZW5ndGgiOjE5ODMsImZvcm1hdFRhaWwiOiJmUSIsInRpbWUiOiIyMDE4LTExLTAyVDE0OjA5OjE1WiJ9"}]}[vagrant@centos7-devel tmp]$
22
[vagrant@centos7-devel tmp]$ cat alpine_schema2/manifest.json
23
{
24
   "schemaVersion": 2,
25
   "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
26
   "config": {
27
      "mediaType": "application/vnd.docker.container.image.v1+json",
28
      "size": 1512,
29
      "digest": "sha256:196d12cf6ab19273823e700516e98eb1910b03b17840f9d5509f03858484d321"
30
   },
31
   "layers": [
32
      {
33
         "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
34
         "size": 2206931,
35
         "digest": "sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde"
36
      }
37
   ]
38
[vagrant@centos7-devel tmp]$ pulp-admin -vvv -u admin -p $pulpAdminPassword docker repo list
39
+----------------------------------------------------------------------+
40
                          Docker Repositories
41
+----------------------------------------------------------------------+
42

    
43
2018-11-02 14:10:40,373 - DEBUG - sending GET request to /pulp/api/v2/repositories/
44
2018-11-02 14:10:40,453 - INFO - GET request to /pulp/api/v2/repositories/ with parameters None
45
2018-11-02 14:10:40,453 - INFO - Response status : 200
46

    
47
2018-11-02 14:10:40,456 - INFO - Response body :
48
 [
49
  {
50
    "scratchpad": {
51
      "checksum_type": "sha256"
52
    },
53
    "display_name": "zoo",
54
    "description": null,
55
    "last_unit_added": "2018-10-26T18:30:59Z",
56
    "notes": {
57
      "_repo-type": "rpm-repo"
58
    },
59
    "last_unit_removed": null,
60
    "content_unit_counts": {
61
      "rpm": 32,
62
      "erratum": 4
63
    },
64
    "_ns": "repos",
65
    "_id": {
66
      "$oid": "5bd1bc95a19bf81768c2020a"
67
    },
68
    "id": "747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
69
    "_href": "/pulp/api/v2/repositories/747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
70
  },
71
  {
72
    "scratchpad": {},
73
    "display_name": "alpine",
74
    "description": null,
75
    "last_unit_added": "2018-10-31T14:09:23Z",
76
    "notes": {
77
      "_repo-type": "docker-repo"
78
    },
79
    "last_unit_removed": null,
80
    "content_unit_counts": {
81
      "docker_manifest": 41,
82
      "docker_blob": 80,
83
      "docker_manifest_list": 9,
84
      "docker_tag": 22
85
    },
86
    "_ns": "repos",
87
    "_id": {
88
      "$oid": "5bd1bca3a19bf81768c2020f"
89
    },
90
    "id": "046a5280-3250-475f-8d65-68258c9237e2",
91
    "_href": "/pulp/api/v2/repositories/046a5280-3250-475f-8d65-68258c9237e2/"
92
  },
93
  {
94
    "scratchpad": {
95
      "checksum_type": "sha1"
96
    },
97
    "display_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server",
98
    "description": null,
99
    "last_unit_added": "2018-10-27T02:17:57Z",
100
    "notes": {
101
      "_repo-type": "rpm-repo"
102
    },
103
    "last_unit_removed": null,
104
    "content_unit_counts": {
105
      "erratum": 3115,
106
      "package_group": 76,
107
      "package_category": 9,
108
      "package_environment": 6,
109
      "package_langpacks": 1,
110
      "rpm": 21088,
111
      "yum_repo_metadata_file": 1
112
    },
113
    "_ns": "repos",
114
    "_id": {
115
      "$oid": "5bd1bdcaa19bf81768c20212"
116
    },
117
    "id": "34404394-51fc-47ed-b145-b925210aa887",
118
    "_href": "/pulp/api/v2/repositories/34404394-51fc-47ed-b145-b925210aa887/"
119
  },
120
  {
121
    "scratchpad": {},
122
    "display_name": "zoo",
123
    "description": null,
124
    "last_unit_added": null,
125
    "notes": {
126
      "_repo-type": "rpm-repo"
127
    },
128
    "last_unit_removed": null,
129
    "content_unit_counts": {},
130
    "_ns": "repos",
131
    "_id": {
132
      "$oid": "5bd1bfeca19bf81767909957"
133
    },
134
    "id": "1-cv1-v1_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
135
    "_href": "/pulp/api/v2/repositories/1-cv1-v1_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
136
  },
137
  {
138
    "scratchpad": {},
139
    "display_name": "zoo",
140
    "description": null,
141
    "last_unit_added": null,
142
    "notes": {
143
      "_repo-type": "rpm-repo"
144
    },
145
    "last_unit_removed": null,
146
    "content_unit_counts": {},
147
    "_ns": "repos",
148
    "_id": {
149
      "$oid": "5bd1bffea19bf81767909961"
150
    },
151
    "id": "1-cv1-Library-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
152
    "_href": "/pulp/api/v2/repositories/1-cv1-Library-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
153
  },
154
  {
155
    "scratchpad": {},
156
    "display_name": "cv1",
157
    "description": null,
158
    "last_unit_added": null,
159
    "notes": {
160
      "_repo-type": "puppet-repo"
161
    },
162
    "last_unit_removed": null,
163
    "content_unit_counts": {},
164
    "_ns": "repos",
165
    "_id": {
166
      "$oid": "5bd1c000a19bf81768c2021f"
167
    },
168
    "id": "1-cv1-v1_0-puppet-b938b670-dfe4-43f3-9c00-8ac5889a846c",
169
    "_href": "/pulp/api/v2/repositories/1-cv1-v1_0-puppet-b938b670-dfe4-43f3-9c00-8ac5889a846c/"
170
  },
171
  {
172
    "scratchpad": {},
173
    "display_name": "zoo",
174
    "description": null,
175
    "last_unit_added": null,
176
    "notes": {
177
      "_repo-type": "rpm-repo"
178
    },
179
    "last_unit_removed": null,
180
    "content_unit_counts": {},
181
    "_ns": "repos",
182
    "_id": {
183
      "$oid": "5bd1c016a19bf81767909967"
184
    },
185
    "id": "1-cv1-v2_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
186
    "_href": "/pulp/api/v2/repositories/1-cv1-v2_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
187
  },
188
  {
189
    "scratchpad": {},
190
    "display_name": "cv1",
191
    "description": null,
192
    "last_unit_added": null,
193
    "notes": {
194
      "_repo-type": "puppet-repo"
195
    },
196
    "last_unit_removed": null,
197
    "content_unit_counts": {},
198
    "_ns": "repos",
199
    "_id": {
200
      "$oid": "5bd1c01fa19bf817663fd046"
201
    },
202
    "id": "1-cv1-v2_0-puppet-bc269c23-cc57-4ad0-8c28-a75be1185a85",
203
    "_href": "/pulp/api/v2/repositories/1-cv1-v2_0-puppet-bc269c23-cc57-4ad0-8c28-a75be1185a85/"
204
  },
205
  {
206
    "scratchpad": {},
207
    "display_name": "zoo",
208
    "description": null,
209
    "last_unit_added": null,
210
    "notes": {
211
      "_repo-type": "rpm-repo"
212
    },
213
    "last_unit_removed": null,
214
    "content_unit_counts": {},
215
    "_ns": "repos",
216
    "_id": {
217
      "$oid": "5bd1c77ca19bf817663fd04a"
218
    },
219
    "id": "1-cv1-Test-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
220
    "_href": "/pulp/api/v2/repositories/1-cv1-Test-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
221
  },
222
  {
223
    "scratchpad": {},
224
    "display_name": "zoo",
225
    "description": null,
226
    "last_unit_added": null,
227
    "notes": {
228
      "_repo-type": "rpm-repo"
229
    },
230
    "last_unit_removed": null,
231
    "content_unit_counts": {},
232
    "_ns": "repos",
233
    "_id": {
234
      "$oid": "5bd1c77ca19bf817663fd04b"
235
    },
236
    "id": "1-cv1-Devel-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
237
    "_href": "/pulp/api/v2/repositories/1-cv1-Devel-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
238
  },
239
  {
240
    "scratchpad": {},
241
    "display_name": "zoo",
242
    "description": null,
243
    "last_unit_added": null,
244
    "notes": {
245
      "_repo-type": "rpm-repo"
246
    },
247
    "last_unit_removed": null,
248
    "content_unit_counts": {},
249
    "_ns": "repos",
250
    "_id": {
251
      "$oid": "5bd1c786a19bf81768c2022b"
252
    },
253
    "id": "1-cv1-Production-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
254
    "_href": "/pulp/api/v2/repositories/1-cv1-Production-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
255
  },
256
  {
257
    "scratchpad": {},
258
    "display_name": "zoo",
259
    "description": null,
260
    "last_unit_added": null,
261
    "notes": {
262
      "_repo-type": "rpm-repo"
263
    },
264
    "last_unit_removed": null,
265
    "content_unit_counts": {},
266
    "_ns": "repos",
267
    "_id": {
268
      "$oid": "5bd1c924a19bf817663fd054"
269
    },
270
    "id": "1-cv1-v3_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
271
    "_href": "/pulp/api/v2/repositories/1-cv1-v3_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
272
  },
273
  {
274
    "scratchpad": {},
275
    "display_name": "cv1",
276
    "description": null,
277
    "last_unit_added": null,
278
    "notes": {
279
      "_repo-type": "puppet-repo"
280
    },
281
    "last_unit_removed": null,
282
    "content_unit_counts": {},
283
    "_ns": "repos",
284
    "_id": {
285
      "$oid": "5bd1c932a19bf8176790997a"
286
    },
287
    "id": "1-cv1-v3_0-puppet-ade1ebff-2e87-4bb8-a49f-be24ef465e74",
288
    "_href": "/pulp/api/v2/repositories/1-cv1-v3_0-puppet-ade1ebff-2e87-4bb8-a49f-be24ef465e74/"
289
  },
290
  {
291
    "scratchpad": {},
292
    "display_name": "zoo",
293
    "description": null,
294
    "last_unit_added": null,
295
    "notes": {
296
      "_repo-type": "rpm-repo"
297
    },
298
    "last_unit_removed": null,
299
    "content_unit_counts": {},
300
    "_ns": "repos",
301
    "_id": {
302
      "$oid": "5bd1d14ea19bf817663fd061"
303
    },
304
    "id": "1-cv1-v4_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
305
    "_href": "/pulp/api/v2/repositories/1-cv1-v4_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
306
  },
307
  {
308
    "scratchpad": {},
309
    "display_name": "cv1",
310
    "description": null,
311
    "last_unit_added": null,
312
    "notes": {
313
      "_repo-type": "puppet-repo"
314
    },
315
    "last_unit_removed": null,
316
    "content_unit_counts": {},
317
    "_ns": "repos",
318
    "_id": {
319
      "$oid": "5bd1d157a19bf81767909983"
320
    },
321
    "id": "1-cv1-v4_0-puppet-d1b441cd-47ca-4c30-b0a4-5170c4b63223",
322
    "_href": "/pulp/api/v2/repositories/1-cv1-v4_0-puppet-d1b441cd-47ca-4c30-b0a4-5170c4b63223/"
323
  },
324
  {
325
    "scratchpad": {},
326
    "display_name": "zoo",
327
    "description": null,
328
    "last_unit_added": null,
329
    "notes": {
330
      "_repo-type": "rpm-repo"
331
    },
332
    "last_unit_removed": null,
333
    "content_unit_counts": {},
334
    "_ns": "repos",
335
    "_id": {
336
      "$oid": "5bd22c54a19bf803b9f67f7e"
337
    },
338
    "id": "1-cv1-v5_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
339
    "_href": "/pulp/api/v2/repositories/1-cv1-v5_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
340
  },
341
  {
342
    "scratchpad": {},
343
    "display_name": "cv1",
344
    "description": null,
345
    "last_unit_added": null,
346
    "notes": {
347
      "_repo-type": "puppet-repo"
348
    },
349
    "last_unit_removed": null,
350
    "content_unit_counts": {},
351
    "_ns": "repos",
352
    "_id": {
353
      "$oid": "5bd22c5ca19bf803b9f67f8b"
354
    },
355
    "id": "1-cv1-v5_0-puppet-7b9413d5-0e8c-4368-a1f3-902f2a8bbc28",
356
    "_href": "/pulp/api/v2/repositories/1-cv1-v5_0-puppet-7b9413d5-0e8c-4368-a1f3-902f2a8bbc28/"
357
  },
358
  {
359
    "scratchpad": {},
360
    "display_name": "zoo",
361
    "description": null,
362
    "last_unit_added": null,
363
    "notes": {
364
      "_repo-type": "rpm-repo"
365
    },
366
    "last_unit_removed": null,
367
    "content_unit_counts": {},
368
    "_ns": "repos",
369
    "_id": {
370
      "$oid": "5bd22d87a19bf803ba952032"
371
    },
372
    "id": "1-cv1-v6_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
373
    "_href": "/pulp/api/v2/repositories/1-cv1-v6_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
374
  },
375
  {
376
    "scratchpad": {},
377
    "display_name": "cv1",
378
    "description": null,
379
    "last_unit_added": null,
380
    "notes": {
381
      "_repo-type": "puppet-repo"
382
    },
383
    "last_unit_removed": null,
384
    "content_unit_counts": {},
385
    "_ns": "repos",
386
    "_id": {
387
      "$oid": "5bd22d98a19bf803ba95203d"
388
    },
389
    "id": "1-cv1-v6_0-puppet-4e79d2af-f87f-411e-a865-dae5a9deadba",
390
    "_href": "/pulp/api/v2/repositories/1-cv1-v6_0-puppet-4e79d2af-f87f-411e-a865-dae5a9deadba/"
391
  },
392
  {
393
    "scratchpad": {},
394
    "display_name": "zoo",
395
    "description": null,
396
    "last_unit_added": null,
397
    "notes": {
398
      "_repo-type": "rpm-repo"
399
    },
400
    "last_unit_removed": null,
401
    "content_unit_counts": {},
402
    "_ns": "repos",
403
    "_id": {
404
      "$oid": "5bd22e34a19bf803bc1f2aee"
405
    },
406
    "id": "1-cv1-v7_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
407
    "_href": "/pulp/api/v2/repositories/1-cv1-v7_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
408
  },
409
  {
410
    "scratchpad": {},
411
    "display_name": "cv1",
412
    "description": null,
413
    "last_unit_added": null,
414
    "notes": {
415
      "_repo-type": "puppet-repo"
416
    },
417
    "last_unit_removed": null,
418
    "content_unit_counts": {},
419
    "_ns": "repos",
420
    "_id": {
421
      "$oid": "5bd22e3ba19bf803bc1f2afb"
422
    },
423
    "id": "1-cv1-v7_0-puppet-f267fa7b-44b4-480d-8d25-e85345d9adea",
424
    "_href": "/pulp/api/v2/repositories/1-cv1-v7_0-puppet-f267fa7b-44b4-480d-8d25-e85345d9adea/"
425
  },
426
  {
427
    "scratchpad": {},
428
    "display_name": "zoo",
429
    "description": null,
430
    "last_unit_added": null,
431
    "notes": {
432
      "_repo-type": "rpm-repo"
433
    },
434
    "last_unit_removed": null,
435
    "content_unit_counts": {},
436
    "_ns": "repos",
437
    "_id": {
438
      "$oid": "5bd22f95a19bf803ba952046"
439
    },
440
    "id": "1-compcv1-v1_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
441
    "_href": "/pulp/api/v2/repositories/1-compcv1-v1_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
442
  },
443
  {
444
    "scratchpad": {},
445
    "display_name": "zoo",
446
    "description": null,
447
    "last_unit_added": null,
448
    "notes": {
449
      "_repo-type": "rpm-repo"
450
    },
451
    "last_unit_removed": null,
452
    "content_unit_counts": {},
453
    "_ns": "repos",
454
    "_id": {
455
      "$oid": "5bd22f96a19bf803bc1f2afe"
456
    },
457
    "id": "1-compcv1-Library-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
458
    "_href": "/pulp/api/v2/repositories/1-compcv1-Library-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
459
  },
460
  {
461
    "scratchpad": {},
462
    "display_name": "compcv1",
463
    "description": null,
464
    "last_unit_added": null,
465
    "notes": {
466
      "_repo-type": "puppet-repo"
467
    },
468
    "last_unit_removed": null,
469
    "content_unit_counts": {},
470
    "_ns": "repos",
471
    "_id": {
472
      "$oid": "5bd22f97a19bf803bc1f2b03"
473
    },
474
    "id": "1-compcv1-v1_0-puppet-09a26957-b7c5-4425-a3bc-06da4936f4b6",
475
    "_href": "/pulp/api/v2/repositories/1-compcv1-v1_0-puppet-09a26957-b7c5-4425-a3bc-06da4936f4b6/"
476
  },
477
  {
478
    "scratchpad": {
479
      "checksum_type": "sha256"
480
    },
481
    "display_name": "katello 3.9 client",
482
    "description": null,
483
    "last_unit_added": "2018-10-27T02:00:38Z",
484
    "notes": {
485
      "_repo-type": "rpm-repo"
486
    },
487
    "last_unit_removed": "2018-10-27T02:00:35Z",
488
    "content_unit_counts": {
489
      "package_group": 2,
490
      "rpm": 40
491
    },
492
    "_ns": "repos",
493
    "_id": {
494
      "$oid": "5bd35dd0a19bf8145ff8922c"
495
    },
496
    "id": "dd52e27b-fd37-4c9c-b4aa-6d90fef39f68",
497
    "_href": "/pulp/api/v2/repositories/dd52e27b-fd37-4c9c-b4aa-6d90fef39f68/"
498
  },
499
  {
500
    "scratchpad": {},
501
    "display_name": "alpine",
502
    "description": null,
503
    "last_unit_added": "2018-10-29T18:47:23Z",
504
    "notes": {
505
      "_repo-type": "docker-repo"
506
    },
507
    "last_unit_removed": null,
508
    "content_unit_counts": {
509
      "docker_manifest": 41,
510
      "docker_blob": 80,
511
      "docker_manifest_list": 9,
512
      "docker_tag": 22
513
    },
514
    "_ns": "repos",
515
    "_id": {
516
      "$oid": "5bd755b9a19bf857deebfa54"
517
    },
518
    "id": "1-docker-v1_0-046a5280-3250-475f-8d65-68258c9237e2",
519
    "_href": "/pulp/api/v2/repositories/1-docker-v1_0-046a5280-3250-475f-8d65-68258c9237e2/"
520
  },
521
  {
522
    "scratchpad": {},
523
    "display_name": "alpine",
524
    "description": null,
525
    "last_unit_added": "2018-10-29T18:47:26Z",
526
    "notes": {
527
      "_repo-type": "docker-repo"
528
    },
529
    "last_unit_removed": null,
530
    "content_unit_counts": {
531
      "docker_manifest": 41,
532
      "docker_blob": 80,
533
      "docker_manifest_list": 9,
534
      "docker_tag": 22
535
    },
536
    "_ns": "repos",
537
    "_id": {
538
      "$oid": "5bd755bda19bf857deebfa59"
539
    },
540
    "id": "1-docker-library-046a5280-3250-475f-8d65-68258c9237e2",
541
    "_href": "/pulp/api/v2/repositories/1-docker-library-046a5280-3250-475f-8d65-68258c9237e2/"
542
  },
543
  {
544
    "scratchpad": {},
545
    "display_name": "docker",
546
    "description": null,
547
    "last_unit_added": null,
548
    "notes": {
549
      "_repo-type": "puppet-repo"
550
    },
551
    "last_unit_removed": null,
552
    "content_unit_counts": {},
553
    "_ns": "repos",
554
    "_id": {
555
      "$oid": "5bd755c2a19bf857dd69145c"
556
    },
557
    "id": "1-docker-v1_0-puppet-77e0ece5-274c-4751-a0a8-af3ddc24f1ee",
558
    "_href": "/pulp/api/v2/repositories/1-docker-v1_0-puppet-77e0ece5-274c-4751-a0a8-af3ddc24f1ee/"
559
  },
560
  {
561
    "scratchpad": {},
562
    "display_name": "alpine",
563
    "description": null,
564
    "last_unit_added": "2018-10-29T18:47:51Z",
565
    "notes": {
566
      "_repo-type": "docker-repo"
567
    },
568
    "last_unit_removed": null,
569
    "content_unit_counts": {
570
      "docker_manifest": 41,
571
      "docker_blob": 80,
572
      "docker_manifest_list": 9,
573
      "docker_tag": 22
574
    },
575
    "_ns": "repos",
576
    "_id": {
577
      "$oid": "5bd755d6a19bf857dd691460"
578
    },
579
    "id": "1-docker-docker-046a5280-3250-475f-8d65-68258c9237e2",
580
    "_href": "/pulp/api/v2/repositories/1-docker-docker-046a5280-3250-475f-8d65-68258c9237e2/"
581
  },
582
  {
583
    "scratchpad": {},
584
    "display_name": "zoo",
585
    "description": null,
586
    "last_unit_added": "2018-10-30T18:07:31Z",
587
    "notes": {
588
      "_repo-type": "rpm-repo"
589
    },
590
    "last_unit_removed": null,
591
    "content_unit_counts": {
592
      "rpm": 32,
593
      "erratum": 4
594
    },
595
    "_ns": "repos",
596
    "_id": {
597
      "$oid": "5bd89de2a19bf84b91b8cbe3"
598
    },
599
    "id": "1-cv1-v8_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
600
    "_href": "/pulp/api/v2/repositories/1-cv1-v8_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
601
  },
602
  {
603
    "scratchpad": {},
604
    "display_name": "cv1",
605
    "description": null,
606
    "last_unit_added": null,
607
    "notes": {
608
      "_repo-type": "puppet-repo"
609
    },
610
    "last_unit_removed": null,
611
    "content_unit_counts": {},
612
    "_ns": "repos",
613
    "_id": {
614
      "$oid": "5bd89deaa19bf84b90b59d43"
615
    },
616
    "id": "1-cv1-v8_0-puppet-64a69356-fd48-4cbf-9e76-e4eadf6ac1fd",
617
    "_href": "/pulp/api/v2/repositories/1-cv1-v8_0-puppet-64a69356-fd48-4cbf-9e76-e4eadf6ac1fd/"
618
  },
619
  {
620
    "scratchpad": {},
621
    "display_name": "alpine2",
622
    "description": null,
623
    "last_unit_added": "2018-11-02T13:10:49Z",
624
    "notes": {
625
      "_repo-type": "docker-repo"
626
    },
627
    "last_unit_removed": null,
628
    "content_unit_counts": {
629
      "docker_blob": 2,
630
      "docker_manifest": 1,
631
      "docker_tag": 1
632
    },
633
    "_ns": "repos",
634
    "_id": {
635
      "$oid": "5bdb1423a19bf8574d4ccb12"
636
    },
637
    "id": "883a06e7-6118-4f2e-a75e-cf5f63224e5d",
638
    "_href": "/pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/"
639
  }
640
]
641

    
642
Id:                  046a5280-3250-475f-8d65-68258c9237e2
643
Display Name:        alpine
644
Description:         None
645
Content Unit Counts:
646
  Docker Blob:          80
647
  Docker Manifest:      41
648
  Docker Manifest List: 9
649
  Docker Tag:           22
650

    
651
Id:                  1-docker-v1_0-046a5280-3250-475f-8d65-68258c9237e2
652
Display Name:        alpine
653
Description:         None
654
Content Unit Counts:
655
  Docker Blob:          80
656
  Docker Manifest:      41
657
  Docker Manifest List: 9
658
  Docker Tag:           22
659

    
660
Id:                  1-docker-library-046a5280-3250-475f-8d65-68258c9237e2
661
Display Name:        alpine
662
Description:         None
663
Content Unit Counts:
664
  Docker Blob:          80
665
  Docker Manifest:      41
666
  Docker Manifest List: 9
667
  Docker Tag:           22
668

    
669
Id:                  1-docker-docker-046a5280-3250-475f-8d65-68258c9237e2
670
Display Name:        alpine
671
Description:         None
672
Content Unit Counts:
673
  Docker Blob:          80
674
  Docker Manifest:      41
675
  Docker Manifest List: 9
676
  Docker Tag:           22
677

    
678
Id:                  883a06e7-6118-4f2e-a75e-cf5f63224e5d
679
Display Name:        alpine2
680
Description:         None
681
Content Unit Counts:
682
  Docker Blob:     2
683
  Docker Manifest: 1
684
  Docker Tag:      1
685

    
686

    
687
[vagrant@centos7-devel tmp]$ pulp-admin -vvv -u admin -p $pulpAdminPassword docker repo uploads upload --repo-id=883a06e7-6118-4f2e-a75e-cf5f63224e5d -f ^C
688
[vagrant@centos7-devel tmp]$ cd alpine_schema1 && tar -cvf ../alpine_schema1.tar * && cd ..
689
4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde
690
a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
691
manifest.json
692
version
693
[vagrant@centos7-devel tmp]$ cd alpine_schema2 && tar -cvf ../alpine_schema2.tar * && cd ..
694
196d12cf6ab19273823e700516e98eb1910b03b17840f9d5509f03858484d321
695
4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde
696
manifest.json
697
version
698
[vagrant@centos7-devel tmp]$ l
699
-bash: l: command not found
700
[vagrant@centos7-devel tmp]$ ls -la
701
total 6608
702
drwxr-xr-x. 12 vagrant vagrant    4096 Nov  2 14:11 .
703
drwxr-xr-x. 26 vagrant vagrant    4096 Nov  1 16:26 ..
704
-rw-------.  1 vagrant vagrant    1536 Nov  2 13:12 45571bcea982fb66383e6287e42413db0c40af8e3484bc85157974851ad70169.tar
705
-rw-------.  1 vagrant vagrant      32 Nov  1 17:49 a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4.tar
706
-rw-rw-r--.  1 vagrant vagrant 2222080 Nov  1 15:37 alpine2.tar
707
drwxrwxr-x.  2 vagrant vagrant    4096 Nov  2 14:09 alpine_schema1
708
-rw-rw-r--.  1 vagrant vagrant 2222080 Nov  2 14:11 alpine_schema1.tar
709
drwxrwxr-x.  2 vagrant vagrant    4096 Nov  2 14:09 alpine_schema2
710
-rw-rw-r--.  1 vagrant vagrant 2222080 Nov  2 14:11 alpine_schema2.tar
711
drwxr-xr-x. 43 vagrant vagrant    4096 Nov  2 13:44 cache
712
drwxrwxr-x.  2 vagrant vagrant    4096 Oct 28 23:47 combined_fixtures
713
drwxrwxr-x.  2 vagrant vagrant    4096 Nov  1 17:50 default_organization-custom-alpine2_latest
714
-rw-rw-r--.  1 vagrant vagrant   10240 Nov  2 13:10 default_organization-custom-alpine2_latest.tar
715
-rw-rw-r--.  1 vagrant vagrant   10240 Nov  2 13:12 default_organization-custom-alpine_foo.tar
716
-rw-------.  1 vagrant vagrant     246 Nov  2 13:12 ff7fe5ebb65a3211e97ea257b49611f0bf036f78c69df39e562df4629d652c8a.tar
717
drwxrwxr-x.  2 vagrant vagrant    4096 Nov  1 14:45 foo
718
drwxrwxr-x.  2 vagrant vagrant    4096 Oct 31 00:14 library
719
drwxr-xr-x.  2 vagrant vagrant    4096 Nov  1 14:42 pids
720
-rw-------.  1 vagrant vagrant     128 Aug 10 03:42 secret_token
721
drwxr-xr-x.  2 vagrant vagrant    4096 Aug 10 03:42 sockets
722
drwxrwxr-x.  2 vagrant vagrant    4096 Sep 11 14:34 uploads
723
-rw-r--r--.  1 vagrant vagrant      33 Oct 31 12:32 version
724
[vagrant@centos7-devel tmp]$ pulp-admin -vvv -u admin -p $pulpAdminPassword docker repo uploads upload --repo-id=883a06e7-6118-4f2e-a75e-cf5f63224e5d -f alpine_schema2.tar
725
+----------------------------------------------------------------------+
726
                              Unit Upload
727
+----------------------------------------------------------------------+
728

    
729
2018-11-02 14:12:11,307 - DEBUG - sending GET request to /pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/
730
2018-11-02 14:12:11,370 - INFO - GET request to /pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/ with parameters None
731
2018-11-02 14:12:11,370 - INFO - Response status : 200
732

    
733
2018-11-02 14:12:11,371 - INFO - Response body :
734
 {
735
  "scratchpad": {},
736
  "display_name": "alpine2",
737
  "description": null,
738
  "last_unit_added": "2018-11-02T13:10:49Z",
739
  "notes": {
740
    "_repo-type": "docker-repo"
741
  },
742
  "last_unit_removed": null,
743
  "content_unit_counts": {
744
    "docker_blob": 2,
745
    "docker_manifest": 1,
746
    "docker_tag": 1
747
  },
748
  "_ns": "repos",
749
  "_id": {
750
    "$oid": "5bdb1423a19bf8574d4ccb12"
751
  },
752
  "id": "883a06e7-6118-4f2e-a75e-cf5f63224e5d",
753
  "_href": "/pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/"
754
}
755

    
756
Extracting necessary metadata for each request...
757
[==================================================] 100%
758
Analyzing: alpine_schema2.tar
759
... completed
760

    
761
Creating upload requests on the server...
762
[==================================================] 100%
763
Initializing: alpine_schema2.tar
764
2018-11-02 14:12:11,374 - DEBUG - sending POST request to /pulp/api/v2/content/uploads/
765
2018-11-02 14:12:11,432 - INFO - POST request to /pulp/api/v2/content/uploads/ with parameters None
766
2018-11-02 14:12:11,432 - INFO - Response status : 201
767

    
768
2018-11-02 14:12:11,432 - INFO - Response body :
769
 {
770
  "upload_id": "d6efd27b-b92d-4f13-9b27-006ed1463d86",
771
  "_href": "/pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/"
772
}
773

    
774
... completed
775

    
776
Starting upload of selected units. If this process is stopped through ctrl+c,
777
the uploads will be paused and may be resumed later using the resume command or
778
canceled entirely using the cancel command.
779

    
780
Uploading: alpine_schema2.tar
781
2018-11-02 14:12:11,437 - DEBUG - sending PUT request to /pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/0/
782
2018-11-02 14:12:11,506 - INFO - PUT request to /pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/0/
783
2018-11-02 14:12:11,507 - INFO - Response status : 200
784

    
785
2018-11-02 14:12:11,507 - INFO - Response body :
786
 null
787

    
788
[=======================                           ] 47%
789
1048576/2222080 bytes
790
2018-11-02 14:12:11,509 - DEBUG - sending PUT request to /pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/1048576/
791
2018-11-02 14:12:11,595 - INFO - PUT request to /pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/1048576/
792
2018-11-02 14:12:11,595 - INFO - Response status : 200
793

    
794
2018-11-02 14:12:11,595 - INFO - Response body :
795
[===============================================   ] 94%
796
2097152/2222080 bytes
797
2018-11-02 14:12:11,597 - DEBUG - sending PUT request to /pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/2097152/
798
2018-11-02 14:12:11,657 - INFO - PUT request to /pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/2097152/
799
2018-11-02 14:12:11,657 - INFO - Response status : 200
800

    
801
2018-11-02 14:12:11,657 - INFO - Response body :
802
[==================================================] 100%
803
2222080/2222080 bytes
804
... completed
805

    
806
Importing into the repository...
807
2018-11-02 14:12:11,661 - DEBUG - sending POST request to /pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/actions/import_upload/
808
2018-11-02 14:12:11,726 - INFO - POST request to /pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/actions/import_upload/ with parameters {"override_config": {}, "unit_type_id": "docker_manifest", "upload_id": "d6efd27b-b92d-4f13-9b27-006ed1463d86", "unit_key": {}, "unit_metadata": {}}
809
2018-11-02 14:12:11,726 - INFO - Response status : 202
810

    
811
2018-11-02 14:12:11,726 - INFO - Response body :
812
 {
813
  "spawned_tasks": [
814
    {
815
      "_href": "/pulp/api/v2/tasks/b112d6d1-f495-4a59-b5c2-f1a6336ec8f6/",
816
      "task_id": "b112d6d1-f495-4a59-b5c2-f1a6336ec8f6"
817
    }
818
  ],
819
  "result": null,
820
  "error": null
821
}
822

    
823
This command may be exited via ctrl+c without affecting the request.
824

    
825

    
826
[-]
827
Running...
828
2018-11-02 14:12:12,728 - DEBUG - sending GET request to /pulp/api/v2/tasks/b112d6d1-f495-4a59-b5c2-f1a6336ec8f6/
829
2018-11-02 14:12:12,795 - INFO - GET request to /pulp/api/v2/tasks/b112d6d1-f495-4a59-b5c2-f1a6336ec8f6/ with parameters None
830
2018-11-02 14:12:12,795 - INFO - Response status : 200
831

    
832
2018-11-02 14:12:12,796 - INFO - Response body :
833
 {
834
  "exception": null,
835
  "task_type": "pulp.server.managers.content.upload.import_uploaded_unit",
836
  "_href": "/pulp/api/v2/tasks/b112d6d1-f495-4a59-b5c2-f1a6336ec8f6/",
837
  "task_id": "b112d6d1-f495-4a59-b5c2-f1a6336ec8f6",
838
  "tags": [
839
    "pulp:repository:883a06e7-6118-4f2e-a75e-cf5f63224e5d",
840
    "pulp:action:import_upload"
841
  ],
842
  "finish_time": "2018-11-02T14:12:11Z",
843
  "_ns": "task_status",
844
  "start_time": "2018-11-02T14:12:11Z",
845
  "traceback": null,
846
  "spawned_tasks": [],
847
  "progress_report": {},
848
  "queue": "reserved_resource_worker-2@centos7-devel.virbr0.akofink-desktop.dq2",
849
  "state": "finished",
850
  "worker_name": "reserved_resource_worker-2@centos7-devel.virbr0.akofink-desktop",
851
  "result": {
852
    "details": {
853
      "unit": {
854
        "type_id": "docker_manifest",
855
        "unit_key": {
856
          "digest": "sha256:02892826401a9d18f0ea01f8a2f35d328ef039db4e1edcc45c630314a0457d5b"
857
        },
858
        "metadata": {
859
          "fs_layers": [
860
            {
861
              "layer_type": "application/vnd.docker.image.rootfs.diff.tar.gzip",
862
              "size": 2206931,
863
              "_cls": "FSLayer",
864
              "blob_sum": "sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde"
865
            }
866
          ],
867
          "schema_version": 2,
868
          "downloaded": true,
869
          "pulp_user_metadata": {},
870
          "config_layer": "sha256:196d12cf6ab19273823e700516e98eb1910b03b17840f9d5509f03858484d321",
871
          "id": "89162362-ed33-4573-8f58-713930440666",
872
          "digest": "sha256:02892826401a9d18f0ea01f8a2f35d328ef039db4e1edcc45c630314a0457d5b"
873
        }
874
      }
875
    },
876
    "success_flag": true,
877
    "summary": ""
878
  },
879
  "error": null,
880
  "_id": {
881
    "$oid": "5bdc5b3b8037221aff3a23b0"
882
  },
883
  "id": "5bdc5b3b8037221aff3a23b0"
884
[\]
885
Running...
886

    
887
Task Succeeded
888

    
889

    
890
Deleting the upload request...
891
2018-11-02 14:12:12,796 - DEBUG - sending DELETE request to /pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/
892
2018-11-02 14:12:12,854 - INFO - DELETE request to /pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/ with parameters None
893
2018-11-02 14:12:12,854 - INFO - Response status : 200
894

    
895
2018-11-02 14:12:12,854 - INFO - Response body :
896
 null
897

    
898
... completed
899

    
900
[vagrant@centos7-devel tmp]$ pulp-admin -vvv -u admin -p $pulpAdminPassword docker repo uploads upload --repo-id=883a06e7-6118-4f2e-a75e-cf5f63224e5d -f alpine_schema1.tar
901
+----------------------------------------------------------------------+
902
                              Unit Upload
903
+----------------------------------------------------------------------+
904

    
905
2018-11-02 14:12:20,288 - DEBUG - sending GET request to /pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/
906
2018-11-02 14:12:20,355 - INFO - GET request to /pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/ with parameters None
907
2018-11-02 14:12:20,355 - INFO - Response status : 200
908

    
909
2018-11-02 14:12:20,355 - INFO - Response body :
910
 {
911
  "scratchpad": {},
912
  "display_name": "alpine2",
913
  "description": null,
914
  "last_unit_added": "2018-11-02T14:12:11Z",
915
  "notes": {
916
    "_repo-type": "docker-repo"
917
  },
918
  "last_unit_removed": null,
919
  "content_unit_counts": {
920
    "docker_blob": 2,
921
    "docker_manifest": 1,
922
    "docker_tag": 1
923
  },
924
  "_ns": "repos",
925
  "_id": {
926
    "$oid": "5bdb1423a19bf8574d4ccb12"
927
  },
928
  "id": "883a06e7-6118-4f2e-a75e-cf5f63224e5d",
929
  "_href": "/pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/"
930
}
931

    
932
Extracting necessary metadata for each request...
933
[==================================================] 100%
934
Analyzing: alpine_schema1.tar
935
... completed
936

    
937
Creating upload requests on the server...
938
[==================================================] 100%
939
Initializing: alpine_schema1.tar
940
2018-11-02 14:12:20,358 - DEBUG - sending POST request to /pulp/api/v2/content/uploads/
941
2018-11-02 14:12:20,417 - INFO - POST request to /pulp/api/v2/content/uploads/ with parameters None
942
2018-11-02 14:12:20,418 - INFO - Response status : 201
943

    
944
2018-11-02 14:12:20,418 - INFO - Response body :
945
 {
946
  "upload_id": "1aebc1a5-a522-4763-ab44-b59e10759796",
947
  "_href": "/pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/"
948
}
949

    
950
... completed
951

    
952
Starting upload of selected units. If this process is stopped through ctrl+c,
953
the uploads will be paused and may be resumed later using the resume command or
954
canceled entirely using the cancel command.
955

    
956
Uploading: alpine_schema1.tar
957
2018-11-02 14:12:20,422 - DEBUG - sending PUT request to /pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/0/
958
2018-11-02 14:12:20,493 - INFO - PUT request to /pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/0/
959
2018-11-02 14:12:20,494 - INFO - Response status : 200
960

    
961
2018-11-02 14:12:20,494 - INFO - Response body :
962
 null
963

    
964
[=======================                           ] 47%
965
1048576/2222080 bytes
966
2018-11-02 14:12:20,495 - DEBUG - sending PUT request to /pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/1048576/
967
2018-11-02 14:12:20,548 - INFO - PUT request to /pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/1048576/
968
2018-11-02 14:12:20,548 - INFO - Response status : 200
969

    
970
2018-11-02 14:12:20,548 - INFO - Response body :
971
[===============================================   ] 94%
972
2097152/2222080 bytes
973
2018-11-02 14:12:20,549 - DEBUG - sending PUT request to /pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/2097152/
974
2018-11-02 14:12:20,599 - INFO - PUT request to /pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/2097152/
975
2018-11-02 14:12:20,599 - INFO - Response status : 200
976

    
977
2018-11-02 14:12:20,599 - INFO - Response body :
978
[==================================================] 100%
979
2222080/2222080 bytes
980
... completed
981

    
982
Importing into the repository...
983
2018-11-02 14:12:20,601 - DEBUG - sending POST request to /pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/actions/import_upload/
984
2018-11-02 14:12:20,666 - INFO - POST request to /pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/actions/import_upload/ with parameters {"override_config": {}, "unit_type_id": "docker_manifest", "upload_id": "1aebc1a5-a522-4763-ab44-b59e10759796", "unit_key": {}, "unit_metadata": {}}
985
2018-11-02 14:12:20,667 - INFO - Response status : 202
986

    
987
2018-11-02 14:12:20,667 - INFO - Response body :
988
 {
989
  "spawned_tasks": [
990
    {
991
      "_href": "/pulp/api/v2/tasks/ae571588-dbea-4425-a101-9d5a4f3bbe7e/",
992
      "task_id": "ae571588-dbea-4425-a101-9d5a4f3bbe7e"
993
    }
994
  ],
995
  "result": null,
996
  "error": null
997
}
998

    
999
This command may be exited via ctrl+c without affecting the request.
1000

    
1001

    
1002
[-]
1003
Running...
1004
2018-11-02 14:12:21,668 - DEBUG - sending GET request to /pulp/api/v2/tasks/ae571588-dbea-4425-a101-9d5a4f3bbe7e/
1005
2018-11-02 14:12:21,730 - INFO - GET request to /pulp/api/v2/tasks/ae571588-dbea-4425-a101-9d5a4f3bbe7e/ with parameters None
1006
2018-11-02 14:12:21,730 - INFO - Response status : 200
1007

    
1008
2018-11-02 14:12:21,731 - INFO - Response body :
1009
 {
1010
  "exception": null,
1011
  "task_type": "pulp.server.managers.content.upload.import_uploaded_unit",
1012
  "_href": "/pulp/api/v2/tasks/ae571588-dbea-4425-a101-9d5a4f3bbe7e/",
1013
  "task_id": "ae571588-dbea-4425-a101-9d5a4f3bbe7e",
1014
  "tags": [
1015
    "pulp:repository:883a06e7-6118-4f2e-a75e-cf5f63224e5d",
1016
    "pulp:action:import_upload"
1017
  ],
1018
  "finish_time": "2018-11-02T14:12:20Z",
1019
  "_ns": "task_status",
1020
  "start_time": "2018-11-02T14:12:20Z",
1021
  "traceback": "Traceback (most recent call last):\n  File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 367, in trace_task\n    R = retval = fun(*args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 529, in __call__\n    return super(Task, self).__call__(*args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 107, in __call__\n    return super(PulpTask, self).__call__(*args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 622, in __protected_call__\n    return self.run(*args, **kwargs)\n  File \"/usr/lib/python2.7/site-packages/pulp/server/managers/content/upload.py\", line 223, in import_uploaded_unit\n    unit_type=unit_type_id, summary=result['summary'], details=result['details']\nPulpCodedException: The importer docker_importer indicated a failed response when uploading docker_manifest unit to repository 883a06e7-6118-4f2e-a75e-cf5f63224e5d.\n",
1022
  "spawned_tasks": [],
1023
  "progress_report": {},
1024
  "queue": "reserved_resource_worker-2@centos7-devel.virbr0.akofink-desktop.dq2",
1025
  "state": "error",
1026
  "worker_name": "reserved_resource_worker-2@centos7-devel.virbr0.akofink-desktop",
1027
  "result": null,
1028
  "error": {
1029
    "code": "PLP0047",
1030
    "data": {
1031
      "unit_type": "docker_manifest",
1032
      "importer_id": "docker_importer",
1033
      "repo_id": "883a06e7-6118-4f2e-a75e-cf5f63224e5d",
1034
      "details": {},
1035
      "summary": [
1036
        "Cannot resolve field \"digest\""
1037
      ]
1038
    },
1039
    "description": "The importer docker_importer indicated a failed response when uploading docker_manifest unit to repository 883a06e7-6118-4f2e-a75e-cf5f63224e5d.",
1040
    "sub_errors": []
1041
  },
1042
  "_id": {
1043
    "$oid": "5bdc5b448037221aff3a242d"
1044
  },
1045
  "id": "5bdc5b448037221aff3a242d"
1046
[\]
1047
Running...
1048

    
1049
Task Failed
1050

    
1051
The importer docker_importer indicated a failed response when uploading
1052
docker_manifest unit to repository 883a06e7-6118-4f2e-a75e-cf5f63224e5d.
1053

    
1054
Deleting the upload request...
1055
2018-11-02 14:12:21,732 - DEBUG - sending DELETE request to /pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/
1056
2018-11-02 14:12:21,795 - INFO - DELETE request to /pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/ with parameters None
1057
2018-11-02 14:12:21,795 - INFO - Response status : 200
1058

    
1059
2018-11-02 14:12:21,795 - INFO - Response body :
1060
 null
1061

    
1062
... completed
    (1-1/1)