Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
5ac7114
A multiverse from nothing, with Ceph
markgoddard Oct 12, 2021
eb5a26f
aufn: add script to deploy pulp
markgoddard Oct 14, 2021
6c1184a
Add a-universe-from-nothing.sh script
markgoddard Oct 22, 2021
05aa01b
Revert SMS lab DNS workaround
markgoddard Jul 25, 2022
7c9b29b
Remove local Ubuntu image building workaround
Nov 17, 2022
80daa7f
Remove unused config sections
Nov 17, 2022
d8e585d
Update aufn env config
Nov 17, 2022
d88173c
Update more aufn env config
Nov 17, 2022
194d77a
Revert cinder volume change to non-default
Nov 17, 2022
a4cf881
Update lots of aufn environment config
Nov 30, 2022
405d8b9
Ignore aufn env keyring files
Nov 30, 2022
95d1569
WIP end-to-end script
Nov 30, 2022
ed4db52
Workaround for MTU issue on 'external' openstack network
Dec 1, 2022
a0d5bb2
Improve end-to-end script
Dec 1, 2022
9caa800
Further e2e script improvements
Dec 2, 2022
1797e53
Refine e2e script
Dec 9, 2022
1836459
Fix external network mtu
Dec 16, 2022
06ac4c4
Fix comment
Dec 16, 2022
f8934b2
Move cloud-user workaround to aufn env
Dec 16, 2022
f17c211
Remove pulp router workaround
Jan 3, 2023
b42282f
Tidy up comments and remove unused sections
Jan 4, 2023
5724699
Revert branch change
Jan 9, 2023
739e1b1
Use newer image
Jan 9, 2023
55684d7
Fix cinder-backup group
Jan 9, 2023
a479267
Remove explicit node refs
Jan 9, 2023
a9ec6ad
Bug fixes
Jan 9, 2023
8da9c2f
Use generic network type in openstack-config
Jan 10, 2023
dd31fe4
Update remote checkout branch
Jan 10, 2023
9960aa5
Point to correct kayobe config branch
Jan 11, 2023
abc29e6
Improve Ubuntu support
Jan 18, 2023
066ad7b
Improve Ubuntu support
Jan 18, 2023
3a96d9b
pep8 fixes
Jan 18, 2023
92eb7bb
Update etc/kayobe/environments/aufn-ceph/kolla/config/bifrost/bifrost…
sd109 Jan 19, 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
Prev Previous commit
Next Next commit
Update aufn env config
  • Loading branch information
Scott Davidson committed Jan 12, 2023
commit d8e585d9865a188dbcfdb9923b549169f042f671
88 changes: 0 additions & 88 deletions etc/kayobe/ansible/ceph-config.yml

This file was deleted.

18 changes: 2 additions & 16 deletions etc/kayobe/environments/aufn-ceph/a-universe-from-nothing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
set -eu

BASE_PATH=~
KAYOBE_BRANCH=stackhpc/wallaby
KAYOBE_CONFIG_BRANCH=stackhpc/wallaby
KAYOBE_BRANCH=stackhpc/yoga
KAYOBE_CONFIG_BRANCH=stackhpc/yoga
KAYOBE_ENVIRONMENT=aufn-ceph

# FIXME: Work around lack of DNS on SMS lab.
Expand Down Expand Up @@ -67,21 +67,14 @@ source kayobe-env --environment $KAYOBE_ENVIRONMENT
# Configure host networking (bridge, routes & firewall)
$KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/configure-local-networking.sh

# Deploy Pulp
$KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/deploy-pulp.sh

# Bootstrap the Ansible control host.
kayobe control host bootstrap

# Sync package & container repositories.
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/pulp-repo-sync.yml
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/pulp-repo-publish.yml

# NOTE: Building Ubuntu containers locally for now.
# if $(which dnf 2>/dev/null >/dev/null); then
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/pulp-container-sync.yml
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/pulp-container-publish.yml
# fi

# Configure the seed hypervisor host.
kayobe seed hypervisor host configure
Expand All @@ -92,12 +85,6 @@ kayobe seed vm provision
# Configure the seed host, and deploy a local registry.
kayobe seed host configure

# NOTE: Building Ubuntu containers locally for now.
# if ! $(which dnf 2>/dev/null >/dev/null); then
# kayobe seed container image build --push
# kayobe overcloud container image build --push
# fi

# Deploy the seed services.
kayobe seed service deploy

Expand All @@ -118,7 +105,6 @@ kayobe overcloud hardware inspect
kayobe overcloud provision
kayobe overcloud host configure
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/cephadm.yml
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/ceph-config.yml
kayobe overcloud container image pull
kayobe overcloud service deploy
source $KOLLA_CONFIG_PATH/public-openrc.sh
Expand Down
59 changes: 53 additions & 6 deletions etc/kayobe/environments/aufn-ceph/cephadm.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,61 @@
---
Comment thread
sd109 marked this conversation as resolved.
# Networking
cephadm_public_interface: "{{ storage_net_name | net_interface }}"
cephadm_public_network: "{{ storage_net_name | net_cidr }}"
cephadm_cluster_interface: "{{ storage_mgmt_net_name | net_interface }}"
cephadm_cluster_network: "{{ storage_mgmt_net_name | net_cidr }}"
# OSDs
###############################################################################
# Cephadm deployment configuration.

# Ceph container image.
cephadm_image: "quay.io/ceph/ceph:v16.2.5"

# Ceph OSD specification.
cephadm_osd_spec:
service_type: osd
service_id: osd_spec_default
placement:
host_pattern: "*"
data_devices:
all: true

###############################################################################
# Ceph post-deployment configuration.

# List of Ceph erasure coding profiles. See stackhpc.cephadm.ec_profiles role
# for format.
cephadm_ec_profiles: []

# List of Ceph CRUSH rules. See stackhpc.cephadm.crush_rules role for format.
cephadm_crush_rules: []

# List of Ceph pools. See stackhpc.cephadm.pools role for format.
cephadm_pools:
- name: backups
application: rbd
state: present
- name: images
application: rbd
state: present
- name: volumes
application: rbd
state: present
- name: vms
application: rbd
state: present

# List of Cephx keys. See stackhpc.cephadm.keys role for format.
cephadm_keys:
- name: client.cinder
caps:
mon: "profile rbd"
osd: "profile rbd pool=volumes, profile rbd pool=vms, profile rbd-read-only pool=images"
mgr: "profile rbd pool=volumes, profile rbd pool=vms"
state: present
- name: client.cinder-backup
caps:
mon: "profile rbd"
osd: "profile rbd pool=volumes, profile rbd pool=backups"
mgr: "profile rbd pool=volumes, profile rbd pool=backups"
state: present
- name: client.glance
caps:
mon: "profile rbd"
osd: "profile rbd pool=images"
mgr: "profile rbd pool=images"
state: present
51 changes: 0 additions & 51 deletions etc/kayobe/environments/aufn-ceph/deploy-pulp.sh

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

88 changes: 1 addition & 87 deletions etc/kayobe/environments/aufn-ceph/inventory/groups
Original file line number Diff line number Diff line change
@@ -1,91 +1,5 @@
# Kayobe groups inventory file. This file should generally not be modified.
Comment thread
sd109 marked this conversation as resolved.
# If declares the top-level groups and sub-groups.

###############################################################################
# Seed groups.

[seed]
# Empty group to provide declaration of seed group.

[seed-hypervisor]
# Empty group to provide declaration of seed-hypervisor group.

[container-image-builders:children]
# Build container images on the seed by default.
seed

###############################################################################
# Overcloud groups.

[controllers]
# Empty group to provide declaration of controllers group.

[network:children]
# Add controllers to network group by default for backwards compatibility,
# although they could be separate hosts.
controllers

[monitoring]
# Empty group to provide declaration of monitoring group.

[storage]
# Empty group to provide declaration of storage group.

[compute]
# Empty group to provide declaration of compute group.

[overcloud:children]
controllers
network
monitoring
storage
compute

###############################################################################
# Service groups.

[docker:children]
# Hosts in this group will have Docker installed.
seed
controllers
network
monitoring
compute

[docker-registry:children]
# Hosts in this group will have a Docker Registry deployed. This group should
# generally contain only a single host, to avoid deploying multiple independent
# registries which may become unsynchronized.
seed

[ntp:children]
# Kayobe will configure Chrony on members of this group.
seed
seed-hypervisor
overcloud

###############################################################################
# Baremetal compute node groups.

[baremetal-compute]
# Empty group to provide declaration of baremetal-compute group.

###############################################################################
# Networking groups.

[mgmt-switches]
# Empty group to provide declaration of mgmt-switches group.

[ctl-switches]
# Empty group to provide declaration of ctl-switches group.

[hs-switches]
# Empty group to provide declaration of hs-switches group.

[switches:children]
mgmt-switches
ctl-switches
hs-switches
# It declares the top-level groups and sub-groups.

###############################################################################
# Ceph groups
Expand Down
Loading