Skip to content

Commit b793f1f

Browse files
committed
display peadm config before and after node manager config
1 parent 8ad4fdf commit b793f1f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/test-failover.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ jobs:
185185
# Swap primary and replica nodes
186186
sed -i.sedbak 's/primary/__tmp__/;s/spare-replica/__tmp2__/;s/replica/primary/;s/__tmp__/replica/;s/__tmp2__/replica/' \
187187
spec/fixtures/litmus_inventory.yaml
188+
echo ::group::info:inventory
189+
sed -e 's/password: .*/password: "[redacted]"/' < spec/fixtures/litmus_inventory.yaml || true
190+
echo ::endgroup::
188191
189192
- name: 'Upgrade PE on test cluster'
190193
if: ${{ success() && github.event.inputs.version_to_upgrade != '' }}

plans/upgrade.pp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@
255255
},
256256
)
257257

258+
# Show the peadm configuration before node manager setup
259+
run_task('peadm::get_peadm_config', $primary_target)
260+
258261
# Update classification. This needs to be done now because if we don't, and
259262
# the PE Compiler node groups are wrong, then the compilers won't be able to
260263
# successfully classify and update
@@ -275,6 +278,9 @@
275278
require => Class['peadm::setup::node_manager_yaml'],
276279
}
277280
}
281+
282+
# Show the peadm configuration after node manager setup
283+
run_task('peadm::get_peadm_config', $primary_target)
278284
}
279285

280286
peadm::plan_step('upgrade-primary-compilers') || {

0 commit comments

Comments
 (0)