sonic-buildimage/dockers/docker-orchagent
Joe LeVeque 7bf05f7f4f
[supervisor] Install vanilla package once again, install Python 3 version in Buster container (#5546)
**- Why I did it**

We were building a custom version of Supervisor because I had added patches to prevent hangs and crashes if the system clock ever rolled backward. Those changes were merged into the upstream Supervisor repo as of version 3.4.0 (http://supervisord.org/changes.html#id9), therefore, we should be able to simply install the vanilla package via pip. This will also allow us to easily move to Python 3, as Python 3 support was added in version 4.0.0.

**- How I did it**

- Remove Makefiles and patches for building supervisor package from source
- Install Python 3 supervisor package version 4.2.1 in Buster base container
    - Also install Python 3 version of supervisord-dependent-startup in Buster base container
- Debian package installed binary in `/usr/bin/`, but pip package installs in `/usr/local/bin/`, so rather than update all absolute paths, I changed all references to simply call `supervisord` and let the system PATH find the executable to prevent future need for changes just in case we ever need to switch back to build a Debian package, then we won't need to modify these again.
- Install Python 2 supervisor package >= 3.4.0 in Stretch and Jessie base containers
2020-11-19 23:41:32 -08:00
..
base_image_files [monit] Adding patch to enhance syslog error message generation for monit alert action when status is failed. (#5720) 2020-10-31 17:29:49 -07:00
arp_update.conf [docker-orchagent]: use service dependency in supervisord to start services 2020-05-22 11:01:28 -07:00
copp.json.j2 Changes to add template support for copp.json. (#5053) 2020-07-31 14:14:21 -07:00
critical_processes [dockers] Update critical_processes file syntax (#4831) 2020-06-25 21:18:21 -07:00
docker-init.sh [supervisor] Install vanilla package once again, install Python 3 version in Buster container (#5546) 2020-11-19 23:41:32 -08:00
Dockerfile.j2 Explicitly call pip2 rather than pip in locations where both pip2 and pip3 are installed (#5747) 2020-10-30 09:43:14 -07:00
enable_counters.py [enable counters] provide initial rates parameters (#5048) 2020-11-18 19:33:19 +02:00
ipinip.json.j2 [Multi-ASIC]:Update the template to add ipinip entry for Loopback4096 (#5235) 2020-08-31 17:35:48 -07:00
ndppd.conf [docker-orchagent]: Add NDP Proxy Daemon (#5517) 2020-10-05 08:48:13 -07:00
ndppd.conf.j2 [docker-orchagent]: Add NDP Proxy Daemon (#5517) 2020-10-05 08:48:13 -07:00
orchagent.sh [synchronous-mode] Add template file for synchronous mode (#5644) 2020-10-23 13:08:35 -07:00
ports.json.j2 [cfggen] Make Jinja2 Template Python 3 Compatible 2020-09-30 07:07:43 -07:00
supervisord.conf [supervisor] Install vanilla package once again, install Python 3 version in Buster container (#5546) 2020-11-19 23:41:32 -08:00
switch.json.j2 Make backend device checking more robust (#5730) 2020-11-10 15:06:35 -08:00
swssconfig.sh Fix the issue as reported in (#5315) 2020-09-04 09:34:26 -07:00
vlan_vars.j2 [swss] Reduce Calls to SONiC Cfggen (#5177) 2020-08-17 15:47:52 -07:00