Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 83127 - rmchannel doesn't work
Summary: rmchannel doesn't work
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Mihai Ibanescu
QA Contact: Red Hat Satellite QA List
Depends On:
TreeView+ depends on / blocked
Reported: 2003-01-30 16:00 UTC by Jason Kohles
Modified: 2007-07-31 19:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2003-01-30 16:18:30 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Jason Kohles 2003-01-30 16:00:23 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
[root@linuxsat-m01 root]# rmchannel -c redhat-powertools-i386-7.1
Traceback (innermost last):
  File "/usr/bin/rmchannel", line 16, in ?
    sys.exit(main() or 0)
  File "/var/www/rhns/satellite_tools/", line 81, in main
  File "/var/www/rhns/satellite_tools/", line 165, in delete_channels
    h = rhnSQL.prepare(query % (table, field))
  File "/var/www/rhns/server/rhnSQL/", line 97, in prepare
    return db.prepare(sql)
  File "/var/www/rhns/server/rhnSQL/", line 128, in prepare
    self.cache[sql] = Cursor(self.dbh, sql)
  File "/var/www/rhns/server/rhnSQL/", line 42, in __init__
    raise rhnException("Can not prepare statement", e.args)
common.rhnException.rhnException: ('Can not prepare statement', (942,
'ORA-00942: table or view does not exist\012', {'SQL': 'delete from
rhnPathChannelMap where channel_id = :channel_id', 'Params': None}))

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.rmchannel -c <channel>

Additional info:

Comment 1 Mihai Ibanescu 2003-01-30 16:13:27 UTC
Should be fixed in

Comment 2 Jason Kohles 2003-01-30 16:18:30 UTC
Indeed it is fixed...

Note You need to log in before you can comment on or make changes to this bug.