Browse Source

Synchronise configuration with kayobe @ 610c8a9566

Mark Goddard 1 year ago
parent
commit
cec52ed9d8

+ 101
- 0
etc/kayobe/compute.yml View File

@@ -0,0 +1,101 @@
1
+---
2
+###############################################################################
3
+# Compute node configuration.
4
+
5
+# User with which to access the computes via SSH during bootstrap, in order
6
+# to setup the Kayobe user account.
7
+#compute_bootstrap_user:
8
+
9
+###############################################################################
10
+# Network interface attachments.
11
+
12
+# List of networks to which compute nodes are attached.
13
+#compute_network_interfaces:
14
+
15
+# List of default networks to which compute nodes are attached.
16
+#compute_default_network_interfaces:
17
+
18
+# List of extra networks to which compute nodes are attached.
19
+#compute_extra_network_interfaces:
20
+
21
+###############################################################################
22
+# Compute node BIOS configuration.
23
+
24
+# Dict of compute BIOS options. Format is same as that used by stackhpc.drac
25
+# role.
26
+#compute_bios_config:
27
+
28
+# Dict of default compute BIOS options. Format is same as that used by
29
+# stackhpc.drac role.
30
+#compute_bios_config_default:
31
+
32
+# Dict of additional compute BIOS options. Format is same as that used by
33
+# stackhpc.drac role.
34
+#compute_bios_config_extra:
35
+
36
+###############################################################################
37
+# Compute node RAID configuration.
38
+
39
+# List of compute RAID volumes. Format is same as that used by stackhpc.drac
40
+# role.
41
+#compute_raid_config:
42
+
43
+# List of default compute RAID volumes. Format is same as that used by
44
+# stackhpc.drac role.
45
+#compute_raid_config_default:
46
+
47
+# List of additional compute RAID volumes. Format is same as that used by
48
+# stackhpc.drac role.
49
+#compute_raid_config_extra:
50
+
51
+###############################################################################
52
+# Compute node LVM configuration.
53
+
54
+# List of compute volume groups. See mrlesmithjr.manage-lvm role for
55
+# format.
56
+#compute_lvm_groups:
57
+
58
+# Default list of compute volume groups. See mrlesmithjr.manage-lvm role for
59
+# format.
60
+#compute_lvm_groups_default:
61
+
62
+# Additional list of compute volume groups. See mrlesmithjr.manage-lvm role
63
+# for format.
64
+#compute_lvm_groups_extra:
65
+
66
+# Compute LVM volume group for data. See mrlesmithjr.manage-lvm role for
67
+# format.
68
+#compute_lvm_group_data:
69
+
70
+# List of disks for use by compute LVM data volume group. Default to an
71
+# invalid value to require configuration.
72
+#compute_lvm_group_data_disks:
73
+
74
+# List of LVM logical volumes for the data volume group.
75
+#compute_lvm_group_data_lvs:
76
+
77
+# Docker volumes LVM backing volume.
78
+#compute_lvm_group_data_lv_docker_volumes:
79
+
80
+# Size of docker volumes LVM backing volume.
81
+#compute_lvm_group_data_lv_docker_volumes_size:
82
+
83
+# Filesystem for docker volumes LVM backing volume. ext4 allows for shrinking.
84
+#compute_lvm_group_data_lv_docker_volumes_fs:
85
+
86
+###############################################################################
87
+# Compute node sysctl configuration.
88
+
89
+# Dict of sysctl parameters to set.
90
+#compute_sysctl_parameters:
91
+
92
+###############################################################################
93
+# Compute node user configuration.
94
+
95
+# List of users to create. This should be in a format accepted by the
96
+# singleplatform-eng.users role.
97
+#compute_users:
98
+
99
+###############################################################################
100
+# Dummy variable to allow Ansible to accept this file.
101
+workaround_ansible_issue_8743: yes

+ 6
- 0
etc/kayobe/docker.yml View File

@@ -22,6 +22,12 @@
22 22
 # argument).
23 23
 #docker_storage_volume_thinpool_meta_size:
24 24
 
25
+# URL of docker registry
26
+#docker_registry:
27
+
28
+# CA of docker registry
29
+#docker_registry_ca:
30
+
25 31
 ###############################################################################
26 32
 # Dummy variable to allow Ansible to accept this file.
27 33
 workaround_ansible_issue_8743: yes

+ 27
- 0
etc/kayobe/inventory/groups View File

@@ -1,9 +1,22 @@
1 1
 # Kayobe groups inventory file. This file should generally not be modified.
2 2
 # If declares the top-level groups and sub-groups.
3 3
 
4
+###############################################################################
5
+# Seed groups.
6
+
4 7
 [seed]
5 8
 # Empty group to provide declaration of seed group.
6 9
 
10
+[seed-hypervisor]
11
+# Empty group to provide declaration of seed-hypervisor group.
12
+
13
+[container-image-builders:children]
14
+# Build container images on the seed by default.
15
+seed
16
+
17
+###############################################################################
18
+# Overcloud groups.
19
+
7 20
 [controllers]
8 21
 # Empty group to provide declaration of controllers group.
9 22
 
@@ -15,10 +28,17 @@ controllers
15 28
 [monitoring]
16 29
 # Empty group to provide declaration of monitoring group.
17 30
 
31
+[compute]
32
+# Empty group to provide declaration of compute group.
33
+
18 34
 [overcloud:children]
19 35
 controllers
20 36
 network
21 37
 monitoring
38
+compute
39
+
40
+###############################################################################
41
+# Docker groups.
22 42
 
23 43
 [docker:children]
24 44
 # Hosts in this group will have Docker installed.
@@ -26,6 +46,13 @@ seed
26 46
 controllers
27 47
 network
28 48
 monitoring
49
+compute
50
+
51
+###############################################################################
52
+# Baremetal compute node groups.
53
+
54
+[baremetal-compute]
55
+# Empty group to provide declaration of baremetal-compute group.
29 56
 
30 57
 ###############################################################################
31 58
 # Networking groups.

+ 3
- 0
etc/kayobe/inventory/hosts.example View File

@@ -18,6 +18,9 @@ localhost ansible_connection=local
18 18
 # Add controller nodes here if required. These hosts will provide the
19 19
 # OpenStack overcloud.
20 20
 
21
+[baremetal-compute]
22
+# Add baremetal compute nodes here if required.
23
+
21 24
 [mgmt-switches]
22 25
 # Add management network switches here if required.
23 26
 

+ 17
- 5
etc/kayobe/kolla.yml View File

@@ -20,6 +20,9 @@
20 20
 # Path to virtualenv in which to install kolla.
21 21
 #kolla_venv:
22 22
 
23
+# Path in which to generate kolla configuration.
24
+#kolla_build_config_path:
25
+
23 26
 ###############################################################################
24 27
 # Kolla-ansible installation.
25 28
 
@@ -39,24 +42,33 @@
39 42
 # Path to virtualenv in which to install kolla-ansible.
40 43
 #kolla_ansible_venv:
41 44
 
42
-###############################################################################
43
-# Kolla & kolla-ansible configuration.
44
-
45
-# Path to Kolla configuration directory.
45
+# Path to Kolla-ansible configuration directory.
46 46
 #kolla_config_path:
47 47
 
48
-# Path to Kolla node custom configuration directory.
48
+# Path to Kolla-ansible node custom configuration directory.
49 49
 #kolla_node_custom_config_path:
50 50
 
51
+###############################################################################
52
+# Kolla configuration.
53
+
51 54
 # Kolla base container image distribution.
52 55
 #kolla_base_distro:
53 56
 
54 57
 # Kolla installation type: binary or source.
55 58
 #kolla_install_type:
56 59
 
60
+# URL of docker registry to use for Kolla images.
61
+#kolla_docker_registry:
62
+
57 63
 # Docker namespace to use for Kolla images.
58 64
 #kolla_docker_namespace:
59 65
 
66
+# Username to use to access a docker registry.
67
+#kolla_docker_registry_username:
68
+
69
+# Password to use to access a docker registry.
70
+#kolla_docker_registry_password:
71
+
60 72
 # Kolla OpenStack release version. This should be a Docker image tag.
61 73
 #kolla_openstack_release:
62 74
 

+ 7
- 0
etc/kayobe/networks.yml View File

@@ -150,6 +150,13 @@
150 150
 # OVS bridge.
151 151
 #network_patch_suffix_ovs:
152 152
 
153
+###############################################################################
154
+# Network routing table configuration.
155
+
156
+# List of IP routing tables. Each item should be a dict containing 'id' and
157
+# 'name' items. These tables will be added to /etc/iproute2/rt_tables.
158
+#network_route_tables:
159
+
153 160
 ###############################################################################
154 161
 # Dummy variable to allow Ansible to accept this file.
155 162
 workaround_ansible_issue_8743: yes

+ 11
- 1
etc/kayobe/neutron.yml View File

@@ -2,7 +2,8 @@
2 2
 ###############################################################################
3 3
 # Neutron configuration.
4 4
 
5
-# List of Neutron ML2 mechanism drivers to use.
5
+# List of Neutron ML2 mechanism drivers to use. If unset the kolla-ansible
6
+# defaults will be used.
6 7
 #kolla_neutron_ml2_mechanism_drivers:
7 8
 
8 9
 # List of Neutron ML2 type drivers to use.
@@ -21,6 +22,9 @@
21 22
 # List of Neutron ML2 extention drivers to use.
22 23
 #kolla_neutron_ml2_extension_drivers:
23 24
 
25
+###############################################################################
26
+# Neutron ML2 generic switch driver configuration.
27
+
24 28
 # List of switches to configure for use by genericswitch ML2 mechanism driver.
25 29
 # Each item should be a dict containing the following items:
26 30
 # name: Hostname of the switch
@@ -43,6 +47,12 @@
43 47
 # secret: not currently supported
44 48
 #kolla_neutron_ml2_generic_switch_hosts:
45 49
 
50
+# Dict containing additional configuration for switches managed by the
51
+# genericswitch ML2 mechanism driver. For per-switch configuration of switches
52
+# in kolla_neutron_ml2_generic_switch_hosts, this may be set as a group or
53
+# host variable for the switch host.
54
+#kolla_neutron_ml2_generic_switch_extra:
55
+
46 56
 ###############################################################################
47 57
 # Dummy variable to allow Ansible to accept this file.
48 58
 workaround_ansible_issue_8743: yes

+ 10
- 0
etc/kayobe/node-exporter.yml View File

@@ -0,0 +1,10 @@
1
+---
2
+###############################################################################
3
+# Prometheus node exporter configuration.
4
+
5
+# Whether Prometheus node exporter is enabled.
6
+#nodeexporter_enabled:
7
+
8
+###############################################################################
9
+# Dummy variable to allow Ansible to accept this file.
10
+workaround_ansible_issue_8743: yes

+ 12
- 0
etc/kayobe/nova.yml View File

@@ -0,0 +1,12 @@
1
+---
2
+###############################################################################
3
+# Nova configuration.
4
+
5
+# Which host to use to deploy the nova-compute services for ironic. By default
6
+# this is none and all hosts in the nova group are used instead - typically the
7
+# controllers.
8
+#kolla_nova_compute_ironic_host:
9
+
10
+###############################################################################
11
+# Dummy variable to allow Ansible to accept this file.
12
+workaround_ansible_issue_8743: yes

+ 6
- 0
etc/kayobe/seed-vm.yml View File

@@ -26,6 +26,12 @@
26 26
 # Base image for the seed VM root volume.
27 27
 #seed_vm_root_image:
28 28
 
29
+# Capacity of the seed VM data volume.
30
+#seed_vm_data_capacity:
31
+
32
+# Format of the seed VM data volume.
33
+#seed_vm_data_format:
34
+
29 35
 ###############################################################################
30 36
 # Dummy variable to allow Ansible to accept this file.
31 37
 workaround_ansible_issue_8743: yes

+ 10
- 0
etc/kayobe/yum-cron.yml View File

@@ -0,0 +1,10 @@
1
+---
2
+
3
+# Whether to enable Yum automatic updates.
4
+#yum_cron_enabled: false
5
+# Command to use for Yum automatic updates.
6
+#yum_cron_update_cmd: 'security'
7
+
8
+###############################################################################
9
+# Dummy variable to allow Ansible to accept this file.
10
+workaround_ansible_issue_8743: yes

+ 16
- 0
etc/kayobe/yum.yml View File

@@ -0,0 +1,16 @@
1
+---
2
+
3
+# Whether or not to use a local Yum mirror.
4
+#yum_use_local_mirror: false
5
+# Mirror FQDN for Yum repos.
6
+#yum_centos_mirror_host: 'mirror.centos.org'
7
+# Mirror directory for Yum CentOS repos.
8
+#yum_centos_mirror_directory: 'centos'
9
+# Mirror FQDN for Yum EPEL repos.
10
+#yum_epel_mirror_host: 'download.fedoraproject.org'
11
+# Mirror directory for Yum EPEL repos.
12
+#yum_epel_mirror_directory: 'pub/epel'
13
+
14
+###############################################################################
15
+# Dummy variable to allow Ansible to accept this file.
16
+workaround_ansible_issue_8743: yes

Loading…
Cancel
Save