Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-74255

nmcli prints some warnings/error messages to stdout

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • NetworkManager-1.53.1-1.el9
    • No
    • Low
    • rhel-net-mgmt
    • ssg_networking
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Hide

      Given a system administrator uses nmcli to configure NetworkManager,

      When nmcli prints information to the console

      Then, nmcli should not print warnings/errors to stdout. 

      Definition of Done: 

      • nmcli does not print errors/warnings to standard output, but rather stderr
      • All failing tests are adjusted to account for this change
      Show
      Given a system administrator uses nmcli to configure NetworkManager, When nmcli prints information to the console Then, nmcli should not print warnings/errors to stdout.  Definition of Done:  nmcli does not print errors/warnings to standard output, but rather stderr All failing tests are adjusted to account for this change
    • Pass
    • Automated
    • All
    • None

      What were you trying to do that didn't work?

      When using nmcli, many error messages are printed to stdout rather than stderr. 

      What is the impact of this issue to you?

      In the case of using nmcli to generate a offline profile using --offline, the resulting profile contains a warning message, which makes it invalid.

      Upstream issue: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1692

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Run nmcli --offline connection add con-name bond0-port1 type ethernet port-type bond ifname eth0 controller bond0

      Expected results

      The resulting profile should not contain any warning messages

      Actual results

      The resulting profile contains: "Warning: master='bond0' doesn't refer to any existing profile."

              rhn-engineering-vbenes Vladimir Benes
              rh-ee-jvaclav Ján Václav
              Network Management Team Network Management Team
              Vladimir Benes Vladimir Benes
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: