Bug 1163619
| Summary: | Proxy: rhn_package_manager fails to report dump is incorrect: rhnpush.uploadLib.UploadError: Cannot read from directory /root/bbb/rpms | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Jan Hutař <jhutar> |
| Component: | Server | Assignee: | Jan Dobes <jdobes> |
| Status: | CLOSED DEFERRED | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 570 | CC: | tlestach |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-09 11:35:03 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1162131 | ||
FYI: This is related to this feature: https://fedorahosted.org/spacewalk/wiki/proxy-precache We have re-reviewed this bug, as part of an ongoing effort to improve Satellite/Proxy feature and bug updates, review and backlog. This is a low priority bug and has no currently open customer cases. While this bug may still valid, we do not see it being implemented prior to the EOL of the Satellite 5.x product. As such, this is being CLOSED DEFERRED. Closing now to help set customer expectations as early as possible. You are welcome to re-open this bug if needed. |
Description of problem: Proxy: rhn_package_manager fails to report dump is incorrect. Just tracebacks instead with: rhnpush.uploadLib.UploadError: Cannot read from directory /root/bbb/rpms Version-Release number of selected component (if applicable): spacewalk-proxy-package-manager-2.3.0-3.el6sat.noarch How reproducible: always Steps to Reproduce: 1. # mkdir /root/bbb # create empty directory 2. # rhn_package_manager --cache-locally --from-export /root/bbb --channel rhel-x86_64-server-7 Actual results: Could not find metadata for channel rhel-x86_64-server-7, skipping... Traceback (most recent call last): File "/usr/bin/rhn_package_manager", line 27, in <module> rhn_package_manager.main() File "/usr/share/rhn/PackageManager/rhn_package_manager.py", line 127, in main upload.from_export() File "/usr/share/rhn/PackageManager/rhn_package_manager.py", line 214, in from_export for hash_dir in uploadLib.listdir(os.path.join(export_dir, "rpms")): File "/usr/share/rhn/rhnpush/uploadLib.py", line 627, in listdir raise UploadError("Cannot read from directory %s" % directory) rhnpush.uploadLib.UploadError: Cannot read from directory /root/bbb/rpms Expected results: Maybe just first line would be sufficient? Or maybe some message like "Are you sure this is the directory with the channel dump?"