Bug 917990 - Can't access application URL anymore after move this application
Summary: Can't access application URL anymore after move this application
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Rob Millner
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-05 09:11 UTC by Rony Gong 🔥
Modified: 2015-05-14 23:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-09 02:32:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
development.log (17.08 KB, text/plain)
2013-03-05 09:11 UTC, Rony Gong 🔥
no flags Details

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/


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