|Issue Type:||New Feature|
|Priority:||4 - Normal|
|Created by:||Pedro P. Candel|
|Reported by:||Pedro P. Candel|
|Assigned to:||Pedro P. Candel|
Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2020-09-01T19:55:59.490Z)
2020-10-08 calmer than you are (Release Date: 2020-10-08)
In order to provide Triton's DataCenter configuration details to a given Linux CN, we need a file called
node.config traditionally located at
/var/tmp/node.config/node.config for SmartOS CN.
This file is part of the global zone tools we can update across the whole DC setup using
sdcadm experimental update-gz-tools.
Then, the file is used by tools like
/lib/sdc/config.sh to provide context information required by the different Triton components regarding the whole DC setup, like SAPI address, VMAPI, CNAPI info for agents, ...
There's a default value for this file contents located at
/opt/smartdc/config/node.config for SmartOS CNs. For Linux CNs, following current conventions, the file should be at
As a first take, we'll try to provide this file through booter, given it's already available into the assets zone so, it shouldn't be too painful.
sdcadm commit b1617678c8619fa1bc58dcbd000d085dd2da7bad (branch master, by Pedro Palazón Candel)
TRITON-2160 Need a way to provide node.config for Linux CNs (#73)
Make the change effective for existing dhcpd zones.
sdc-booter commit 4d6136d7204525fc0c811dab22b921cd51e42692 (branch master, by Pedro Palazón Candel)
TRITON-2160 Need a way to provide node.config for Linux CNs (#21)
Still need to merge linuxcn branch of sdc-headnode. Otherwise, this is done.
linux-live commit 472fb61c065830aaa59451f40d76f274420bfc04 (branch master, by Pedro Palazón Candel)
TRITON-2160 Added node.config file to /usr/triton/config (it comes from PXE boot)