You may also want to change the message to: "Waiting for 'ose-upgrade gears' step on the broker to be completed." Something to tell people that they're waiting on this step of the broker upgrade to complete before the node upgrade can be finished.
In general it would be a good idea to display the output from scripts as it is generated, not after the script completes. Look at oo-install enterprise launcher.rb for an example of doing this in ruby. For steps that fail, we may want to re-display the step output with the failure color coding.
Need a puddle to verify this bug, so pls help build a puddle.
Test this bug with openshift-enterprise-release-2.2.0-1.git.39.c9de878.el6op.noarch against ose-2.2 upgrade, it is working well now. On node, when broker is upgrading gears, the following message is printed out until gear upgrade is finished. <--snip--> INFO: running /usr/lib/ruby/site_ruby/1.8/ose-upgrade/node/upgrades/4/test_gears_complete/10-node-test-gear-migration-completed: INFO: --BEGIN OUTPUT-- Waiting for gear upgrades to be completed. Waiting for gear upgrades to be completed. Waiting for gear upgrades to be completed. Waiting for gear upgrades to be completed. Waiting for gear upgrades to be completed. <--snip--> @Luke, do you plan change message mentioned in comment 1? BTW, this bug will not be moved to "verified", just as what was said in comment7, QE will wait a ose-2.1.z puddle build to finish the whole verification.
(In reply to Johnny Liu from comment #8) > @Luke, do you plan change message mentioned in comment 1? Thanks, I missed that. Yes, I think it's a good idea to change that.
Verified this bug with openshift-enterprise-release-2.1.6-1.git.5.5eab834.el6op.noarch and openshift-enterprise-upgrade-node-2.1.6-1.git.5.5eab834.el6op.noarch, PASS. On node, when broker is upgrading gears, the following message is printed out until gear upgrade is finished. <--snip--> INFO: Next step is 'test_gears_complete' INFO: Setting node step 'test_gears_complete' status to UPGRADING INFO: Running upgrade scripts in /usr/lib/ruby/site_ruby/1.8/ose-upgrade/node/upgrades/3/test_gears_complete INFO: running /usr/lib/ruby/site_ruby/1.8/ose-upgrade/node/upgrades/3/test_gears_complete/10-node-test-gear-migration-completed: INFO: --BEGIN OUTPUT-- Waiting for 'ose-upgrade gears' step on the broker to be completed. Waiting for 'ose-upgrade gears' step on the broker to be completed. Waiting for 'ose-upgrade gears' step on the broker to be completed. Waiting for 'ose-upgrade gears' step on the broker to be completed. <--snip-->
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1353.html