Bug 864645
Summary: | local sync of packages doesn't fetch packages | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Mike McCune <mmccune> |
Component: | Content Management | Assignee: | David Davis <daviddavis> |
Status: | CLOSED WONTFIX | QA Contact: | Corey Welton <cwelton> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.1 | CC: | bkearney, daviddavis, omaciel |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-09-04 18:22:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mike McCune
2012-10-09 20:41:36 UTC
Unfortunately Pulp (the process that handles our package syncing and publishing) requires that existing metadata already exist in the directory if you are doing a local sync. We would need to add in package upload capability into Katello's CLI to support he model where you want to import packages that are *not* part of an existing yum repository. A short term workaround would be to run 'createrepo /var/tmp/fakepackages/' or wherever your packages are located before you do your sync. That way Katello would would be able to sync from your local dir. An updated workflow would be: # katello repo create --name local3 --product=local1 --org ACME_Corporation --url file:///var/tmp/fakepackages/ # createrepo /var/tmp/fakepackages/ 33/33 - acme-6.9.6-1.elfake.noarch.rpm Saving Primary metadata Saving file lists metadata Saving other metadata # katello repo synchronize --name local3 --product=local1 --org ACME_Corporation Repo [ local3 ] synced # katello repo info --name local3 --product=local1 --org ACME_Corporation --env Library -------------------------------------------------- Information About Repo 14 -------------------------------------------------- Id: 14 Name: local3 Package Count: 33 Arch: noarch Url: file:///var/tmp/fakepackages/ Last Sync: 2012/10/11 11:14:24 Progress: Finished Mike, Any updates on this? Do we need to start working on it? Thanks. Moving back to new as I've not looked into this at all. getting rid of 6.0.0 version since that doesn't exist If users wish to get packages from a directory with no repodata they should use the upload feature. If they wish to sync a directory of packages using a feed mechanism they should run createrepo on the directory. CLOSING:WONTFIX Users should either (1) use hammer to unload the files or (2) run create repo. We will not support slurping up a directory. If you disagree, please feel free to re-open this. |