Bug 825218 - rhc-admin-move help message need to be updated
Summary: rhc-admin-move help message need to be updated
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Rajat Chopra
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-25 11:43 UTC by Johnny Liu
Modified: 2015-05-15 01:55 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-08 17:58:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Johnny Liu 2012-05-25 11:43:06 UTC
Description of problem:
# rhc-admin-move -h
== Synopsis

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

== Usage

rhc-admin-move OPTIONS

Options:
--gear_uuid <gear_uuid>
    Gear uuid to move, if app is a scalable application
--app_uuid   <app_uuid>
    Application uuid that the gear belongs to (Optional argument)
--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
--allow_change_district
    Allow the move to be between districts
-h|--help
    Show Usage info


--gear_uuid <gear_uuid>
    Gear uuid to move, if app is a scalable application
Accutally even when moving a non-scalable app, still need specify this option, so "if app is a scalable application" should be removed.


--app_uuid   <app_uuid>
    Application uuid that the gear belongs to (Optional argument)
This option looks like a little redundant. Becasue one gear only belong to one app, not possible to belong to multiple app. It should be removed now.



Version-Release number of selected component (if applicable):
devenv_1802

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Rajat Chopra 2012-05-25 18:12:27 UTC
Fixed with rev# 94989beac3f1796b5dc6479da8e0577a70ffad22

Comment 2 Johnny Liu 2012-05-28 06:54:59 UTC
Verified this bug with devenv_1806, and PASS.

# rhc-admin-move -h
== Synopsis

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

== Usage

rhc-admin-move OPTIONS

Options:
--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
--allow_change_district
    Allow the move to be between districts
-h|--help
    Show Usage info


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