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

ovs-vswitchd container not logging to console

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • ovn-operator
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None
    • Important

      Since https://issues.redhat.com/browse/OSPRH-6326 ovs-vswitchd container(ovn-controller-ovs pods) not logging to console as it starts the ovs-vswitchd in detach mode and from the man page:-

      Runs as a background process.  The process forks, and in
      the child it starts a new session, closes the standard file
      descriptors (which has the side effect of disabling logging to the
      console), and changes its current directory to the root (unless
      --no-chdir is specified).  After the child completes its
      initialization, the parent exits.

      Noticed while looking into https://issues.redhat.com/browse/OSPRH-10821

      – Notes from the triage call –

      On https://github.com/openstack-k8s-operators/ovn-operator/pull/301/commits/303cbcdcb1cfa9d658a35dd927da4cb47e9df79f#diff-66e7a4d2e70945ad4b765449e100092f22d369a4b306bc3e315237e501890ef2 line 33 we do

      /usr/sbin/ovs-vswitchd --pidfile --mlockall --detach

      We need a different way of running ovs-vswitchd on a different thread so as to not block the flow restoration performed by this same script.

              Unassigned Unassigned
              ykarel@redhat.com Yatin Karel
              rhos-dfg-networking-squad-neutron
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: