[Openstack-operators] Unable to launch instance after basic two-node DevStack installation

Nico van Gessel nico.vangessel at biologie.uni-freiburg.de
Mon Mar 31 10:50:38 UTC 2014


Hey there,

for three weeks I am struggling to get a basic OpenStack environment going. I learned a lot during my work but am still relatively new to Linux
networking and the cloud architecture. After several luckless attempts to manually set up the machines following the official OpenStack documentation
and some other tutorials I finally landed at using DevStack and still am unable to get things going.

My setup consists of
- one physical controller node ("controller", 10.8.234.100, 4 cores, 16 GB RAM, 1 TB RAID1) and
- one physical compute node ("compute1", 10.8.234.101, 8 cores, 64 GB RAM, 1 TB RAID1)

Both run on fresh Ubuntu 12.04 Server installations and connect to the same network (10.8.234.0/24) on eth0 through a gateway (10.8.234.254), using
aspecific proxy (http://proxy.uni-freiburg.de:8080) and DNS (132.230.201.111).

Using Ubuntu's environment variables I added proxy addresses, the no_proxy and the substitution of "git://" to /etc/profile:

------------------------
export http_proxy=http://proxy.uni-freiburg.de:8080
export https_proxy=http://proxy.uni-freiburg.de:8080
export ftp_proxy=http://proxy.uni-freiburg.de:8080
export no_proxy="localhost,*.local,127.0.0.0/8,192.168.0.0/24,10.8.234.0/24"
git config --global url."https://".insteadOf git://
------------------------

To get a simple nova-network with basic services I configured the devstack/local.conf on both nodes accordingly:

------------------------

[[local|localrc]]
## Controller Host ##
HOST_IP=10.8.234.100
MULTI_HOST=1

## Network nova-network ##
FLAT_INTERFACE=eth0
FIXED_RANGE=192.168.0.0/24
FIXED_NETWORK_SIZE=254
FLOATING_RANGE=10.8.234.128/27

## Leaving Default Services Enabled ##
DISABLED_SERVICES=neutron

## Passwords ##
ADMIN_PASSWORD=password
MYSQL_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=token

## Logs ##
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=False
SCREEN_LOGDIR=/opt/stack/logs

RECLONE=yes

## Images ##
IMAGE_URLS+=",http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img"

------------------------

[[local|localrc]]
## Compute Host ##
SERVICE_HOST=10.8.234.100
HOST_IP=10.8.234.101
MULTI_HOST=1

## Network nova-network ##
FLAT_INTERFACE=eth0
FIXED_RANGE=192.168.0.0/24
FIXED_NETWORK_SIZE=254
FLOATING_RANGE=10.8.234.128/27

## Compute Node Services ##
ENABLED_SERVICES=n-cpu,n-net,n-api,n-vol

## API URIs ##
Q_HOST=$SERVICE_HOST
MYSQL_HOST=$SERVICE_HOST
RABBIT_HOST=$SERVICE_HOST
GLANCE_HOSTPORT=$SERVICE_HOST:9292
KEYSTONE_AUTH_HOST=$SERVICE_HOST
KEYSTONE_SERVICE_HOST=$SERVICE_HOST

## Passwords ##
ADMIN_PASSWORD=password
MYSQL_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=token

## Logs ##
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=False
SCREEN_LOGDIR=/opt/stack/logs

------------------------

After succesfull completion of devstack/stack.sh on both nodes I can log in to Horizon and am able to see both Hypervisors "controller" and "compute1".
Though when trying to launch an instance I get the following error message:

------------------------
Error: Failed to launch instance "Test": Please try again later [Error: Remote error: ProcessExecutionError Unexpected error while running command.
Command: sudo nova-rootwrap /etc/nova/rootwrap.conf env CONFIG_FILE=["/etc/nova/nova.conf"] NETWORK_ID=1 dnsmasq --strict-order --bind-interfaces
--conf-file= --pid-file=/opt/stac].
------------------------

Is there somebody having an idea on what could be the problem here? My initial thought was that there maybe a conflict with the given DNS and/or
proxy. But I don't know how to analyze this possibility.

I'd be deeply grateful for some suggestions...

Regards, Nico



More information about the OpenStack-operators mailing list