File tree Expand file tree Collapse file tree 5 files changed +21
-2
lines changed Expand file tree Collapse file tree 5 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -264,6 +264,16 @@ jobs:
264
264
run : |
265
265
docker image pull $KAYOBE_IMAGE
266
266
267
+ - name : Reboot
268
+ run : |
269
+ docker run -t --rm \
270
+ -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
271
+ -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
272
+ ${{ steps.kayobe_image.outputs.kayobe_image }} \
273
+ /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible/reboot.yml -e reboot_with_bootstrap_user=true
274
+ env :
275
+ KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
276
+
267
277
- name : Run growroot
268
278
run : |
269
279
docker run -t --rm \
Original file line number Diff line number Diff line change 2
2
- name : Reboot the host
3
3
hosts : seed-hypervisor:seed:overcloud:infra-vms
4
4
serial : " {{ lookup('env', 'ANSIBLE_SERIAL') | default(1, true) }}"
5
+ vars :
6
+ reboot_with_bootstrap_user : false
7
+ ansible_user : " {{ bootstrap_user if reboot_with_bootstrap_user else 'stack' }}"
5
8
tags :
6
9
- reboot
7
10
tasks :
8
11
- name : Reboot and wait
9
12
become : true
10
13
reboot :
14
+ ansible_user :
Original file line number Diff line number Diff line change @@ -6,3 +6,6 @@ kolla_image_tags:
6
6
openstack :
7
7
rocky-9 : 2024.1-rocky-9-20240725T165045
8
8
ubuntu-jammy : 2024.1-ubuntu-jammy-20240725T165045
9
+ heat :
10
+ rocky-9 : 2024.1-rocky-9-20240805T142526
11
+ ubuntu-jammy : 2024.1-ubuntu-jammy-20240805T142526
Original file line number Diff line number Diff line change @@ -145,7 +145,8 @@ stackhpc_kolla_source_version: "stackhpc/{{ openstack_release }}"
145
145
146
146
# Kolla Ansible source repository.
147
147
stackhpc_kolla_ansible_source_url : " https://github.com/stackhpc/kolla-ansible"
148
- stackhpc_kolla_ansible_source_version : " stackhpc/{{ openstack_release }}"
148
+ # stackhpc_kolla_ansible_source_version: "stackhpc/{{ openstack_release }}"
149
+ stackhpc_kolla_ansible_source_version : " fix-prometheus"
149
150
150
151
# ##############################################################################
151
152
# Container image registry
Original file line number Diff line number Diff line change @@ -92,7 +92,8 @@ resource "null_resource" "kayobe-aio" {
92
92
93
93
inline = [
94
94
" #!/bin/sh" ,
95
- " echo 'connected!'"
95
+ " echo 'connected!'" ,
96
+ " sudo hostnamectl set-hostname $(sed s/.novalocal// /etc/hostname)"
96
97
]
97
98
}
98
99
}
You can’t perform that action at this time.
0 commit comments