Bug 663006
| Summary: | "Invalid macro" error while uploading a configuration file into config channel | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Martin Osvald 🛹 <mosvald> | ||||
| Component: | Configuration Management | Assignee: | Tomas Lestach <tlestach> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Red Hat Satellite QA List <satqe-list> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 540 | CC: | cperry | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-01-04 17:21: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: | |||||||
| Attachments: |
|
||||||
Created attachment 468598 [details] snapshot of the error Description of problem: If you try to upload e.g. /etc/bashrc file into a configuration channel, it fails with obscure error message: --- Invalid macro - make sure the file isn't a binary file! '| /bin/egrep -q "(^|' --- It doesn't work also if you try to create a file in that channel and upload there the contents of /etc/bashrc manually (it ends with the same error). Version-Release number of selected component (if applicable): Satellite 5.4 How reproducible: Always Steps to Reproduce: 1. Create a new configuration channel and try to upload there a file /etc/bashrc (interesting note, you will have to copy the bashrc file to a different directory to be able to see the error, because if you try to select the file directly, it won't simply add the file there without any error, like there were no selected files to upload (probably another bug)) Actual results: It ends with an error: Invalid macro - make sure the file isn't a binary file! '| /bin/egrep -q "(^|' See attached picture. Expected results: No error, successful upload.