[Spacewalk-list] spacewalk-repo-sync problem
Tomáš Kašpárek
tkasparek at redhat.com
Fri Jul 27 10:40:22 UTC 2012
Hello
this was fixed in Spacewalk master 84eac652abbf4e8d6c5f6dff3a1343ec8dada7e9.
> Hi,
> After syncing a channel to a Fedora 16 x86_64 updates repository, I
> got the following ORA error. Any idea how to troubleshoot this or what
> is causing it?
> All the packages seem to be synced though.
> Spacewalk 1.7, Oracle XE
> [root at XXXXX ~]# spacewalk-repo-sync --channel=fedora16-x86_64-updates
> Repo URL: http://ftp.crc.dk/fedora/linux/updates/16/x86_64/
> Packages in repo: 9569
> No new packages to sync.
> Repo http://ftp.crc.dk/fedora/linux/updates/16/x86_64/ has 2808 errata.
> 2682 errata skipped because of empty package list.
> Traceback (most recent call last):
> File "/usr/bin/spacewalk-repo-sync", line 100, in <module>
> sys.exit(abs(main() or 0))
> File "/usr/bin/spacewalk-repo-sync", line 93, in main
> sync.sync()
> File
> "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/reposync.py",
> line 101, in sync
> self.import_updates(plugin, url)
> File
> "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/reposync.py",
> line 129, in import_updates
> self.upload_updates(notices)
> File
> "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/reposync.py",
> line 286, in upload_updates
> importer.run()
> File
> "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/importLib.py",
> line 627, in run
> self.submit()
> File
> "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/errataImport.py",
> line 196, in submit
> dml = self.backend.processErrata(self.batch)
> File
> "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/backend.py",
> line 686, in processErrata
> transactional=1)
> File
> "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/backend.py",
> line 1347, in __processObjectCollection
> return self.__processObjectCollection__(objColl, parentTable,
> childDict, **kwargs)
> File
> "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/backend.py",
> line 1517, in __processObjectCollection__
> return self.__doDML(dml)
> File
> "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/backend.py",
> line 1625, in __doDML
> self.__doInsert(dml.insert, dml.tables)
> File
> "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/backend.py",
> line 1632, in __doInsert
> self.__doInsertTable(tname, dict)
> File
> "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/backend.py",
> line 1646, in __doInsertTable
> insertObj.query(hash)
> File
> "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/backendLib.py",
> line 431, in query
> executeStatement(statement, values, chunksize)
> File
> "/usr/lib/python2.6/site-packages/spacewalk/server/importlib/backendLib.py",
> line 456, in executeStatement
> count += statement.executemany(**tempdict)
> File
> "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/sql_base.py", line
> 172, in executemany
> return apply(self._execute_wrapper, (self._executemany, ) + p, kw)
> File
> "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/driver_cx_Oracle.py",
> line 108, in _execute_wrapper
> retval = apply(function, p, kw)
> File
> "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/driver_cx_Oracle.py",
> line 208, in _executemany
> self._real_cursor.executemany(None, arr)
> spacewalk.common.rhnException.rhnFault: (54, 'ORA-01830: date format
> picture ends before converting entire input string\n', '\n Package
> Upload Failed due to uniqueness constraint violation.\n Make sure
> the package does not have any duplicate dependencies or\n does not
> already exists on the server\n ')
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
--
Tomáš Kašpárek
Satellite Engineering Team, Red Hat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120727/e7823c5a/attachment.htm>
More information about the Spacewalk-list
mailing list