Bug 902947
| Summary: | Hint to the UI that the problem box is "Source Code" not "Public URL" if configure returns a Source Code error message. | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Rob Millner <rmillner> |
| Component: | Containers | Assignee: | Rob Millner <rmillner> |
| Status: | CLOSED UPSTREAM | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.x | CC: | dmcphers, mfisher |
| 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: | 2013-03-13 18:18:04 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: | |||
|
Description
Rob Millner
2013-01-22 19:16:10 UTC
We can't really do this unless the node communicates something back to the broker what value caused the problem. Do we want to add a another directive like ERROR_FIELD: Or is init_git_url special enough that we want to reserve an exit code for it? Do we have a list of reserved exit codes? I think it makes the most sense to have cartridge hooks and node calls set ERROR_FIELD based on the argument that they had a problem with. The broker call can adjust the value of Message.field its returning based on how it translated arguments to make the mcollective call. If there's agreement, I'll make the node changes for this ticket. There is only 1 reserved exit code from the node. 127 meaning the hook isn't found. Thinking about this a little bit more we can add something more than :output from the agent. We can define more fields like: :error_field :error_message And anything at the agent (platform) level should be able to set these. Moved to a new Trello card as this is really a new feature request. https://trello.com/card/return-which-parameter-failed-back-to-the-broker/50fc6814d58223727e0074e4/3 |