Skip to content

Stop the node_id placeholder looking like a real node - #41

Closed
Purple10101 wants to merge 1 commit into
mainfrom
20260921-node-id-schema-v2
Closed

Purple10101 wants to merge 1 commit into
mainfrom
20260921-node-id-schema-v2

Conversation

@Purple10101

Copy link
Copy Markdown
Collaborator

Part 5 of 5, with owl-os#59, retina-telemetry#20, node-infra#8 and retina-gui#93. The smallest of the five.

Why

network.node_id shipped as "ret000000000". That is close enough to a real id to be read as a live node in a config dump, while being identical on every node in the fleet. It also matches neither format: not ret + 8 hex, and not the retg + 15 hex that replaces it.

config-merger overwrites this from /data/mender/node_id on every merge, and nothing derives an identity from node config, so the value is only ever a placeholder between first boot and the first merge. "unset" says that, and the comment explains why it deliberately does not look like an id.

retina-telemetry's collect/identity.py carries a landmine note about this exact string; that note is updated in retina-telemetry#20.

Verified

Both config files parse, network.node_id reads 'unset', and nothing in the repo references the old value.

Not verified

The config-merger test suite does not run here — mergedeep is not installed in this environment. Pre-existing, unrelated to this change, and the change is one value plus a comment in a default config that nothing reads for identity.

Note for the reviewer

TELEMETRY_V is not bumped here. That comes in Wave 1 of the rollout, once retina-telemetry#20 has been tagged and published to GHCR.

🤖 Generated with Claude Code

network.node_id shipped as "ret000000000", which is close enough to a real id
to be read as a live node in a config dump while being identical on every node
in the fleet. It matches neither the ret + 8 hex format nor the retg + 15 hex
one that replaces it.

config-merger overwrites this from /data/mender/node_id on every merge and
nothing derives an identity from node config, so the value is only ever a
placeholder between first boot and the first merge. "unset" says that.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Purple10101

Copy link
Copy Markdown
Collaborator Author

Closing: this work is not being taken forward. The branch is deleted, but the commits stay reachable from this closed PR if it is ever revived.

@Purple10101
Purple10101 deleted the 20260921-node-id-schema-v2 branch September 23, 2026 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant