Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1079033

Summary: looks like removing Solaris channel while generating its repodata makes Taskomatic die
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: TaskomaticAssignee: Jan Dobes <jdobes>
Status: CLOSED WONTFIX QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 560CC: ggainey, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-28 20:06:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 462714    
Attachments:
Description Flags
Part of rhn_taskomatic_daemon.log none

Description Jan Hutař 2014-03-20 19:32:04 UTC
Created attachment 877000 [details]
Part of rhn_taskomatic_daemon.log

Description of problem:
Looks like removing Solaris channel while generating its repodata makes Taskomatic die in a way it still blocks some ports open and so making it impossible for `service taskomatic restart` to restart it poperly.


Version-Release number of selected component (if applicable):
Satellite 5.6.0
spacewalk-taskomatic-2.0.2-63.el6sat.noarch


How reproducible:
very rarely


Steps to Reproduce:
1. Create channel with arch channel-sparc-sun-solaris or
   channel-i386-sun-solaris
2. Use rhnpush some data into it
3. Use API calls to delete the channel and its content while repodata
   are generated:
     packageids = packages_in_specific_channel(client, key, CHANNEL)
     erratas = client.channel.software.listErrata(key, CHANNEL)
     client.channel.software.delete(key, CHANNEL)
     if not ONLY_DETACH:
       delete_free_package(client, key, packageids)
       delete_free_errata(client, key, erratas)


Actual results:
Taskomatic hangs, restarting it do not helps. See attached log where it was restarted at 2014/03/20 08:46:56.


Expected results:
This error should not happen and should not destabilize Taskomatic.


Additional info:
This might not be an correct reproducer, but seems to be the only error which happened close to the restart.

Comment 5 Grant Gainey 2017-04-28 20:06:09 UTC
Solaris support is being discontinued with the upcoming SATELLITE-5.8 release. Closing WONTFIX