Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
4d574f9
Bump rocky snapshot
jovial Sep 20, 2022
29ac538
Adds OFED 5.7.x
jovial Sep 20, 2022
762d80e
Use output from release train
jovial Sep 20, 2022
8adf063
Rocky 8: Install a compatible version of ansible in the kolla venv
jovial Aug 31, 2022
6b2de22
Update etc/kayobe/kolla.yml
jovial Aug 31, 2022
f385b6e
Merge pull request #154 from stackhpc/feature/wallaby/rocky8-kolla-venv
markgoddard Oct 10, 2022
61b5070
Enable Kolla features
cityofships Oct 3, 2022
6940e0e
Elasticsearch memory tuning
cityofships Oct 5, 2022
a8deca1
Add standard alerting rules and dashboards
cityofships Oct 5, 2022
5b7330f
Use sane defaults for basic monitoring stack
cityofships Oct 5, 2022
9a9efd2
Consider agents that are auto-downed
jovial Sep 30, 2022
77a5717
Terraform aio: reorder KAYOBE_ENVRIONMENT export
markgoddard Oct 12, 2022
47cf99a
Adds Rocky 8 pulp repositories to dnf.yml (#152)
jovial Oct 14, 2022
ff63d8e
Merge pull request #188 from stackhpc/tf-readme-reorder
markgoddard Oct 19, 2022
7272f84
Removing the conditional. Forcing pvresize
grzegorzkoper Oct 19, 2022
8810a88
Hashing out previously used conditional.
grzegorzkoper Oct 19, 2022
670aca0
Indicate source of the alert rules
cityofships Oct 20, 2022
916a936
Add monitoring group
cityofships Oct 20, 2022
948d82a
Merge pull request #204 from stackhpc/cherry_pick_growroot
grzegorzkoper Oct 20, 2022
56911ce
Use shorter regexp for catching physical network cards
cityofships Oct 20, 2022
6b5d1ca
Build Grafana with additional panel plugin
cityofships Oct 20, 2022
c536ec8
changing release to point to latest build
grzegorzkoper Oct 24, 2022
ceccb59
dropping not needed overrides
grzegorzkoper Oct 24, 2022
22db7ee
Merge pull request #207 from stackhpc/tag_change
markgoddard Oct 24, 2022
82287c2
CI: prune images over 1 week old on aio runner
markgoddard Oct 25, 2022
e9cffe9
Merge pull request #208 from stackhpc/wallaby-ci-aio-prune
markgoddard Oct 25, 2022
dd50e66
Merge branch 'stackhpc/xena' into xena_monitoring
markgoddard Oct 27, 2022
0412d7e
Build Grafana with additional panel plugin
cityofships Oct 20, 2022
5412b5b
Merge pull request #162 from stackhpc/version-bump/rocky
markgoddard Oct 31, 2022
190e83c
Merge pull request #179 from stackhpc/xena_monitoring
markgoddard Oct 31, 2022
278da41
Add basic docs template structure
Oct 31, 2022
05df5fa
Add basic docs template structure
Oct 31, 2022
debe0d6
Add basic docs template structure
Oct 31, 2022
020e29f
Add basic docs template structure
Oct 31, 2022
0ae82c3
Remove openstack reference
Oct 31, 2022
32d3c79
Changes based on Mark's comments
Nov 1, 2022
4bb8ffd
Merge pull request #212 from stackhpc/docs-template
markgoddard Nov 1, 2022
c8f3309
Merge stackhpc/wallaby into stackhpc/xena
markgoddard Nov 2, 2022
23820c4
Revert "Rocky 8: Install a compatible version of ansible in the kolla…
markgoddard Nov 2, 2022
831e6fd
Merge stackhpc/xena into stackhpc/yoga
markgoddard Nov 2, 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
5 changes: 5 additions & 0 deletions .github/workflows/stackhpc-all-in-one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,3 +232,8 @@ jobs:
OS_APPLICATION_CREDENTIAL_ID: ${{ secrets.OS_APPLICATION_CREDENTIAL_ID }}
OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }}
if: always()

- name: Prune Docker images over 1 week old
# May fail if another prune is running
run: sudo docker image prune --force --filter until=168h || true
if: always()
2 changes: 2 additions & 0 deletions .github/workflows/stackhpc-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
python-version: 3.8
- environment: releasenotes
python-version: 3.8
- environment: docs
python-version: 3.8
name: Tox ${{ matrix.environment }} with Python ${{ matrix.python-version }}
if: github.repository == 'stackhpc/stackhpc-kayobe-config'
steps:
Expand Down
7 changes: 7 additions & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.

reno>=3.1.0 # Apache-2.0
sphinx>=2.0.0,!=2.1.0 # BSD
sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD
93 changes: 93 additions & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Copyright (c) 2017 StackHPC Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.

# -*- coding: utf-8 -*-
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# -- General configuration ----------------------------------------------------

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
#'sphinx.ext.autodoc',
#'sphinx.ext.intersphinx',
'sphinxcontrib.rsvgconverter',
]

# autodoc generation is a bit aggressive and a nuisance when doing heavy
# text edit cycles.
# execute "export SPHINX_DEBUG=1" in your terminal to disable

# The suffix of source filenames.
source_suffix = '.rst'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = 'stackhpc-kayobe-config'

# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True

# If true, the current module name will be prepended to all description
# unit titles (such as .. function::).
add_module_names = True

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'native'

# -- Options for HTML output --------------------------------------------------

# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
# html_theme_path = []
html_theme = 'default'
# html_static_path = ['static']

# Add any paths that contain "extra" files, such as .htaccess or
# robots.txt.
# html_extra_path = ['_extra']

html_theme_options = {
# "show_other_versions": True,
}

# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project

# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass
# [howto/manual]).
# latex_documents = [
# ('index',
# 'doc-%s.tex' % project,
# '%s Documentation' % project,
# 'OpenStack Foundation', 'manual'),
# ]

# Disable usage of xindy https://bugzilla.redhat.com/show_bug.cgi?id=1643664
latex_use_xindy = False

27 changes: 27 additions & 0 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.. kayobe documentation master file, created by
sphinx-quickstart on Tue Jul 9 22:26:36 2013.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.

==================================================
Welcome to StackHPC's Kayobe Config documentation!
==================================================


Overview
========



Contents
========



Intro
=====



Contributors Guide
==================
5 changes: 4 additions & 1 deletion etc/kayobe/ansible/growroot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,7 @@
pv: "{{ pvs.stdout | from_json }}"
disk: "{{ pv.report[0].pv[0].pv_name }}"
become: True
when: "'NOCHANGE' not in growpart.stdout"
# when: "'NOCHANGE' not in growpart.stdout"
# Commenting out the conditional because growpart is already triggered by cloud-init - hence it emits NOCHANGE
# Cloud-Inits growpart implementation has a bug https://bugzilla.redhat.com/show_bug.cgi?id=2122575
# PVresize is not being triggered
53 changes: 40 additions & 13 deletions etc/kayobe/dnf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,27 @@
# file: myrepo
# gpgkey: http://gpgkey
# gpgcheck: yes
dnf_custom_repos:
dnf_custom_repos: "{{ dnf_custom_repos_el8 | combine(lookup('vars', 'dnf_custom_repos_' ~ ansible_facts.distribution | lower )) }}"

# Custom repositories shared between all RHEL derivatives.
dnf_custom_repos_el8:
epel:
baseurl: "{{ stackhpc_repo_epel_url }}"
description: "Extra Packages for Enterprise Linux $releasever - $basearch"
enabled: "{{ dnf_enable_epel | bool }}"
file: epel
gpgkey: "{{ dnf_epel_gpg_key_url }}"
gpgcheck: yes
epel-modular:
baseurl: "{{ stackhpc_repo_epel_modular_url }}"
description: "Extra Packages for Enterprise Linux Modular $releasever - $basearch"
enabled: "{{ dnf_enable_epel | bool }}"
file: epel-modular
gpgkey: "{{ dnf_epel_gpg_key_url }}"
gpgcheck: yes

# CentOS Stream 8 specific repositories
dnf_custom_repos_centos:
appstream:
baseurl: "{{ stackhpc_repo_centos_stream_appstream_url }}"
description: "CentOS Stream $releasever - AppStream"
Expand All @@ -60,19 +80,26 @@ dnf_custom_repos:
file: CentOS-Stream-Extras
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
gpgcheck: yes
epel:
baseurl: "{{ stackhpc_repo_epel_url }}"
description: "Extra Packages for Enterprise Linux $releasever - $basearch"
enabled: "{{ dnf_enable_epel | bool }}"
file: epel
gpgkey: "{{ dnf_epel_gpg_key_url }}"

# Rocky 8 specific repositories
dnf_custom_repos_rocky:
appstream:
baseurl: "{{ stackhpc_repo_rocky_appstream_url }}"
description: "Rocky Linux $releasever - AppStream"
file: Rocky-AppStream
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
gpgcheck: yes
epel-modular:
baseurl: "{{ stackhpc_repo_epel_modular_url }}"
description: "Extra Packages for Enterprise Linux Modular $releasever - $basearch"
enabled: "{{ dnf_enable_epel | bool }}"
file: epel-modular
gpgkey: "{{ dnf_epel_gpg_key_url }}"
baseos:
baseurl: "{{ stackhpc_repo_rocky_baseos_url }}"
description: "Rocky Linux $releasever - BaseOS"
file: Rocky-BaseOS
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
gpgcheck: yes
extras:
baseurl: "{{ stackhpc_repo_rocky_extras_url }}"
description: "Rocky Linux $releasever - Extras"
file: Rocky-Extras
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
gpgcheck: yes

# Whether to enable EPEL repositories. This affects RedHat-based systems only.
Expand Down
5 changes: 4 additions & 1 deletion etc/kayobe/environments/ci-aio/inventory/hosts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# A single all-in-one controller/compute host.
# A single all-in-one controller/compute/monitoring host.
[controllers]
controller0

[compute:children]
controllers

[monitoring:children]
controllers
3 changes: 3 additions & 0 deletions etc/kayobe/environments/ci-aio/kolla/globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ openstack_service_rpc_workers: "1"

docker_yum_baseurl: "{{ stackhpc_repo_docker_url }}"
docker_yum_gpgkey: "https://download.docker.com/linux/{% raw %}{{ ansible_facts.distribution | lower }}{% endraw %}/gpg"

# Elasticsearch memory tuning
es_heap_size: 1g
11 changes: 6 additions & 5 deletions etc/kayobe/kolla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ kolla_build_blocks:
bifrost_base_header: |
ADD additions-archive /
grafana_plugins_install: |
RUN grafana-cli plugins install vonage-status-panel
RUN grafana-cli plugins install vonage-status-panel \
&& grafana-cli plugins install grafana-piechart-panel
ironic_inspector_header: |
ADD additions-archive /

Expand Down Expand Up @@ -453,7 +454,7 @@ kolla_build_args:
#kolla_enable_ceilometer_ipmi:
#kolla_enable_ceilometer_prometheus_pushgateway:
#kolla_enable_cells:
#kolla_enable_central_logging:
kolla_enable_central_logging: true
#kolla_enable_ceph_rgw:
#kolla_enable_ceph_rgw_loadbalancer:
#kolla_enable_cinder:
Expand All @@ -471,7 +472,7 @@ kolla_build_args:
#kolla_enable_designate:
#kolla_enable_destroy_images:
#kolla_enable_elasticsearch:
#kolla_enable_elasticsearch_curator:
kolla_enable_elasticsearch_curator: true
#kolla_enable_etcd:
#kolla_enable_external_mariadb_load_balancer:
#kolla_enable_fluentd:
Expand All @@ -481,7 +482,7 @@ kolla_build_args:
#kolla_enable_glance_image_cache:
#kolla_enable_gnocchi:
#kolla_enable_gnocchi_statsd:
#kolla_enable_grafana:
kolla_enable_grafana: true
#kolla_enable_hacluster:
#kolla_enable_haproxy:
#kolla_enable_haproxy_memcached:
Expand Down Expand Up @@ -570,7 +571,7 @@ kolla_build_args:
#kolla_enable_ovn:
#kolla_enable_ovs_dpdk:
#kolla_enable_placement:
#kolla_enable_prometheus:
kolla_enable_prometheus: true
#kolla_enable_prometheus_alertmanager:
#kolla_enable_prometheus_blackbox_exporter:
#kolla_enable_prometheus_cadvisor:
Expand Down
Loading