Description: 1. php existing apps including quickstart cannot be accessed after server upgraded and migration, 503 error returns; 2. php applications cannot be started, restarted with below errors: Failed to execute: 'control restart' for /var/lib/openshift/534608176cec0ed674000041/php 3. Issue can be reproduced on php-5.3, php-5.4 and php quickstart; and can be reproduced in devenv migration Version-Release number of selected component (if applicable): INT(devenv_4654),devenv_4654 How reproducible: always steps to Reproduce: 1. Create php apps(php-5.3, php-5.4 or php quickstart) 2. After server upgrade and migaration, access the apps url Actual results: 503 error returns. Expected results: It should be accessed normally Additional info:
Created attachment 885378 [details] tail logs for existing php-5.3, drupal and wordpress apps
Interesting logs: > ==> app-root/logs/php.log <== > [Thu Apr 10 17:31:12 2014] [notice] caught SIGWINCH, shutting down gracefully > ==> app-root/logs/phpmyadmin.log <== > [Thu Apr 10 22:45:09 2014] [notice] caught SIGWINCH, shutting down gracefully > ==> app-root/logs/postgresql.log <== > LOG: trying another address for the statistics collector > LOG: could not bind socket for statistics collector: Cannot assign requested address > LOG: disabling statistics collector for lack of working socket > WARNING: autovacuum not started because of misconfiguration > LOG: received smart shutdown request > ==> app-root/logs/mysql.log <== > chown: changing ownership of `/var/lib/openshift/5345ff1303ef648e9100003b/mysql//stdout.err': Operation not permitted > ==> app-root/logs/php.log <== > (98)Address already in use: make_sock: could not bind to address 127.4.65.129:8080 no listening sockets available, shutting down > Unable to open logs
@Wenjing, seems like port 8080 is already taken, so Apache can't bind to it. Can you please investigate what processes are running after the upgrade (ps aux)?
@vvitek attached are two process files, one is from INT and another is from devenv migration(failed too when migrate from devenv-stage_802 to devenv_4674). Please have a check.
Created attachment 886441 [details] INT php process list
Created attachment 886442 [details] devenv migration php process list
@Wenjing, could you please retest? If you hit the problem again, could you please provide all the platform/migration/application logs? Also, could you send me the machine IP, so I can look into the gears?
The previous failed apps still cannot be accessed, however I execute a migration from devenv-stage_802 to devenv_4690 and succeed in accessing the existing apps. Below is the migration console output: http://ciqe.englab.nay.redhat.com/job/OpenShift-Migration/235/console So mark this defect as verified and also will delete the broken apps, create new ones to check on next INT.