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?"
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.