Debian-OpenStack-Installer-legacy

Debian OpenStack Installer

A Devstack alternative to quickly deploy a test OpenStack environment on Debian-based distributions

Debian OpenStack Installer is a set of SH scripts that allows deploying a minimal OpenStack environment on Debian-based systems. It can install OpenStack on a single node, automatically configuring the core services.

Each script is responsible for configuring a single service.


Requirements

Supported Distros

Unsupported Distros


Minimum requirements


Important Note

This installer does not support Netplan. You must use ifupdown to properly configure networking and Open vSwitch (OVS) bridges for Neutron.


Disable Netplan and enable ifupdown

# Remove Netplan
apt remove netplan.io -y

# Install ifupdown
apt install ifupdown -y

# Stop systemd network manager
systemctl disable systemd-networkd
systemctl stop systemd-networkd

# Backup Netplan configuration files
mv /etc/netplan/*.yaml /etc/netplan/*.yaml.bak

Configure a static IP for your host’s public interface

Replace YOUR_PUBLIC_INTERFACE with your real interface name (e.g., ens33). Replace <HOST_IP>, <HOST_NETMASK>, and <HOST_GATEWAY> with the correct values for your network.

cat << EOF > /etc/network/interfaces.d/network
auto lo
iface lo inet loopback

auto YOUR_PUBLIC_INTERFACE
iface YOUR_PUBLIC_INTERFACE inet static
    address <HOST_IP>
    netmask <HOST_NETMASK>
    gateway <HOST_GATEWAY>
    dns-nameservers 8.8.8.8 1.1.1.1
EOF

# Restart networking
systemctl restart networking

OpenStack Installation

  1. Update the system:
sudo su
apt update -y && apt upgrade -y
  1. Install Git (if not already installed):
apt install git -y
  1. Clone the repository:
cd /root
git clone https://github.com/Sorecchione07435/Debian-OpenStack-Installer-legacy.git
cd Debian-OpenStack-Installer/
  1. Configure openstack.conf:
  1. Make the main script executable:
chmod +x openstack-install.sh
  1. Run the installation:
./openstack-install.sh

Installation may take a few minutes depending on your machine.


Installed Services


Access OpenStack

After installation:


Networks and Images

If the public or internal networks are not created correctly, or the Cirros image is missing, you can run:

./finalize.sh

Limitations


Conclusion

Once installation is complete, you can create instances, upload images, and experiment with OpenStack services.