Unable to download the files of a configuration channel with rhncfg-manager

Solution Verified - Updated -

Issue

  • Unable to download the files of a configuration channel with rhncfg-manager with a trace similar to
[root@satellite]# rhncfg-manager download-channel -t/tmp/satellite/ my_config_channel
Using server name satellite.example.com
Traceback (most recent call last):
  File "/usr/bin/rhncfg-manager", line 46, in ?
    sys.exit(Main().main() or 0)
  File "/usr/share/rhn/config_common/rhn_main.py", line 207, in main
    handler.run()
  File "/usr/share/rhn/config_management/rhncfg_download_channel.py", line 52, in run
    config_channel=ns)
  File "/usr/share/rhn/config_common/deploy.py", line 65, in deploy_files
    try_rollback(dep_trans, "Error unable to deploy file, information on user '%s' could not be found" % e[0])
  File "/usr/share/rhn/config_common/deploy.py", line 81, in try_rollback
    dep_trans.rollback()
  File "/usr/share/rhn/config_common/transactions.py", line 266, in rollback
    os.rmdir(remove_dir)
OSError: [Errno 39] Directory not empty: '/usr2/tools'

Environment

  • Red Hat Satellite 5.x

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