-
Notifications
You must be signed in to change notification settings - Fork 23
Add ci-aio environment #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
--- | ||
# Kayobe global configuration. | ||
|
||
############################################################################### | ||
# Local path configuration (Ansible control host). | ||
|
||
# Path to Kayobe configuration directory on Ansible control host, with an | ||
# environment path appended if kayobe_environment is set. | ||
#kayobe_config_path: | ||
|
||
# Name of Kayobe environment to use. Default is $KAYOBE_ENVIRONMENT, or an | ||
# empty string if $KAYOBE_ENVIRONMENT is not set. Can also be set via the | ||
# --environment argument when invoking kayobe. | ||
#kayobe_environment: | ||
|
||
# Path to Kayobe configuration directory on Ansible control host with an | ||
# environment path appended if kayobe_environment is set. | ||
#kayobe_env_config_path: | ||
|
||
############################################################################### | ||
# Remote path configuration (seed, seed-hypervisor and overcloud hosts). | ||
|
||
# Base path for kayobe state on remote hosts. | ||
#base_path: | ||
|
||
# Path in which to store configuration on remote hosts. | ||
#config_path: | ||
|
||
# Path in which to cache downloaded images on remote hosts. | ||
#image_cache_path: | ||
|
||
# Path on which to checkout source code repositories on remote hosts. | ||
#source_checkout_path: | ||
|
||
# Path on which to create python virtualenvs on remote hosts. | ||
#virtualenv_path: | ||
|
||
############################################################################### | ||
# User configuration. | ||
|
||
# User with which to access remote hosts. This user will be created if it does | ||
# not exist. | ||
#kayobe_ansible_user: | ||
|
||
############################################################################### | ||
# OS distribution. | ||
|
||
# OS distribution name. Valid options are "centos", "ubuntu". Default is | ||
# "centos". | ||
os_distribution: "{{ lookup('pipe', '. /etc/os-release && echo $ID') | trim }}" | ||
|
||
# OS release. Valid options are "8-stream" when os_distribution is "centos", or | ||
# "focal" when os_distribution is "ubuntu". | ||
#os_release: | ||
|
||
############################################################################### | ||
|
||
# Avoid a reboot. | ||
disable_selinux_do_reboot: false | ||
|
||
############################################################################### | ||
# Dummy variable to allow Ansible to accept this file. | ||
workaround_ansible_issue_8743: yes |
12 changes: 12 additions & 0 deletions
12
etc/kayobe/environments/ci-aio/inventory/group_vars/controllers/network-interfaces
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
############################################################################### | ||
# Network interface definitions for the controller group. | ||
|
||
# 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: "{{ ['dummy1'] if 'ansible_dummy1' in hostvars[inventory_hostname] else [] }}" | ||
|
||
############################################################################### | ||
# Dummy variable to allow Ansible to accept this file. | ||
workaround_ansible_issue_8743: yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[controllers] | ||
|
||
[container-image-builders:children] | ||
# Build container images on the all-in-one controller. | ||
controllers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# A single all-in-one controller/compute host. | ||
[controllers] | ||
controller0 | ||
|
||
[compute:children] | ||
controllers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[DEFAULT] | ||
minimum_required_memory = 256 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
# Most development environments will use nested virtualisation, and we can't | ||
# guarantee that nested KVM support is available. Use QEMU as a lowest common | ||
# denominator. | ||
nova_compute_virt_type: qemu | ||
|
||
# Reduce the control plane's memory footprint by limiting the number of worker | ||
# processes to one per-service. | ||
openstack_service_workers: "1" | ||
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" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
aio_ips: | ||
controller0: 192.168.33.3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
--- | ||
# Kayobe network configuration. | ||
|
||
############################################################################### | ||
# Network role to network mappings. | ||
|
||
# Map all networks to the all-in-one network. | ||
|
||
# Name of the network used for admin access to the overcloud | ||
#admin_oc_net_name: | ||
admin_oc_net_name: aio | ||
|
||
# Name of the network used by the seed to manage the bare metal overcloud | ||
# hosts via their out-of-band management controllers. | ||
#oob_oc_net_name: | ||
oob_oc_net_name: aio | ||
|
||
# Name of the network used by the seed to provision the bare metal overcloud | ||
# hosts. | ||
#provision_oc_net_name: | ||
provision_oc_net_name: aio | ||
|
||
# Name of the network used by the overcloud hosts to manage the bare metal | ||
# compute hosts via their out-of-band management controllers. | ||
#oob_wl_net_name: | ||
oob_wl_net_name: aio | ||
|
||
# Name of the network used by the overcloud hosts to provision the bare metal | ||
# workload hosts. | ||
#provision_wl_net_name: | ||
provision_wl_net_name: aio | ||
|
||
# Name of the network used to expose the internal OpenStack API endpoints. | ||
#internal_net_name: | ||
internal_net_name: aio | ||
|
||
# List of names of networks used to provide external network access via | ||
# Neutron. | ||
# Deprecated name: external_net_name | ||
# If external_net_name is defined, external_net_names will default to a list | ||
# containing one item, external_net_name. | ||
#external_net_names: | ||
external_net_names: | ||
- aio | ||
|
||
# Name of the network used to expose the public OpenStack API endpoints. | ||
#public_net_name: | ||
public_net_name: aio | ||
|
||
# Name of the network used by Neutron to carry tenant overlay network traffic. | ||
#tunnel_net_name: | ||
tunnel_net_name: aio | ||
|
||
# Name of the network used to carry storage data traffic. | ||
#storage_net_name: | ||
storage_net_name: aio | ||
|
||
# Name of the network used to carry storage management traffic. | ||
#storage_mgmt_net_name: | ||
storage_mgmt_net_name: aio | ||
|
||
# Name of the network used to carry swift storage data traffic. | ||
#swift_storage_net_name: | ||
swift_storage_net_name: aio | ||
|
||
# Name of the network used to carry swift storage replication traffic. | ||
#swift_storage_replication_net_name: | ||
swift_storage_replication_net_name: aio | ||
|
||
# Name of the network used to perform hardware introspection on the bare metal | ||
# workload hosts. | ||
#inspection_net_name: | ||
inspection_net_name: aio | ||
|
||
# Name of the network used to perform cleaning on the bare metal workload | ||
# hosts | ||
#cleaning_net_name: | ||
cleaning_net_name: aio | ||
|
||
############################################################################### | ||
# Network definitions. | ||
|
||
# All-in-one network. | ||
aio_cidr: 192.168.33.0/24 | ||
aio_allocation_pool_start: 192.168.33.3 | ||
aio_allocation_pool_end: 192.168.33.30 | ||
aio_neutron_allocation_pool_start: 192.168.33.31 | ||
aio_neutron_allocation_pool_end: 192.168.33.127 | ||
aio_inspection_allocation_pool_start: 192.168.33.128 | ||
aio_inspection_allocation_pool_end: 192.168.33.254 | ||
aio_vip_address: 192.168.33.2 | ||
|
||
############################################################################### | ||
# Network virtual patch link configuration. | ||
|
||
# Suffix for Open vSwitch bridge names. | ||
#network_bridge_suffix_ovs: | ||
|
||
# Prefix for virtual patch interface names. | ||
#network_patch_prefix: | ||
|
||
# Suffix for virtual patch link interface names when connected towards the | ||
# physical interface. | ||
#network_patch_suffix_phy: | ||
|
||
# Suffix for virtual patch link interface names when connected towards the | ||
# OVS bridge. | ||
#network_patch_suffix_ovs: | ||
|
||
############################################################################### | ||
# Network routing table configuration. | ||
|
||
# List of IP routing tables. Each item should be a dict containing 'id' and | ||
# 'name' items. These tables will be added to /etc/iproute2/rt_tables. | ||
#network_route_tables: | ||
|
||
############################################################################### | ||
# Dummy variable to allow Ansible to accept this file. | ||
workaround_ansible_issue_8743: yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
############################################################################### | ||
# Kolla configuration. | ||
|
||
# Docker namespace to use for Kolla images. Default is 'kolla'. | ||
kolla_docker_namespace: stackhpc-dev | ||
|
||
############################################################################### | ||
# Network configuration. | ||
|
||
# Don't touch resolv.conf: use Neutron DNS for accessing Pulp server via | ||
# hostname. | ||
resolv_is_managed: false | ||
|
||
############################################################################### | ||
# StackHPC configuration. | ||
|
||
# Host and port of a package repository mirror. | ||
# Build and deploy the development Pulp service repositories. | ||
stackhpc_repo_mirror_url: "http://pulp-server.internal.sms-cloud:8080" | ||
|
||
# Build and deploy released Pulp repository versions. | ||
stackhpc_repo_centos_stream_baseos_version: "{{ stackhpc_pulp_repo_centos_stream_8_baseos_version }}" | ||
stackhpc_repo_centos_stream_appstream_version: "{{ stackhpc_pulp_repo_centos_stream_8_appstream_version }}" | ||
stackhpc_repo_centos_stream_extras_version: "{{ stackhpc_pulp_repo_centos_stream_8_extras_version }}" | ||
stackhpc_repo_epel_version: "{{ stackhpc_pulp_repo_epel_version }}" | ||
stackhpc_repo_epel_modular_version: "{{ stackhpc_pulp_repo_epel_modular_version }}" | ||
stackhpc_repo_docker_version: "{{ stackhpc_pulp_repo_docker_version }}" | ||
stackhpc_repo_centos_stream_advanced_virtualization_version: "{{ stackhpc_pulp_repo_centos_stream_8_advanced_virtualization_version }}" | ||
stackhpc_repo_centos_stream_nfv_openvswitch_version: "{{ stackhpc_pulp_repo_centos_stream_8_nfv_openvswitch_version }}" | ||
stackhpc_repo_centos_stream_openstack_wallaby_version: "{{ stackhpc_pulp_repo_centos_stream_8_openstack_wallaby_version }}" | ||
stackhpc_repo_centos_stream_powertools_version: "{{ stackhpc_pulp_repo_centos_stream_8_powertools_version }}" | ||
stackhpc_repo_centos_opstools_version: "{{ stackhpc_pulp_repo_centos_8_opstools_version }}" | ||
stackhpc_repo_centos_stream_storage_ceph_pacific_version: "{{ stackhpc_pulp_repo_centos_stream_8_storage_ceph_pacific_version }}" | ||
stackhpc_repo_elasticsearch_logstash_kibana_7_x_version: "{{ stackhpc_pulp_repo_elasticsearch_logstash_kibana_7_x_version }}" | ||
stackhpc_repo_grafana_version: "{{ stackhpc_pulp_repo_grafana_version }}" | ||
stackhpc_repo_rabbitmq_erlang_version: "{{ stackhpc_pulp_repo_rabbitmq_erlang_version }}" | ||
stackhpc_repo_rabbitmq_server_version: "{{ stackhpc_pulp_repo_rabbitmq_server_version }}" | ||
stackhpc_repo_treasuredata_4_version: "{{ stackhpc_pulp_repo_treasuredata_4_version }}" | ||
|
||
# Host and port of container registry. | ||
# Push built images to the development Pulp service registry. | ||
stackhpc_docker_registry: "{{ stackhpc_repo_mirror_url | regex_replace('^https?://', '') }}" | ||
|
||
# Username and password of container registry. | ||
stackhpc_docker_registry_username: "admin" | ||
stackhpc_docker_registry_password: !vault | | ||
$ANSIBLE_VAULT;1.1;AES256 | ||
38653432663133653430323937626239323836653537633633326265643930653034306532646464 | ||
3766353637326534643136326533633034666535323364660a633639393433376564363666663233 | ||
38333133393730633666613965653364316162353337313330346164303631313731646461363461 | ||
3963323635373866630a633533376339363734626664333765313665623662613764363038383735 | ||
38646138376438643533376161376634653439386230353365316239613430363338 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.