[Spacewalk-list] Cannot delete software channel

Dirk Hartel dirk.hartel at kabelmail.de
Wed Dec 14 22:20:04 UTC 2011


Hi,

did you check spacewalk for packages which do not belong to any channels?
Normally, if you delete channels the RPMs within will not be deleted!

Please check it under

Channels -> Managing Software Channels -> Managing Software Packages


Kind Regards


Dirk
--------------------------------------------------
From: <Silvio.Schanz at elektrobit.com>
Sent: Wednesday, December 14, 2011 3:44 PM
To: <spacewalk-list at redhat.com>
Subject: Re: [Spacewalk-list] Cannot delete software channel

> Hi Jan,
>
> I found the following message within the catalina.out log.
> ==============================================================
> Dec 14, 2011 3:04:14 PM org.apache.jk.core.MsgContext action
> WARNING: Error sending end packet
> java.net.SocketException: Broken pipe
>        at java.net.SocketOutputStream.socketWrite0(Native Method)
>        at 
> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
>        at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
>        at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:538)
>        at 
> org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:127)
>        at org.apache.jk.core.MsgContext.action(MsgContext.java:302)
>        at org.apache.coyote.Response.action(Response.java:183)
>        at org.apache.coyote.Response.finish(Response.java:305)
>        at 
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:205)
>        at 
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
>        at 
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
>        at 
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
>        at 
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
>        at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
>        at java.lang.Thread.run(Thread.java:636)
> Dec 14, 2011 3:04:14 PM org.apache.jk.common.ChannelSocket 
> processConnection
> WARNING: processCallbacks status 2
> ==============================================================
>
> But the channel seems to be deleted.
>
> I can't see a change in disk usage after the channel deletion.
> After which time is the allocated space released?
>
> Thanks for your help.
>
> Regards,
>  Silvio
>
>
>
> -----Original Message-----
> From: spacewalk-list-bounces at redhat.com 
> [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Jan Pazdziora
> Sent: Wednesday, December 14, 2011 2:36 PM
> To: spacewalk-list at redhat.com
> Subject: Re: [Spacewalk-list] Cannot delete software channel
>
> On Wed, Dec 14, 2011 at 01:05:06PM +0000, Silvio.Schanz at elektrobit.com 
> wrote:
>> Hello,
>>
>> we run spacewalk 1.5 with a postgres database backend.
>>
>> If I try to delete my fedora channel I got these message:
>> ======================================================================
>> ==============================
>> 500 Error - Internal Server Error
>>
>> You may have reached this page in one of the following ways:
>> You've found an error in the site. Please report this error to your local 
>> administrator with details of how you received this message.
>> ======================================================================
>> ==============================
>>
>> Same behavior if I try spacecmd instead:
>> ======================================================================
>> ============================== spacecmd {SSM:0}>
>> softwarechannel_delete fedora15-updates-x86_64 Channels
>> --------
>> fedora15-updates-x86_64
>>
>> Delete these channels [y/N]: y
>> ERROR: <ProtocolError for localhost/rpc/api: 503 Service Temporarily
>> Unavailable>
>> ======================================================================
>> ==============================
>>
>> All spacewalk services seem to run:
>> ======================================================================
>> ==============================
>> spacewalk-service status
>> router (pid 24439) is running...
>> sm (pid 24446) is running...
>> c2s (pid 24453) is running...
>> s2s (pid 24460) is running...
>> osa-dispatcher (pid  24495) is running...
>> /etc/init.d/tomcat5 is already running (25064) httpd (pid  25184) is
>> running...
>> rhn-search is running (25242).
>> cobblerd (pid 25382) is running...
>> RHN Taskomatic is running (25407).
>> ======================================================================
>> ==============================
>>
>> Any help would be greatly appreciated.
>
> There should be a long (multiline) error in 
> /var/log/tomcat*/catalina.out -- please post it.
>
> Thank you,
>
> --
> Jan Pazdziora
> Principal Software Engineer, Satellite Engineering, Red Hat
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
> ----------------------------------------------------------------
> Please note: This e-mail may contain confidential information
> intended solely for the addressee. If you have received this
> e-mail in error, please do not disclose it to anyone, notify
> the sender promptly, and delete the message from your system.
> Thank you.
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> 




More information about the Spacewalk-list mailing list