You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolve the active root from the committed generation PARTUUID and find
its peer by GPT partition type, so repeated systemd-sysupdate operations
do not depend on mutable labels. Fail closed on ambiguous layouts and
exercise upgrade, rollback, and repeated staging in the
installed-runtime VM journey.
returnrootSlots{}, fmt.Errorf("find inactive root slot: found %d root partitions with type %q on %s, want 2", len(rootDevices), activeType, activeDisk)
291
+
}
292
+
inactive:=""
293
+
activeFound:=false
294
+
for_, device:=rangerootDevices {
295
+
ifdevice==active {
296
+
activeFound=true
297
+
continue
298
+
}
299
+
inactive=device
300
+
}
301
+
if!activeFound||inactive=="" {
302
+
returnrootSlots{}, fmt.Errorf("find inactive root slot: active device %s is not one of %v", active, rootDevices)
t.Log("host upgradeand rollback are serialized per node in v0.1; multi-node rollout orchestration remains operator-controlled")
193
+
t.Log("host upgrade, rollback, and repeated upgrade staging are serialized per node in v0.1; multi-node rollout orchestration remains operator-controlled")
0 commit comments