Bug 1008626 - routes.json gets reset to '{}' on upgrade
Summary: routes.json gets reset to '{}' on upgrade
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Rob Millner
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-16 17:34 UTC by Rob Millner
Modified: 2015-05-14 23:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-16 20:20:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Rob Millner 2013-09-16 17:34:26 UTC
Description of problem:
Routes.json got reset to '{}' on upgrade.

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


How reproducible:
Always

Steps to Reproduce:
1. Launch devenv_3785 or devenv-stage_474
2. create apps that set webproxy
3. verify apps are reachable on ports 80, 443, 8000, 8443
4. properly configure /etc/node.conf

    OPENSHIFT_FRONTEND_HTTP_PLUGINS=openshift-origin-frontend-apache-mod-rewrite,openshift-origin-frontend-nodejs-websocket


5. run "devenv sync"

6. verify apps are still reachable on the same ports as #3.


Actual results:

No longer reachable


Expected results:

Reachable.


Additional info:

Routes.json was reinitialized.

Comment 1 Rob Millner 2013-09-16 17:53:35 UTC
All plugin databases were wiped out.

Comment 2 Rob Millner 2013-09-16 20:20:25 UTC
The files need to be owned by the packages which require them and unfortunately cannot be owned by two packages at a time.  There's no way around having RPM move them to .rpmsave.

There will have to be a release note describing the procedure to fix the files on update.


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