Bug 807654

Summary: rhc-admin-move does not respect --allow_change_district option
Product: OKD Reporter: Johnny Liu <jialiu>
Component: ContainersAssignee: Dan McPherson <dmcphers>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 1.xCC: rmillner
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: devenv_1678 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-13 18:31:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.