Uploaded image for project: 'Vanagon'
  1. Vanagon
  2. VANAGON-57

Command notifications should go to stderr, not stdout

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2017/08/02
    • Labels:
    • Template:
    • Story Points:
      3
    • QA Risk Assessment:
      Needs Assessment

      Description

      As recently discovered by Maggie Dreyer while attempting to move P-A to Vanagon 0.11.x, loading configuration credentials from a ~/.vmfloaty.yaml file will write erroneous output to STDOUT. This isn't a problem for many use cases but the `build_host_info` command is only expected to output correctly formatted JSON. We should ensure that notifications go to STDERR instead of STDOUT until such a time as we've got a fully developed command line suite for Vanagon (which would allow us to more precisely control output).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ryan.mckern Ryan McKern
                Reporter:
                ryan.mckern Ryan McKern
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support