[Spacewalk-list] Problems while reposync

Maxime VEROONE maxime.veroone at nordnet.fr
Thu May 26 07:44:39 UTC 2016


See Tuesday’s thread « duplicate key in reposync»

My answer and solution are there.

 

Maxime Veroone

 

De : spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] De la part de Jim Howland
Envoyé : mercredi 25 mai 2016 22:31
À : 'spacewalk-list at redhat.com'
Objet : Re: [Spacewalk-list] Problems while reposync

 

Hi Philip

 

I’ve seen exactly this issue when I try to sync the CentOS7 channel – not sure what the solution is as yet though.

 

Kind Regards,

Jim Howland | Linux Engineer
ABN AMRO | ABN AMRO Clearing Sydney Pty Ltd 
Level 8, 50 Bridge Street | Sydney NSW 2000 | Australia
Tel: +61 (0)2 9151 3124 | Mobile: +61 (0)417 885818 | Internet abnamroclearing.com

 

From: Philipp Wehling [mailto:philipp.wehling at megatel.de] 
Sent: Thursday, 26 May 2016 3:09 AM
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] Problems while reposync

 

Hello,

 

the subject says everything:

 

# spacewalk-repo-sync -t yum -c centos7-x86_64-updates
======================================
| Channel: centos7-x86_64-updates
======================================

Repo URL: https://ftp-stud.hs-esslingen.de/Mirrors/centos/7/updates/x86_64/
Packages in repo: 1676
Packages already synced: 1674
Packages to sync: 2
1/2 : firefox-45.1.1-1.el7.centos-0.i686
2/2 : firefox-45.1.1-1.el7.centos-0.x86_64
Linking packages to channel.
ERROR: (23, 'ERROR: duplicate key value violates unique constraint "rhn_cnp_cid_nid_uq"', 'Could not update database entry.')
Traceback (most recent call last):
File "/bin/spacewalk-repo-sync", line 218, in <module>
sys.exit(abs(main() or 0))
File "/bin/spacewalk-repo-sync", line 211, in main
sync.sync()
File "/usr/lib/python2.7/site-packages/spacewalk/satellite_tools/reposync.py", line 224, in sync
[self.channel_label], [], "server.app.yumreposync")
File "/usr/lib/python2.7/site-packages/spacewalk/server/taskomatic.py", line 69, in add_to_repodata_queue_for_channel_package_subscription
add_to_repodata_queue(channel, caller, reason[:128])
File "/usr/lib/python2.7/site-packages/spacewalk/server/taskomatic.py", line 53, in add_to_repodata_queue
queue.add(entry)
File "/usr/lib/python2.7/site-packages/spacewalk/server/taskomatic.py", line 44, in add
bypass_filters=self._boolean_as_char(entry.bypass_filters))
File "/usr/lib/python2.7/site-packages/spacewalk/server/rhnSQL/sql_base.py", line 151, in execute
return self._execute_wrapper(self._execute, *p, **kw)
File "/usr/lib/python2.7/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py", line 296, in _execute_wrapper
raise sql_base.SQLSchemaError(error_code, e.pgerror, e)
spacewalk.server.rhnSQL.sql_base.SQLSchemaError: (99999, 'ERROR: current transaction is aborted, commands ignored until end of transaction block', '', InternalError('current transaction is aborted, commands ignored until end of transaction block\n',))

 

Im running Spacewalk 2.4 with SL7.2

 

 

kind regards,

Philipp

 

Sie können uns "live" erleben.

ILA Berlin Air Show

01. - 04. Juni 2016 - Berlin ExpoCenter Airport

Halle 4, Stand 4201 / www.ila-berlin.de  <http://www.ila-berlin.de> 

  <http://www.mt-aerospace.de/files/mta/download/ila2016.jpg> 

 

********
This message (including any attachments ) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you have received this message by mistake please notify the sender by return email and delete this message from your system. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited.
********

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160526/1b3f340b/attachment.htm>


More information about the Spacewalk-list mailing list