Skip to content

Commit 4743ffd

Browse files
ragingraNeil Anderson
and
Neil Anderson
authored
(PE-38736) Adding puppet run after primary upgrade (#454)
* (PE-38736) Adding puppet run after primary upgrade Running into issue that not all services relating to Orchestrator are fully started after upgrade to 2023.7. ie pe-host-action-collector. This is then meaning that the upgrade of the other hosts cant be completed. * Adding 2023 to upgrade tests --------- Co-authored-by: Neil Anderson <[email protected]>
1 parent e0e8aab commit 4743ffd

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/test-upgrade-matrix.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929

3030
jobs:
3131
test-upgrade:
32-
name: "PE ${{ matrix.version }} ${{ matrix.architecture }} on ${{ matrix.image }}"
32+
name: "PE ${{ matrix.version }} to ${{ matrix.version_to_upgrade }} ${{ matrix.architecture }} on ${{ matrix.image }}"
3333
runs-on: ubuntu-20.04
3434
env:
3535
BOLT_GEM: true
@@ -43,12 +43,19 @@ jobs:
4343
- 'extra-large-with-dr'
4444
version:
4545
- '2019.8.12'
46+
- '2021.7.8'
4647
version_to_upgrade:
4748
- '2021.7.8'
49+
- '2023.7.0'
4850
image:
4951
- 'almalinux-cloud/almalinux-8'
5052
download_mode:
5153
- 'direct'
54+
exclude:
55+
- version: '2019.8.12'
56+
version_to_upgrade: '2023.7.0'
57+
- version: '2021.7.8'
58+
version_to_upgrade: '2021.7.8'
5259

5360
steps:
5461
- name: 'Start SSH session'

plans/upgrade.pp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,9 @@
263263
$primary_target,
264264
$primary_postgresql_target,
265265
]))
266+
267+
# Running again to ensure that the primary is fully upgraded
268+
run_task('peadm::puppet_runonce', $primary_target)
266269
}
267270

268271
peadm::plan_step('upgrade-node-groups') || {

0 commit comments

Comments
 (0)