74 Commits

Author SHA1 Message Date
Andrew Laski
6e7e1c941a Don't enable osapi_volume if n-vol not enabled.
Enabling cinder removes osapi_volume from enabled_apis in nova.conf but
if neither cinder or n-vol are enabled it should not be there.  It seems
that volume code is being removed from nova so osapi_volume should not
be enabled by default.

Fixes bug #1073701

Change-Id: I626a941f434b1c8c1a73b32318e21c99445b5541
2012-10-31 17:01:45 -04:00
Nachi Ueno
fda946e3eb Added ping_check and ssh_check functions and use it in exercise.sh
Change-Id: I69d41c9db527f60f250b6af36b2d8e9d0dd39684
2012-10-25 21:52:31 -07:00
Yoshihiro Kaneko
602cf9bd68 Add support for the Quantum Ryu plugin.
This patch allows using the Quantum Ryu plugin.
Ryu plugin lets Quantum link Open vSwitch and Ryu OpenFlow controller[1].

Ryu OpenFlow controller is not Openstack component, but I added some
processing that is related with Ryu to stack.sh for the convenience of
the person who intend to try the plugin.

Instructions for using Ryu plugin:
1. Enable services: "q-svc", "q-agt", "q-dhcp", "q-l3", "quantum", "ryu"
2. Set Q_PLUGIN to "ryu"
3. Set an internal network interface name to connect br-int on plural
   hosts to RYU_INTERNAL_INTERFACE (optional)

Example localrc:
  disable_service n-net
  enable_service q-svc q-agt q-dhcp q-l3 quantum ryu
  Q_PLUGIN=ryu
  RYU_INTERNAL_INTERFACE=eth1

[1] http://osrg.github.com/ryu/

Change-Id: Ic1da132fa421f1c70c10a319ee3239831b0f956f
2012-10-19 07:00:32 +00:00
Dean Troyer
4a43b7bd90 Cosmetic, comment and text cleanups
* functions
* stack.sh
* stackrc
* unstack.sh

A recent commit to stack.sh broke the RST formatting done by shocco to
produce the HTML-formatted files on devstack.org.  A bunch of comment
and spacing fixes were done (ala pep8 if there were such a thing for
shell scripts).

The only non-comment changes made were to the content of some error
messages.

Fixes bug 1042271

Change-Id: Id1c74cf25c03c4f18ed741f8026e36b0d4a598dd
2012-08-28 21:12:47 -05:00
Steve Baker
bfdad75eda Add support to optionally launch the heat service.
This allows the heat service to be started as a devstack service.

Heat is disabled by default, and can be enabled with this in your localrc:
ENABLED_SERVICES+=,heat

There is now a repo of heat-enabled images here:
https://github.com/heat-api/prebuilt-jeos-images/downloads

These can be added to the IMAGE_URLS in your localrc.

After devstack is launched, a template can be invoked with:
nova keypair-add --pub_key $HOME/.ssh/id_rsa.pub heat_key
heat -d create wordpress \
--template-file=../heat/templates/WordPress_Single_Instance.template \
--parameters="InstanceType=m1.tiny;DBUsername=wpuser;DBPassword=wppassword;\
KeyName=heat_key;LinuxDistribution=F16"

Change-Id: I07591295eb2b9eb7868b1577dd3c24b19812a689
2012-08-22 17:02:21 +12:00
John H. Tran
93361643c6 Add ceilometer
Implements bug 1023972. Add mongodb and pymongo installation.

Change-Id: I631dc8a37f3269e55112ec5a5f375d3a2fd3a604
2012-08-14 13:29:22 -07:00
Gary Kotton
37dda8d7a5 Remove Quantum V1 support
The update includes the following:
1. Removal of melange support (this is replaced by Quantum)
2. Removal of Quantum V1 support. This is all now pure V2.

Change-Id: Ief3982fe8fa7402eef5db3e115df741c2cc9f4d1
2012-08-08 13:52:51 -04:00
Devananda van der Veen
c0c6f00698 enable testing of openvz guests
This patch adds several options to allow using OpenVZ virt layer.
- modifies stack.sh and stackrc to recognize a new VIRT_TYPE option
- set IMAGE_URLS to an openvz image, if VIRT_TYPE == openvz

It also makes a few changes to some tests so that some implicit
defaults (such as the guest user account) can be overridden.

Change-Id: I0dde2dffbf3848fac1dd27eb37af84c0ac73d9aa
2012-08-03 18:15:01 -07:00
Jenkins
68b5a6a397 Merge "Add ability to override base git location." 2012-08-02 18:33:19 +00:00
Jenkins
13b7c22053 Merge "Define DEST in stackrc" 2012-08-02 01:34:15 +00:00
Monty Taylor
d5b18ecb72 Add ability to override base git location.
Change-Id: I823cf5ac467e903677783aee082785ec85c36186
2012-07-26 11:15:24 -05:00
John Griffith
d586e1c2b9 Change default volume service to Cinder
* Modifies stackrc to load Cinder instead of n-vol by default
  * Depends on https://review.openstack.org/#/c/9746/
  * Depends on https://review.openstack.org/#/c/9747/

Change-Id: I1fcb4bd274311d048dee54826b6408e5abb493d2
2012-07-25 14:10:01 -06:00
Eoghan Glynn
9cb1776a92 2.5x increase in default volume backing file size
The current default volume backing file size of ~2Gb seem unfeasibly
small and precludes running exercises that require multiple volumes
and/or snapshots to be created.

We increase this to ~5Gb.

Change-Id: Id6b8d122be919d1b0041288e81b735af21958ff7
2012-07-19 12:40:16 +01:00
Dean Troyer
1214d9d05a Define DEST in stackrc
Move the initial definition of DEST so it is available in localrc and
the tools/*.sh scripts.

Change-Id: Ifc1b3cf3c3cd7b732007e83e74710f14f20f7624
2012-07-06 09:39:15 -05:00
Chmouel Boudjnah
c4cd4140d3 Allow removing services explicitly.
- When adding a - (hyphen) at the begining of a service in
  ENABLED_SERVICES the service will be removed explicitly.

Change-Id: I69ce082d13b79aa88426e8012a941c4ae99741f6
2012-06-27 15:51:57 -07:00
Dean Troyer
67787e6b4c Add cinder support
* using the new functional pattern: cinder_XXX functions are in
  lib/cinder
* enable with 'c-api,c-sch,c-vol' in ENABLED_SERVICES, n-vol is still the default
* exercises/volumes.sh runs for cinder and n-vol
* move config to /etc/cinder
* change volume_group to stack-volumes; this also renames the backing file
  to /opt/stack/data/stack-volumes-backing-file.
* removes osapi_volume from nova.conf enabled_apis
* integrates cinder + keystone
* launches c-sch
* tweaks for multi node
* move enabled_apis substitution to init_cinder

18Jun2010
* restored & rebased
* update setup.py to use setup_develop() in lib/cinder

Change-Id: I1e1aa4387031c56e4fa239eb73bea2af8cef0e38
2012-06-20 14:11:19 -06:00
Jenkins
c634ccd707 Merge "Set default image for exercises" 2012-06-14 20:55:15 +00:00
Chmouel Boudjnah
fda9df8795 Install python-swiftclient when installing swift.
- Fixes bug 1002789.

Change-Id: I8ee54652c6a38c7c226c820366897e53807f664d
2012-06-11 22:41:28 +02:00
Dean Troyer
83d475eebe Set default image for exercises
The exercises search for an 'ami' image to run; when multiple images are
loaded this fails.  Rather than try to guess or just use the first one
we set the default image name to the cirros image that we load by default.

Change-Id: Iae91a011ca9c42a7715747a68e0deba0dba20835
2012-06-01 09:33:33 -05:00
Joe Gordon
42b1aa9c13 Fix devstack to support the new pulled out swift3
Change-Id: Ia4f5092e666b581aab4af4851c2848e84817c07a
2012-05-25 15:07:43 +00:00
Anthony Young
220d93848f Update to point noVNC to kanaka/master
* nova-novncproxy was accepted into kanaka/master
 * Fixes bug 994653

Change-Id: I1cb40440e6cfbad9ed28203c45deea9fb9305f91
2012-05-04 10:19:44 -07:00
Andrew Bogott
77a4e3a0f0 Invite python-openstackclient to the party.
(It doesn't do much, yet.)

Change-Id: If625a15d2d979b91b1d5d764b24c63acaf154657
2012-05-01 00:07:29 -05:00
Dean Troyer
45495258d6 Add glance client
* python-glanceclient overrides the old client shipped with glance in /usr/local/bin
* start adding exercises

Change-Id: I460ed5749bca69425f23d328c0537c2ef91f84a4
2012-04-25 21:24:30 -07:00
Chmouel Boudjnah
8da5656ffd Move ENABLED_SERVICES to stackrc.
allow us to do things like that :

ENABLED_SERVICES="$ENABLED_SERVICES,swift"

in localrc instead of having to copy the full config from stack.sh.

Fixes bug 951598.

Change-Id: I17e168473540760bcfa40a752ff2c266bd9b7044
2012-03-10 17:10:00 +01:00
Dean Troyer
0bd2410d46 Move all EC2 cred creation to eucarc
* Remove credential creation from files/keystone_data.sh
* Remove EC2 cert setup from openrc
* Remove sourcing of ec2rc from stackrc
* Collect the above in eucarc
* Allow rc files to be sourced from other directories; based on Chmouel's
  4881 proposal but is simpler and doesn't actually change the directory
* Create S3 endpoint
* Get EC2 and S3 endpoints from Keystone service catalog
* Add EC2 credential checks to exercises/client-env.sh
* exercises/bundle.sh and exercises/euca.sh use eucarc

Updates:
* remove readlink -f to stay bash 3 compatible
* use service catalog
* create S3 endpoint

Fixes bug 949528

Change-Id: I58caea8cecbbd10661779bc2d150d241f4a5822e
2012-03-09 21:41:00 -06:00
Dean Troyer
6a3f607272 Use keystone master branch by default
Change-Id: I25cf3908dcdde87e79d9a55ff3f7aef5610d7102
2012-02-16 16:34:16 -06:00
Vishvananda Ishaya
53284c8ed0 Change to use the right keystonelight repo
Change-Id: Ie216b9eade59f09c76d193a6d0fd353a02dd575f
2012-02-10 12:15:34 -08:00
Vishvananda Ishaya
658ac7a4cc create and store secret and access keys 2012-02-06 22:56:37 +00:00
termie
a96a418171 new keystone support 2012-02-02 14:55:05 -08:00
Jason Kölker
64a9066018 Add Melange Support
Change-Id: I3961a007b10aed5ef47422bcf0eedd43d35a2cff
2012-01-31 12:43:32 -06:00
Dean Troyer
608bb12ae5 Update devstack's Tempest integration
Split build_ci_config.sh into:
* tools/build_tempest.sh - checks out Tempest and installs prereqs
* tools/configure_tempest.sh - creates tempest.conf from devstack

Change-Id: I22f40226afb617a5a6e32f2631b07d5509f10b13
2012-01-30 23:36:02 -06:00
Anthony Young
fc3c62d17c Remove openstackx from devstack
* Fixes bug 917457

Change-Id: I590eb54195b2783adb78f64486c300f6db650ac2
2012-01-26 12:31:09 -08:00
Jenkins
fa436aa228 Merge "Keystone updates" 2012-01-26 01:32:43 +00:00
Dean Troyer
7d9543075a Keystone updates
* use master branch (was stable/diablo)
* add database sync

Change-Id: Ie3bd383e2fca14ec37379bd21d93d92d62451f3b
2012-01-25 17:59:02 -06:00
Dave Lapsley
5a09c9220b Fix bug 921845
Update stack.sh and stackrc to support new Quantum server/client
repo split.

Change-Id: Iea8df5270f765a635a444c0e39a22809473a605f
2012-01-25 17:45:03 -05:00
Jenkins
2d58f8603b Merge "if using lxc, use cirros rootfs image" 2011-12-30 17:42:18 +00:00
Anthony Young
52e631d8aa make python-keystoneclient configurable via devstack, remove pip requirement for horizon.
* Update to use https://github.com/openstack/python-keystoneclient

Change-Id: I54c1ba7fe11de9a6a8f53bdfe8b1c0bd2f5b8f58
2011-12-28 15:55:34 -08:00
Scott Moser
a368218a7e if using lxc, use cirros rootfs image
The cirros 'uec' image contains a kernel, a ramdisk, and a rootfs.
However, the rootfs is empty. cirros copies its ramdisk to it on its first
boot.  That means, if you try this with lxc, there is no filesystem for
lxc to boot.

So, in the case of lxc, import the rootfs image, which is a populated
ext3 filesystem, which is what nova lxc expects.

Change-Id: I3ada380c61044a08697b0a964a962b269ea5224c
2011-12-16 10:32:16 -05:00
Scott Moser
3584e555bc stackrc: replace ttylinux-uec images with cirros
http://launchpad.net/cirros is basically "ttylinux-uec 2.0".

These images should function wherever ttylinux-uec did, and
work well better under lxc.

Change-Id: I5b8485a7bb3518e05172b297fccd16e497463525
2011-12-13 20:48:27 -05:00
Scott Moser
4f6d7b61b3 support non "uec style" IMAGE_URLS
This adds support for image urls that end in .img.gz or .img.
The assumption is that they're a full disk image or a compressed
disk image.

Some examples:
 https://cloud-images.ubuntu.com/server/releases/11.10/release/ubuntu-11.10-server-cloudimg-i386-disk1.img
 http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-rootfs.img.gz
 http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img

Change-Id: I79b67b461fb02f2403dad3e15f630fa9817eb0db
2011-12-09 15:19:26 -05:00
Dean Troyer
f79cc42d0d Rename openstack-integration-tests to tempest
Change-Id: Ib565edd1278c609796e1f8692a2f6ef276152328
2011-12-01 10:23:32 -06:00
Jesse Andrews
9c7c9083a4 initial devstack + essex
* update horizon apache config
* updates apts for horizon
* better logging for horizon
* keystone conf settings
* only add swift endpoint if it is enabled
* new nova paste

Change-Id: I1edacbe5d8adc4bd5265d36abcaf01ce5490aefd
2011-11-23 11:26:39 -08:00
Jesse Andrews
38df1228de revive working with subset of services
Change-Id: I645c5df457a2ac2c997ac32720d53cacc0fa109b
2011-11-20 09:55:44 -08:00
sleepsonthefloor
5179a3e607 Merge pull request #170 from cloudbuilders/ci-tests
Add CI tests
2011-11-14 16:12:33 -08:00
Vishvananda Ishaya
e978e7fde2 switch to using stable-diablo 2011-11-14 10:55:47 -08:00
Dean Troyer
b0e57cf38f Add CI tests 2011-11-07 10:56:12 -06:00
Chmouel Boudjnah
f7788ac680 Use stable/diablo for swift. 2011-11-03 10:00:06 +01:00
Chmouel Boudjnah
24ec3499cc Merge remote-tracking branch 'origin/master' into new-swift-support
Conflicts:
	stack.sh
2011-11-03 09:08:14 +01:00
Anthony Young
9a766999c8 fix quantum branch name - diablo does not exist 2011-11-03 00:23:51 -05:00
Chmouel Boudjnah
45c5113701 Add keystone support with swift. 2011-11-02 17:07:19 +01:00