Skip to content

Commit b538c11

Browse files
authored
Merge pull request #166 from stackhpc/merge-kayobe-config-dev
Merge kayobe-config-dev master branch
2 parents ff50bdb + 961faf7 commit b538c11

29 files changed

+399
-180
lines changed

.gitreview

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
host=review.opendev.org
33
port=29418
44
project=openstack/kayobe-config-dev.git
5-
defaultbranch=stable/rocky

etc/kayobe/apt.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
# * types: whitespace-separated list of repository types, e.g. deb or deb-src
3131
# (optional, default is 'deb')
3232
# * url: URL of the repository
33-
# * suites: whitespace-separated list of suites, e.g. focal (optional, default
33+
# * suites: whitespace-separated list of suites, e.g. jammy (optional, default
3434
# is ansible_facts.distribution_release)
3535
# * components: whitespace-separated list of components, e.g. main (optional,
3636
# default is 'main')
@@ -46,6 +46,17 @@
4646
# Default is false.
4747
#apt_disable_sources_list:
4848

49+
# List of Apt auth configurations. Each item is a dict with the following keys:
50+
# * machine: 'machine' entry in the auth file
51+
# * login: 'login' entry in the auth file
52+
# * password: 'password' entry in the auth file
53+
# * filename: Name of a file in which to store the auth configuration. The
54+
# extension should be '.conf'.
55+
# * filename: Name of a file in /etc/apt/auth.conf.d in which to store
56+
# the auth configuration. The extension should be ``.conf``.
57+
# Default is an empty list.
58+
#apt_auth:
59+
4960
###############################################################################
5061
# Dummy variable to allow Ansible to accept this file.
5162
workaround_ansible_issue_8743: yes

etc/kayobe/bifrost.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@
2828
# DIB image OS release. Default is {{ os_release }}.
2929
#kolla_bifrost_dib_os_release:
3030

31-
# List of default DIB elements. Default is ["disable-selinux",
32-
# "enable-serial-console", "vm"] when os_distribution is "centos", or
33-
# ["enable-serial-console", "vm"] otherwise.
31+
# List of default DIB elements. Default is ["enable-serial-console", "vm"].
3432
#kolla_bifrost_dib_elements_default:
3533

3634
# List of additional DIB elements. Default is none.
@@ -71,6 +69,10 @@
7169
# Default is none.
7270
#kolla_bifrost_deploy_image_rootfs:
7371

72+
# Custom cloud-init user-data passed to deploy of the deployment image.
73+
# Default is an empty string.
74+
#kolla_bifrost_deploy_image_user_data_content:
75+
7476
###############################################################################
7577
# Ironic configuration.
7678

@@ -106,6 +108,12 @@
106108
# Ironic inspector IPMI password to set.
107109
#kolla_bifrost_inspector_ipmi_password:
108110

111+
# Ironic inspector Redfish username to set.
112+
#kolla_bifrost_inspector_redfish_username:
113+
114+
# Ironic inspector Redfish password to set.
115+
#kolla_bifrost_inspector_redfish_password:
116+
109117
# Ironic inspector network interface name on which to check for an LLDP switch
110118
# port description to use as the node's name.
111119
#kolla_bifrost_inspector_lldp_switch_port_interface:
@@ -116,6 +124,9 @@
116124
# Ironic inspector deployment ramdisk location.
117125
#kolla_bifrost_inspector_deploy_ramdisk:
118126

127+
# Ironic inspector legacy deployment kernel location.
128+
#kolla_bifrost_inspector_legacy_deploy_kernel:
129+
119130
# Timeout of hardware inspection on overcloud nodes, in seconds. Default is
120131
# {{ inspector_inspection_timeout }}.
121132
#kolla_bifrost_inspection_timeout:

etc/kayobe/compute.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,26 +63,24 @@
6363
###############################################################################
6464
# Compute node LVM configuration.
6565

66-
# List of compute volume groups. See mrlesmithjr.manage-lvm role for
66+
# List of compute volume groups. See mrlesmithjr.manage_lvm role for
6767
# format.
6868
#compute_lvm_groups:
6969

70-
# Default list of compute volume groups. See mrlesmithjr.manage-lvm role for
70+
# Default list of compute volume groups. See mrlesmithjr.manage_lvm role for
7171
# format.
7272
#compute_lvm_groups_default:
7373

74-
# Additional list of compute volume groups. See mrlesmithjr.manage-lvm role
74+
# Additional list of compute volume groups. See mrlesmithjr.manage_lvm role
7575
# for format.
7676
#compute_lvm_groups_extra:
7777

7878
# Whether a 'data' LVM volume group should exist on compute hosts. By default
79-
# this contains a 'docker-volumes' logical volume for Docker volume storage. It
80-
# will also be used for Docker container and image storage if
81-
# 'docker_storage_driver' is set to 'devicemapper'. Default is true if
82-
# 'docker_storage_driver' is set to 'devicemapper', or false otherwise.
79+
# this contains a 'docker-volumes' logical volume for Docker volume storage.
80+
# Default is false.
8381
#compute_lvm_group_data_enabled:
8482

85-
# Compute LVM volume group for data. See mrlesmithjr.manage-lvm role for
83+
# Compute LVM volume group for data. See mrlesmithjr.manage_lvm role for
8684
# format.
8785
#compute_lvm_group_data:
8886

@@ -179,6 +177,12 @@
179177
# compute_qemu_conf_extra.
180178
#compute_qemu_conf:
181179

180+
# Whether to enable libvirt SASL authentication. Default is true.
181+
#compute_libvirt_enable_sasl:
182+
183+
# libvirt SASL password. Default is unset.
184+
#compute_libvirt_sasl_password:
185+
182186
# Whether to enable a libvirt TLS listener. Default is false.
183187
#compute_libvirt_enable_tls:
184188

etc/kayobe/controllers.yml

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,25 @@
66
# to setup the Kayobe user account. Default is {{ os_distribution }}.
77
#controller_bootstrap_user:
88

9+
###############################################################################
10+
# Controller groups.
11+
12+
# Ansible inventory group in which Ironic conductor services are deployed.
13+
# Default is 'controllers'.
14+
#controller_ironic_conductor_group:
15+
16+
# Ansible inventory group in which Ironic inspector services are deployed.
17+
# Default is 'controllers'.
18+
#controller_ironic_inspector_group:
19+
20+
# Ansible inventory group in which control plane load balancer services are
21+
# deployed. Default is 'network'.
22+
#controller_loadbalancer_group:
23+
24+
# Ansible inventory group in which network data plane services are deployed.
25+
# Default is 'network'.
26+
#controller_network_group:
27+
928
###############################################################################
1029
# Controller network interface configuration.
1130

@@ -72,26 +91,25 @@
7291
###############################################################################
7392
# Controller node LVM configuration.
7493

75-
# List of controller volume groups. See mrlesmithjr.manage-lvm role for
94+
# List of controller volume groups. See mrlesmithjr.manage_lvm role for
7695
# format.
7796
#controller_lvm_groups:
7897

79-
# Default list of controller volume groups. See mrlesmithjr.manage-lvm role for
98+
# Default list of controller volume groups. See mrlesmithjr.manage_lvm role for
8099
# format.
81100
#controller_lvm_groups_default:
82101

83-
# Additional list of controller volume groups. See mrlesmithjr.manage-lvm role
102+
# Additional list of controller volume groups. See mrlesmithjr.manage_lvm role
84103
# for format.
85104
#controller_lvm_groups_extra:
86105

87106
# Whether a 'data' LVM volume group should exist on controller hosts. By
88107
# default this contains a 'docker-volumes' logical volume for Docker volume
89-
# storage. It will also be used for Docker container and image storage if
90-
# 'docker_storage_driver' is set to 'devicemapper'. Default is true if
91-
# 'docker_storage_driver' is set to 'devicemapper', or false otherwise.
108+
# storage.
109+
# Default is false.
92110
#controller_lvm_group_data_enabled:
93111

94-
# Controller LVM volume group for data. See mrlesmithjr.manage-lvm role for
112+
# Controller LVM volume group for data. See mrlesmithjr.manage_lvm role for
95113
# format.
96114
#controller_lvm_group_data:
97115

etc/kayobe/docker.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
# Use a docker registry on the seed.
2626
docker_registry: 192.168.33.5:4000
2727

28+
# Whether docker should be configured to use an insecure registry.
29+
# Default is false, unless docker_registry_enabled is true and
30+
# docker_registry_enable_tls is false.
31+
#docker_registry_insecure:
32+
2833
# CA of docker registry
2934
#docker_registry_ca:
3035

etc/kayobe/globals.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
###############################################################################
55
# Local path configuration (Ansible control host).
66

7-
# Path to Kayobe configuration directory on Ansible control host, with an
8-
# environment path appended if kayobe_environment is set.
7+
# Path to Kayobe configuration directory on Ansible control host.
98
#kayobe_config_path:
109

1110
# Name of Kayobe environment to use. Default is $KAYOBE_ENVIRONMENT, or an
@@ -46,11 +45,11 @@
4645
# OS distribution.
4746

4847
# OS distribution name. Valid options are "centos", "rocky", "ubuntu". Default
49-
# is "centos".
48+
# is "rocky".
5049
os_distribution: "{{ lookup('pipe', '. /etc/os-release && echo $ID') | trim }}"
5150

52-
# OS release. Valid options are "8-stream" when os_distribution is "centos", or
53-
# "8" when os_distribution is "rocky", or "focal" when os_distribution is
51+
# OS release. Valid options are "9-stream" when os_distribution is "centos", or
52+
# "9" when os_distribution is "rocky", or "jammy" when os_distribution is
5453
# "ubuntu".
5554
#os_release:
5655

@@ -65,6 +64,10 @@ os_distribution: "{{ lookup('pipe', '. /etc/os-release && echo $ID') | trim }}"
6564
# to not specify a gather subset.
6665
#kayobe_ansible_setup_gather_subset:
6766

67+
# Global maximum failure percentage. By default this is undefined, which is
68+
# equivalent to a value of 100.
69+
#kayobe_max_fail_percentage:
70+
6871
###############################################################################
6972
# Dummy variable to allow Ansible to accept this file.
7073
workaround_ansible_issue_8743: yes

etc/kayobe/grafana.yml

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,9 @@
22
###############################################################################
33
# Grafana configuration.
44

5-
# Grafana local admin user name. If you are deploying Monasca Grafana this
6-
# should not conflict with an OpenStack user name.
5+
# Grafana local admin user name.
76
#grafana_local_admin_user_name:
87

9-
# Path to git repo containing Grafana dashboards. Eg.
10-
# https://github.com/stackhpc/grafana-reference-dashboards.git
11-
#grafana_monitoring_node_dashboard_repo:
12-
13-
# Dashboard repo version. Optional, defaults to 'HEAD'.
14-
#grafana_monitoring_node_dashboard_repo_version:
15-
16-
# Path to which Grafana dashboards will be cloned to a monitoring node
17-
#grafana_monitoring_node_dashboard_repo_checkout_path:
18-
19-
# The path, relative to the grafana_monitoring_node_dashboard_repo_checkout_path
20-
# containing the dashboards. Eg. /prometheus/control_plane
21-
#grafana_monitoring_node_dashboard_repo_path:
22-
23-
# The Grafana organisation for the control plane. Note that for Monasca
24-
# Grafana with domain support the format is:
25-
# organisation_name@openstack_domain
26-
#grafana_control_plane_organisation:
27-
28-
# A dict of datasources to configure. See the stackhpc.grafana-conf role
29-
# for all supported datasources. Example:
30-
#
31-
# grafana_datasources:
32-
# monasca_api:
33-
# port: 8082
34-
# host: monasca-api
35-
# monasca_log_api:
36-
# port: 5607
37-
# host: monasca-log-api
38-
# elasticsearch:
39-
# port: 9200
40-
# host: monasca-elasticsearch
41-
# project_id: "some_id"
42-
#
43-
#grafana_datasources:
44-
458
###############################################################################
469
# Dummy variable to allow Ansible to accept this file.
4710
workaround_ansible_issue_8743: yes

etc/kayobe/infra-vms.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
#infra_vm_root_format:
3131

3232
# Base image for the infra VM root volume. Default is
33-
# "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img"
33+
# "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
3434
# when os_distribution is "ubuntu", or
35-
# http://dl.rockylinux.org/pub/rocky/8.5/images/Rocky-8-GenericCloud-8.5-20211114.2.x86_64.qcow2
35+
# https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2
3636
# when os_distribution is "rocky",
3737
# or
38-
# "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20210603.0.x86_64.qcow2"
38+
# "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20221206.0.x86_64.qcow2"
3939
# otherwise.
4040
#infra_vm_root_image:
4141

@@ -92,26 +92,24 @@
9292
###############################################################################
9393
# Infrastructure VM node LVM configuration.
9494

95-
# List of infrastructure vm volume groups. See mrlesmithjr.manage-lvm role for
95+
# List of infrastructure vm volume groups. See mrlesmithjr.manage_lvm role for
9696
# format.
9797
#infra_vm_lvm_groups:
9898

99-
# Default list of infrastructure vm volume groups. See mrlesmithjr.manage-lvm
99+
# Default list of infrastructure vm volume groups. See mrlesmithjr.manage_lvm
100100
# role for format.
101101
#infra_vm_lvm_groups_default:
102102

103-
# Additional list of infrastructure vm volume groups. See mrlesmithjr.manage-lvm
103+
# Additional list of infrastructure vm volume groups. See mrlesmithjr.manage_lvm
104104
# role for format.
105105
#infra_vm_lvm_groups_extra:
106106

107107
# Whether a 'data' LVM volume group should exist on the infrastructure vm. By
108108
# default this contains a 'docker-volumes' logical volume for Docker volume
109-
# storage. It will also be used for Docker container and image storage if
110-
# 'docker_storage_driver' is set to 'devicemapper'. Default is true if
111-
# 'docker_storage_driver' is set to 'devicemapper', or false otherwise.
109+
# storage. Default is false.
112110
#infra_vm_lvm_group_data_enabled:
113111

114-
# Infrastructure VM LVM volume group for data. See mrlesmithjr.manage-lvm role
112+
# Infrastructure VM LVM volume group for data. See mrlesmithjr.manage_lvm role
115113
# for format.
116114
#infra_vm_lvm_group_data:
117115

etc/kayobe/inspector.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@
5858
###############################################################################
5959
# Ironic inspector configuration.
6060

61+
# Ironic inspector option to enable IPMI rules. Set to 'True' by default.
62+
#inspector_rules_ipmi_enabled:
63+
6164
# Ironic inspector IPMI username to set.
6265
#inspector_ipmi_username:
6366

@@ -72,6 +75,21 @@
7275
# check for an LLDP switch port description to use as the node's name.
7376
#inspector_lldp_switch_port_interface_map:
7477

78+
# Ironic inspector uses IPMI by default enroll the baremetal nodes, however it
79+
# is possible to use Redfish instead. To do that enable Redfish and make sure
80+
# all of the necessary variables below have been properly set.
81+
# Enable inspector Redfish rules. Set to 'False' by default.
82+
#inspector_rules_redfish_enabled:
83+
84+
# Ironic inspector Redfish username to set.
85+
#inspector_redfish_username:
86+
87+
# Ironic inspector Redfish password to set.
88+
#inspector_redfish_password:
89+
90+
# Redfish CA setting. Set to 'True' by default
91+
#inspector_rule_var_redfish_verify_ca:
92+
7593
###############################################################################
7694
# Ironic inspector introspection rules configuration.
7795

@@ -84,9 +102,6 @@
84102
# Ironic inspector rule to set deployment ramdisk.
85103
#inspector_rule_deploy_ramdisk:
86104

87-
# Ironic inspector rule to set local boot capability
88-
#inspector_rule_local_boot:
89-
90105
# Ironic inspector rule to initialise root device hints.
91106
#inspector_rule_root_hint_init:
92107

0 commit comments

Comments
 (0)