NFV OCF scripts on Debian need full python3 path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Al Bailey |
Bug Description
The 3 OCF scripts located under
https:/
and are installed on debian under:
/usr/
do not make reference to the full path for python3 in 2 locations in each file
example they have:
(python|
but needs to be updated to
(python|
this is to support service stop detection in ocf scripts
The processes are launched with paths like this:
root 1264931 1 55 22:33 ? 00:00:00 /usr/bin/python3 /bin/nfv-vim -c /etc/nfv/
root 1264941 1264931 0 22:33 ? 00:00:00 /usr/bin/python3 /bin/nfv-vim -c /etc/nfv/
root 1264942 1264931 0 22:33 ? 00:00:00 /usr/bin/python3 /bin/nfv-vim -c /etc/nfv/
root 1264944 1264931 0 22:33 ? 00:00:00 /usr/bin/python3 /bin/nfv-vim -c /etc/nfv/
root 1264947 1264931 0 22:33 ? 00:00:00 /usr/bin/python3 /bin/nfv-vim -c /etc/nfv/
root 1264951 1264931 0 22:33 ? 00:00:00 /usr/bin/python3 /bin/nfv-vim -c /etc/nfv/
root 2859483 1 0 Mar01 ? 00:00:33 /usr/bin/python3 /bin/nfv-vim-api -c /etc/nfv/
root 2866797 1 0 Mar01 ? 00:00:38 /usr/bin/python3 /bin/nfv-
Changed in starlingx: | |
status: | New → In Progress |
tags: | added: stx.7.0 stx.debian stx.nfv |
Changed in starlingx: | |
importance: | Undecided → Medium |
assignee: | nobody → Al Bailey (albailey1974) |
https:/ /review. opendev. org/c/starlingx /nfv/+/ 831841