Bug 807654 - rhc-admin-move does not respect --allow_change_district option
Summary: rhc-admin-move does not respect --allow_change_district option
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 1.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-28 12:14 UTC by Johnny Liu
Modified: 2012-06-26 03:37 UTC (History)
1 user (show)

Fixed In Version: devenv_1678
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-13 18:31:41 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Johnny Liu 2012-03-28 12:14:40 UTC
Description of problem:
Try to move an app from a node to a district.
# rhc-admin-move --app_uuid f5c418aa3e9c48329a20a478cd1f6e5f --destination_district_uuid 1dfdffc158db430984611ef0241d45b3 --allow_change_district
URL: http://jb-jialiu.dev.rhcloud.com
Login: jialiu
App UUID: f5c418aa3e9c48329a20a478cd1f6e5f
/var/www/stickshift/broker/lib/express/broker/application_container_proxy.rb:369:in `move_app': Error moving app.  Cannot change district from 'NONE' to '1dfdffc158db430984611ef0241d45b3' without allow_change_district flag. (StickShift::UserException)
	from /usr/bin/rhc-admin-move:114


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

How reproducible:
Always

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


Expected results:


Additional info:

Comment 1 Johnny Liu 2012-03-29 07:54:51 UTC
Verified this bug with devenv_1679, and PASS.


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