Bug 1008626 - routes.json gets reset to '{}' on upgrade
routes.json gets reset to '{}' on upgrade
Status: CLOSED CANTFIX
Product: OpenShift Origin
Classification: Red Hat
Component: Containers (Show other bugs)
2.x
Unspecified Unspecified
high Severity high
: ---
: ---
Assigned To: Rob Millner
libra bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-16 13:34 EDT by Rob Millner
Modified: 2015-05-14 19:12 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-09-16 16:20:25 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Rob Millner 2013-09-16 13:34:26 EDT
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 13:53:35 EDT
All plugin databases were wiped out.
Comment 2 Rob Millner 2013-09-16 16:20:25 EDT
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.