1 of 26

MUTETHYA NZIOKA

06/112026

Building Bare-Metal OpenStack for African Data Residency

OWN YOUR CLOUD

2 of 26

What we’ll go over

  1. Introduction
  2. OpenStack Fundamentals
  3. Lab Setup and Deployment
  4. Challenges Encountered
  5. Results
  6. Design Considerations and Costs
  7. Conclusions

3 of 26

OWN YOUR CLOUD

04

Own Your Cloud

Building Bare-Metal OpenStack for African data residency needs.

Speaker

Mutethya Nzioka, Computer Science student, Catholic University of Eastern Africa.

Event

OpenInfra Days Kenya 2026, 6 to 7 November 2026.

What to expect

A technical journey from motivation to lab reality.

INTRODUCTION

INTRODUCTION

4 of 26

WHERE YOUR DATA LIVES

The core question

  • It is not only location; it is jurisdiction and day-to-day control.

Operational and economic friction

  • Cross-border hosting adds foreign-currency exposure and less predictable billing.
  • Data transfer and egress fees can quietly dominate steady workloads.

Reality check: hosting geography

  • A lot of African user traffic still lands on infrastructure outside-region.
  • That distance shows up as extra hops, delay, and harder incident response.

05

INTRODUCTION

5 of 26

WHY LOCAL INFRA MATTERS

06

Locality-sensitive workloads

  • Banks and health systems need tighter control over uptime and access.
  • Universities and government platforms often face strict handling requirements.

Performance you can predict

  • Nearby infrastructure reduces round trips for routine, user-facing services.
  • Local ops can shorten incident response and troubleshooting loops.

Control as a design choice

  • Owning infrastructure can reduce vendor dependence for selected workloads.
  • It fits best where demand is steady and operations are resourced.

INTRODUCTION

6 of 26

RESIDENCY VS SOVEREIGNTY

Kenya in practice

  • Cross-border transfers are allowed under legal conditions, not a blanket ban.

Operational control

  • It is who can administer systems, rotate keys, and restore data.
  • It shows up in IAM, break-glass access, and

disaster recovery ownership.

Data sovereignty

  • It is the legal jurisdiction that can regulate access and disclosure.
  • A local region does not automatically mean local legal control.

Data residency

  • It is the physical location where databases, backups, and logs sit.
  • It affects latency, local hosting options, and where incidents are handled.

07

INTRODUCTION

7 of 26

OPENSTACK LAYERS

OPENSTACK FUNDAMENTALS

03

Connectivity and data

  • Neutron builds tenant networks and plugs instances into the topology.
  • Cinder provides block volumes; Ironic provisions physical nodes; Horizon visualises.

02

Control plane services

  • Keystone authenticates users and issues tokens for every API call.
  • Nova schedules compute; Glance supplies images; Placement tracks inventory.

01

From metal to cloud API

  • Servers, NICs, and switches provide the physical capacity to allocate.
  • Hypervisors and bare metal turn that capacity into compute targets.

09

OPENSTACK FUNDAMENTALS

8 of 26

SERVER LAUNCH FLOW

Networking and Boot

  • Neutron allocates ports, security groups, and IPs before boot proceeds.
  • VMs boot on a hypervisor; bare metal uses Ironic to deploy hardware.

Scheduling and Resources

  • Nova asks Placement for capacity, filters hosts, then selects a target.
  • Glance supplies the image metadata; Cinder may provide a boot volume.

Request and Identity

  • The client authenticates in Keystone, then submits a create-server request.
  • A token and service catalog tell Nova which endpoints to call.

10

OPENSTACK FUNDAMENTALS

9 of 26

WHY IRONIC MATTERS

Reality check for my lab

  • DevStack does not automatically demonstrate bare-metal provisioning with Ironic.

How the machine boots

  • Out-of-band control uses Redfish or IPMI through the BMC.
  • Deployment commonly uses PXE or virtual media for imaging.

Operator workflow

  • Register each node with BMC details and hardware inventory metadata.
  • Run inspection and cleaning so nodes are known-good before deployment.

What Ironic changes

  • It turns physical servers into API-managed resources, like instances.
  • Provisioning becomes repeatable workflows, not manual rack-by-rack installs.

OPENSTACK FUNDAMENTALS

11

10 of 26

NETWORKING +

STORAGE

12

Tenant networking (Neutron + OVN)

  • Neutron defines networks, subnets, routers, security groups, and ports.
  • OVN enforces isolation and distributed routing across hypervisors.

Overlay versus provider connectivity

  • Overlays (Geneve/VXLAN) create tenant segments over a shared underlay.
  • Provider networks attach instances directly to the physical VLAN fabric.

Storage services in practice

  • Cinder provides persistent block volumes for VMs and services.
  • Swift provides object storage for unstructured, API-driven data.
  • Ceph can back both: RBD for Cinder, RGW for Swift-like objects.

OPENSTACK FUNDAMENTALS

11 of 26

MY LAB SETUP

How I worked

  • I used a dedicated stack user and tested core services plus Neutron.
  • This was not production and not a bare-metal OpenStack cloud.

Why DevStack

  • DevStack let me iterate quickly and observe real service coupling.
  • The goal was learning failure modes, not a polished demo.

Baseline environment

  • Rocky Linux on a single laptop with 16 GB RAM.
  • Everything ran locally, so CPU, RAM, and I/O limits showed fast.

14

LAB SETUP AND DEPLOYMENT

LAB SETUP AND DEPLOYMENT

12 of 26

HOW I DEPLOYED DEVSTACK

15

Host preparation (Rocky Linux)

  • I updated the OS, installed base tools, and verified virtualization support.
  • I created a dedicated stack user to isolate DevStack changes.

DevStack bootstrap

  • I cloned the DevStack repo and pinned a consistent working branch.
  • I wrote local.conf to enable only the services I wanted to test.

What the install revealed

  • The installer surfaced hidden assumptions about packages, Python, and networking.
  • Early success meant partial services running, not a complete cloud.

LAB SETUP AND DEPLOYMENT

13 of 26

CHALLENGES

ENCOUNTERED

14 of 26

MariaDB: Database Service Startup Failure

17

What broke first

  • DevStack failed while restarting MariaDB, reporting unavailable resources or another system error.

What I investigated

  • Database service status, system logs, and host resources availability.

Engineering takeaway

  • A cloud control plane depends on reliable database services. If the database fails, deployment can stop before higher level services become operational.

CHALLENGES ENCOUNTERED

15 of 26

NEUTRON: FIXES AND REGRESSIONS

18

What broke in my lab

  • Neutron networking failed due to Open vSwitch and Geneve allocation issues.
  • The failure surfaced during tenant network creation and tunnel setup.

Temporary recovery

  • After repairing allocations, one test network successfully reached ACTIVE.
  • That result proved the data path could work under correct state.

Regression after rebuild

  • A later DevStack rebuild reverted something, and network creation failed again.
  • Requests started returning service errors, blocking repeatable provisioning.

Operational lesson

  • A one-time fix is not reliability until it survives rebuilds and reboots.

CHALLENGES ENCOUNTERED

16 of 26

Nova: Compute Service Readiness Timeout

19

What broke

  • DevStack timed out waiting for Nova Compute to become ready.

What I verified

  • A subsequent check showed nova-compute, nova-scheduler, and nova-conductor enabled and up.

How I debugged it

  • A running process is not necessarily a ready service. Deployment validation requires checking actual service health.

Honest status

  • No confirmed root cause or durable fix yet, based on my lab evidence.

CHALLENGES ENCOUNTERED

17 of 26

WHAT WORKED (AND DIDN’T)

Still not repeatable

  • After a rebuild, networking regressed and network creation returned HTTP 503.
  • Keystone access later hit HTTP 504, blocking reliable auth workflows.
  • Conclusion: real signals, but not a complete, stable cloud yet.

Verified in the lab

  • DevStack brought up multiple services, showing control-plane progress.
  • Basic Linux bridge plumbing existed, enough to start networking tests.
  • After a Geneve allocation repair, one Neutron network reached ACTIVE.

21

RESULTS

18 of 26

DEVSTACK VS PRODUCTION

Kolla-Ansible direction

  • Containerized services and clearer operational workflows for real deployments.
  • Takeaway: installing once is easy; running reliably is the work.

Production: lifecycle first

  • Needs upgrades, rollback plans, security isolation, and change control.
  • Multi-node design and HA add complexity far beyond a single host.

DevStack: fast feedback

  • Optimized for learning service interactions and testing failure modes quickly.
  • Great for experimenting, but not for repeatable, long-lived operations.

22

RESULTS

19 of 26

NEXT: IRONIC IN MY LAB

Honesty about status

  • This plan is conceptual until I can verify end-to-end provisioning.
  • It is my bridge from a laptop lab to real bare-metal operations.

Bare-metal workflow to learn

  • Practice node registration, inspection, cleaning, and deploy/active states.
  • Understand how BMC control fits with images and networking.

What I want to test next

  • Add Ironic to the lab using virtual BMC-backed nodes.
  • Keep the setup isolated so failures do not break core DevStack.

RESULTS

23

20 of 26

DESIGN CONSIDERATIONS AND COSTS

21 of 26

RESILIENCE IS

OPERATIONS

25

Resilient core architecture

  • Use three controller nodes to avoid single points of failure.
  • Scale out with dedicated compute nodes, not one all-in-one host.
  • Back workloads with durable shared storage, not local disks.

Operational pillars, not add-ons

  • Treat Ceph as a platform dependency with clear failure domains.
  • Bake in monitoring and centralized logging for fast fault isolation.
  • Plan backups and recovery drills as first-class cloud features.

Where HA really comes from

  • High availability is proven through runbooks, upgrades, and incident practice.
  • The hardest work starts after install: operations, change control, and on-call.

DESIGN CONSIDERATIONS AND COSTS

22 of 26

TRUE COST OF OWNERSHIP

A fair public-cloud comparison

  • Account for compute, storage, egress, and support tiers together.
  • Compare the full operating model, not only the server purchase.

Costs that appear later

  • Budget for support, spare parts, and scheduled hardware refreshes.
  • Include monitoring, backups, security patching, and incident response.

Cost drivers you own

  • Plan for servers, switching, storage, power, cooling, and racks.
  • Connectivity is part of the bill: transit, peering, and redundancy.
  • People cost is real: engineers, on-call, and operational runbooks.

DESIGN CONSIDERATIONS AND COSTS

26

23 of 26

BUILD OR RENT?

27

When building is rational

  • Choose OpenStack when locality and operational control are primary requirements.
  • Expect to own upgrades, monitoring, incident response, and capacity planning.

When renting is rational

  • Choose public cloud for fast delivery and elastic scaling of changing demand.
  • Trade away infrastructure control in exchange for managed platform operations.

Decision criteria (not ideology)

  • Let compliance, security boundaries, predictability, and availability targets decide.
  • Do not assume local is cheaper, safer, or simpler by default.

DESIGN CONSIDERATIONS AND COSTS

24 of 26

HYBRID BY REQUIREMENTS

DESIGN CONSIDERATIONS AND COSTS

03

Decide by requirements, not identity

  • Match each workload to constraints: locality, scaling, and operational maturity.

02

Use public cloud for elasticity

  • Burst workloads benefit from fast capacity without buying spare hardware.
  • Global-facing or fast-changing systems fit managed services and scale.

01

Keep it local when it matters

  • Run latency-critical services close to users for predictable performance.
  • Host locality-sensitive data where your operations and controls are strongest.

28

25 of 26

THREE LESSONS

Lesson 3: Ops creates the cloud

  • Value comes from monitoring, runbooks, backups, and repeatable recovery.
  • Lab failures were useful because they exposed real operational coupling.

Lesson 2: Identity and networking are the floor

  • If Keystone or Neutron is unstable, everything above becomes unreliable.
  • Debug from endpoints and connectivity upward, not from the UI down.

Lesson 1: The stack is a chain

  • One incompatible package or host assumption can cascade across services.
  • Treat dependencies, versions, and rebuilds as first-class engineering work.

CONCLUSIONS

30

26 of 26

CLOSING: OWN YOUR CLOUD

What “owning” really means

  • Owning cloud means owning operations: upgrades, incidents, capacity, backups.
  • Control is valuable only if you can run it reliably.

Choose what to own

  • Do not own everything by default; own what requirements demand.
  • Let workload criticality, skills, and economics set the boundary.

Where OpenStack fits

  • OpenStack enables local control when teams can operate it well.

31

Thank you

  • Mutethya Nzioka, Catholic University of Eastern Africa (CUEA).
  • Contact: https://github.com/Mutethya-a

CONCLUSIONS