Bug 1156266
| Summary: | spacewalk-export --entities channels fails | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Chris Roberts <chrobert> | ||||
| Component: | Transitions | Assignee: | Tomas Lestach <tlestach> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Lukas Pramuk <lpramuk> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.0.4 | CC: | cperry, ggainey, marcus.moeller, mkollar | ||||
| Target Milestone: | Unspecified | ||||||
| Target Release: | Unused | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-10-24 14:01:28 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: | |||||||
| Attachments: |
|
||||||
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. Hello Chris, you didn't fill what version of spacewalk-utils the customer uses. I suspect, he runs Satellite 5.6 on RHEL5 and uses spacewalk-utils < 2.0.2-20. It that's true, look at Bug 1140593. The issue has already been fixed and the updated spacewalk-utils package is available in the Satellite 5.6 channel. Closing as duplicate. *** This bug has been marked as a duplicate of bug 1140593 *** |
Created attachment 950183 [details] Updated scrit Description of problem: running: spacewalk-export --entities users,repositories,channels fails with: INFO: Processing users... INFO: Processing repositories... INFO: Processing channels... File "/usr/bin/spacewalk-export-channels", line 195 epoch = pkg['epoch'] if pkg['epoch'] is not None else '0' ^ SyntaxError: invalid syntax How reproducible: Steps to Reproduce: 1. on sat 5.6 server run spacewalk-export with all variables 2. 3. Actual results: File "/usr/bin/spacewalk-export-channels", line 195 epoch = pkg['epoch'] if pkg['epoch'] is not None else '0' ^ SyntaxError: invalid syntax Expected results: For export to run correctly and export everything The customer I am working with has fixed the script and the updated one that runs is attached to this bz.