Bug 1038527 - app's alias does not work after upgrade app from 1.2 to 2.0
Summary: app's alias does not work after upgrade app from 1.2 to 2.0
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Jason DeTiberus
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-05 09:43 UTC by Johnny Liu
Modified: 2017-03-08 17:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-17 16:20:43 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Johnny Liu 2013-12-05 09:43:49 UTC
Description of problem:
After upgrade from 1.2 to 2.0, app's alias is missing. App can not be accessed via alias.

Version-Release number of selected component (if applicable):
http://etherpad.corp.redhat.com/ose-2-0-upgrade-2013-12-04

How reproducible:
Always

Steps to Reproduce:
1. Setup ose-1.2 env
2. Create app on the node, and add alias to this app.
3. Upgrade env from 1.2 to 2.0

Actual results:
Try to access app using alias, but it return "302" error.
$ curl -H "Host: bar.jialiu.com" <node_ip>
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://bar.jialiu.com/console">here</a>.</p>
<hr>
<address>Apache/2.2.15 (Red Hat) Server at bar.jialiu.com Port 80</address>
</body></html>

Log into node:
[root@node .httpd.d]# strings aliases.db
[root@node .httpd.d]# strings aliases.db.rpmsave
redmine-jialiu.my-ose12.com.cn
bar.jialiu.com

Obviously, ose-upgrade does not take care alias stuff.

Expected results:
alias should work well.

Additional info:

Comment 2 Jason DeTiberus 2013-12-18 17:06:00 UTC
https://github.com/openshift/enterprise/pull/59

Comment 3 Johnny Liu 2013-12-19 12:04:27 UTC
Verified this bug with openshift-enterprise-yum-validator-2.0.0c-1.git.21.e364d06.el6op.noarch, and PASS.


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