Bug 1665387
| Summary: | if you have comps file in the DB, but not on the disk, you are not able to sync it | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Jan Hutař <jhutar> |
| Component: | Satellite Synchronization | Assignee: | Michael Mráka <mmraka> |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | ktordeur, mmello, mmraka, rdrazny, tkasparek, tlestach |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | spacewalk-backend-2.5.3-175-sat | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-06-19 18:11:14 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: | |||
Fixed in upstream spacewalk git by
commit 18ddc8f97f786d69db9e56ea753ac827303d735f
1665387 - don't fail if comps.xml does not exist
Backported to SATELLITE-5.8 as
commit 5768a4c8016daa4f81c67dc6c9a2dae1d29418dc
1665387 - don't fail if comps.xml does not exist
$ rm -rf /var/satellite/rhn/comps/rhel-x86_64-server-6 $ ls -lh /var/satellite/rhn/comps total 20K drwxr-x---. 2 apache apache 4.0K Jun 4 06:14 rhel-x86_64-appstream-8 drwxr-x---. 2 apache apache 4.0K Jun 4 05:46 rhel-x86_64-baseos-8 drwxr-x---. 2 apache apache 4.0K Jun 4 05:46 rhel-x86_64-server-7 drwxr-x---. 2 apache apache 4.0K Jun 4 05:46 rhn-tools-rhel-x86_64-server-6 drwxr-x---. 2 apache apache 4.0K Jun 4 05:46 rhn-tools-rhel-x86_64-server-7 $ cdn-sync -c rhel-x86_64-server-6 04:25:33 ====================================== 04:25:33 | Channel: rhel-x86_64-server-6 04:25:33 ====================================== 04:25:33 Sync of channel started. 04:25:34 04:25:34 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os 04:25:49 Packages in repo: 20721 04:26:48 No new packages to sync. 04:26:48 04:26:48 Importing packages to DB: 04:26:48 04:26:48 Importing comps file 28422c9ac26235b5d224f2d8aadc646ebb4f750e-comps.xml. 04:26:48 ERROR: [Errno 2] No such file or directory: '/var/satellite/rhn/comps/rhel-x86_64-server-6/9bf7afd1a4da5947b087edaff0c89681c22cdd989e3a928858b2dabd0ecbe9fd-comps-Server.x86_64.xml' 04:26:48 04:26:48 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.9/x86_64/kickstart 04:26:49 Packages in repo: 3854 04:26:55 No new packages to sync. 04:26:55 04:26:55 Importing packages to DB: 04:26:55 04:26:55 Importing comps file eb3e45d25de4accc0bea004f664c5ecbce420f5a952191bce54456f1fddf7417-comps-Server.x86_64.xml.gz. 04:26:55 ERROR: [Errno 2] No such file or directory: '/var/satellite/rhn/comps/rhel-x86_64-server-6/9bf7afd1a4da5947b087edaff0c89681c22cdd989e3a928858b2dabd0ecbe9fd-comps-Server.x86_64.xml' 04:26:55 04:26:55 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.8/x86_64/kickstart 04:26:57 Packages in repo: 3855 04:27:02 No new packages to sync. 04:27:02 04:27:02 Importing packages to DB: 04:27:03 04:27:03 Importing comps file 7efd3fdbc9f5842b536aeec2c5701170d940f723f84bd4381736af3e6bed2fad-comps-Server.x86_64.xml.gz. 04:27:03 ERROR: [Errno 2] No such file or directory: '/var/satellite/rhn/comps/rhel-x86_64-server-6/9bf7afd1a4da5947b087edaff0c89681c22cdd989e3a928858b2dabd0ecbe9fd-comps-Server.x86_64.xml' 04:27:03 04:27:03 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.6/x86_64/kickstart 04:27:04 Packages in repo: 3785 04:27:09 No new packages to sync. 04:27:09 04:27:09 Importing packages to DB: 04:27:10 04:27:10 Importing comps file 7b0a8ad702ee0be0b971a082023550bd71bd33d3cbb4fa17f1de6af66f1871d4-comps-Server.x86_64.xml.gz. 04:27:10 ERROR: [Errno 2] No such file or directory: '/var/satellite/rhn/comps/rhel-x86_64-server-6/9bf7afd1a4da5947b087edaff0c89681c22cdd989e3a928858b2dabd0ecbe9fd-comps-Server.x86_64.xml' 04:27:10 04:27:10 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.3/x86_64/kickstart 04:27:11 Packages in repo: 3585 04:27:16 No new packages to sync. 04:27:16 04:27:16 Importing packages to DB: 04:27:16 04:27:16 Importing comps file 63997ea4b126dec494e897594bfb31eca9bfa9026bc717f3931ff795f442efa8-comps-rhel6-Server.xml.gz. 04:27:16 ERROR: [Errno 2] No such file or directory: '/var/satellite/rhn/comps/rhel-x86_64-server-6/9bf7afd1a4da5947b087edaff0c89681c22cdd989e3a928858b2dabd0ecbe9fd-comps-Server.x86_64.xml' 04:27:16 04:27:16 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.1/x86_64/kickstart 04:27:17 Packages in repo: 3480 04:27:22 No new packages to sync. 04:27:22 04:27:22 Importing packages to DB: 04:27:23 04:27:23 Importing comps file 00fa55cde0056779ce3cb404c5097825124da4bae5823734c9978798d64428bb-comps-rhel6-Server.xml.gz. 04:27:23 ERROR: [Errno 2] No such file or directory: '/var/satellite/rhn/comps/rhel-x86_64-server-6/9bf7afd1a4da5947b087edaff0c89681c22cdd989e3a928858b2dabd0ecbe9fd-comps-Server.x86_64.xml' 04:27:23 04:27:23 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.4/x86_64/kickstart 04:27:24 Packages in repo: 3648 04:27:29 No new packages to sync. 04:27:29 04:27:29 Importing packages to DB: 04:27:29 04:27:29 Importing comps file 37a2c40b88912d18354539cb51fb1e6b73249d4097d9431e3fc02a1c695c1a2b-comps-rhel6-Server.xml.gz. 04:27:29 ERROR: [Errno 2] No such file or directory: '/var/satellite/rhn/comps/rhel-x86_64-server-6/9bf7afd1a4da5947b087edaff0c89681c22cdd989e3a928858b2dabd0ecbe9fd-comps-Server.x86_64.xml' 04:27:29 04:27:29 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.7/x86_64/kickstart 04:27:30 Packages in repo: 3819 04:27:36 No new packages to sync. 04:27:36 04:27:36 Importing packages to DB: 04:27:36 04:27:36 Importing comps file 225781a60109f9fed942c82fee4671b8889a9c8af62d74eccf8b982d24a1bb44-comps-Server.x86_64.xml.gz. 04:27:36 ERROR: [Errno 2] No such file or directory: '/var/satellite/rhn/comps/rhel-x86_64-server-6/9bf7afd1a4da5947b087edaff0c89681c22cdd989e3a928858b2dabd0ecbe9fd-comps-Server.x86_64.xml' 04:27:36 04:27:36 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.2/x86_64/kickstart 04:27:37 Packages in repo: 3529 04:27:42 No new packages to sync. 04:27:42 04:27:42 Importing packages to DB: 04:27:42 04:27:42 Importing comps file 7a4eba07867e04667e36d7c4fa910754ef39b8c8da15c53476f3fa32a3bb8add-comps-rhel6-Server.xml.gz. 04:27:42 ERROR: [Errno 2] No such file or directory: '/var/satellite/rhn/comps/rhel-x86_64-server-6/9bf7afd1a4da5947b087edaff0c89681c22cdd989e3a928858b2dabd0ecbe9fd-comps-Server.x86_64.xml' 04:27:42 04:27:42 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.5/x86_64/kickstart 04:27:44 Packages in repo: 3690 04:27:49 No new packages to sync. 04:27:49 04:27:49 Importing packages to DB: 04:27:49 04:27:49 Importing comps file ba938f3c38a940b42f213f3281963151b563b790a90fb52bd759e44ecb08998d-comps-rhel6-Server.xml.gz. 04:27:49 ERROR: [Errno 2] No such file or directory: '/var/satellite/rhn/comps/rhel-x86_64-server-6/9bf7afd1a4da5947b087edaff0c89681c22cdd989e3a928858b2dabd0ecbe9fd-comps-Server.x86_64.xml' 04:27:49 04:27:49 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.10/x86_64/kickstart 04:27:50 Packages in repo: 3861 04:27:56 No new packages to sync. 04:27:56 04:27:56 Importing packages to DB: 04:27:56 04:27:56 Importing comps file 9bf7afd1a4da5947b087edaff0c89681c22cdd989e3a928858b2dabd0ecbe9fd-comps-Server.x86_64.xml.gz. 04:27:56 ERROR: [Errno 2] No such file or directory: '/var/satellite/rhn/comps/rhel-x86_64-server-6/9bf7afd1a4da5947b087edaff0c89681c22cdd989e3a928858b2dabd0ecbe9fd-comps-Server.x86_64.xml' 04:27:57 Sync of channel completed in 0:02:23. 04:27:57 Total time: 0:02:23 Problems occurred during syncing channel rhel-x86_64-server-6. Please check /var/log/rhn/cdnsync/rhel-x86_64-server-6.log for the details $ ls -lh /var/satellite/rhn/comps total 24K drwxr-x---. 2 apache apache 4.0K Jun 4 06:14 rhel-x86_64-appstream-8 drwxr-x---. 2 apache apache 4.0K Jun 4 05:46 rhel-x86_64-baseos-8 drwxr-x---. 2 apache apache 4.0K Jun 13 04:23 rhel-x86_64-server-6 drwxr-x---. 2 apache apache 4.0K Jun 4 05:46 rhel-x86_64-server-7 drwxr-x---. 2 apache apache 4.0K Jun 4 05:46 rhn-tools-rhel-x86_64-server-6 drwxr-x---. 2 apache apache 4.0K Jun 4 05:46 rhn-tools-rhel-x86_64-server-7 The rhel-x86_64-server-6 directory was recreated but it is empty Updated to spacewalk-backend-2.5.3-176 $ cdn-sync -c rhel-x86_64-server-6 04:35:23 ====================================== 04:35:23 | Channel: rhel-x86_64-server-6 04:35:23 ====================================== 04:35:23 Sync of channel started. 04:35:23 04:35:23 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/os 04:35:38 Packages in repo: 20721 04:36:26 No new packages to sync. 04:36:26 04:36:26 Importing packages to DB: 04:36:27 04:36:27 Importing comps file 28422c9ac26235b5d224f2d8aadc646ebb4f750e-comps.xml. 04:36:28 04:36:28 Errata in repo: 4309. 04:36:28 No new errata to sync. 04:36:28 04:36:28 Importing kickstarts. 04:36:44 Kickstartable tree not detected (no valid treeinfo file) 04:36:44 04:36:44 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.9/x86_64/kickstart 04:36:45 Packages in repo: 3854 04:36:51 No new packages to sync. 04:36:51 04:36:51 Importing packages to DB: 04:36:51 04:36:51 Importing comps file eb3e45d25de4accc0bea004f664c5ecbce420f5a952191bce54456f1fddf7417-comps-Server.x86_64.xml.gz. 04:36:51 04:36:51 Errata in repo: 0. 04:36:51 04:36:51 Importing kickstarts. 04:36:51 Kickstartable tree ks-rhel-x86_64-server-6-6.9 already synced. Updating content... 04:36:51 Gathering all files in kickstart repository... 04:38:44 No new kickstart files to download. 04:38:44 04:38:44 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.8/x86_64/kickstart 04:38:46 Packages in repo: 3855 04:38:52 No new packages to sync. 04:38:52 04:38:52 Importing packages to DB: 04:38:52 04:38:52 Importing comps file 7efd3fdbc9f5842b536aeec2c5701170d940f723f84bd4381736af3e6bed2fad-comps-Server.x86_64.xml.gz. 04:38:52 04:38:52 Errata in repo: 0. 04:38:52 04:38:52 Importing kickstarts. 04:38:52 Kickstartable tree ks-rhel-x86_64-server-6-6.8 already synced. Updating content... 04:38:52 Gathering all files in kickstart repository... 04:39:59 No new kickstart files to download. 04:39:59 04:39:59 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.6/x86_64/kickstart 04:40:01 Packages in repo: 3785 04:40:07 No new packages to sync. 04:40:07 04:40:07 Importing packages to DB: 04:40:07 04:40:07 Importing comps file 7b0a8ad702ee0be0b971a082023550bd71bd33d3cbb4fa17f1de6af66f1871d4-comps-Server.x86_64.xml.gz. 04:40:07 04:40:07 Errata in repo: 0. 04:40:07 04:40:07 Importing kickstarts. 04:40:07 Kickstartable tree ks-rhel-x86_64-server-6-6.6 already synced. Updating content... 04:40:07 Gathering all files in kickstart repository... 04:41:50 No new kickstart files to download. 04:41:50 04:41:50 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.3/x86_64/kickstart 04:41:52 Packages in repo: 3585 04:41:57 No new packages to sync. 04:41:57 04:41:57 Importing packages to DB: 04:41:57 04:41:57 Importing comps file 63997ea4b126dec494e897594bfb31eca9bfa9026bc717f3931ff795f442efa8-comps-rhel6-Server.xml.gz. 04:41:57 04:41:57 Errata in repo: 0. 04:41:57 04:41:57 Importing kickstarts. 04:41:58 Kickstartable tree ks-rhel-x86_64-server-6-6.3 already synced. Updating content... 04:41:58 Gathering all files in kickstart repository... 04:42:50 No new kickstart files to download. 04:42:50 04:42:50 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.1/x86_64/kickstart 04:42:52 Packages in repo: 3480 04:42:57 No new packages to sync. 04:42:57 04:42:57 Importing packages to DB: 04:42:57 04:42:57 Importing comps file 00fa55cde0056779ce3cb404c5097825124da4bae5823734c9978798d64428bb-comps-rhel6-Server.xml.gz. 04:42:57 04:42:57 Errata in repo: 0. 04:42:57 04:42:57 Importing kickstarts. 04:42:57 Kickstartable tree ks-rhel-x86_64-server-6-6.1 already synced. Updating content... 04:42:57 Gathering all files in kickstart repository... 04:43:43 No new kickstart files to download. 04:43:43 04:43:43 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.4/x86_64/kickstart 04:43:44 Packages in repo: 3648 04:43:50 No new packages to sync. 04:43:50 04:43:50 Importing packages to DB: 04:43:50 04:43:50 Importing comps file 37a2c40b88912d18354539cb51fb1e6b73249d4097d9431e3fc02a1c695c1a2b-comps-rhel6-Server.xml.gz. 04:43:50 04:43:50 Errata in repo: 0. 04:43:50 04:43:50 Importing kickstarts. 04:43:50 Kickstartable tree ks-rhel-x86_64-server-6-6.4 already synced. Updating content... 04:43:50 Gathering all files in kickstart repository... 04:44:25 No new kickstart files to download. 04:44:25 04:44:25 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.7/x86_64/kickstart 04:44:27 Packages in repo: 3819 04:44:33 No new packages to sync. 04:44:33 04:44:33 Importing packages to DB: 04:44:33 04:44:33 Importing comps file 225781a60109f9fed942c82fee4671b8889a9c8af62d74eccf8b982d24a1bb44-comps-Server.x86_64.xml.gz. 04:44:33 04:44:33 Errata in repo: 0. 04:44:33 04:44:33 Importing kickstarts. 04:44:33 Kickstartable tree ks-rhel-x86_64-server-6-6.7 already synced. Updating content... 04:44:33 Gathering all files in kickstart repository... 04:46:28 No new kickstart files to download. 04:46:28 04:46:28 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.2/x86_64/kickstart 04:46:30 Packages in repo: 3529 04:46:36 No new packages to sync. 04:46:36 04:46:36 Importing packages to DB: 04:46:36 04:46:36 Importing comps file 7a4eba07867e04667e36d7c4fa910754ef39b8c8da15c53476f3fa32a3bb8add-comps-rhel6-Server.xml.gz. 04:46:36 04:46:36 Errata in repo: 0. 04:46:36 04:46:36 Importing kickstarts. 04:46:36 Kickstartable tree ks-rhel-x86_64-server-6-6.2 already synced. Updating content... 04:46:36 Gathering all files in kickstart repository... 04:47:18 No new kickstart files to download. 04:47:18 04:47:18 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.5/x86_64/kickstart 04:47:20 Packages in repo: 3690 04:47:25 No new packages to sync. 04:47:25 04:47:25 Importing packages to DB: 04:47:25 04:47:25 Importing comps file ba938f3c38a940b42f213f3281963151b563b790a90fb52bd759e44ecb08998d-comps-rhel6-Server.xml.gz. 04:47:25 04:47:25 Errata in repo: 0. 04:47:25 04:47:25 Importing kickstarts. 04:47:26 Kickstartable tree ks-rhel-x86_64-server-6-6.5 already synced. Updating content... 04:47:26 Gathering all files in kickstart repository... 04:48:18 No new kickstart files to download. 04:48:18 04:48:18 Processing repository with URL: https://cdn.redhat.com/content/dist/rhel/server/6/6.10/x86_64/kickstart 04:48:19 Packages in repo: 3861 04:48:25 No new packages to sync. 04:48:25 04:48:25 Importing packages to DB: 04:48:25 04:48:25 Importing comps file 9bf7afd1a4da5947b087edaff0c89681c22cdd989e3a928858b2dabd0ecbe9fd-comps-Server.x86_64.xml.gz. 04:48:25 04:48:25 Errata in repo: 0. 04:48:25 04:48:25 Importing kickstarts. 04:48:25 Kickstartable tree ks-rhel-x86_64-server-6-6.10 already synced. Updating content... 04:48:25 Gathering all files in kickstart repository... 04:49:49 No new kickstart files to download. 04:49:50 Sync of channel completed in 0:14:26. 04:49:50 Total time: 0:14:26 $ ls -lh /var/satellite/rhn/comps/rhel-x86_64-server-6/ total 13M -rwxr-x---. 1 apache apache 1.1M Jun 13 04:42 00fa55cde0056779ce3cb404c5097825124da4bae5823734c9978798d64428bb-comps-rhel6-Server.xml -rwxr-x---. 1 apache apache 1.2M Jun 13 04:44 225781a60109f9fed942c82fee4671b8889a9c8af62d74eccf8b982d24a1bb44-comps-Server.x86_64.xml -rwxr-x---. 1 apache apache 1.2M Jun 13 04:36 28422c9ac26235b5d224f2d8aadc646ebb4f750e-comps.xml -rwxr-x---. 1 apache apache 1.1M Jun 13 04:43 37a2c40b88912d18354539cb51fb1e6b73249d4097d9431e3fc02a1c695c1a2b-comps-rhel6-Server.xml -rwxr-x---. 1 apache apache 1.1M Jun 13 04:41 63997ea4b126dec494e897594bfb31eca9bfa9026bc717f3931ff795f442efa8-comps-rhel6-Server.xml -rwxr-x---. 1 apache apache 1.1M Jun 13 04:46 7a4eba07867e04667e36d7c4fa910754ef39b8c8da15c53476f3fa32a3bb8add-comps-rhel6-Server.xml -rwxr-x---. 1 apache apache 1.2M Jun 13 04:40 7b0a8ad702ee0be0b971a082023550bd71bd33d3cbb4fa17f1de6af66f1871d4-comps-Server.x86_64.xml -rwxr-x---. 1 apache apache 1.2M Jun 13 04:38 7efd3fdbc9f5842b536aeec2c5701170d940f723f84bd4381736af3e6bed2fad-comps-Server.x86_64.xml -rwxr-x---. 1 apache apache 1.4M Jun 13 04:48 9bf7afd1a4da5947b087edaff0c89681c22cdd989e3a928858b2dabd0ecbe9fd-comps-Server.x86_64.xml -rwxr-x---. 1 apache apache 1.1M Jun 13 04:47 ba938f3c38a940b42f213f3281963151b563b790a90fb52bd759e44ecb08998d-comps-rhel6-Server.xml -rwxr-x---. 1 apache apache 1.2M Jun 13 04:36 eb3e45d25de4accc0bea004f664c5ecbce420f5a952191bce54456f1fddf7417-comps-Server.x86_64.xml VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:1551 |
Description of problem: if you have comps file in the DB, but not on the disk, you are not able to sync it Version-Release number of selected component (if applicable): spacewalk-backend-2.5.3-172.el6sat.noarch How reproducible: always Steps to Reproduce: 1. # cdn-sync -c rhn-tools-rhel-x86_64-server-7 2. # rm -rf /var/satellite/rhn/comps/rhn-tools-rhel-x86_64-server-7 3. # cdn-sync -c rhn-tools-rhel-x86_64-server-7 Actual results: [root@host-8-242-237 satellite]# cdn-sync -m sat-import/ -c rhn-tools-rhel-x86_64-server-7 04:07:16 ====================================== 04:07:16 | Channel: rhn-tools-rhel-x86_64-server-7 04:07:16 ====================================== 04:07:16 Sync of channel started. 04:07:16 04:07:16 Processing repository with URL: file:///var/satellite/sat-import/content/dist/rhel/server/7/7Server/x86_64/rhn-tools/os 04:07:16 Packages in repo: 136 04:07:16 No new packages to sync. 04:07:16 04:07:16 Importing comps file cb329cadcd7701d5b4f752e6ef8fbe7fe2bbc3a74b971d47c3ab3682c5e67121-comps.xml. 04:07:16 ERROR: [Errno 2] No such file or directory: '/var/satellite/rhn/comps/rhn-tools-rhel-x86_64-server-7/cb329cadcd7701d5b4f752e6ef8fbe7fe2bbc3a74b971d47c3ab3682c5e67121-comps.xml' 04:07:16 Sync of channel completed in 0:00:00. 04:07:16 Total time: 0:00:00 Problems occurred during syncing channel rhn-tools-rhel-x86_64-server-7. Please check /var/log/rhn/cdnsync/rhn-tools-rhel-x86_64-server-7.log for the details Expected results: Missing file should be synced. Additional info: The problem appears to be here: /usr/lib/python2.6/site-packages/spacewalk/satellite_tools/reposync.py def copy_metadata_file(self, filename, comps_type, relative_dir): old_checksum = None basename = os.path.basename(filename) log(0, '') log(0, " Importing %s file %s." % (comps_type, basename)) relativedir = os.path.join(relative_dir, self.channel_label) absdir = os.path.join(CFG.MOUNT_POINT, relativedir) if not os.path.exists(absdir): os.makedirs(absdir) relativepath = os.path.join(relativedir, basename) abspath = os.path.join(absdir, basename) for suffix in ['.gz', '.bz', '.xz']: if basename.endswith(suffix): abspath = abspath.rstrip(suffix) relativepath = relativepath.rstrip(suffix) h = rhnSQL.prepare("""select relative_filename from rhnChannelComps where channel_id = :cid and comps_type_id = (select id from rhnCompsType where label = :ctype)""") if h.execute(cid=self.channel['id'], ctype=comps_type): old_checksum = getFileChecksum('sha256', os.path.join(CFG.MOUNT_POINT, h.fetchone()[0])) ^^^ this last if - getFileChecksum() causes whole copy_metadata_file() to exit when the file does not exist IMO this is not a big severity, just wanted to report it as I was quite confused when investigating it.