Trying to delete a child channel with spacewalk-remove-channel is failing with KeyError traceback

Solution Verified - Updated -

Issue

  • Attempting to delete child channel is failing with this error:
[root@satellite ~]#  spacewalk-remove-channel -c rhel-x86_64-server-supplementary-6

ERROR: unhandled exception occurred: ('rhel-x86_64-server-6-beta').
Traceback (most recent call last):
  File "/usr/bin/spacewalk-remove-channel", line 559, in <module>
    sys.exit(main() or 0)
  File "/usr/bin/spacewalk-remove-channel", line 99, in main
    dict_label, dict_parents = __listChannels()
  File "/usr/bin/spacewalk-remove-channel", line 292, in __listChannels
    parents[parent_channel].append(row['label'])
KeyError: 'rhel-x86_64-server-6-beta'

Environment

  • Red Hat Satellite v 5.5/5.6/5.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.