Fedora 16 Devstack

Devstack is a developer tool for dealing with the wide array of projects that make up openstack.  The original devstack is Ubuntu specific.  Russell B has been working on getting Fedora its own Devstack.  Today, I’m a test subject.

Yesterday I got a Box from Spot that I gave a fresh  Fedora 16 install  including the yum group for Virtualization.  Downloaded and installed aF16 and a F17 VM,  so I know it can do the basics.

Today’s notes:

yum install git

git clone https://github.com/russellb/devstack.git

git branch --track fedora-support  remotes/origin/fedora-support

git checkout fedora-support

edit localrc (inside the git repo, it has been .gitignored) and add the line:

MESSAGING_SYSTEM=qpid
./stack.sh

 

Output is :

which: no lsb_release in (/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/ayoung/.local/bin:/home/ayoung/bin)
./stack.sh: line 180: -q: command not found

The first warning is spurious.  The second Russell Fixed that by quoting
CHECK_SUDO_CMD="rpm -q sudo"

And pushed to git. fetc, rebase and now we are at:

./stack.sh
which: no lsb_release in (/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/ayoung/.local/bin:/home/ayoung/bin) sudo-1.8.3p1-2.fc16.x86_64 [sudo] password for ayoung: eth0: error fetching interface information: Device not found Could not determine host ip address. Either localrc specified dhcp on eth0 or defaulted to eth0

This host doesn't have eth0, it has em1. So to fix that set add a line to localrc

HOST_IP_IFACE=em1

Ran ./stack again and:

DEBUG:openstack_dashboard.settings:Running in debug mode without debug_toolbar.
Traceback (most recent call last):
#lines removed for brevity
File "/opt/stack/horizon/horizon/decorators.py", line 29, in module
from horizon.exceptions import NotAuthorized, NotFound
File "/opt/stack/horizon/horizon/exceptions.py", line 137, in module
swiftclient.Error,

To disable that,  edit localrc and add the line (note: without horizon on it)

ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-vol,n-sch,n-novnc,n-xvnc,n-cauth,mysql,rabbit

And the install succeeded. All processes are running in screens. You'll probably want The fine manual.

screen -x takes me to a nova command (which I accidentally kill and then rerun, as it was the last thing in bash histroy..)

 cd /opt/stack/nova && /opt/stack/nova/bin/nova-objectstore

Running Ctrl A "  gives the following list of screens.

0 stack
1 g-reg
2 g-api
3 key  
4 n-api
5 n-cpu
6 n-crt
7 n-vol
8 n-net
9 n-sch
10 n-novnc
11 n-xvnc
12 n-cauth
13 n-obj

The g-  screens are glance processes and the n- screens are nova processes.  key is keystone.

Kill all the screens with Ctrl-a / and then rerun stack.sh to see any changes.