Bug 870990
| Summary: | "spacewalk-remove-channel -l" can not be used when satellite-sync is running. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Dimitar Yordanov <dyordano> | ||||
| Component: | Server | Assignee: | Jan Pazdziora (Red Hat) <jpazdziora> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ales Dujicek <adujicek> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 550 | CC: | adujicek, cperry | ||||
| 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: | 2015-01-13 09:55:27 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: | 1127641 | ||||||
| Attachments: |
|
||||||
Created attachment 859683 [details]
patch
With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is being moved to a Closed Current Release state. The Satellite 5.7 GA Errata: - https://rhn.redhat.com/errata/RHSA-2015-0033.html Satellite 5.7 Release Notes: - https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html Satellite Customer Portal Blog announcement for release: - https://access.redhat.com/blogs/1169563/posts/1315743 Cliff |
Description of problem: "spacewalk-remove-channel -l" can not be used when satellite-sync is running. Version-Release number of selected component (if applicable): spacewalk-backend-tools-1.7.38-34 How reproducible: Steps to Reproduce: 1.#nohup satellite-sync -c rhel-i386-server-5 & 2.# spacewalk-remove-channel -l An instance of satellite-sync is running, exiting. Proposed Fix: diff /usr/bin/spacewalk-remove-channel.ORIG /usr/bin/spacewalk-remove-channel 66,73d65 < for command in ['spacewalk-remove-channel', 'satellite-sync', < 'spacewalk-repo-sync']: < try: < LOCK.append(rhnLockfile.Lockfile( < os.path.join(LOCK_DIR, "%s.pid" % command))) < except rhnLockfile.LockfileLockedException: < print("ERROR: An instance of %s is running, exiting." % command) < sys.exit(-1) 80a73,82 > if not options.list: > for command in ['spacewalk-remove-channel', 'satellite-sync', > 'spacewalk-repo-sync']: > try: > LOCK.append(rhnLockfile.Lockfile( > os.path.join(LOCK_DIR, "%s.pid" % command))) > except rhnLockfile.LockfileLockedException: > print("ERROR: An instance of %s is running, exiting." % command) > sys.exit(-1) >