Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
a0c0ab8
Configure TLS on local Pulp
m-bull Jan 19, 2023
0ab0acb
Sets kolla_docker_registry_insecure to true (#297)
jovial Dec 29, 2022
1153160
adding alert for nf_conntrack
Alex-Welsh Jan 24, 2023
cd3208d
Cast pulp_enable_tls to bool everywhere
m-bull Jan 24, 2023
6903947
Expose pulp_port variable
m-bull Jan 24, 2023
7d6a6cb
Add releasenote
m-bull Jan 24, 2023
3ff9729
OSSA-2023-002: update cinder, glance & nova images for CentOS & Ubuntu
markgoddard Jan 25, 2023
a6c93b1
Merge pull request #358 from stackhpc/wallaby-OSSA-2023-002
markgoddard Jan 25, 2023
8e89ddb
Add timing information to tasks
m-bull Jan 25, 2023
e4f7154
Fix name of RabbitMQ HA flag in release note
priteau Jan 25, 2023
f59de34
Fix typo in release note
priteau Jan 25, 2023
1292f38
Merge pull request #361 from stackhpc/advise-reno
markgoddard Jan 26, 2023
81eaa1a
Merge pull request #360 from stackhpc/rabbitmq-ha-reno
markgoddard Jan 26, 2023
4cb709a
use haproxy_tag for glance_tls_proxy and neutron_tls_proxy
bbezak Jan 27, 2023
fb1b423
Merge pull request #363 from stackhpc/wallaby-tls-proxies
markgoddard Jan 30, 2023
12eeed4
Merge pull request #359 from stackhpc/profile-tasks
markgoddard Jan 31, 2023
a1c56bc
Merge pull request #351 from stackhpc/nf_conntrack-alert
Alex-Welsh Jan 31, 2023
078eecb
Add etcd image
markgoddard Jan 31, 2023
dc7db15
Merge pull request #367 from stackhpc/wallaby-etcd
markgoddard Jan 31, 2023
3694552
Add release note for etcd image
markgoddard Jan 31, 2023
a6dab96
Add container image tags for etcd
markgoddard Jan 31, 2023
a927911
Merge pull request #368 from stackhpc/wallaby-etcd
markgoddard Jan 31, 2023
76f5803
Fix growpart.yml custom playbook in Ansible check mode
markgoddard Jan 31, 2023
a5fc1fb
Magnum bump
darmach Jan 31, 2023
2ccb7bd
Merge pull request #369 from stackhpc/xena-growpart-checkmode
markgoddard Jan 31, 2023
bd91186
Multinode xena (#248)
jackhodgkiss Jan 31, 2023
347e889
MAgnum bump
darmach Jan 31, 2023
d712f0a
Merge pull request #370 from stackhpc/magnum-bump-wallaby
darmach Feb 1, 2023
521ae75
Merge pull request #371 from stackhpc/xena-magnum-bump
darmach Feb 1, 2023
f35e75d
Merge stackhpc/wallaby into stackhpc/xena
markgoddard Feb 1, 2023
f89768c
Add container image tags for etcd
markgoddard Jan 31, 2023
83542bb
Fix description of MySQL alert
priteau Feb 3, 2023
6415693
Merge branch 'stackhpc/xena' into local-pulp-tls
m-bull Feb 3, 2023
1a9e9f3
Merge pull request #375 from stackhpc/mysql-alert
priteau Feb 6, 2023
ebc3643
Merge pull request #343 from stackhpc/local-pulp-tls
markgoddard Feb 6, 2023
4364e6c
OSSA-2023-002: update cinder, glance & nova images for CentOS & Ubuntu
priteau Feb 7, 2023
4450877
Merge pull request #374 from stackhpc/xena-wallaby-merge
markgoddard Feb 7, 2023
01c63aa
Merge stackhpc/xena into stackhpc/yoga
markgoddard Feb 7, 2023
a372570
Add container image tags for etcd (yoga)
markgoddard Feb 7, 2023
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
4 changes: 4 additions & 0 deletions .automation.conf/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ if [ ! -z ${KAYOBE_ENVIRONMENT:+x} ]; then
# Seem to get servers failing to spawn with higher concurrency
export TEMPEST_CONCURRENCY=1
fi
if [[ "$KAYOBE_ENVIRONMENT" =~ "ci-multinode" ]]; then
export KAYOBE_AUTOMATION_TEMPEST_LOADLIST=tempest-full
export KAYOBE_AUTOMATION_TEMPEST_SKIPLIST=ci-multinode
fi
fi

if [[ -z "${KAYOBE_AUTOMATION_TEMPEST_CONF_OVERRIDES:+x}" ]] || [[ ! -e "${KAYOBE_AUTOMATION_TEMPEST_CONF_OVERRIDES}" ]]; then
Expand Down
1,601 changes: 1,601 additions & 0 deletions .automation.conf/tempest/load-lists/tempest-full

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .automation.conf/tempest/skip-lists/ci-multinode
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_subnet_details.*: "Cirros image doesn't have '/var/run/udhcpc.eth0.pid"
30 changes: 30 additions & 0 deletions .automation.conf/tempest/tempest-ci-multinode.overrides.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[DEFAULT]
openstack_client_http_timeout = 300

[auth]
compute_quotas = cores:-1,ram:-1

[identity]
v3_endpoint_type = publicURL

[compute]
min_compute_nodes = 2
min_microversion = 2.1
max_microversion = 2.88

[service-clients]
http_timeout = 600

[compute-feature-enabled]
resize = true
live_migration = true
block_migration_for_live_migration = false
volume_backed_live_migration = true
console_output = true

[volume]
min_microversion = 3.0
max_microversion = 3.66

[dashboard]
dashboard_url = http://192.168.39.2
2 changes: 2 additions & 0 deletions etc/kayobe/ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ stdout_callback = yaml
bin_ansible_callbacks = True
# Disable fact variable injection to improve performance.
inject_facts_as_vars = False
# Add timing information to output
callback_whitelist = ansible.posix.profile_tasks

[ssh_connection]
pipelining = True
9 changes: 1 addition & 8 deletions etc/kayobe/ansible/configure-vxlan.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: Configure VXLAN
hosts: storage,seed,controllers,compute
hosts: controllers,compute,seed,storage
gather_facts: false
vars:
ansible_user: "{{ bootstrap_user }}"
Expand All @@ -11,10 +11,3 @@
ansible_ssh_common_args: "-o StrictHostKeyChecking=no"
roles:
- role: stackhpc.vxlan
vars:
vxlan_phys_dev: "{{ admin_oc_net_name | net_interface }}"
vxlan_dstport: 4790
vxlan_interfaces:
- device: vxlan10
group: 224.0.0.10
bridge: breth1
23 changes: 23 additions & 0 deletions etc/kayobe/ansible/fix-hostname.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
- name: Fix hostname on storage nodes for cephadm
hosts: storage
gather_facts: false
vars:
ansible_user: "{{ bootstrap_user }}"
# We can't assume that a virtualenv exists at this point, so use the system
# python interpreter.
ansible_python_interpreter: /usr/bin/python3
# Work around no known_hosts entry on first boot.
ansible_ssh_common_args: "-o StrictHostKeyChecking=no"
tasks:
- name: Get current hostname
ansible.builtin.command:
cmd: hostname
changed_when: false
register: current_hostname

- name: Set hostname to a non FQDN
ansible.builtin.command:
cmd: hostnamectl set-hostname "{{ inventory_hostname }}"
when: current_hostname.stdout != inventory_hostname
become: true
21 changes: 21 additions & 0 deletions etc/kayobe/ansible/fix-networking.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
- name: Fix networking
hosts: seed,compute,controllers,storage
gather_facts: false
vars:
ansible_user: "{{ bootstrap_user }}"
# We can't assume that a virtualenv exists at this point, so use the system
# python interpreter.
ansible_python_interpreter: /usr/bin/python3
# Work around no known_hosts entry on first boot.
ansible_ssh_common_args: "-o StrictHostKeyChecking=no"
tasks:
- name: Ensure `hosts` file contains pulp entries
ansible.builtin.copy:
content: |
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.0.0.34 pelican pelican.service.compute.sms-lab.cloud
10.205.3.187 pulp-server pulp-server.internal.sms-cloud
dest: /etc/hosts
become: true
2 changes: 2 additions & 0 deletions etc/kayobe/ansible/growroot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
cmd: type growpart
changed_when: false
failed_when: false
check_mode: false
register: growpart_check
become: true

Expand All @@ -51,6 +52,7 @@
register: pvs
become: True
changed_when: False
check_mode: false

- name: Fail if root PV device not found
fail:
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/ansible/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
collections:
- name: stackhpc.cephadm
version: 1.10.0
version: 1.12.2
- name: stackhpc.pulp
version: 0.4.1
roles:
Expand Down
21 changes: 21 additions & 0 deletions etc/kayobe/containers/pulp/pre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,24 @@
dest: /opt/kayobe/containers/pulp/settings.py
mode: 0644
become: true

- name: Configure TLS for local Pulp
when: pulp_enable_tls | bool
become: true
block:
- name: Ensure /opt/kayobe/containers/pulp/certs exists
file:
path: "/opt/kayobe/containers/pulp/certs"
state: directory

- name: Copy TLS cert and key into container directory
template:
src: "{{ item.src }}"
dest: "/opt/kayobe/containers/pulp/certs/{{ item.dest }}"
mode: 0644
become: true
loop:
- src: "{{ pulp_cert_path }}"
dest: 'pulp_webserver.crt'
- src: "{{ pulp_key_path }}"
dest: 'pulp_webserver.key'
1 change: 1 addition & 0 deletions etc/kayobe/environments/ci-builder/stackhpc-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ kolla_enable_cinder: true
kolla_enable_cloudkitty: true
kolla_enable_designate: true
kolla_enable_elasticsearch_curator: true
kolla_enable_etcd: true
kolla_enable_grafana: true
kolla_enable_influxdb: true
kolla_enable_ironic: true
Expand Down
1 change: 1 addition & 0 deletions etc/kayobe/environments/ci-multinode/compute.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
compute_bootstrap_user: "{{ os_distribution if os_distribution == 'ubuntu' else 'cloud-user' }}"
# List of storage volume groups. See mrlesmithjr.manage-lvm role for
# format.
compute_lvm_groups:
Expand Down
1 change: 1 addition & 0 deletions etc/kayobe/environments/ci-multinode/controllers.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
controller_bootstrap_user: "{{ os_distribution if os_distribution == 'ubuntu' else 'cloud-user' }}"
# List of storage volume groups. See mrlesmithjr.manage-lvm role for
# format.
controller_lvm_groups:
Expand Down
2 changes: 2 additions & 0 deletions etc/kayobe/environments/ci-multinode/growroot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
growroot_group: "seed:overcloud"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
cephadm_host_labels: []
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
###############################################################################
# VXLAN configuration.

# These variables are used by stackhpc.vxlan to construct a VXLAN interface.
# The physical device that the VXLAN is plugged into.
vxlan_phys_dev: "{{ admin_oc_interface }}"

# Destination port used by the VXLAN interface. Note: OpenStack uses 4789.
vxlan_dstport: 4790

# Virtual network identifier used by the VLXAN. This must be unique between multinode environments.
vxlan_vni:

# This is a dictionary of interfaces to be created by the stackhpc.vxlan role.
vxlan_interfaces:
- device: "vxlan{{ vxlan_vni }}"
group: "{{ '239.0.0.0/8' | next_nth_usable(vxlan_vni) }}"
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
# List of extra LVs to include in the rootvg VG.
stackhpc_lvm_group_rootvg_lvs_extra:
- "{{ stackhpc_lvm_lv_docker }}"

###############################################################################
# StackHPC LVM Logical Volume (LV) configuration.

# StackHPC LVM lv_swap LV size.
stackhpc_lvm_lv_swap_size: 1g

# StackHPC LVM lv_root LV size.
stackhpc_lvm_lv_root_size: 10g

# StackHPC LVM lv_tmp LV size.
stackhpc_lvm_lv_tmp_size: 10g

# StackHPC LVM lv_var LV size.
stackhpc_lvm_lv_var_size: 20g

# StackHPC LVM lv_var_tmp LV size.
stackhpc_lvm_lv_var_tmp_size: 5g

# StackHPC LVM lv_log LV size.
stackhpc_lvm_lv_log_size: 10g

# StackHPC LVM lv_audit LV size.
stackhpc_lvm_lv_audit_size: 5g

# StackHPC LVM lv_home LV size.
stackhpc_lvm_lv_home_size: 5g

# StackHPC LVM lv_docker LV size.
stackhpc_lvm_lv_docker_size: 75%FREE
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
###############################################################################
# Network interface definitions for the controller group.
# Network interface definitions for the compute group.

admin_interface: eno1
admin_oc_interface: "eno1"

# Controller interface on all-in-one network.
aio_interface: breth1
# Use dummy1 if it exists, otherwise the bridge will have no ports.
aio_bridge_ports: []
internal_interface: "{{ vxlan_interfaces[0].device }}.{{ internal_vlan }}"

storage_interface: "{{ vxlan_interfaces[0].device }}.{{ storage_vlan }}"

tunnel_interface: "{{ vxlan_interfaces[0].device }}.{{ tunnel_vlan }}"

###############################################################################
# Dummy variable to allow Ansible to accept this file.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
# List of extra LVs to include in the rootvg VG.
stackhpc_lvm_group_rootvg_lvs_extra:
- "{{ stackhpc_lvm_lv_docker }}"

###############################################################################
# StackHPC LVM Logical Volume (LV) configuration.

# StackHPC LVM lv_swap LV size.
stackhpc_lvm_lv_swap_size: 1g

# StackHPC LVM lv_root LV size.
stackhpc_lvm_lv_root_size: 10g

# StackHPC LVM lv_tmp LV size.
stackhpc_lvm_lv_tmp_size: 10g

# StackHPC LVM lv_var LV size.
stackhpc_lvm_lv_var_size: 20g

# StackHPC LVM lv_var_tmp LV size.
stackhpc_lvm_lv_var_tmp_size: 5g

# StackHPC LVM lv_log LV size.
stackhpc_lvm_lv_log_size: 10g

# StackHPC LVM lv_audit LV size.
stackhpc_lvm_lv_audit_size: 5g

# StackHPC LVM lv_home LV size.
stackhpc_lvm_lv_home_size: 5g

# StackHPC LVM lv_docker LV size.
stackhpc_lvm_lv_docker_size: 75%FREE
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
###############################################################################
# Network interface definitions for the controller group.

admin_interface: eno1
admin_oc_interface: "eno1"

# Controller interface on all-in-one network.
aio_interface: breth1
# Use dummy1 if it exists, otherwise the bridge will have no ports.
aio_bridge_ports: []
internal_interface: "{{ vxlan_interfaces[0].device }}.{{ internal_vlan }}"

storage_interface: "{{ vxlan_interfaces[0].device }}.{{ storage_vlan }}"

tunnel_interface: "{{ vxlan_interfaces[0].device }}.{{ tunnel_vlan }}"

public_interface: "{{ vxlan_interfaces[0].device }}.{{ public_vlan }}"

###############################################################################
# Dummy variable to allow Ansible to accept this file.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
# List of extra LVs to include in the rootvg VG.
stackhpc_lvm_group_rootvg_lvs_extra:
- "{{ stackhpc_lvm_lv_docker }}"

###############################################################################
# StackHPC LVM Logical Volume (LV) configuration.

# StackHPC LVM lv_swap LV size.
stackhpc_lvm_lv_swap_size: 1g

# StackHPC LVM lv_root LV size.
stackhpc_lvm_lv_root_size: 10g

# StackHPC LVM lv_tmp LV size.
stackhpc_lvm_lv_tmp_size: 10g

# StackHPC LVM lv_var LV size.
stackhpc_lvm_lv_var_size: 20g

# StackHPC LVM lv_var_tmp LV size.
stackhpc_lvm_lv_var_tmp_size: 5g

# StackHPC LVM lv_log LV size.
stackhpc_lvm_lv_log_size: 10g

# StackHPC LVM lv_audit LV size.
stackhpc_lvm_lv_audit_size: 5g

# StackHPC LVM lv_home LV size.
stackhpc_lvm_lv_home_size: 5g

# StackHPC LVM lv_docker LV size.
stackhpc_lvm_lv_docker_size: 75%FREE
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
---
###############################################################################
# Network interface definitions for the controller group.
# Network interface definitions for the seed group.

admin_interface: eth0
admin_oc_interface: "{{ 'ens2' if os_distribution == 'ubuntu' else 'ens3' }}"

provision_oc_interface: "{{ vxlan_interfaces[0].device}}.{{ provision_oc_vlan }}"

external_interface: "{{ vxlan_interfaces[0].device }}.{{ external_vlan }}"

public_interface: "{{ vxlan_interfaces[0].device }}.{{ public_vlan }}"

# Controller interface on all-in-one network.
aio_interface: breth1
# Use dummy1 if it exists, otherwise the bridge will have no ports.
aio_bridge_ports: []
###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes
Loading