Hide Forgot
Description of problem: Setup ose-1.2 env, create some app, then update env to 2.0, run oo-diagnostics, get the following error: <--snip--> FAIL: test_broker_cache_permissions Broker application cache contains files belonging to root. This will probably result in cache items that can't expire. Please clear the cache by executing: # oo-admin-broker-cache --clear <--snip--> Version-Release number of selected component (if applicable): Always How reproducible: openshift-enterprise-upgrade-node-2.0.0b-1.git.16.a0bff65.el6op.noarch openshift-enterprise-release-2.0.0b-1.git.16.a0bff65.el6op.noarch Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This is fixed in the latest upgrade puddle: http://etherpad.corp.redhat.com/ose-2-0-upgrade-2013-12-02 Please note that this pad has changed the upgrade steps to use a puddle, so there are a few workarounds that need to be done to make sure the right bits are installed during the upgrade. The post migration was loading the rails environment as root causing the incorrect permissions in the cache, I moved the cache clear step from the end_maintenance_mode step to the post step to make sure we are clearing the cache properly.
Verified this bug with http://etherpad.corp.redhat.com/ose-2-0-upgrade-2013-12-02, and PASS.