baremetal node get system uuid
$ openstack baremetal introspection data save 9dcc87ae-4c6d-4ede-81a5-9b20d7dc4a14 | jq .extra.system.product.uuid "F5055C6C-477F-47FB-AFE5-95C6928C407F"
이 값을 이용하여 heat template의 노드별 설정값을 별도로 지정할 수 있다.
resource_registry:
OS::TripleO::ComputeExtraConfigPre: /usr/share/openstack-tripleo-heat-templates/puppet/extraconfig/pre_deploy/per_node.yaml
parameter_defaults:
NodeDataLookup: '{"F5055C6C-477F-47FB-AFE5-95C6928C407F": {"nova::compute::vcpu_pin_set": [ "2", "3" ]}}'
또는 각 노드의 NIC 설정을 지정할 수 있다.
resource_registry:
OS::TripleO::NodeUserData: /usr/share/openstack-tripleo-heat-templates/firstboot/os-net-config-mappings.yaml
parameter_defaults:
NetConfigDataLookup:
control0:
dmiString: 'system-uuid'
id: 'd1259a88-6d31-11ec-860f-3a68dd6cbf33'
nic1: "enp1s0"
nic2: "enp2s0"
nic3: "enp3s0"
nic4: "enp9s0"
nic5: "enp10s0"