OpenStack Week 3

This week I deployed OpenStack.

In order to do that get devstack project from the github. We need its stable grizzly branch version:

https://github.com/openstack-dev/devstack/tree/stable/grizzly

By default Network management is not installed, so add this text into "localrc" file:

disable_service n-net enable_service q-svc enable_service q-agt enable_service q-dhcp enable_service q-l3 enable_service q-meta enable_service quantum

Optional, to enable tempest configuration as part of devstack

enable_service tempest

Since we want to have multiple-node OpenStack, we need to assign one PC as a server. To do it add this code into "stackrc" file:

disable_service n-net enable_service q-svc enable_service q-agt enable_service q-dhcp enable_service q-l3 enable_service q-meta enable_service quantum

To balance all VMs across servers deploy simple scheduler, by adding to "localrc" this:

SCHEDULER=nova.scheduler.simple.SimpleScheduler

In the end run stack.sh

To add nodes, add this code to "stackrc"

ENABLED_SERVICES=n-cpu,rabbit,g-api,quantum,q-agt SERVICE_HOST=[IP of controller node] ------<< IP OF CONTROLLER NODE!!!!! MYSQL_HOST=$SERVICE_HOST RABBIT_HOST=$SERVICE_HOST Q_HOST=$SERVICE_HOST

However I came across few problems and I still cannot create VM in the OpenStack.

After you installed OpenStack make sure that all Virtualization capabilities are turned on in the BIOS.

Comments