Bug 7084 - Explicit MAC->IP mappings are ignored after service restart
: Explicit MAC->IP mappings are ignored after service restart
Status: RESOLVED FIXED
: Nimbus
Workspace service
: 2.5
: PC All
: P3 normal
: 2.6
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2010-08-06 16:30 by
Modified: 2010-09-30 18:11 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2010-08-06 16:30:18
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.
------- Comment #1 From 2010-08-06 16:47:01 -------
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/*

.....
------- Comment #2 From 2010-09-30 18:11:14 -------
A fix for this issue was committed to master:

http://github.com/nimbusproject/nimbus/commit/456b63bf4968cb5288ea492fcaaf7d9ffbba877c