Bugzilla – Bug 7084
Explicit MAC->IP mappings are ignored after service restart
Last modified: 2010-09-30 18:11:14
You need to log in before you can comment on or make changes to this bug.
After the network-pools file is modified, explicit MAC mappings are loaded on the next service boot. However subsequent boots will disregard these mappings and generate new ones, unless the network pools file has been modified again. A workaround is to touch the network pools file before each service restart.
You can embed a workaround into the container startup script, $NIMBUS_HOME/libexec/run-services.sh Add the following at line 6: touch $NIMBUS_HOME/services/etc/nimbus/workspace-service/network-pools/* So, for example: #!/bin/bash NIMBUS_HOME_REL="`dirname $0`/.." NIMBUS_HOME=`cd $NIMBUS_HOME_REL; pwd` touch $NIMBUS_HOME/services/etc/nimbus/workspace-service/network-pools/* .....
A fix for this issue was committed to master: http://github.com/nimbusproject/nimbus/commit/456b63bf4968cb5288ea492fcaaf7d9ffbba877c