Bug #18272
closedregression - Unable to upload packages to a repository
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1416904
Description of problem:
REGRESSION
uploading a package to a repository does not work on any of API, CLI or UI on 6.2.7-snap3.
The task seems to be started and finishes successfully, however there are no pacakges listed afterwards.
The package was not found in '/var/lib/pulp/content/units/rpm'
2017-01-25 21:20:05 - nailgun.client - DEBUG - Making HTTP POST request to https://sat6.com/katello/api/v2/repositories/228/upload_content with options {'files': {'content': <open file '/home/jenkins/workspace/automation-6.2-tier2-rhel6/tests/foreman/data/which-2.19-6.el6.x86_64.rpm', mode 'rb' at 0x7fc787920420>}, 'verify': False, 'auth': ('admin', 'changeme')} and no data.
2017-01-25 21:20:08 - nailgun.client - DEBUG - Received HTTP 200 response: {"status":"success"}
2017-01-25 21:20:08 - nailgun.client - DEBUG - Making HTTP GET request to https://sat6.com/katello/api/v2/repositories/228 with options {'verify': False, 'auth': ('admin', 'changeme'), 'headers': {'content-type': 'application/json'}} and no data.
2017-01-25 21:20:08 - nailgun.client - DEBUG - Received HTTP 200 response: {"content_type":"yum","docker_upstream_name":null,"mirror_on_sync":true,"unprotected":true,"full_path":"http://sat6.com/pulp/repos/hBXlZI/Library/custom/iDqFRJmT/vyjZMXtpiv/","checksum_type":null,"container_repository_name":null, ,"download_policy":"immediate","url":"http://inecas.fedorapeople.org/fakerepos/zoo3/","relative_path":"hBXlZI/Library/custom/iDqFRJmT/vyjZMXtpiv","major":null,"minor":null,"gpg_key_id":null,"content_id":"1485397204749","content_view_version_id":194,"library_instance_id":null,"product_type":"custom","promoted":false,"ostree_branches":[],"organization":{"name":"hBXlZI","label":"hBXlZI","id":154},"created_at":"2017-01-26 02:20:03 UTC","updated_at":"2017-01-26 02:20:05 UTC","id":228,"name":"vyjZMXtpiv","label":"vyjZMXtpiv","product":{"id":48,"cp_id":"1485396787458","name":"iDqFRJmT","sync_plan":["name","description","sync_date","interval","next_sync"]},"last_sync":null,"content_counts":{"ostree_branch":0,"docker_manifest":0,"docker_tag":0,"rpm":0,"package":0,"package_group":0,"erratum":0,"puppet_module":0},"last_sync_words":null,"gpg_key":null,"environment":{"id":148},"permissions":{"deletable":true}}
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6570 added
Updated by Justin Sherrill almost 8 years ago
- Translation missing: en.field_release set to 188
Updated by Justin Sherrill almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|dd4c21803e506ea29a9958c49cb917d7375f375d.