Bug 2095112 - [ovn] northd container termination script must use bash
Summary: [ovn] northd container termination script must use bash
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.11
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.9.z
Assignee: Dan Williams
QA Contact: Anurag saxena
Depends On: 2095111
TreeView+ depends on / blocked
Reported: 2022-06-09 04:35 UTC by Dan Williams
Modified: 2022-11-03 05:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2095111
Last Closed: 2022-11-03 05:58:48 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift cluster-network-operator pull 1478 0 None open Bug 2095112: ovn: fix northd preStop command handling 2022-06-09 04:38:00 UTC
Red Hat Product Errata RHSA-2022:7216 0 None None None 2022-11-03 05:59:10 UTC

Description Dan Williams 2022-06-09 04:35:32 UTC
+++ This bug was initially created as a clone of Bug #2095111 +++

This bug was initially created as a copy of Bug #2095110

I am copying this bug because: 

The script needs to run with bash -c since it tries to set an environment variable before calling ovn-ctl.


Jun 08 15:59:02.367785 ip-10-0-137-204 hyperkube[1774]: E0608 15:59:02.367757    1774 remote_runtime.go:704] "ExecSync cmd from runtime service failed" err="rpc error: code = Unknown desc = command error: time=\"2022-06-08T15:59:02Z\" level=error msg=\"exec failed: unable to start container process: exec: \\\"OVN_MANAGE_OVSDB=no\\\": executable file not found in $PATH\"\n, stdout: , stderr: , exit code -1" containerID="cd8fd271979b3e0a5821b233c44d9d119ff33e58e711d9ab43527b0aff68dac7" cmd=[OVN_MANAGE_OVSDB=no /usr/share/ovn/scripts/ovn-ctl stop_northd]

Comment 6 errata-xmlrpc 2022-11-03 05:58:48 UTC
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 (Important: OpenShift Container Platform 4.9.51 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.


Note You need to log in before you can comment on or make changes to this bug.