Description of problem: When I restart an app via REST API the pid of app does not change Version-Release number of selected component (if applicable): reproduced on STG (devenv-stage_472), openshift build N 2.0.33 How reproducible: Always Steps to Reproduce: 1. rhc app create myapp python-2.6 2. ssh %app_uuid%@myapp cat ./python/run/httpd.pid 3. restart the app using rest request: curl -k -X POST https://stg.openshift.redhat.com/broker/rest/applications/%app_uuid%/events --user %username%:%password% --data-urlencode event=restart 4. ssh %app_uuid%@myapp cat ./python/run/httpd.pid Actual results: The pids in steps 2 and 4 are identical Expected results: the pid should change Additional info:
This is expected behavior since we use httpd -k restart. You will notice that the child process pids change when you restart but the main httpd pid will remain the same. Only way to see the pid change is to stop followed by a start.
Marks as verified according to comment 1