Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
b9746b1
Adds Rocky 8 repository config for local pulp (#146)
jovial Aug 31, 2022
422be9f
Update docker baseurl to work with Rocky 8 (#153)
jovial Sep 1, 2022
c23604d
Adding seed_extra_containers to support redfish and wireguard
Sep 14, 2022
6896664
Merge pull request #159 from stackhpc/gkoper-extra-containers
markgoddard Sep 14, 2022
11bf9fc
cephadm: Bump collection to 1.8.0
markgoddard Sep 20, 2022
e90ade1
cephadm: use admin overcloud network for SSH access
markgoddard Sep 20, 2022
33172be
cephadm: sync only a specific container image tag
markgoddard Sep 20, 2022
608d423
Prevent failures when dhclient is not running
priteau Sep 21, 2022
72cfdbc
Merge pull request #163 from stackhpc/xena-ceph-fixes
markgoddard Sep 21, 2022
d37705d
Merge pull request #164 from stackhpc/killall-dhclient
markgoddard Sep 21, 2022
8abcbc9
Cephadm: Remove leading tabs from generated ceph.conf
markgoddard Sep 21, 2022
6ecce51
Merge pull request #165 from stackhpc/xena-ceph-fixes
markgoddard Sep 21, 2022
65ca434
Cephadm: Fix keyring generation
markgoddard Sep 21, 2022
85587ac
Merge pull request #166 from stackhpc/xena-ceph-fixes
markgoddard Sep 21, 2022
58e2fe2
Bump pulp-repo-versions to latest of 1st Sep 22
mnasiadka Sep 1, 2022
1f56388
Bump OVN to 22.06 and OVS to 2.17
mnasiadka Sep 1, 2022
b602e67
opstools: update url to 8-stream instead of 8
mnasiadka Sep 1, 2022
471281a
opstools: fix all references to match xena
markgoddard Sep 1, 2022
2aedd4a
Add new docker tag
mnasiadka Sep 14, 2022
f8d6ad9
Add OVS overrides to Nova/Neutron/Octavia
mnasiadka Sep 16, 2022
b3707e3
Adapt existing OVS customizations
mnasiadka Sep 16, 2022
93af049
Add ovs override for nova_compute
mnasiadka Sep 19, 2022
5246f2b
removing hashed tags
Sep 21, 2022
c3ef459
Adding bifrost tag and logic, to build seed containers
Sep 21, 2022
52e75e8
ending if statement
Sep 21, 2022
9e5bdda
syntax fix
Sep 21, 2022
08f59a3
Merge pull request #161 from stackhpc/wallaby_bump_snapshot_01092022
markgoddard Sep 21, 2022
4b695f5
Ceph: add a trailing newline to ceph.conf
markgoddard Sep 21, 2022
205d44d
Merge pull request #167 from stackhpc/xena-ceph-fixes
markgoddard Sep 21, 2022
49d8e80
bumping bifrost_tag to latest built
Sep 22, 2022
4c85033
Merge pull request #169 from stackhpc/bifrost_seed_bump
grzegorzkoper Sep 22, 2022
1ed4941
Removing unused Ceph Nautilus repositories
Sep 23, 2022
302cd71
Merge pull request #170 from stackhpc/repo-versions-cleanup
grzegorzkoper Sep 23, 2022
d5285ef
Changing the tag to latest promoted
Sep 26, 2022
d2504ed
Merge pull request #171 from stackhpc/tag_fix
grzegorzkoper Sep 26, 2022
8ec7fc6
Prevent 'base' type images from syncing / publishing
cityofships Sep 29, 2022
7177a07
Merge pull request #176 from stackhpc/xena_reduce
markgoddard Oct 3, 2022
a25dbaa
Prevent failures when dhclient is not running
priteau Sep 21, 2022
7408b44
Merge pull request #180 from stackhpc/xena_ci_fix
markgoddard Oct 5, 2022
21f1707
Let Ansible Galaxy handle dependencies
cityofships Sep 29, 2022
1f687fc
Bump up the Cephadm collection version
cityofships Sep 29, 2022
0b9630f
Bump repos to the same versions as Wallaby
mnasiadka Sep 28, 2022
0d234c2
Merge stackhpc/wallaby into stackhpc/xena
markgoddard Oct 5, 2022
ac99e01
Remove duplicate opstools repo
markgoddard Oct 5, 2022
c9c556d
Merge pull request #173 from stackhpc/xena_bump_repos_310822
markgoddard Oct 5, 2022
13bf15b
Merge branch 'stackhpc/xena' into xena-wallaby-merge
markgoddard Oct 5, 2022
b039683
Merge pull request #181 from stackhpc/xena-wallaby-merge
markgoddard Oct 5, 2022
4f51caa
Merge pull request #174 from stackhpc/xena_deps
markgoddard Oct 5, 2022
e8aa86b
Xena: Add system logging custom playbook
cityofships Sep 29, 2022
9cc3ec7
Merge pull request #175 from stackhpc/xena_rsyslog
markgoddard Oct 10, 2022
97348ee
Merge stackhpc/xena into stackhpc/yoga
markgoddard Oct 10, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions etc/kayobe/ansible/cephadm-gather-keys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
- name: Get Ceph keys
stackhpc.cephadm.cephadm_key:
name: "{{ item }}"
output_format: plain
state: info
register: cephadm_key_info
become: true
Expand All @@ -49,10 +50,12 @@
- name: Save Ceph keys to Kayobe configuration
vars:
key_info: "{{ cephadm_key_info.results | selectattr('item', 'equalto', item.1) | first }}"
cephadm_key: "{{ (key_info.stdout | from_json | first)['key'] }}"
cephadm_user: "{{ (key_info.stdout | from_json | first)['entity'] }}"
cephadm_key: "{{ key_info.stdout }}"
cephadm_user: "{{ item.1 }}"
copy:
content: "{{ cephadm_key }}"
# Include a trailing newline.
content: |
{{ cephadm_key }}
dest: "{{ kayobe_env_config_path }}/kolla/config/{{ kolla_service_to_key_dir[item.0.name] }}/ceph.{{ cephadm_user }}.keyring"
loop: "{{ query('subelements', kolla_ceph_services | selectattr('required'), 'keys') }}"
loop_control:
Expand All @@ -64,7 +67,10 @@

- name: Save ceph.conf to Kayobe configuration
copy:
content: "{{ cephadm_ceph_conf.stdout }}"
# Include a trailing newline.
# Kolla Ansible's merge_configs module does not like the leading tabs in ceph.conf.
content: |
{{ cephadm_ceph_conf.stdout | regex_replace('\t') }}
dest: "{{ kayobe_env_config_path }}/kolla/config/{{ kolla_service_to_conf_dir[item.0.name] }}/ceph.conf"
loop: "{{ query('subelements', kolla_ceph_services | selectattr('required'), 'keys') }}"
loop_control:
Expand Down
36 changes: 36 additions & 0 deletions etc/kayobe/ansible/rsyslog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
# Custom playbook to configure rsyslog to forward operating system logs to
# fluentd, eventually reaching Kolla's Elasticsearch cluster.
#
# Variables:
# * rsyslog_group: Host pattern against which to target the playbook. Default
# is 'overcloud'.

- name: Configure rsyslog to forward messages
hosts: "{{ rsyslog_group | default('overcloud') }}"
become: yes

tasks:
- name: Ensure rsyslog is installed
package:
name: rsyslog
state: present

- name: Ensure rsyslog is started and enabled
systemd:
state: started
enabled: yes
name: rsyslog

- name: Update rsyslog configuration
lineinfile:
path: /etc/rsyslog.conf
insertafter: "^#*.* @@remote-host:514"
line: "*.* @{{ internal_net_name | net_ip }}:5140"
register: rsyslog_config

- name: Restart rsyslog
systemd:
state: restarted
name: rsyslog
when: rsyslog_config.changed
3 changes: 3 additions & 0 deletions etc/kayobe/cephadm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ cephadm_registry_username: "{{ stackhpc_docker_registry_username }}"
# Ceph container image registry password.
cephadm_registry_password: "{{ stackhpc_docker_registry_password }}"

# Cephadm admin network interface.
cephadm_admin_interface: "{{ admin_oc_net_name | net_interface }}"

# Ceph public network interface.
cephadm_public_interface: "{{ storage_net_name | net_interface }}"

Expand Down
Empty file.
2 changes: 1 addition & 1 deletion etc/kayobe/kolla/globals.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# yamllint disable-file
---
docker_yum_baseurl: "{{ stackhpc_repo_docker_url }}"
docker_yum_gpgkey: "https://download.docker.com/linux/{% raw %}{{ ansible_facts.distribution | lower }}{% endraw %}/gpg"
docker_yum_gpgkey: "https://download.docker.com/linux/centos/gpg"

{% if kolla_base_distro == 'centos' %}
bifrost_tag: yoga-20220831T122627
Expand Down
11 changes: 8 additions & 3 deletions etc/kayobe/pulp-repo-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ stackhpc_pulp_repo_mariadb_10_6_centos8_version: 20220819T111114
stackhpc_pulp_repo_rabbitmq_erlang_version: 20220828T050510
stackhpc_pulp_repo_rabbitmq_server_version: 20220803T043053
stackhpc_pulp_repo_treasuredata_4_version: 20220823T042339
stackhpc_pulp_repo_ubuntu_cloud_archive_version: 20220830T054227
stackhpc_pulp_repo_ubuntu_focal_security_version: 20220830T054227
stackhpc_pulp_repo_ubuntu_focal_version: 20220830T054227
stackhpc_pulp_repo_ubuntu_cloud_archive_version: 20220804T040153
stackhpc_pulp_repo_ubuntu_focal_security_version: 20220804T040153
stackhpc_pulp_repo_ubuntu_focal_version: 20220804T040153
stackhpc_pulp_repo_rocky_8_6_appstream_version: "20220606T111205"
stackhpc_pulp_repo_rocky_8_6_baseos_version: "20220606T111205"
stackhpc_pulp_repo_rocky_8_6_extras_version: "20220606T111205"
stackhpc_pulp_repo_rocky_8_6_nfv_version: "20220606T111205"
stackhpc_pulp_repo_rocky_8_6_powertools_version: "20220606T111205"
Loading