Uploaded image for project: 'Fast Datapath Product'
  1. Fast Datapath Product
  2. FDP-1142

run 'ovs-vsctl get' command failed but return code is 0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • openvswitch3.5
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • rhel-9
    • rhel-sst-network-fastdatapath
    • ssg_networking

       Problem Description: Clearly explain the issue.

      [root@dell-per760-08 ~]# ovs-vsctl get port active-backup 
      2025-02-07T02:52:44Z|00001|db_ctl_base|WARN|"get" command without row arguments or "--id" is possibly erroneous
      [root@dell-per760-08 ~]# echo $?
      0

       Impact Assessment: Describe the severity and impact (e.g., network down,availability of a workaround, etc.).

       

       Software Versions: Specify the exact versions in use (e.g.,openvswitch3.1-3.1.0-147.el8fdp).

      openvswitch3.5-3.5.0-0.9.el9fdp.x86_64

        Issue Type: Indicate whether this is a new issue or a regression (if a regression, state the last known working version).

      new issue

       Reproducibility: Confirm if the issue can be reproduced consistently. If not, describe how often it occurs.

      100%

       Reproduction Steps: Provide detailed steps or scripts to replicate the issue.

      ovs-vsctl add-br ovsbr0
      ovs-vsctl add-port ovsbr0 ens7f0
      ovs-vsctl get port ens7f0
      2025-02-07T03:00:11Z|00001|db_ctl_base|WARN|"get" command without row arguments or "--id" is possibly erroneous
      [root@dell-per760-08 ovs_bond_function]# echo $?
      0
      

       Expected Behavior: Describe what should happen under normal circumstances.

      command run error should return an error code but not 0.

       Observed Behavior: Explain what actually happens.

       it to return an exit code other than 0.

       Troubleshooting Actions: Outline the steps taken to diagnose or resolve the issue so far.

      nope

       Logs: If you collected logs please provide them (e.g. sos report, /var/log/openvswitch/* , testpmd console)

      nope

              ovsdpdk-triage ovsdpdk triage
              mhou@redhat.com Minxi Hou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: