[Spacewalk-list] sync of openSUSE Leap 42.1 repository
Haupt, Torsten
Torsten.Haupt at lhw.mlu.sachsen-anhalt.de
Wed Mar 2 08:32:44 UTC 2016
The patch works, thanks.
Mit freundlichen Grüßen
Torsten Haupt
-----Original Message-----
From: Frantisek Kobzik [mailto:fkobzik at suse.de]
Sent: Thursday, February 25, 2016 4:23 PM
To: Haupt, Torsten <Torsten.Haupt at lhw.mlu.sachsen-anhalt.de>
Cc: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] sync of openSUSE Leap 42.1 repository
Seems like we hit the same problem too. I've created a PR with a
backport:
https://github.com/spacewalkproject/spacewalk/pull/353
Regards,
F.
On Thu, 25 Feb 2016 15:41:27 +0100
Frantisek Kobzik <fkobzik at suse.de> wrote:
> Hello,
>
> the problem is most likely caused by long changelog in those rpms.
> IIUC spacewalk stores the changelogs in the DB, but there's limit.
> Longer changelogs get truncated and if the truncation happens in the
> middle of a UTF character, we get to this fishy situation.
>
> I'll try to find out more.
>
> Regards,
> Frantisek Kobzik
>
>
> On Fri, 19 Feb 2016 06:31:59 +0000
> "Haupt, Torsten" <Torsten.Haupt at lhw.mlu.sachsen-anhalt.de> wrote:
>
> > Hello,
> >
> > I added the repositories of openSUSE Leap 42.1 into my spacewalk 2.4
> > installation. The synchronization worked at the beginning, but now I
> > get errors and the repository is not synchronized.
> >
> > spacewalk-repo-sync -c opensuse-leap-42.1-x86_64
> > ======================================
> > | Channel: opensuse-leap-42.1-x86_64
> > ======================================
> >
> > Repo URL:
> > http://download.opensuse.org/distribution/leap/42.1/repo/oss/suse/
> > Packages in repo: 24475 Packages already synced:
> > 24468 Packages to sync: 7
> > 1/7 : kcodecs-devel-32bit-5.15.0-1.1-0.x86_64
> > 2/7 : lua-libguestfs-1.26.10-2.3-0.x86_64
> > 3/7 : python3-pytest-2.7.2-2.10-0.noarch
> > FEHLER: ungültige Byte-Sequenz für Kodierung »UTF8«: 0xe2 0x80 0x20
> >
> > 4/7 : python3-Sphinx-doc-1.3.1-1.8-0.noarch
> > FEHLER: ungültige Byte-Sequenz für Kodierung »UTF8«: 0xe2 0x20 0x20
> >
> > 5/7 : ws-jaxme-manual-0.5.1-25.3-0.noarch
> > 6/7 : texlive-insbox-2013.84.2.2svn17694-18.5-0.noarch
> > 7/7 : python3-Sphinx-1.3.1-1.8-0.noarch
> > FEHLER: ungültige Byte-Sequenz für Kodierung »UTF8«: 0xe2 0x20 0x20
> >
> > Linking packages to channel.
> > ERROR: (99999, 'FEHLER: aktuelle Transaktion wurde abgebrochen,
> > Befehle werden bis zum Ende der Transaktion ignoriert', '',
> > InternalError('FEHLER: aktuelle Transaktion wurde abgebrochen,
> > Befehle werden bis zum Ende der Transaktion ignoriert\n',))
> > Traceback (most recent call last): File
> > "/usr/bin/spacewalk-repo-sync", line 218, in <module>
> > sys.exit(abs(main() or 0)) File "/usr/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.p
> > y", line 151, in execute return self._execute_wrapper(self._execute,
> > *p, **kw) File
> > "/usr/lib/python2.7/site-packages/spacewalk/server/rhnSQL/driver_pos
> > tgresql.py",
> > line 296, in _execute_wrapper raise
> > sql_base.SQLSchemaError(error_code, e.pgerror, e)
> > spacewalk.server.rhnSQL.sql_base.SQLSchemaError: (99999, 'FEHLER:
> > aktuelle Transaktion wurde abgebrochen, Befehle werden bis zum Ende
> > der Transaktion ignoriert', '', InternalError('FEHLER: aktuelle
> > Transaktion wurde abgebrochen, Befehle werden bis zum Ende der
> > Transaktion ignoriert\n',))
> >
> > Kind regards
> > Torsten Haupt
> >
> >
> >
> > _______________________________________________
> > Spacewalk-list mailing list
> > Spacewalk-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
More information about the Spacewalk-list
mailing list