Description of problem: When we try to clone a channel using spacewalk-clone-by-date, we get empty directory in the working folder. The folder has same name as a source channel. Version-Release number of selected component (if applicable): Sat 5.7 How reproducible: 100% Steps to Reproduce: 1. We have got Satellite 5.7 with synced rhel-x86_64-server-7 and rhn-tools-rhel-x86_64-server-7 channels. 2. Delete the empty folders, if they are present in current working folder. > ls -d rhel-x86_64-server-7 && rmdir rhel-x86_64-server-7 > ls -d rhn-tools-rhel-x86_64-server-7 && rmdir rhn-tools-rhel-x86_64-server-7 3. We try to clone these channels. > spacewalk-clone-by-date -u admin -p xxx --to_date=2014-07-21 --channel rhel-x86_64-server-7 clone-rhel-x86_64-server-7 --channel rhn-tools-rhel-x86_64-server-7 clone-rhn-tools-rhel-x86_64-server-7 Reading repository information. Using issue_date. By continuing the following channels will be created: clone-rhel-x86_64-server-7, clone-rhn-tools-rhel-x86_64-server-7 Continue with channel creation (y/n)?y Cloning rhel-x86_64-server-7 to clone-rhel-x86_64-server-7 with original package set. Cloning rhn-tools-rhel-x86_64-server-7 to clone-rhn-tools-rhel-x86_64-server-7 with original package set. Copying repodata, please wait. Solving Dependencies (4305): ________________________________________ ######################################## - complete Processing Dependencies: ________________________________________ ######################################## - complete By continuing the following will be cloned: rhel-x86_64-server-7 -> clone-rhel-x86_64-server-7 (43/127 Errata) rhn-tools-rhel-x86_64-server-7 -> clone-rhn-tools-rhel-x86_64-server-7 (2/7 Errata) Continue with clone (y/n)?y Cloning Errata into clone-rhel-x86_64-server-7 (43): ________________________________________ ######################################## - complete Cloning Errata into clone-rhn-tools-rhel-x86_64-server-7 (2): ________________________________________ ######################################## - complete Copying repodata, please wait. Solving Dependencies (224): ________________________________________ ######################################## - complete Processing Dependencies: ________________________________________ ######################################## - complete 3. Check, if the empty directories are not present in the current working folder. > ls -d rhel-x86_64-server-7 > ls -d rhn-tools-rhel-x86_64-server-7 Actual results: The empty folders are present in the current working folder. Expected results: The empty folders are not present in the current working folder. Additional info:
Committing to Spacewalk master: 316378266898359809db06f7e6c45cf5fe5a2093
With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is being moved to a Closed Current Release state. The Satellite 5.7 GA Errata: - https://rhn.redhat.com/errata/RHSA-2015-0033.html Satellite 5.7 Release Notes: - https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html Satellite Customer Portal Blog announcement for release: - https://access.redhat.com/blogs/1169563/posts/1315743 NOTE: This specific bug did not get verified and being closed as assumed fixed. Please reopen if this is not resolved within the release. Cliff