[Spacewalk-list] Spacewalk server keeps resyncing same packages from channel

Wenkai Chen wenkai_chen at ensigninfosecurity.com
Thu Jul 18 09:13:56 UTC 2019


HI Spacewalk users,

I have a Spacewalk server configure with several channels (CentOS and RHEL).
When I tried to do a spacewalk-repo-sync, I discovered that it keeps syncing the same packages over and over again. These same packages are already resynced during the last repo sync. However, it gets synced again.

For instance, my command below runs a spacewalk-repo-sync on a channel twice. In those 2 runs, the same packages are being downloaded and imported. Its seems to me that these packages never got written to database. Anyone can help advise if this is correct or incorrect behaviour?
Thank you .

[root at ensco2swkdev01 rhn]# spacewalk-repo-sync -c centos7
16:40:33 ======================================
16:40:33 | Channel: centos7
16:40:33 ======================================
16:40:33 Sync of channel started.
16:40:33
16:40:33   Processing repository with URL: http://mirror.centos.org/centos/7/updates/x86_64/
16:41:46     Packages in repo:              2236
16:41:50     Packages already synced:       2228
16:41:50     Packages to sync:                 8
16:41:50     New packages to download:         8
16:41:50   Downloading packages:
16:41:50     1/8 : pki-base-10.5.9-6.el7.noarch.rpm
16:41:50     2/8 : pki-kra-10.5.9-6.el7.noarch.rpm
16:41:50     3/8 : pki-symkey-10.5.9-6.el7.x86_64.rpm
16:41:50     4/8 : pki-ca-10.5.9-6.el7.noarch.rpm
16:41:52     5/8 : pki-tools-10.5.9-6.el7.x86_64.rpm
16:41:53     6/8 : pki-base-java-10.5.9-6.el7.noarch.rpm
16:41:55     7/8 : pki-javadoc-10.5.9-6.el7.noarch.rpm
16:41:56     8/8 : pki-server-10.5.9-6.el7.noarch.rpm
16:41:56
16:41:56   Importing packages to DB:
               Importing packages:     |##################################################| 100.0%
16:42:00
16:42:00   Linking packages to the channel.
16:42:00
16:42:00   Errata in repo: 0.
16:42:00
16:42:00   Processing repository with URL: http://mirror.centos.org/centos/7/extras/x86_64/
16:42:00     Packages in repo:               419
16:42:01     No new packages to sync.
16:42:01
16:42:01   Errata in repo: 0.
16:42:01
16:42:01   Processing repository with URL: http://mirror.centos.org/centos/7/os/x86_64/
16:42:11
16:42:11   Importing comps file comps.xml.
16:42:13     Packages in repo:             10019
16:42:34     Packages already synced:      10011
16:42:34     Packages to sync:                 8
16:42:34     New packages to download:         8
16:42:34   Downloading packages:
16:42:34     1/8 : pki-base-10.5.9-6.el7.noarch.rpm
16:42:34     2/8 : pki-kra-10.5.9-6.el7.noarch.rpm
16:42:34     3/8 : pki-ca-10.5.9-6.el7.noarch.rpm
16:42:34     4/8 : pki-symkey-10.5.9-6.el7.x86_64.rpm
16:42:36     5/8 : pki-tools-10.5.9-6.el7.x86_64.rpm
16:42:36     6/8 : pki-base-java-10.5.9-6.el7.noarch.rpm
16:42:38     7/8 : pki-javadoc-10.5.9-6.el7.noarch.rpm
16:42:39     8/8 : pki-server-10.5.9-6.el7.noarch.rpm
16:42:40
16:42:40   Importing packages to DB:
               Importing packages:     |##################################################| 100.0%
16:42:43
16:42:43   Linking packages to the channel.
16:42:43
16:42:43   Errata in repo: 0.
16:42:43 Sync of channel completed in 0:02:10.
16:42:43 Total time: 0:02:10
[root at ensco2swkdev01 rhn]# spacewalk-repo-sync -c centos7
17:08:38 ======================================
17:08:38 | Channel: centos7
17:08:38 ======================================
17:08:38 Sync of channel started.
17:08:38
17:08:38   Processing repository with URL: http://mirror.centos.org/centos/7/updates/x86_64/
17:09:45     Packages in repo:              2236
17:09:50     Packages already synced:       2228
17:09:50     Packages to sync:                 8
17:09:50     New packages to download:         8
17:09:50   Downloading packages:
17:09:50     1/8 : pki-base-10.5.9-6.el7.noarch.rpm
17:09:50     2/8 : pki-kra-10.5.9-6.el7.noarch.rpm
17:09:50     3/8 : pki-symkey-10.5.9-6.el7.x86_64.rpm
17:09:50     4/8 : pki-ca-10.5.9-6.el7.noarch.rpm
17:09:51     5/8 : pki-tools-10.5.9-6.el7.x86_64.rpm
17:09:51     6/8 : pki-base-java-10.5.9-6.el7.noarch.rpm
17:09:52     7/8 : pki-javadoc-10.5.9-6.el7.noarch.rpm
17:09:52     8/8 : pki-server-10.5.9-6.el7.noarch.rpm
17:09:52
17:09:52   Importing packages to DB:
               Importing packages:     |##################################################| 100.0%
17:09:56
17:09:56   Linking packages to the channel.
17:09:56
17:09:56   Errata in repo: 0.
17:09:56
17:09:56   Processing repository with URL: http://mirror.centos.org/centos/7/extras/x86_64/
17:09:56     Packages in repo:               419
17:09:57     No new packages to sync.
17:09:57
17:09:57   Errata in repo: 0.
17:09:57
17:09:57   Processing repository with URL: http://mirror.centos.org/centos/7/os/x86_64/
17:10:01
17:10:01   Importing comps file comps.xml.
17:10:03     Packages in repo:             10019
17:10:23     Packages already synced:      10011
17:10:23     Packages to sync:                 8
17:10:23     New packages to download:         8
17:10:23   Downloading packages:
17:10:23     1/8 : pki-base-10.5.9-6.el7.noarch.rpm
17:10:23     2/8 : pki-kra-10.5.9-6.el7.noarch.rpm
17:10:23     3/8 : pki-ca-10.5.9-6.el7.noarch.rpm
17:10:23     4/8 : pki-symkey-10.5.9-6.el7.x86_64.rpm
17:10:24     5/8 : pki-tools-10.5.9-6.el7.x86_64.rpm
17:10:24     6/8 : pki-base-java-10.5.9-6.el7.noarch.rpm
17:10:25     7/8 : pki-javadoc-10.5.9-6.el7.noarch.rpm
17:10:25     8/8 : pki-server-10.5.9-6.el7.noarch.rpm
17:10:25
17:10:25   Importing packages to DB:
               Importing packages:     |##################################################| 100.0%
17:10:29
17:10:29   Linking packages to the channel.
17:10:29
17:10:29   Errata in repo: 0.
17:10:29 Sync of channel completed in 0:01:50.
17:10:29 Total time: 0:01:50

[A close up of a sign  Description generated with very high confidence]

Chen Wenkai
Infrastructure Security Engineer

       [A picture containing building  Description generated with high confidence] <https://www.linkedin.com/company/ensign-infosecurity/>      [A picture containing tableware  Description generated with high confidence] <https://youtu.be/9J7FkhXpb-4>      [A close up of a sign  Description generated with high confidence] <https://www.facebook.com/EnsignGlobal>

  E:  wenkai_chen at ensigninfosecurity.com
  A:  30A Kallang Place, Level 9 Right Wing, Singapore 339213



________________________________

CONFIDENTIALITY NOTICE: "This email is confidential and may also be privileged. If this email has been sent to you in error, please delete it immediately and notify us. Please do not copy, distribute or disseminate part or whole of this email if you are not the intended recipient or if you have not been authorized to do so. We reserve the right, to the extent and under circumstances permitted by applicable laws, to monitor, retain, intercept and block email messages to and from our systems. Thank you."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190718/cf5f395e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 3906 bytes
Desc: image002.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190718/cf5f395e/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 547 bytes
Desc: image004.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190718/cf5f395e/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 822 bytes
Desc: image006.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190718/cf5f395e/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.png
Type: image/png
Size: 491 bytes
Desc: image008.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190718/cf5f395e/attachment-0003.png>


More information about the Spacewalk-list mailing list