Bug 80146

Summary: RFE: need a tool to nuke a channel from the DB
Product: Red Hat Satellite 5 Reporter: Todd Warner <taw>
Component: ServerAssignee: Mihai Ibanescu <mihai.ibanescu>
Status: CLOSED CURRENTRELEASE QA Contact: Fanny Augustin <fmoquete>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: alikins, cturner, mihai.ibanescu, taw
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-02-10 20:04:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 78555    

Description Todd Warner 2002-12-20 17:33:42 UTC
The request came in to be able to delete a synced channel. Any channel.
This, ideally, would include removing the channel from the database,
removing any package or errata or any other meta-data that is unique to that
channel... and possibly (commandline option) blow away the rpm itself (if it is
unique of course).

Comment 1 Mihai Ibanescu 2003-01-09 21:40:05 UTC
Resolution: it's going to be a python script for satellite-1.1.1, and we'll push
some schema to make this easier for Titanl.

Comment 2 Greg DeKoenigsberg 2003-01-10 17:21:18 UTC
Adding to Titan Lite Point Release for web team to track.

Comment 3 Mihai Ibanescu 2003-01-13 20:00:33 UTC
Should be implemented in rhns-satellite-tools 1.2.6.1-7 (in the satellite
branch), plus the HEAD branch. It's called rmchannel.

RTFM for usage (yes it does have a man page). Needs testing badly, I tested it
myself but that's it.

Example:

rmchannel -c redhat-linux-i386-8.0 -c redhat-linux-i386-7.3
rmchannel -c redhat-linux-i386-8.0 -c redhat-linux-i386-7.3 --justdb
rmchannel -c redhat-linux-i386-8.0 -c redhat-linux-i386-7.3 --force

Comment 4 Todd Warner 2003-01-20 20:42:34 UTC
Wrong f*&^#ing tracking bug... moving to Satellite 1.1 Point

Comment 5 Josef Komenda 2003-02-10 20:04:30 UTC
Looks good - closing.