Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-5387

Both nb and sb ovsdb servers use 0.0.0.0 and neutron can't connect when using Ipv6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • rhos-18.0 Beta
    • rhos-18.0 Beta
    • ovn-operator
    • None

      Though the pods don't show any errors neutron api could not connect to them using raft.

      ovn-nbctl: unix:/tmp/ovnnb_db.sock: database connection failed (No such file or directory)
      2024-03-04T14:23:52Z|00001|vlog|INFO|opened log file /dev/null
      2024-03-04T14:23:52Z|00002|raft|INFO|term 10: 365702340 ms timeout expired, starting election
      2024-03-04T14:23:52Z|00003|raft|INFO|term 10: elected leader by 1+ of 1 servers
      2024-03-04T14:23:52Z|00004|raft|INFO|local server ID is 0e5a
      2024-03-04T14:23:52Z|00005|ovsdb_server|INFO|ovsdb-server (Open vSwitch) 3.2.2
      Waiting for OVN_Northbound to come up 2024-03-04T14:23:52Z|00001|reconnect|INFO|unix:/tmp/ovnnb_db.sock: connecting...
      2024-03-04T14:23:52Z|00002|reconnect|INFO|unix:/tmp/ovnnb_db.sock: connected
      [  OK  ]
      + '[' '!' -S /tmp/ovnnb_db.ctl ']'
      ++ ovn-nbctl --no-leader-only get connection . inactivity_probe
      + '[' 60000 '!=' 60000 ']'
      + ovn-nbctl --no-leader-only list connection
      _uuid               : 4a11dfec-5f74-4772-aa2d-1c273140baa3
      external_ids        : {}
      inactivity_probe    : 60000
      is_connected        : false
      max_backoff         : []
      other_config        : {}
      status              : {}
      target              : "ptcp:6641:0.0.0.0"
      2024-03-04T14:24:02Z|00006|memory|INFO|13240 kB peak resident set size after 10.0 seconds
      2024-03-04T14:24:02Z|00007|memory|INFO|atoms:33 cells:43 monitors:0 n-weak-refs:0 raft-log:11 txn-history:2 txn-history-atoms:16
      ^C
       
      [stack@osp-df-4 install_yamls]$ oc exec -ti po/ovsdbserver-nb-0 -- /bin/bash
      bash-5.1$ ss
      Netid            State            Recv-Q            Send-Q                       Local Address:Port                            Peer Address:Port           Process           
      u_str            ESTAB            0                 0                                        * 331126171                                  * 0                                
      u_str            ESTAB            0                 0                                        * 331126172                                  * 0                                
      u_str            ESTAB            0                 0                                        * 331126173                                  * 0                                
      u_str            ESTAB            0                 0                                        * 331126174                                  * 0         
      

       

              rhn-support-ramishra Rabi Mishra
              rhn-support-ramishra Rabi Mishra
              rhos-dfg-df
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: