Bug #11392
closedhammer cli does not need to be uploading docker content when not tiny
Description
# hammer repository upload-content --path rspec-puppet-el6.tar --id 56 Failed to upload file 'rspec-puppet-el6.tar' to repository. Please check the file and try again.
I'm seeing almost no traffic when I do these (its there, but very low). The first image was 571M, the second was 212M.
However with a 2.4M image....
# hammer repository upload-content --path busybox.tar --id 56 Successfully uploaded file 'busybox.tar'.
For that I saw network traffic immediately and continuously until it was up.
Files
Updated by Greg Swift about 9 years ago
hrmm.. so i take it back.. the 212M file uploaded that time.
Updated by Eric Helms almost 9 years ago
- Assignee set to David Davis
- Translation missing: en.field_release set to 70
- Triaged changed from No to Yes
Updated by David Davis almost 9 years ago
Greg, can you attach your foreman-debug or alternatively tail /var/log/foreman/production.log and /var/log/messages (or journalctl) while you try to upload a file that fails?
Updated by Greg Swift almost 9 years ago
I'll try to get some data. I don recall seeing anything in the logs.
Also... i apologize for the subject. s/needs/seem/
Updated by Greg Swift almost 9 years ago
- File messages messages added
- File production.log production.log added
Tried uploading a 1GB image last night for one of my consumers. here are the last of the logs from when it failed.
Updated by David Davis almost 9 years ago
- Category changed from Hammer to Container
- Priority changed from Normal to High
Updated by Justin Sherrill over 8 years ago
- Translation missing: en.field_release changed from 70 to 86
Updated by David Davis over 8 years ago
- Status changed from New to Rejected
As of 2.8, pulp no longer supports the uploading of docker images.
Updated by Greg Swift over 8 years ago
the release notes say only docker 2 can't upload.
Unfortunately, docker save does not output Docker v2 content so it is not currently possible to upload Docker v2 content into Pulp. Users who wish to manage Docker v2 content must use the sync feature to bring the objects into Pulp. Docker v1 content can still be uploaded as before.
Updated by David Davis over 8 years ago
Ah, you are correct. However, it looks like Katello 3.0 only supports the docker v2 registry API and not the v1 one so that's why we dropped content uploads in 3.0.
Updated by Greg Swift over 8 years ago
Hrm.... so totally breaks part of the usefulness of this feature in our world. the whole point was that users didn't have to run their own registries at all.
Updated by David Davis over 8 years ago
Yea, we're evaluating different ways where users can upload/push docker content to Katello without having to run an external registry. We were hoping that docker v2 would have had some way to still export content but that obviously didn't happen. I'll try to update this issue once we have plans though.