Description of problem: https://trello.com/c/mgZtuujn/241-5-expose-region-and-zones-of-gears-in-rest-api-geo is complete (with bugs currently). This allows viewing via the REST API which zone and region each gear is in. The cherry-pick applies cleanly. Not sure if it *works* and need to evaluate the bugs for inclusion. Also we could just wait until it's rebased into OSE 2.2.
We should be sure to include Bug 1116836 as part of this work.
Replacing bug 1116836 with its blockers as I think it makes more sense to just track this feature and its follow-on bugfixes here. Cherry-picking these from origin-server: From PR https://github.com/openshift/origin-server/pull/5555 commit 7079d938b95052f04fcf72e432a0a071b543c418 Author: Lili Nader <lnader> Date: Thu Jun 26 14:27:04 2014 -0700 Expose region and zones of gears in REST API commit a01e57efbed15ac377f53a40640f63eb0ec2428e Author: Lili Nader <lnader> Date: Fri Jun 27 19:08:22 2014 -0700 Enables user to specify a region when creating an application From PR https://github.com/openshift/origin-server/pull/5567 commit e29b2f9cd8637c4953ed8e2efb76b7139ac86b5f Author: Ravi Sankar Penta <rpenta> Date: Wed Jul 2 18:47:06 2014 -0700 Bug 1115321 - Fix zone name in gear_groups rest api response commit 41098c5746efe83947a485cc99a0fe8efbfc7555 Author: Ravi Sankar Penta <rpenta> Date: Wed Jul 2 23:51:45 2014 -0700 Bug 1115244 - Add 'region' as optional param to ADD_APPLICATION link commit 83a1ad0c3f3025e07085cfad9bc6916486c60b20 Author: Ravi Sankar Penta <rpenta> Date: Wed Jul 2 23:55:00 2014 -0700 Bug 1115238 - Add DEFAULT_REGION_NAME param to the broker configuration. commit 0598d3648d0e33052970a83a229296f9cb6396ab Author: Ravi Sankar Penta <rpenta> Date: Wed Jul 2 23:59:46 2014 -0700 Bug 1115274 - Fix 'default' field in /regions REST api commit 3181c5ca9cfb5408a16b194953accde4f2e45ce4 Author: Ravi Sankar Penta <rpenta> Date: Thu Jul 3 00:02:15 2014 -0700 Bug 1115309 - Default region will be selected when optional param 'region' is not set during app creation.
*** Bug 1116836 has been marked as a duplicate of this bug. ***
Packages available with puddle 2014-07-11.3; I assume the same test cases apply (https://tcms-openshift.rhcloud.com/cases/search/?summary=%5Borigin_broker_241%5D&author=&product=&plan=&is_automated=&category=&case_status=1&case_status=2&component=&bug_id=&tag__name__in=&a=search) as well as regression testing on the blocked bugs.
Verified and pass on OSE2.1z/2014-07-11.4. The test cases have been run and passed.No blocked bug issue was found.
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-0999.html