Skip to content

Commit e0a4a74

Browse files
committed
update mupdate-update-flow test
1 parent de2d561 commit e0a4a74

File tree

2 files changed

+825
-168
lines changed

2 files changed

+825
-168
lines changed

dev-tools/reconfigurator-cli/tests/input/cmds-mupdate-update-flow.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,33 @@ blueprint-diff latest
123123
# planner starts working.
124124
sled-set serial1 mupdate-override unset
125125
inventory-generate
126+
127+
# This will attempt to update the first sled's host OS. Walk through that update
128+
# and the host OS of the two other sleds.
126129
blueprint-plan latest latest
127130
blueprint-show latest
128131
blueprint-diff latest
132+
sled-update-host-phase2 serial0 --boot-disk B --slot-b 0c0362b640cece5b9a5e86d8fa683bd2eb84c3e7f90731f597197d604ffa76e3
133+
sled-update-host-phase1 serial0 --active B --slot-b 44714733af7600b30a50bfd2cbaf707ff7ee9724073ff70a6732e55a88864cf6
134+
inventory-generate
135+
136+
# Second sled host OS
137+
blueprint-plan latest latest
138+
blueprint-diff latest
139+
sled-update-host-phase2 serial1 --boot-disk B --slot-b 0c0362b640cece5b9a5e86d8fa683bd2eb84c3e7f90731f597197d604ffa76e3
140+
sled-update-host-phase1 serial1 --active B --slot-b 44714733af7600b30a50bfd2cbaf707ff7ee9724073ff70a6732e55a88864cf6
141+
inventory-generate
142+
143+
# Third sled host OS
144+
blueprint-plan latest latest
145+
blueprint-diff latest
146+
sled-update-host-phase2 serial2 --boot-disk B --slot-b 0c0362b640cece5b9a5e86d8fa683bd2eb84c3e7f90731f597197d604ffa76e3
147+
sled-update-host-phase1 serial2 --active B --slot-b 44714733af7600b30a50bfd2cbaf707ff7ee9724073ff70a6732e55a88864cf6
148+
inventory-generate
149+
150+
# All host OS updates complete
151+
blueprint-plan latest latest
152+
blueprint-diff latest
129153

130154
# Test that the add-zones-with-mupdate-override chicken switch works as
131155
# expected. We do this by:

0 commit comments

Comments
 (0)