Bug 1970129
| Summary: | OVS logging in must gather is missing previous logging levels | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Tim Rozet <trozet> |
| Component: | Networking | Assignee: | Nadia Pinaeva <npinaeva> |
| Networking sub component: | ovn-kubernetes | QA Contact: | Ross Brattain <rbrattai> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | aconstan, astoycos, npinaeva, rbrattai, surya |
| Version: | 4.8 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
If this bug requires documentation, please select an appropriate Doc Type value.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-10-18 17:33:33 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2004122 | ||
|
Description
Tim Rozet
2021-06-09 20:46:42 UTC
@npinaeva it doesn't look like the changes in to PR cover the initial OVS setup in configure-ovs-network.sh. Can we add ovs-appctl vlog/set "syslog:${OVS_SYS_LOG_LEVEL}" earlier in the process to log the br-ex setup, especially for the bonding and nmstate cases?
ah, also just noticed PR 1142 doesn't seem to handle OpenShiftSDN case for $OVS_SYS_LOG_LEVEL? Thank you for the comments, I discussed it with the team and we decided to move settings to machine-config-operator, so it will set OVS log level for both SDN and OVN plugins Verified on 4.9.0-0.nightly-2021-08-23-224104
Aug 24 14:40:16.942145 rbrattai-o49g21-qp2zd-master-0 systemd[1]: Starting Open vSwitch Forwarding Unit...
Aug 24 14:40:17.057342 rbrattai-o49g21-qp2zd-master-0 ovs-ctl[1204]: Inserting openvswitch module.
Aug 24 14:40:17.129463 rbrattai-o49g21-qp2zd-master-0 ovs-ctl[1204]: Starting ovs-vswitchd.
Aug 24 14:40:17.137954 rbrattai-o49g21-qp2zd-master-0 ovs-vsctl[1250]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --no-wait add Open_vSwitch . external-ids hostname=rbrattai-o49g21-qp2zd-master-0
Aug 24 14:40:17.138657 rbrattai-o49g21-qp2zd-master-0 ovs-ctl[1204]: Enabling remote OVSDB managers.
Aug 24 14:40:17.147316 rbrattai-o49g21-qp2zd-master-0 systemd[1]: Started Open vSwitch Forwarding Unit.
Aug 24 14:40:18.390579 rbrattai-o49g21-qp2zd-master-0 ovs-vswitchd[1242]: ovs|00008|ofproto_dpif|INFO|system@ovs-system: Datapath supports recirculation
Aug 24 14:40:18.390874 rbrattai-o49g21-qp2zd-master-0 ovs-vswitchd[1242]: ovs|00009|ofproto_dpif|INFO|system@ovs-system: VLAN header stack length probed as 2
Aug 24 14:40:18.390968 rbrattai-o49g21-qp2zd-master-0 ovs-vswitchd[1242]: ovs|00010|ofproto_dpif|INFO|system@ovs-system: MPLS label stack length probed as 3
Aug 24 14:40:18.391008 rbrattai-o49g21-qp2zd-master-0 ovs-vswitchd[1242]: ovs|00011|ofproto_dpif|INFO|system@ovs-system: Datapath supports truncate action
Aug 24 14:40:18.391067 rbrattai-o49g21-qp2zd-master-0 ovs-vswitchd[1242]: ovs|00012|ofproto_dpif|INFO|system@ovs-system: Datapath supports unique flow ids
Aug 24 15:18:55.991918 rbrattai-o49g21-qp2zd-master-0 ovs-vswitchd[1242]: ovs|00295|connmgr|INFO|br-ex<->unix#708: 2 flow_mods in the last 0 s (2 adds)
Aug 24 15:19:11.035029 rbrattai-o49g21-qp2zd-master-0 ovs-vswitchd[1242]: ovs|00296|connmgr|INFO|br-ex<->unix#711: 2 flow_mods in the last 0 s (2 adds)
Aug 24 15:19:26.079296 rbrattai-o49g21-qp2zd-master-0 ovs-vswitchd[1242]: ovs|00297|connmgr|INFO|br-ex<->unix#714: 2 flow_mods in the last 0 s (2 adds)
Aug 24 15:19:29.801586 rbrattai-o49g21-qp2zd-master-0 ovs-vswitchd[1242]: ovs|00298|connmgr|INFO|br-int<->unix#1: 8 flow_mods in the 1 s starting 10 s ago (8 adds)
Aug 24 15:19:41.132910 rbrattai-o49g21-qp2zd-master-0 ovs-vswitchd[1242]: ovs|00299|connmgr|INFO|br-ex<->unix#717: 2 flow_mods in the last 0 s (2 adds)
Aug 24 15:19:56.176390 rbrattai-o49g21-qp2zd-master-0 ovs-vswitchd[1242]: ovs|00300|connmgr|INFO|br-ex<->unix#720: 2 flow_mods in the last 0 s (2 adds)
Aug 24 15:20:11.225446 rbrattai-o49g21-qp2zd-master-0 ovs-vswitchd[1242]: ovs|00301|connmgr|INFO|br-ex<->unix#723: 2 flow_mods in the last 0 s (2 adds)
Aug 24 15:20:26.271213 rbrattai-o49g21-qp2zd-master-0 ovs-vswitchd[1242]: ovs|00302|connmgr|INFO|br-ex<->unix#726: 2 flow_mods in the last 0 s (2 adds)
Aug 24 15:20:29.805222 rbrattai-o49g21-qp2zd-master-0 ovs-vswitchd[1242]: ovs|00303|connmgr|INFO|br-int<->unix#1: 8 flow_mods 59 s ago (8 deletes)
Aug 24 15:20:41.316578 rbrattai-o49g21-qp2zd-master-0 ovs-vswitchd[1242]: ovs|00304|connmgr|INFO|br-ex<->unix#729: 2 flow_mods in the last 0 s (2 adds)
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
ExecStop=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server stop
ExecReload=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server \
ExecStartPre=-/bin/sh -c '/usr/bin/chown -R :$${OVS_USER_ID##*:} /var/lib/openvswitch'
ExecStartPre=-/bin/sh -c '/usr/bin/chown -R :$${OVS_USER_ID##*:} /etc/openvswitch'
ExecStartPre=-/bin/sh -c '/usr/bin/chown -R :$${OVS_USER_ID##*:} /run/openvswitch'
ExecStartPost=-/usr/bin/ovs-appctl vlog/set syslog:info
ExecReload=-/usr/bin/ovs-appctl vlog/set syslog:info
ExecStart=/usr/local/bin/configure-ovs.sh OVNKubernetes
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759 |