[Spacewalk-list] Cannot remove software channel cuz kickstarts associated.

Alexander Innes senni at necurity.co.uk
Mon Aug 4 16:29:36 UTC 2014


I think you want something like this

for i in `spacecmd kickstart_list`; do echo "_____" ; echo "Kickstart :
"$i; spacecmd kickstart_listchildchannels $i; echo "_____"; done

which will chuck out this sorta thing

_____
Kickstart : 1_Centos6_5Fresh
INFO: Connected to https://localhost/rpc/api as spacebackup
centos_6.5_x64_os
_____

This will quickly show you everything, or you could add "| grep --colour
$channelname" to the second channel name to highlight where it is

for i in `spacecmd kickstart_list`; do echo "_____" ; echo "Kickstart :
"$i; spacecmd kickstart_listchildchannels $i | grep --colour os; echo
"_____"; done


If this shows that there are in face no channels associated, I guess er,
have you tried turning it on and off again ;)?

Alex


On 4 August 2014 15:35, Net Warrior <netwarrior863 at gmail.com> wrote:

> Hi there guys.
> I'm having an issue with a software channel that I cannot remove, it
> complains the following:
>
> There are currently kickstart distributions associated to this channel.
> Please disassociate or delete the kickstart distributions before proceeding
> to delete the channel.
>
> I have no kickstart related to the channel ( oracle-linux ) associated to
> the channel, I removed all of them, I only left the centos kickstart and
> that's all.
>
> I removed all the packages in the channel , removed the activation keys
> and the child channled associated to it, but still the same error.
>
> Can you help me to debug this issue? maybe I'm missing something in the
> middle that I do not realize.
>
> I'm using
> spacewalk-base-2.0.3-1.el6.noarch
> spacewalk-postgresql-2.0.1-1.el6.noarch
> spacewalk-backend-tools-2.0.3-1.el6.noarch
>
>
> Thanks for your time and support.
> Regards.
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20140804/89afa527/attachment.htm>


More information about the Spacewalk-list mailing list