Project

General

Profile

Bug #18272

regression - Unable to upload packages to a repository

Added by Justin Sherrill over 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

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:

Associated revisions

Revision dd4c2180 (diff)
Added by Justin Sherrill over 4 years ago

Fixes #18272 - properly index rpm uploads

History

#1 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6570 added

#2 Updated by Justin Sherrill over 4 years ago

  • Legacy Backlogs Release (now unused) set to 188

#3 Updated by Brad Buckingham over 4 years ago

  • Target version set to 157

#4 Updated by Justin Sherrill over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF