Bug 1381343
Summary: | Config diff failure on Fedora 23 | |||
---|---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | max | |
Component: | Clients | Assignee: | Gennadii Altukhov <galtukho> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 2.5 | CC: | eherget, galtukho, rdrazny | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1395894 (view as bug list) | Environment: | ||
Last Closed: | 2017-09-27 19:22:58 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: | 1395894, 1484117 |
Description
max
2016-10-03 18:51:41 UTC
The problem is in diff action in rhncfg-action-control. Actual steps to reproduce: 1. Register Fedora 23 system in Spacewalk 2. If there is no config channel, create one 3. Subscribe registered system to config channel (Systems -> <system_name> -> Configuration -> Manage Configuration Channels -> Subscribe to Channels) 4. On Fedora 23 system deploy configuration file from Channel: # rhncfg-client get 5. On Fedora 23 system install rhncfg* and enable all actions (actually we need only 'diff') # dnf install rhncfg* # rhn-actions-control --enable-all 6. Change some of the deployed to Fedora 23 configuration files 7. In Spacewalk Web UI try to get diff between file deployed on Fedora 23 system and file in Spacewalk Configuration Channel (Systems -> <system_name> -> Configuration -> Compare Files) Results: cannot get diff, error in /var/log/up2date spacewalk.git: 963fba6b14206fbd42dd0feada1b7ead1490eb99 Reproduced on rhncfg-client-5.10.93-1.fc23 using the reproducer from comment #1, with the result described in initial report (<class 'AttributeError'>: 'str' object has no attribute 'decode'). After update to rhncfg-client-5.10.98-1 and rescheduling the "Compare files" event, the comparison in performed correctly, and it is possible to display the diff output in WebUI. VERIFIED This looks like it was fixed in previous release, but I'm closing it in this one. Spacewalk 2.7 has been released. https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes27 |