[Openstack] turn a devstack into a deployment

Yun Mao yunmao at gmail.com
Tue Nov 22 17:05:15 UTC 2011


devstack makes setting up a dev environment such a breeze, that I'd
rather not go back to the packages and manual installations if
possible, for a not so serious deployment environment.

So I wrote the script upstart.sh and a few templates. The basic idea
is that once you like what stack.sh has done to your system, you can
convert them into upstart services. The benefits are: run them like
daemons instead of in screens; store logs in files; automatic start up
after a reboot.

It works with glance-*, nova-*, novnc, and keystone, not with quantum
or swift yet.

put it on github https://github.com/maoy/devstack/tree/upstart

Usage: after you've done ./stack.sh
do: ./upstart.sh install
Now the services are installed. To use them, either reboot to get rid
of the services started by stack.sh, and automatically start those
services, or do killall screen, then ./upstart.sh start

Feedback is welcome. Thanks,

Yun




More information about the Openstack mailing list