Bug 1133652
| Summary: | "rhncfg-client get " can deploy empty files instead of the expected configuration | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Stephen Herr <sherr> |
| Component: | Clients | Assignee: | Stephen Herr <sherr> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.2 | CC: | ahumbe, cperry, fdewaley, mmraka, satqe-list, xdmoon, yjog |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | rhncfg-5.10.77-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1119816 | Environment: | |
| Last Closed: | 2015-04-14 19:02:34 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: | 1119816, 1139412 | ||
| Bug Blocks: | 1207293 | ||
|
Description
Stephen Herr
2014-08-25 17:39:45 UTC
This is just a shot in the dark since I can't reproduce the actual problem, but I don't think that validating the contents of a config file before deploying it is a bad thing. Committing to Spacewalk master: 15be917dbac6f233bb8e6a48af6f70346d3d2ae7 An additional commit fixes: 1) file metadata may contain 'md5sum' instead of 'checksum' and 'checksum_type' on old Spacewalk servers 2) file metadata must contain one or the other, so checksum validation should not be optional 3) we should also support sha256 checksums, not just md5 or sha1 4) sha256 should be the checksum used when verifying files Committing to Spacewalk master: a80c26cd0642084cd7cd48d6b3c4a9bc88809905 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 |