Red Hat Bugzilla – Bug 964269
migrate.rb#validate_gear sometimes yields inaccurate response code
Last modified: 2015-05-14 19:18:56 EDT
migrate.rb#validate_gear sometimes yields inaccurate response code - after I migrate a nodejs app, the response code logged is 503, but I can hit the migrated app in the browser.
Resolved by https://github.com/openshift/li/pull/1413
(In reply to comment #1)
> Resolved by https://github.com/openshift/li/pull/1413
Risregard; commented on the wrong issue.
This issue still can be reproduced on devenv_3247 for nodejs app.
Migrating cartridge nodejs
Marking step nodejs_create_directory complete
Marking step nodejs_setup complete
Marking step nodejs_erb complete
applying nodejs-0.6 migration post-process
Marking step nodejs_hook complete
Marking step nodejs_ownership complete
Marking step nodejs_connect_frontend complete
Pre-migration state: started
Post-migration response code: 503
Marking step validate_gear complete
Cleaning up after migration***time_migrate_on_node_measured_from_node=111486***
And the nodejs app can be accessed after migration.
This issue is also present for Jboss apps. That said, there's been a retry added already for this check - we're going to stick with the single retry.