Satellite sync fails with "ValueError: need more than 1 value to unpack"

Solution Unverified - Updated -

Issue

  • Satellite sync fails with following traceback:
[root@Mysatellite ]# satellite-sync -l -d 6

SYNC ERROR: unhandled exception occurred:

Exception reported from Mysatellite.localdomain.com
Time: Tue Oct 30 21:56:30 2012
Exception type exceptions.ValueError

Exception Handler Information
Traceback (most recent call last):
  File "/usr/bin/satellite-sync", line 139, in main
    return satsync.Runner().main()
  File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/satsync.py", line 162, in main
    actionDict, channels = processCommandline()
  File "/usr/lib/python2.4/site-packages/spacewalk/satellite_tools/satsync.py", line 2189, in processCommandline
    rhnSQL.initDB(CFG.DEFAULT_DB)
  File "/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/__init__.py", line 98, in initDB
    (username, temp) = dsn.split("/", 1)
ValueError: need more than 1 value to unpack

Environment

  • Red Hat Network Satellite 5.4

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