Red Hat Bugzilla – Bug 1022439
Cannot perform app restart with missing httpd.pid file
Last modified: 2015-05-14 19:31:19 EDT
Description of problem:
This is related to bug 975700. If the httpd.pid file is missing, the app will not restart.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a php-5.3 application:
rhc app-create phptest php-5.3
2. SSH to the app and delete the httpd.pid file:
rhc ssh phptest
3. Restart the app:
rhc app restart -a phptest
The restart fails with:
Unable to complete the requested operation due to: Failed to correctly execute all parallel operations.
Reference ID: 6773811579144a6f0633299c88259a13
The app should restart.
Note: this works if the app is simply "started," with rhc app start -a phptest. The httpd.pid file is regenerated. It will not regenerate with a 'restart', however.
Should be merged shortly. Thanks for reporting this!
Commit pushed to master at https://github.com/openshift/origin-server
Bug 1022439 - Restore missing httpd.pid when restarting PHP cart
Checked on devenv_3942,
After httpd.pid file been removed from php cartridge, the app can be restart successfully. And the pid file can be regenerated.