Bug 1150140
Summary: | oo-admin-move does not filter nodes by region | |||
---|---|---|---|---|
Product: | OpenShift Online | Reporter: | Andy Grimm <agrimm> | |
Component: | Pod | Assignee: | Abhishek Gupta <abhgupta> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 1.x | CC: | agrimm, bmeng, jgoulding, jhou, jokerman, mmccomas | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1155290 (view as bug list) | Environment: | ||
Last Closed: | 2015-02-18 16:51:40 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: | 1155478 | |||
Bug Blocks: | 1155290 |
Description
Andy Grimm
2014-10-07 13:45:23 UTC
Can I get the UUID of the gear that was being moved? We attempted this with multiple gears; I know one of them was 53e4f1ab500446680a000440, which was just a test app of mine and has been deleted. I think we could easily reproduce this in stg if you'd like. Here, opts should contain region_id (in plugins/msg-broker/mcollective/lib/openshift/mcollective_application_container_proxy.rb#OpenShift::MCollectiveApplicationContainerProxy::resolve_destination): opts = { :node_profile => destination_gear_size, :district_uuid => destination_district_uuid, :gear => gear, :gear_exists_in_district => gear_exists_in_district, :required_uid => required_uid } # the ApplicationContainerProxy method is used so that the node selector plugin can be invoked destination_container = ApplicationContainerProxy.find_available(opts) Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/ed0cbe431e91bd093dae4923ee4a8c64221fba49 Bug 1150140: Region was not being correctly handled during gear moves Fixed with --> https://github.com/openshift/origin-server/pull/5894 Checked on devenv-stage_1074, with steps as below: 1. Setup multi-node env with 3 nodes placed in 3 separated districts 2. And dist1 and dist2 to region1, and dist2 to region2 3. Create app on region1 4. Move app with --change_district option After 10 times move, all the operations succeeded with moving gear to the district in same region. It will not try to move gear to different region. Verify the bug. |