[Spacewalk-list] Problems while reposync

Nicki Clear NClear at oh.hra.com
Wed May 25 19:25:33 UTC 2016


Philipp,
This was answered yesterday.... the initial user didnt reply that it worked
though....

https://www.redhat.com/archives/spacewalk-list/2016-May/msg00111.html

Thanks,
Nicki



From:	Philipp Wehling <philipp.wehling at megatel.de>
To:	spacewalk-list at redhat.com,
Date:	05/25/2016 01:19 PM
Subject:	[Spacewalk-list] Problems while reposync
Sent by:	spacewalk-list-bounces at redhat.com



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



_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.

This footnote also confirms that this email message has been scanned by Proofpoint PPS and F-Secure for the presence of computer viruses.




More information about the Spacewalk-list mailing list