Project

General

Profile

Actions

Bug #29007

closed

[pulp3] file uploads via hammer fail

Added by James Jeffers almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Attempting a file upload via hammer for a pulpcore enabled server fails, whereas uploading via the UI worked.

```
18:53:05 rails.1 | 2020-02-13T18:53:05 [E|app|] Katello::HttpErrors::BadRequest: Task d17b6157-5272-4f0f-9e3c-66d1e3f28cc3: NoMethodError: undefined method `uploads_api' for #<Katello::Pulp3::Repository::File:0x0000000009151ec8>
18:53:05 rails.1 | | /home/vagrant/projects/katello/app/controllers/katello/api/v2/repositories_controller.rb:423:in `rescue in import_uploads'
18:53:05 rails.1 | | /home/vagrant/projects/katello/app/controllers/katello/api/v2/repositories_controller.rb:417:in `import_uploads'
[...]
```

Actions

Also available in: Atom PDF