Bug 2095111 - [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.10.z
Assignee: Dan Williams
QA Contact: Anurag saxena
Depends On: 2095110
Blocks: 2095112
TreeView+ depends on / blocked
Reported: 2022-06-09 04:32 UTC by Dan Williams
Modified: 2022-08-31 12:34 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2095112 (view as bug list)
Last Closed: 2022-08-31 12:34:13 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift cluster-network-operator pull 1477 0 None open [release-4.10] Bug 2095111: ovn: fix northd preStop command handling 2022-07-27 12:17:13 UTC
Red Hat Product Errata RHSA-2022:6133 0 None None None 2022-08-31 12:34:43 UTC

Description Dan Williams 2022-06-09 04:32:46 UTC
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 5 errata-xmlrpc 2022-08-31 12:34:13 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.10.30 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.