-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Milestone
Description
Right now, we let you set the target release to itself, meaning that you get sequential rows in target_release like this:
root@[fd00:1122:3344:102::3]:32221/omicron> select * from target_release;
generation | time_requested | release_source | tuf_repo_id
-------------+-------------------------------+----------------+---------------------------------------
1 | 2025-09-28 16:19:22.979405+00 | unspecified | NULL
2 | 2025-09-28 20:42:05.109875+00 | system_version | b7ea8d3d-0859-44c4-bc85-e4316c0d7b4d
3 | 2025-09-28 20:54:14.246325+00 | system_version | 1e34627d-5676-4f6b-9910-a440a058981c
4 | 2025-09-28 21:29:15.411675+00 | system_version | 6b0eba98-9e5e-4914-a152-04e0f9eef5d7
5 | 2025-09-28 23:36:42.313402+00 | system_version | 6b0eba98-9e5e-4914-a152-04e0f9eef5d7
6 | 2025-09-29 03:23:28.556873+00 | system_version | a69572a0-52c3-43a4-b8c0-77709b2fb77e
(6 rows)
We expect this in the case of a MUPdate -- the operator has to re-establish their intent, even if it's the same release. But I'm not sure we want to allow this all the time. We could check the target blueprint to see if its min_generation is at least as new as the current one. If not, there's no reason to allow this.
Metadata
Metadata
Assignees
Labels
No labels