Bug 1008626

Summary: routes.json gets reset to '{}' on upgrade
Product: OKD Reporter: Rob Millner <rmillner>
Component: ContainersAssignee: Rob Millner <rmillner>
Status: CLOSED CANTFIX QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
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-09-16 20:20:25 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:

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.