Configure DevStack with KVM-based Nested Virtualization

When using virtualization technologies like KVM, one can take advantage of “Nested VMX” (i.e. the ability to run KVM on KVM) so that the VMs in cloud (Nova guests) can run relatively faster than with plain QEMU emulation. Kernels shipped with Linux distributions doesn’t have this enabled by default. This guide outlines the configuration details… Continue reading Configure DevStack with KVM-based Nested Virtualization

Published
Categorized as OpenStack

Multi-Node Lab

Here is OpenStack in a realistic test configuration with multiple physical servers. Prerequisites Linux & Network¶ Minimal Install¶ You need to have a system with a fresh install of Linux. You can download the Minimal CD for Ubuntu releases since DevStack will download & install all the additional dependencies. The netinstall ISO is available for… Continue reading Multi-Node Lab

Published
Categorized as OpenStack

All-In-One Single LXC Container

This guide walks you through the process of deploying OpenStack using devstack in an LXC container instead of a VM. The primary benefits to running devstack inside a container instead of a VM is faster performance and lower memory overhead while still providing a suitable level of isolation. This can be particularly useful when you… Continue reading All-In-One Single LXC Container

Published
Categorized as OpenStack

All-In-One Single Machine

Things are about to get real! Using OpenStack in containers or VMs is nice for kicking the tires, but doesn’t compare to the feeling you get with hardware. Prerequisites Linux & Network¶ Minimal Install¶ You need to have a system with a fresh install of Linux. You can download the Minimal CD for Ubuntu releases… Continue reading All-In-One Single Machine

Published
Categorized as OpenStack

General Questions

Can I use DevStack for production?¶ DevStack is targeted at developers and CI systems to use the raw upstream code. It makes many choices that are not appropriate for production systems. Your best choice is probably to choose a distribution of OpenStack. Can I use DevStack as a development environment?¶ Sure, you can. That said,… Continue reading General Questions

Published
Categorized as OpenStack

Developing with Devstack

Now that you have your nifty DevStack up and running, what can you do with it? Inspecting Services¶ By default most services in DevStack are running as systemd units named devstack@$servicename.service. You can see running services with. sudo systemctl status “devstack@*” To learn more about the basics of systemd, see Using Systemd in DevStack Patching… Continue reading Developing with Devstack

Published
Categorized as OpenStack

System-wide debugging

A lot can go wrong during a devstack run, and there are a few inbuilt tools to help you. dstat¶ Enable the dstat service to produce performance logs during the devstack run. These will be logged to the journal and also as a CSV file. memory_tracker¶ The memory_tracker service periodically monitors RAM usage and provides… Continue reading System-wide debugging

Published
Categorized as OpenStack

Configuration

local.conf¶ DevStack configuration is modified via the file local.conf. It is a modified INI format file that introduces a meta-section header to carry additional information regarding the configuration files to be changed. A sample is provided in devstack/samples The new header is similar to a normal INI section header but with double brackets ([[ …… Continue reading Configuration

Published
Categorized as OpenStack

DevStack

DevStack is a series of extensible scripts used to quickly bring up a complete OpenStack environment based on the latest versions of everything from git master. It is used interactively as a development environment and as the basis for much of the OpenStack project’s functional testing. The source is available at https://opendev.org/openstack/devstack. Warning DevStack will make… Continue reading DevStack

Published
Categorized as OpenStack