Bug 124476 - rmchannel doesn't work
Summary: rmchannel doesn't work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Mihai Ibanescu
QA Contact: Fanny Augustin
URL:
Whiteboard:
Depends On:
Blocks: 119091
TreeView+ depends on / blocked
 
Reported: 2004-05-26 21:00 UTC by Terry Jones
Modified: 2007-07-31 19:14 UTC (History)
1 user (show)

Fixed In Version: rhn340sat
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-14 16:21:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Traceback (870 bytes, text/plain)
2004-05-26 21:02 UTC, Terry Jones
no flags Details

Description Terry Jones 2004-05-26 21:00:42 UTC
Description of problem:
Running rmchannel -c <channel name> fails to remove the channel.


Version-Release number of selected component (if applicable):
Version supplied with satellite 3.2

How reproducible:
Every time

Steps to Reproduce:
1. Select channel
2. run rmchannel -c <channel name>
3.
  
Actual results:
Traceback

Expected results:
Channel removed

Additional info:

Comment 1 Terry Jones 2004-05-26 21:02:41 UTC
Created attachment 100610 [details]
Traceback

Comment 2 Terry Jones 2004-05-26 21:03:53 UTC
For some reason it is trying to operate on the table rhnPathChannelMap
which does not exist in the database.

Comment 3 Mihai Ibanescu 2004-05-26 21:26:08 UTC
Ouch. Will fix.

Comment 4 Terry Jones 2004-05-27 15:13:40 UTC
Confirmed with Misa that the following is a fix:

Delete:

      ['rhnPathChannelMap', 'channel_id'],

from 

      /var/www/rhns/satellite_tools/satrm.py



Comment 5 Mihai Ibanescu 2004-05-28 17:19:53 UTC
Fix is in the next satellite version and backported to 3.3, 3.2 and
2.1 satellites

Comment 6 Fanny Augustin 2004-06-22 18:58:44 UTC
Works beautifully!


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