Satellite 5.x: Why does satellite-sync fail with "Exception type <class 'psycopg2.DataError'> ... DataError: value too long for type character varying(13)" error?

Solution Verified - Updated -


  • running satellite-sync on Satellite 5.6, 5.5, 5.4, 5.3 or 5.2 server fails with a traceback like the following:
Exception type <class 'psycopg2.DataError'>
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/", line 229, in main
    ret = method()
    prompt, nevermorethan, process_function_args)
    process_function(chunk, *process_function_args)
  File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/", line 1675, in import_errata

  DataError: value too long for type character varying(13)


  • Red Hat Satellite 5.x - 5.6, 5.5, 5.4, 5.3, and 5.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content