Project

Profile

Help

Issue #3757

closed

If upload fails partial manifest is associated to the repo

Added by ipanova@redhat.com almost 6 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Docker:
Platform Release:
2.17.0
Target Release - Docker:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 39
Quarter:

Description

[ipanova@ina pulp]$ pulp-admin docker repo create --repo-id 1
Warning: path should have mode 0700 because it may contain sensitive information: /home/ipanova/.pulp/

Repository [1] successfully created

[ipanova@ina pulp]$ pulp-admin docker repo uploads upload  --repo-id 1 --file /home/ipanova/myprojects/tips/image-name-1.tar
Warning: path should have mode 0700 because it may contain sensitive information: /home/ipanova/.pulp/

+----------------------------------------------------------------------+
                              Unit Upload
+----------------------------------------------------------------------+

Extracting necessary metadata for each request...
[==================================================] 100%
Analyzing: image-name-1.tar
... completed

Creating upload requests on the server...
[==================================================] 100%
Initializing: image-name-1.tar
... completed

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

Uploading: image-name-1.tar
[==================================================] 100%
3696640/3696640 bytes
... completed

Importing into the repository...
This command may be exited via ctrl+c without affecting the request.

[\]
Running...

Task Failed

Layer 7cc9ff24526dfffdb8c188e6bae7e11d75d1ac5731d85e6fdccd5c7382d84207 is not
present in the image

Deleting the upload request...
... completed

[ipanova@ina pulp]$ pulp-admin docker repo list
Warning: path should have mode 0700 because it may contain sensitive information: /home/ipanova/.pulp/

+----------------------------------------------------------------------+
                          Docker Repositories
+----------------------------------------------------------------------+

Id:                  1
Display Name:        None
Description:         None
Content Unit Counts: 
  Docker Manifest: 1

[ipanova@ina pulp]$ pulp-admin docker repo uploads upload  --repo-id 1 --file /home/ipanova/myprojects/tips/image-name-1.tar
Warning: path should have mode 0700 because it may contain sensitive information: /home/ipanova/.pulp/

+----------------------------------------------------------------------+
                              Unit Upload
+----------------------------------------------------------------------+

Extracting necessary metadata for each request...
[==================================================] 100%
Analyzing: image-name-1.tar
... completed

Creating upload requests on the server...
[==================================================] 100%
Initializing: image-name-1.tar
... completed

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

Uploading: image-name-1.tar
[==================================================] 100%
3696640/3696640 bytes
... completed

Importing into the repository...
This command may be exited via ctrl+c without affecting the request.

[\]
Running...

Task Failed

Layer 7cc9ff24526dfffdb8c188e6bae7e11d75d1ac5731d85e6fdccd5c7382d84207 is not
present in the image

Deleting the upload request...
... completed

[ipanova@ina pulp]$ pulp-admin docker repo list
Warning: path should have mode 0700 because it may contain sensitive information: /home/ipanova/.pulp/

+----------------------------------------------------------------------+
                          Docker Repositories
+----------------------------------------------------------------------+

Id:                  1
Display Name:        None
Description:         None
Content Unit Counts: 
  Docker Blob:     3
  Docker Manifest: 1

[ipanova@ina pulp]$ 

Also available in: Atom PDF