cloudfoundry / python-buildpack

Cloud Foundry buildpack for the Python Language
http://docs.cloudfoundry.org/buildpacks/
Apache License 2.0
121 stars 279 forks source link

ProfileD Script through supply buildpack is not getting executed #125

Closed pavankrish123 closed 5 years ago

pavankrish123 commented 5 years ago

What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running cf curl /v2/info && cf version?

cf curl /v2/info && cf version

{
   "name": "Pivotal Application Service",
   "build": "2.2.3-build.9",
   "support": "https://support.pivotal.io",
   "version": 0,
   "description": "https://docs.pivotal.io/pivotalcf/2-2/pcf-release-notes/runtime-rn.html",
   "authorization_endpoint": "https://login.sys.pie-multi-az-blue.cfplatformeng.com",
   "token_endpoint": "https://uaa.sys.pie-multi-az-blue.cfplatformeng.com",
   "min_cli_version": "6.23.0",
   "min_recommended_cli_version": "6.23.0",
   "api_version": "2.112.0",
   "app_ssh_endpoint": "ssh.sys.pie-multi-az-blue.cfplatformeng.com:2222",
   "app_ssh_host_key_fingerprint": "6b:db:70:ce:e7:44:12:c6:93:9e:c9:2a:b6:b0:6e:70",
   "app_ssh_oauth_client": "ssh-proxy",
   "doppler_logging_endpoint": "wss://doppler.sys.pie-multi-az-blue.cfplatformeng.com:443",
   "routing_endpoint": "https://api.sys.pie-multi-az-blue.cfplatformeng.com/routing",
   "user": "d4dd1150-8bbd-4be0-85e8-00ed85ae9f8c"
}
cf version 6.40.0+07673feb9.2018-10-08

What version of the buildpack you are using?

$ cf buildpacks | grep python
python_buildpack                 8          true      false    python_buildpack-cached-cflinuxfs2-v1.6.18.zip       cflinuxfs2

If you were attempting to accomplish a task, what was it you were attempting to do?

We are planning to add multi buildpack support to instrument Python Applications using AppDynamics. As a part of configuration, we need to set environment variables through ProfieD scripts.

We could write the ProfileD script correctly, however the script is not getting executed.

What did you expect to happen?

Script needs to executed and environment variables are to be set

What was the actual behavior?

ProfileD Script through supply buildpack is not getting executed

steps.

cf push -b <supply_buildpack> -b python_buildpack

Please confirm where necessary:

cf-gitbot commented 5 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/163041159

The labels on this github issue will be updated when the story is started.