Skip to content

OpenStack — Operations

Scope

Production deployment patterns, operational procedures, performance tuning, and troubleshooting for OpenStack.

Deployment

DevStack (Development)

git clone https://opendev.org/openstack/devstack
cd devstack
cp samples/local.conf .
./stack.sh

Production (Kolla-Ansible)

pip install kolla-ansible
kolla-ansible install-deps
kolla-ansible -i multinode bootstrap-servers
kolla-ansible -i multinode deploy

Service Operations

# Identity (Keystone)
openstack token issue
openstack project list
openstack user list

# Compute (Nova)
openstack server create --flavor m1.small --image ubuntu --network private myvm
openstack server list

# Networking (Neutron)
openstack network create private
openstack subnet create --network private --subnet-range 10.0.0.0/24 private-subnet
openstack router create router1

Performance Tuning

Component Parameter Recommendation
Nova cpu_allocation_ratio 4:1 (default 16:1 is aggressive)
Nova ram_allocation_ratio 1.5:1 (default)
Neutron l3_ha Enable for router HA
Cinder rbd_pool Ceph pool for block storage

Common Issues

Issue Diagnosis Fix
Service down openstack endpoint list Check service logs, restart
VM launch fails openstack server show <id> Check Nova scheduler, quotas
Network unreachable openstack port list Check security groups, DHCP
RabbitMQ cluster issues rabbitmqctl cluster_status Reset and rejoin node