Bug 917990

Summary: Can't access application URL anymore after move this application
Product: OKD Reporter: Rony Gong 🔥 <qgong>
Component: ContainersAssignee: Rob Millner <rmillner>
Status: CLOSED NEXTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.xCC: mfisher
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-09 02:32:42 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:
Attachments:
Description Flags
development.log none

Description Rony Gong 🔥 2013-03-05 09:11:30 UTC
Created attachment 705342 [details]
development.log

Description of problem:
Can't access application URL anymore after move this application
After move, when access app's url without ssl it will redirect to
https://openshift.redhat.com/app/

when access app's url with ssl, it will redirect to 
https://qdiy-qgongsub3.dev.rhcloud.com:8118/
blank page

Please see the attachment for detail move log

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

How reproducible:
Always

Steps to Reproduce:
1.Setup multi node env with district added,1 district and 2 nodes, add all nodes to this distirct
2.Create an application, then move it.
3.After move, access app's url
eg:
curl http://qdiy-qgongsub3.dev.rhcloud.com
https://qdiy-qgongsub3.dev.rhcloud.com
  
Actual results:
After move, if access app's URL without ssl it will redirect to
https://openshift.redhat.com/app/

when access app's URL with ssl, it will redirect to 
https://qdiy-qgongsub3.dev.rhcloud.com:8118/
blank page

Expected results:
Could access app's URL right for both ssl or non-ssl.

Additional info:
I find the below content of the moved application:
qjbossews2-qgongsub3.dev.rhcloud.com 127.1.247.129:8080
qjbossews2-qgongsub3.dev.rhcloud.com/health FILE:/usr/libexec/openshift/cartridges/jbossews-2.0/info/configuration/health.html

doesn't created in the target node's
/var/lib/openshift/.httpd.d/node.txt

Comment 1 Rob Millner 2013-03-06 02:12:50 UTC
Pull request:
https://github.com/openshift/origin-server/pull/1560

Comment 3 Rony Gong 🔥 2013-03-07 02:23:01 UTC
Verified on devenv_2904
After move, all application data moved to target instance, and could access app's URl successfully.
http://qhp-qgong1.dev.rhcloud.com/
https://qhp-qgong1.dev.rhcloud.com/