Bug 1155290
Summary: | oo-admin-move does not filter nodes by region | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Brenton Leanhardt <bleanhar> |
Component: | Node | Assignee: | Luke Meyer <lmeyer> |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.2.0 | CC: | abhgupta, adellape, agrimm, jokerman, libra-bugs, libra-onpremise-devel, mmccomas, pruan, xiama |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rubygem-openshift-origin-msg-broker-mcollective-1.31.1.1-1 | Doc Type: | Bug Fix |
Doc Text: |
Due to a bug in broker gear placement during gear moves, the oo-admin-move command could fail at random by selecting a destination node in a different region than the gear started in. This bug fix updates the oo-admin-move command to filter potential destination nodes correctly by region.
|
Story Points: | --- |
Clone Of: | 1150140 | Environment: | |
Last Closed: | 2014-12-10 13:24:35 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1150140 | ||
Bug Blocks: |
Description
Brenton Leanhardt
2014-10-21 20:08:06 UTC
Check on puddle [2.2.z/2014-11-24.3] 1. setup 3 nodes env node1 dist1 region1 node2 dist2 region2 node3 dist3 region2 2. set ALLOW_REGION_SELECTION to true on broker # vim /etc/openshift/broker.conf <--snip--> # Allow region selection when creating applications. Default is false ALLOW_REGION_SELECTION="true" <--snip--> 3. Create two apps in region2(make sure the app is on different nodes) #rhc app create testapp1 php-5.4 --region region2 #sleep 300 #rhc app create testapp2 php-5.4 --region region2 4. Move testapp1 ten times for i in {1..10};do oo-admin-move --gear_uuid 54741db782611d7869000001 --change_district ; done Move successfully. 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. https://rhn.redhat.com/errata/RHBA-2014-1979.html |