Open gpavinteractiv opened 7 years ago
I am on Centos 7 with spacewalk 2.7 I created a channel and repo pointing to http://yum.spacewalkproject.org/2.7-client/RHEL/7/x86_64/
I can verify that all 25 packages from that repo got synced in the Package/List tab of my channel :
osa-common-5.11.89-1.el7.noarch osad-5.11.89-1.el7.noarch rhncfg-5.10.110-1.el7.noarch rhncfg-actions-5.10.110-1.el7.noarch rhncfg-client-5.10.110-1.el7.noarch rhncfg-management-5.10.110-1.el7.noarch rhn-check-2.7.16-1.el7.noarch rhn-client-tools-2.7.16-1.el7.noarch rhn-custom-info-5.4.37-1.el7.noarch rhnlib-2.7.5-1.el7.noarch rhnpush-5.5.107.1-1.el7.noarch rhnsd-5.0.30-1.el7.x86_64 rhn-setup-2.7.16-1.el7.noarch rhn-setup-gnome-2.7.16-1.el7.noarch rhn-virtualization-common-5.4.60-1.el7.noarch rhn-virtualization-host-5.4.60-1.el7.noarch spacewalk-abrt-2.7.3-1.el7.noarch spacewalk-backend-libs-2.7.139-1.el7.noarch spacewalk-certs-tools-2.7.3-1.el7.noarch spacewalk-client-cert-2.7.1-1.el7.noarch spacewalk-client-repo-2.7-2.el7.noarch spacewalk-koan-2.7.2-1.el7.noarch spacewalk-oscap-2.7.1-1.el7.noarch spacewalk-usix-2.7.8-1.el7.noarch yum-rhn-plugin-2.7.7-1.el7.noarch
When using spacewalk-create-yumrepo on that channel, I get different results whether I use --all or not but anyway, never get the whole set of packages :
Here I try without --all, I get a set of 21 packages :
root@vs-ics-prd-sas-fr-502 spacewalk-api-scripts]# spacewalk-create-yumrepo.py -s 127.0.0.1 -u XXX -p XX -c centos7-spacewalk-client-2.7 -d /var/www/html/pub/distro/centos7-spacewalk-client-2.7 Generating package links. Please be patient [root@vs-ics-prd-sas-fr-502 spacewalk-api-scripts]# ll /var/www/html/pub/distro/centos7-spacewalk-client-2.7/packages/ total 0 lrwxrwxrwx 1 root root 160 Oct 19 14:57 osa-common-5.11.89-1.el7.noarch.rpm -> /var/satellite/redhat/1/5c2/osa-common/5.11.89-1.el7/noarch/5c25a9631e88de6669123a04f6d211127301c6e4487276987bfa91deebf79b5c/osa-common-5.11.89-1.el7.noarch.rpm lrwxrwxrwx 1 root root 148 Oct 19 14:57 osad-5.11.89-1.el7.noarch.rpm -> /var/satellite/redhat/1/3f1/osad/5.11.89-1.el7/noarch/3f181aa41cd65a05553450633464c3a986c95d9d2871f6d8502282f6c9763091/osad-5.11.89-1.el7.noarch.rpm lrwxrwxrwx 1 root root 154 Oct 19 14:57 rhncfg-5.10.110-1.el7.noarch.rpm -> /var/satellite/redhat/1/468/rhncfg/5.10.110-1.el7/noarch/468939a4f4602c7588a52619abfd329688f4915f63140c8eebd5b811dbfcfeee/rhncfg-5.10.110-1.el7.noarch.rpm lrwxrwxrwx 1 root root 170 Oct 19 14:57 rhncfg-actions-5.10.110-1.el7.noarch.rpm -> /var/satellite/redhat/1/e07/rhncfg-actions/5.10.110-1.el7/noarch/e07ec4a308a32a0abf973bdd57a898c555b4ade973f3d1377410243fe2fcfb4e/rhncfg-actions-5.10.110-1.el7.noarch.rpm lrwxrwxrwx 1 root root 156 Oct 19 14:57 rhn-check-2.7.16-1.el7.noarch.rpm -> /var/satellite/redhat/1/5bc/rhn-check/2.7.16-1.el7/noarch/5bc37243be02acc0bd680ea450e5c3477442128561e4aa840d56ae94c4d99d06/rhn-check-2.7.16-1.el7.noarch.rpm lrwxrwxrwx 1 root root 170 Oct 19 14:57 rhn-client-tools-2.7.16-1.el7.noarch.rpm -> /var/satellite/redhat/1/8e6/rhn-client-tools/2.7.16-1.el7/noarch/8e67796ce425782e14e888b884cba26e3af30ffbe8b9a714105277f8fd96591b/rhn-client-tools-2.7.16-1.el7.noarch.rpm lrwxrwxrwx 1 root root 158 Oct 19 14:57 rhnpush-5.5.107.1-1.el7.noarch.rpm -> /var/satellite/redhat/1/32d/rhnpush/5.5.107.1-1.el7/noarch/32d1a733a18d781bdaba41dd55eada139075c6714250faf894b3bb610e6c022f/rhnpush-5.5.107.1-1.el7.noarch.rpm lrwxrwxrwx 1 root root 148 Oct 19 14:57 rhnsd-5.0.30-1.el7.x86_64.rpm -> /var/satellite/redhat/1/9df/rhnsd/5.0.30-1.el7/x86_64/9dfa0f451384cb25fe0bdbabc134afb300e87630cddffb206f901d7b88484759/rhnsd-5.0.30-1.el7.x86_64.rpm lrwxrwxrwx 1 root root 156 Oct 19 14:57 rhn-setup-2.7.16-1.el7.noarch.rpm -> /var/satellite/redhat/1/53f/rhn-setup/2.7.16-1.el7/noarch/53fff21a1678ec19dd9fb5c69cdf76752e5c35d659d1d0441d79ab84caf43e88/rhn-setup-2.7.16-1.el7.noarch.rpm lrwxrwxrwx 1 root root 168 Oct 19 14:57 rhn-setup-gnome-2.7.16-1.el7.noarch.rpm -> /var/satellite/redhat/1/0ff/rhn-setup-gnome/2.7.16-1.el7/noarch/0ff8fc8f4249b88b556b6371cd371a4d4afa08d1e0dab49cabef14f01cbeb2dc/rhn-setup-gnome-2.7.16-1.el7.noarch.rpm lrwxrwxrwx 1 root root 188 Oct 19 14:57 rhn-virtualization-common-5.4.60-1.el7.noarch.rpm -> /var/satellite/redhat/1/e7b/rhn-virtualization-common/5.4.60-1.el7/noarch/e7b0e3d26aaf3cf2a704da7987101a932fc25129127aca734c8f5502b5ae0c7e/rhn-virtualization-common-5.4.60-1.el7.noarch.rpm lrwxrwxrwx 1 root root 184 Oct 19 14:57 rhn-virtualization-host-5.4.60-1.el7.noarch.rpm -> /var/satellite/redhat/1/c36/rhn-virtualization-host/5.4.60-1.el7/noarch/c368f08782c683ce4313512314544f6a99b3252b4effbd71b2ec1ccfd3cdeed3/rhn-virtualization-host-5.4.60-1.el7.noarch.rpm lrwxrwxrwx 1 root root 164 Oct 19 14:57 spacewalk-abrt-2.7.3-1.el7.noarch.rpm -> /var/satellite/redhat/1/807/spacewalk-abrt/2.7.3-1.el7/noarch/807d2d096ca558aac3641868385ad493e11a4a07fa35bad58258631d00f861d7/spacewalk-abrt-2.7.3-1.el7.noarch.rpm lrwxrwxrwx 1 root root 184 Oct 19 14:57 spacewalk-backend-libs-2.7.139-1.el7.noarch.rpm -> /var/satellite/redhat/1/c22/spacewalk-backend-libs/2.7.139-1.el7/noarch/c22f0f6280f710dc9325c6dc8317b059585eadf827ff7acaba50a313b34bcdf7/spacewalk-backend-libs-2.7.139-1.el7.noarch.rpm lrwxrwxrwx 1 root root 178 Oct 19 14:57 spacewalk-certs-tools-2.7.3-1.el7.noarch.rpm -> /var/satellite/redhat/1/aac/spacewalk-certs-tools/2.7.3-1.el7/noarch/aac0731b98907f339cbb09b4181f3525a9446f1ba524e8f00fe466c3eed9d3e8/spacewalk-certs-tools-2.7.3-1.el7.noarch.rpm lrwxrwxrwx 1 root root 178 Oct 19 14:57 spacewalk-client-cert-2.7.1-1.el7.noarch.rpm -> /var/satellite/redhat/1/cee/spacewalk-client-cert/2.7.1-1.el7/noarch/cee8ca3003d8505bf7eeb75b9f8829d38bcef41fd4a87146453541965767e262/spacewalk-client-cert-2.7.1-1.el7.noarch.rpm lrwxrwxrwx 1 root root 174 Oct 19 14:57 spacewalk-client-repo-2.7-2.el7.noarch.rpm -> /var/satellite/redhat/1/765/spacewalk-client-repo/2.7-2.el7/noarch/7659d2fb57a2d77ec96c44d516edce92dea0315f66e662daf99eb5135e41af7a/spacewalk-client-repo-2.7-2.el7.noarch.rpm lrwxrwxrwx 1 root root 164 Oct 19 14:57 spacewalk-koan-2.7.2-1.el7.noarch.rpm -> /var/satellite/redhat/1/712/spacewalk-koan/2.7.2-1.el7/noarch/7123142fdcac12acdd7e9e3a5b56dd54ffc638aecde803afdf0f12949a14034c/spacewalk-koan-2.7.2-1.el7.noarch.rpm lrwxrwxrwx 1 root root 166 Oct 19 14:57 spacewalk-oscap-2.7.1-1.el7.noarch.rpm -> /var/satellite/redhat/1/3ab/spacewalk-oscap/2.7.1-1.el7/noarch/3ab8efdf075725bc82bc67e2dc66cc04d9e49b67521412de90678dd0eb7e7304/spacewalk-oscap-2.7.1-1.el7.noarch.rpm lrwxrwxrwx 1 root root 164 Oct 19 14:57 spacewalk-usix-2.7.8-1.el7.noarch.rpm -> /var/satellite/redhat/1/0e9/spacewalk-usix/2.7.8-1.el7/noarch/0e9dd0a00232a9210f85e859ac13cf33b04b22b62e4b1d170e2eb53b317100ca/spacewalk-usix-2.7.8-1.el7.noarch.rpm lrwxrwxrwx 1 root root 164 Oct 19 14:57 yum-rhn-plugin-2.7.7-1.el7.noarch.rpm -> /var/satellite/redhat/1/60f/yum-rhn-plugin/2.7.7-1.el7/noarch/60f329713d8abf14f4a8553f95d5ecb366bd5f422826b8499c3622fd5d164581/yum-rhn-plugin-2.7.7-1.el7.noarch.rpm [root@vs-ics-prd-sas-fr-502 spacewalk-api-scripts]#
Then after rm -rf, I try with --all and get a different set of 21 packages :
root@vs-ics-prd-sas-fr-502 spacewalk-api-scripts]# rm -rf /var/www/html/pub/distro/centos7-spacewalk-client-2.7 [root@vs-ics-prd-sas-fr-502 spacewalk-api-scripts]# spacewalk-create-yumrepo.py -s 127.0.0.1 -u XXX -p XX -c centos7-spacewalk-client-2.7 -d /var/www/html/pub/distro/centos7-spacewalk-client-2.7 --all Generating package links. Please be patient [root@vs-ics-prd-sas-fr-502 spacewalk-api-scripts]# ll /var/www/html/pub/distro/centos7-spacewalk-client-2.7/packages/ total 0 lrwxrwxrwx 1 root root 160 Oct 19 15:00 osa-common-5.11.89-1.el7.noarch.rpm -> /var/satellite/redhat/1/5c2/osa-common/5.11.89-1.el7/noarch/5c25a9631e88de6669123a04f6d211127301c6e4487276987bfa91deebf79b5c/osa-common-5.11.89-1.el7.noarch.rpm lrwxrwxrwx 1 root root 154 Oct 19 15:00 rhncfg-5.10.110-1.el7.noarch.rpm -> /var/satellite/redhat/1/468/rhncfg/5.10.110-1.el7/noarch/468939a4f4602c7588a52619abfd329688f4915f63140c8eebd5b811dbfcfeee/rhncfg-5.10.110-1.el7.noarch.rpm lrwxrwxrwx 1 root root 170 Oct 19 15:00 rhncfg-actions-5.10.110-1.el7.noarch.rpm -> /var/satellite/redhat/1/e07/rhncfg-actions/5.10.110-1.el7/noarch/e07ec4a308a32a0abf973bdd57a898c555b4ade973f3d1377410243fe2fcfb4e/rhncfg-actions-5.10.110-1.el7.noarch.rpm lrwxrwxrwx 1 root root 170 Oct 19 15:00 rhn-client-tools-2.7.16-1.el7.noarch.rpm -> /var/satellite/redhat/1/8e6/rhn-client-tools/2.7.16-1.el7/noarch/8e67796ce425782e14e888b884cba26e3af30ffbe8b9a714105277f8fd96591b/rhn-client-tools-2.7.16-1.el7.noarch.rpm lrwxrwxrwx 1 root root 168 Oct 19 15:00 rhn-custom-info-5.4.37-1.el7.noarch.rpm -> /var/satellite/redhat/1/849/rhn-custom-info/5.4.37-1.el7/noarch/8493b0304567f3705e629ae7b99658d590b98e18f05dcc28ad4b739912048d2f/rhn-custom-info-5.4.37-1.el7.noarch.rpm lrwxrwxrwx 1 root root 148 Oct 19 15:00 rhnlib-2.7.5-1.el7.noarch.rpm -> /var/satellite/redhat/1/b3e/rhnlib/2.7.5-1.el7/noarch/b3e5916bde31115678528d5bb46f15c52623e34a1d9dec2a4bb5437b52f51b9e/rhnlib-2.7.5-1.el7.noarch.rpm lrwxrwxrwx 1 root root 158 Oct 19 15:00 rhnpush-5.5.107.1-1.el7.noarch.rpm -> /var/satellite/redhat/1/32d/rhnpush/5.5.107.1-1.el7/noarch/32d1a733a18d781bdaba41dd55eada139075c6714250faf894b3bb610e6c022f/rhnpush-5.5.107.1-1.el7.noarch.rpm lrwxrwxrwx 1 root root 148 Oct 19 15:00 rhnsd-5.0.30-1.el7.x86_64.rpm -> /var/satellite/redhat/1/9df/rhnsd/5.0.30-1.el7/x86_64/9dfa0f451384cb25fe0bdbabc134afb300e87630cddffb206f901d7b88484759/rhnsd-5.0.30-1.el7.x86_64.rpm lrwxrwxrwx 1 root root 156 Oct 19 15:00 rhn-setup-2.7.16-1.el7.noarch.rpm -> /var/satellite/redhat/1/53f/rhn-setup/2.7.16-1.el7/noarch/53fff21a1678ec19dd9fb5c69cdf76752e5c35d659d1d0441d79ab84caf43e88/rhn-setup-2.7.16-1.el7.noarch.rpm lrwxrwxrwx 1 root root 168 Oct 19 15:00 rhn-setup-gnome-2.7.16-1.el7.noarch.rpm -> /var/satellite/redhat/1/0ff/rhn-setup-gnome/2.7.16-1.el7/noarch/0ff8fc8f4249b88b556b6371cd371a4d4afa08d1e0dab49cabef14f01cbeb2dc/rhn-setup-gnome-2.7.16-1.el7.noarch.rpm lrwxrwxrwx 1 root root 188 Oct 19 15:00 rhn-virtualization-common-5.4.60-1.el7.noarch.rpm -> /var/satellite/redhat/1/e7b/rhn-virtualization-common/5.4.60-1.el7/noarch/e7b0e3d26aaf3cf2a704da7987101a932fc25129127aca734c8f5502b5ae0c7e/rhn-virtualization-common-5.4.60-1.el7.noarch.rpm lrwxrwxrwx 1 root root 184 Oct 19 15:00 rhn-virtualization-host-5.4.60-1.el7.noarch.rpm -> /var/satellite/redhat/1/c36/rhn-virtualization-host/5.4.60-1.el7/noarch/c368f08782c683ce4313512314544f6a99b3252b4effbd71b2ec1ccfd3cdeed3/rhn-virtualization-host-5.4.60-1.el7.noarch.rpm lrwxrwxrwx 1 root root 164 Oct 19 15:00 spacewalk-abrt-2.7.3-1.el7.noarch.rpm -> /var/satellite/redhat/1/807/spacewalk-abrt/2.7.3-1.el7/noarch/807d2d096ca558aac3641868385ad493e11a4a07fa35bad58258631d00f861d7/spacewalk-abrt-2.7.3-1.el7.noarch.rpm lrwxrwxrwx 1 root root 184 Oct 19 15:00 spacewalk-backend-libs-2.7.139-1.el7.noarch.rpm -> /var/satellite/redhat/1/c22/spacewalk-backend-libs/2.7.139-1.el7/noarch/c22f0f6280f710dc9325c6dc8317b059585eadf827ff7acaba50a313b34bcdf7/spacewalk-backend-libs-2.7.139-1.el7.noarch.rpm lrwxrwxrwx 1 root root 178 Oct 19 15:00 spacewalk-certs-tools-2.7.3-1.el7.noarch.rpm -> /var/satellite/redhat/1/aac/spacewalk-certs-tools/2.7.3-1.el7/noarch/aac0731b98907f339cbb09b4181f3525a9446f1ba524e8f00fe466c3eed9d3e8/spacewalk-certs-tools-2.7.3-1.el7.noarch.rpm lrwxrwxrwx 1 root root 178 Oct 19 15:00 spacewalk-client-cert-2.7.1-1.el7.noarch.rpm -> /var/satellite/redhat/1/cee/spacewalk-client-cert/2.7.1-1.el7/noarch/cee8ca3003d8505bf7eeb75b9f8829d38bcef41fd4a87146453541965767e262/spacewalk-client-cert-2.7.1-1.el7.noarch.rpm lrwxrwxrwx 1 root root 174 Oct 19 15:00 spacewalk-client-repo-2.7-2.el7.noarch.rpm -> /var/satellite/redhat/1/765/spacewalk-client-repo/2.7-2.el7/noarch/7659d2fb57a2d77ec96c44d516edce92dea0315f66e662daf99eb5135e41af7a/spacewalk-client-repo-2.7-2.el7.noarch.rpm lrwxrwxrwx 1 root root 164 Oct 19 15:00 spacewalk-koan-2.7.2-1.el7.noarch.rpm -> /var/satellite/redhat/1/712/spacewalk-koan/2.7.2-1.el7/noarch/7123142fdcac12acdd7e9e3a5b56dd54ffc638aecde803afdf0f12949a14034c/spacewalk-koan-2.7.2-1.el7.noarch.rpm lrwxrwxrwx 1 root root 166 Oct 19 15:00 spacewalk-oscap-2.7.1-1.el7.noarch.rpm -> /var/satellite/redhat/1/3ab/spacewalk-oscap/2.7.1-1.el7/noarch/3ab8efdf075725bc82bc67e2dc66cc04d9e49b67521412de90678dd0eb7e7304/spacewalk-oscap-2.7.1-1.el7.noarch.rpm lrwxrwxrwx 1 root root 164 Oct 19 15:00 spacewalk-usix-2.7.8-1.el7.noarch.rpm -> /var/satellite/redhat/1/0e9/spacewalk-usix/2.7.8-1.el7/noarch/0e9dd0a00232a9210f85e859ac13cf33b04b22b62e4b1d170e2eb53b317100ca/spacewalk-usix-2.7.8-1.el7.noarch.rpm lrwxrwxrwx 1 root root 164 Oct 19 15:00 yum-rhn-plugin-2.7.7-1.el7.noarch.rpm -> /var/satellite/redhat/1/60f/yum-rhn-plugin/2.7.7-1.el7/noarch/60f329713d8abf14f4a8553f95d5ecb366bd5f422826b8499c3622fd5d164581/yum-rhn-plugin-2.7.7-1.el7.noarch.rpm [root@vs-ics-prd-sas-fr-502 spacewalk-api-scripts]#
I am on Centos 7 with spacewalk 2.7 I created a channel and repo pointing to http://yum.spacewalkproject.org/2.7-client/RHEL/7/x86_64/
I can verify that all 25 packages from that repo got synced in the Package/List tab of my channel :
When using spacewalk-create-yumrepo on that channel, I get different results whether I use --all or not but anyway, never get the whole set of packages :
Here I try without --all, I get a set of 21 packages :
Then after rm -rf, I try with --all and get a different set of 21 packages :