Bug 617111
| Summary: | python NameError "global name 'taskomatic' is not defined" at the end of spacewalk-repo-sync | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Garik Khachikyan <gkhachik> |
| Component: | Server | Assignee: | Michael Mráka <mmraka> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jan Hutař <jhutar> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 1.1 | CC: | jhutar, mkoci |
| 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: | 2010-11-19 16:16:18 UTC | Type: | --- |
| 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: | 623772 | ||
Has been already fixed by
commit e29090bfcb766a3a5bb2d6793e16ef41c28afe7b
add missing import
Related commit: 8cf8bbcd7cd6fcddde01df5032994c857107abcc
This is to avoid traceback during reposync:
Traceback (most recent call last):
File "/usr/bin/spacewalk-repo-sync", line 72, in ?
sys.exit(abs(main() or 0))
File "/usr/bin/spacewalk-repo-sync", line 66, in main
sync.main()
File "/usr/share/rhn/satellite_tools/reposync.py", line 108, in main
taskomatic.add_to_repodata_queue_for_channel_package_subscription(
NameError: global name 'taskomatic' is not defined
Which is included in spacewalk-backend-1.1.41-1.
Mass-aligning under space12, so that we don't lose track of this bugzilla. This however does not mean that we plan (will be able to) address this bug in Spacewalk 1.2. Moving ON_QA. Please use the Spacewalk 1.2 release candidate yum repo at http://koji.spacewalkproject.org/spacewalk/split/spacewalk-5E/server/spacewalk-5E-1.2/$basearch/os http://koji.spacewalkproject.org/spacewalk/split/spacewalk-f12/server/spacewalk-f12-1.2/$basearch/os http://koji.spacewalkproject.org/spacewalk/split/spacewalk-f13/server/spacewalk-f13-1.2/$basearch/os http://koji.spacewalkproject.org/spacewalk/split/spacewalk-f14/server/spacewalk-f14-1.2/$basearch/os (depending on your OS) to verify the bugzilla. With Spacewalk 1.2 released, marking as CLOSED CURRENTRELEASE. https://www.redhat.com/archives/spacewalk-list/2010-November/msg00111.html |
Description of problem: At the end of spacewalk-repo-sync command (when all the packages are fetched) there is thrown an error: --- Traceback (most recent call last): File "/usr/bin/spacewalk-repo-sync", line 72, in ? sys.exit(abs(main() or 0)) File "/usr/bin/spacewalk-repo-sync", line 66, in main sync.main() File "/usr/share/rhn/satellite_tools/reposync.py", line 108, in main taskomatic.add_to_repodata_queue_for_channel_package_subscription( NameError: global name 'taskomatic' is not defined --- Version-Release number of selected component (if applicable): spacewalk-schema-1.1.18-1.el5 spacewalk-oracle-1.1.5-1.el5 How reproducible: 1/1 attempt Steps to Reproduce: 1. run spacewalk-repo-sync on any repository 2. 3. Actual results: the traceback Expected results: No traceback, normal exit. Additional info: