Red Hat Bugzilla – Bug 864900
User's change to node.conf does not take effect unless reboot node.
Last modified: 2017-03-08 12:34 EST
Description of problem:
Modify GEAR_SHELL value in node.conf, it does NOT take effect for app cration unless reboot this node.
Version-Release number of selected component (if applicable):
Following https://openshift.redhat.com/community/wiki/build-your-own to setup onpremise env using the above repo
Steps to Reproduce:
1. In /etc/openshift/node.conf, the following line is seen:
2. Modify this line to
3. Create app
4. Check /etc/passwd
Found the app gear unix user is still using /usr/bin/ss-trap-user
Reboot node, create app again, check /etc/passwd, this time, it works fine, it using /usr/bin/oo-trap-user login shell.
Should make the modification to node.conf take effect without reboot node.
We might solve this with documentation in the config files we ship.
For 1.1 we're going to spend time verifying our docs are correct.
To clarify, actually most node.conf settings do take effect immediately or at least quickly. But I have a todo outstanding to document those which don't (actually this is more oriented toward resource_limits.conf but it's all node conf).
I tested the actual thing reported, and a few others, and as far as I can see, when you change these things in node.conf, changes are reflected in the next app create, no restart of anything needed (with the exception of PUBLIC_HOSTNAME which needs a facter run to pick up at the broker).
A lot has changed since October. Can anyone verify there is still a problem here? Or we can just close.
I still need to document changing node profile but I think that's a separate issue.
Retest this bug with 1.1.x/2013-01-07.2 puddle, now it works fine.
So I close it as UPSTREAM.
1. In /etc/openshift/node.conf, modify the following line:
2. Create app
$ rhc app create wsgitest python-2.6 -p xx -l firstname.lastname@example.org -g medium --no-git
Gear Size: medium
Creating application 'wsgitest' ... done
Waiting for your DNS name to be available ... done
wsgitest @ http://wsgitest-jialiu.example.com/ (uuid: 617d8e6b422347a4bfafb5a13597c94f)
Created: 6:48 AM
Gear Size: medium
Git URL: ssh://email@example.com/~/git/wsgitest.git/
python-2.6 (Python 2.6)
Application wsgitest was created.
3. Check /etc/passwd on node
# cat /etc/passwd|grep 617d8e6b422347a4bfafb5a13597c94f