This repository has been archived by the owner on Jan 8, 2019. It is now read-only.
node['bcpc']['node_number']
is not derived from cluster_def node_id
#1191
Labels
We have taken to setting node_id in cluster.txt, and some code relies on those node IDs. Unfortunately, those node IDs are at no point copied into node objects, so older code that relies on
node[:bcpc][:node_number]
will get a bogus value derived from the MAC address.This is particularly dangerous on Zookeeper clusters, where one value is used for the zoo.cfg cluster definition, and the other value is used for the
myid
file.For now we can work around this issue by copying the values in chef-shell after chef installation but before cheffing nodes:
At some point we need to really fix this.
The text was updated successfully, but these errors were encountered: