Project

General

Profile

Actions

Bug #11392

closed

hammer cli does not need to be uploading docker content when not tiny

Added by Greg Swift over 8 years ago. Updated almost 6 years ago.

Status:
Rejected
Priority:
High
Assignee:
Category:
Container
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

messages messages 7.99 KB Greg Swift, 09/23/2015 10:03 AM
production.log production.log 62 KB Greg Swift, 09/23/2015 10:03 AM
Actions #1

Updated by Greg Swift over 8 years ago

hrmm.. so i take it back.. the 212M file uploaded that time.

Actions #2

Updated by Eric Helms over 8 years ago

  • Assignee set to David Davis
  • translation missing: en.field_release set to 70
  • Triaged changed from No to Yes
Actions #3

Updated by David Davis over 8 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?

Actions #4

Updated by Greg Swift over 8 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 over 8 years ago

Tried uploading a 1GB image last night for one of my consumers. here are the last of the logs from when it failed.

Actions #6

Updated by David Davis over 8 years ago

  • Category changed from Hammer to Container
  • Priority changed from Normal to High
Actions #7

Updated by Partha Aji over 8 years ago

  • Bugzilla link set to 1275783
Actions #8

Updated by David Davis over 8 years ago

  • Assignee deleted (David Davis)
Actions #9

Updated by Justin Sherrill over 8 years ago

  • translation missing: en.field_release changed from 70 to 86
Actions #10

Updated by David Davis about 8 years ago

  • Assignee set to David Davis
Actions #11

Updated by David Davis about 8 years ago

  • Status changed from New to Rejected

As of 2.8, pulp no longer supports the uploading of docker images.

Actions #12

Updated by Greg Swift about 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.
Actions #13

Updated by David Davis about 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.

Actions #14

Updated by Greg Swift about 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.

Actions #15

Updated by David Davis about 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.

Actions

Also available in: Atom PDF