Bug 1199197
| Summary: | Comparing config files fails with "Fatal error in Python code occured [[6]]" | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Matej Kollar <mkollar> |
| Component: | Clients | Assignee: | Matej Kollar <mkollar> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.2 | CC: | aladke, cperry, jdobes, lkardos, mkollar, mtaru, satqe-list, tlestach |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rhncfg-5.10.82-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1192069 | Environment: | |
| Last Closed: | 2015-04-14 19:03:47 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: | 1192069, 1207293 | ||
Spacewalk.git: 8908ef6a3825a79ea198d2de6e1db656eae17c42 Moving bugs to ON_QA as we move to release Spacewalk 2.3 Spacewalk 2.3 has been released. See https://fedorahosted.org/spacewalk/wiki/ReleaseNotes23 |
Description of problem: config comparison fails with "Fatal error in Python code occured [[6]]" How reproducible: Steps to Reproduce: 1. Schedule config comparison with channel where there is a directory. 2. Run rhn-check on client. 3. Check up2date logs for any of the client and we have: ------ Traceback (most recent call last): File "/usr/sbin/rhn_check", line 342, in __run_action (status, message, data) = CheckCli.__do_call(method, params, kwargs) File "/usr/sbin/rhn_check", line 335, in __do_call retval = method(*params, **kwargs) File "/usr/share/rhn/actions/configfiles.py", line 342, in diff diff = fp.diff(file) File "/usr/share/rhn/config_common/file_utils.py", line 128, in diff temp_file, temp_dirs = self.process(file_struct) File "/usr/share/rhn/config_common/file_utils.py", line 48, in process fullpath = directory + file_struct['path'] <type 'exceptions.TypeError'>: unsupported operand type(s) for +: 'NoneType' and 'str' ------ Actual results: Task fails with "Fatal error in Python code occurred [[6]]". Expected results: Task should complete successfully. Additional info: Issue was introduced with changes for Bug 1177656. Notes for QA: * To reproduce this you will need not only files in config channel, but also directories. * Please check that following 3 things work: * compare configs (with directories) * deploy configs (with directories) * fetch config channel with "rhncfg-manager download-channel" (with directories).