Bug 2095111

Summary: [ovn] northd container termination script must use bash
Product: OpenShift Container Platform Reporter: Dan Williams <dcbw>
Component: NetworkingAssignee: Dan Williams <dcbw>
Networking sub component: ovn-kubernetes QA Contact: Anurag saxena <anusaxen>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: rravaiol
Version: 4.11   
Target Milestone: ---   
Target Release: 4.10.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2095112 (view as bug list) Environment:
Last Closed: 2022-08-31 12:34:13 UTC Type: ---
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: 2095110    
Bug Blocks: 2095112    

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.

Otherwise:

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.

https://access.redhat.com/errata/RHSA-2022:6133