-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Problem Statement
We want to pass custom metadata (like Slurm configuration, node roles, ownership info) to nodes during boot. We're using the extra_config field in nodes.yaml, but it's unclear if this data is stored in SMD and accessible to nodes via cloud-init.
Current Situation
We define custom fields in nodes.yaml:
nodes:
- name: slurmcontrol
xname: x1000c0s0b0n0
nid: 1
group: slurm_control_node_x86_64
extra_config:
slurm:
debug_partition: true
partition_name: debug
custom:
owner: hpc-team
rack: rack01
interfaces:
- mac_addr: c4:cb:e1:cb:26:f2
ip_addrs:
- name: management
ip_addr: 172.16.255.10
- name: testnode01
xname: x1000c0s0b4n0
nid: 5
group: slurm_node_x86_64
tags:
- role:compute
- rack:rack02
- gpu:false
extra_config:
slurm:
debug_partition: true
custom:
owner: test-team
interfaces:
- mac_addr: aa:bb:cc:dd:ee:01
ip_addrs:
- name: management
ip_addr: 172.16.255.55Questions for Maintainers
-
Is
extra_configcurrently supported innodes.yaml?- Does
ochami discoverparse and store it?
- Does
-
Where is it stored?
- SMD Component
ExtraPropertiesfield? - Separate database table?
- Not stored at all?
- SMD Component
-
How to retrieve it?
- Via
ochami smd component get? - Via direct SMD API call?
- Not currently retrievable?
- Via
-
Is it exposed to nodes?
- Via cloud-init metadata?
- Via cloud-init groups?
- Not currently exposed?
-
What about the
tagsfield?- Same questions as above
-
If not currently supported, is this a planned feature?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels