Unable to start appd dashboard application if using AppDynamics Platform Monitoring for PCF to anything lower than v5.0.477.
Appd logs show the following:
2023-06-09T08:00:21.04-0500 [STG/0] OUT -----> Python Buildpack version 1.8.6
2023-06-09T08:00:21.04-0500 [STG/0] OUT [31;1m**WARNING**[0m buildpack version changed from 1.7.47 to 1.8.6
2023-06-09T08:00:21.04-0500 [STG/0] OUT -----> Supplying Python
2023-06-09T08:00:21.04-0500 [STG/0] OUT [31;1m**ERROR**[0m Could not install python: no match found for 3.6.x in [3.7.16 3.8.16 3.9.16 3.10.9 3.11.1]
2023-06-09T08:00:21.04-0500 [STG/0] ERR Failed to compile droplet: Failed to run all supply scripts: exit status 14
2023-06-09T08:00:21.05-0500 [STG/0] OUT Exit status 223
Background
Python Buildpack v1.8.6 is causing this issue. As part of the nature of this issue is that it failed to install Python as the apps that are pushed by the AppDynamic Tile release need a version of Python Buildpack that supports Python 3.6.x. The log snippet indicates that one of the existing Python Buildpacks (v1.8.6) does not support Python 3.6.x as Python 3.6.x is deprecated starting from Python Buildpack version v1.7.50.
Note: The above error can be caused if using a Python release equal to or higher than v1.7.50.
Workarounds
- Install a Python Buildpack lower than v1.7.50 and delete anything higher if listed with cf buildpacks command. As a reference, v1.7.49 contains the latest Python 3.6.x update before the deprecation. You can download it from here.
- Lock/unlock unwanted releases. Check this link for reference.