Bug 1255126 - [RFE] Gear migration between districts
Summary: [RFE] Gear migration between districts
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Mike Barrett
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-19 17:09 UTC by Ricardo Martinelli de Oliveira
Modified: 2019-10-10 10:05 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-22 14:32:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ricardo Martinelli de Oliveira 2015-08-19 17:09:01 UTC
Description of problem:
Customer wants to be able to migrate applications between districts when they want to change application gear size after noticing that applications are growing in number of requests and resources.

Version-Release number of selected component (if applicable):
2.2.x

Comment 2 Eric Rich 2015-09-11 16:48:24 UTC
As it stands today you can move gears between 2 nodes in the same district [0]. The command (as shown below) already allows for what you are requesting (with the --destination_district_uuid and --change_district options) however it does so with limitations. 

    # oo-admin-move --help
    == Synopsis

    oo-admin-move: Move an app from one node to another

    == Usage

    oo-admin-move OPTIONS

    Options:
    --gear_uuid <gear_uuid>[,<gear_uuid>,<gear_uuid>]
        Gear uuid to move
    --destination_district_uuid <district_uuid>
        Destination district uuid
    -i|--target_server_identity <server_identity>
        Target server identity
    -p|--node_profile <node_profile>
        Node profile
    -t|--timeout
        timeout
    --json
        Print the move report at finish in JSON
    --change_district
        Move to a different district other than the source district
    -h|--help
        Show Usage info

The limitation here being that the GEAR UID can not exist in the new district to which you are moving it.


Note You need to log in before you can comment on or make changes to this bug.