322 Commits

Author SHA1 Message Date
Jenkins
ab9d33866b Merge "Add Quantum NEC OpenFlow plugin support" 2013-04-02 11:43:23 +00:00
Dean Troyer
e9e80f9bfa Clean up Nova API prereq
Bug 980966

Change-Id: If5bbcc094b54a2de96151d69653e57e0e540d6de
2013-03-29 10:36:00 -05:00
Akihiro MOTOKI
7104ab406a Use example settings in horizon repo as local_settings.py
The current horizon_settings.py in devstack is out-of-date and we
tend to forget to update this file. This commit changes devstack
to use the example settings in horizon repo.

Change-Id: I0bb6af21a806a72ed59f31b094dd21da85ca335e
2013-03-29 03:01:50 +09:00
Akihiro MOTOKI
f85fa089bb Add Quantum NEC OpenFlow plugin support
NEC OpenFlow plugin supports several OpenFlow controllers. This commit
also adds a third party script to support Trema Sliceable Switch,
one of open source OpenFlow controllers.

Change-Id: I5dddf04a25bc275c3119d751ca79b482e1875902
2013-03-22 14:19:08 +09:00
Jenkins
08fd641a19 Merge "Enable swift by default." 2013-03-15 14:41:54 +00:00
Jenkins
c3c04fdba4 Merge "Make openSUSE port up-to-date" 2013-03-14 21:15:31 +00:00
Jenkins
80da9fa4dd Merge "Remove unused n-vol package lists" 2013-03-14 20:22:25 +00:00
Vincent Untz
3f34d9af71 Make openSUSE port up-to-date
Several changes didn't properly deal with openSUSE, so fix this.

Change-Id: Icc9c894031a8a693d9c41e2ec5717bd76f618342
2013-03-12 18:02:55 +01:00
Jenkins
c3b658c8df Merge "Allow mongod service to launch on Fedora" 2013-03-11 17:35:04 +00:00
Jenkins
2a5d1ec15e Merge "Add a dependency on openssl." 2013-03-08 15:16:40 +00:00
Jenkins
c123001c62 Merge "Add Domain subtree to keystone LDAP structure" 2013-03-07 21:03:29 +00:00
David Ripton
a0f660b0f9 Add a dependency on openssl.
Nova and Keystone use openssl to setup certificates.  If it's not
there then Keystone fails with "Error 2: No such file or directory",
Nova fails with "openssl: command not found" and glance fails with
"glance: error: argument --os-auth-token: expected one argument"
Basically, cascading errors everywhere.  So I put the dependency
in "general" since it affects multiple packages.

Fixes bug 1152315

Change-Id: I803f91644443d7aba78c0a90384e32f6eece36ec
2013-03-07 15:46:25 -05:00
Jenkins
5c48f15b76 Merge "Add apt dependencies for ceilometer tests" 2013-03-07 20:42:12 +00:00
Eoghan Glynn
285c75e7a4 Allow mongod service to launch on Fedora
Fixes bug 1144907

Previously, the mongod service may fail to launch, if the eager
filesystem freespace check trips over an SELinux AVC or finds
a lack of freespace (depending on the up-to-datedness of the
selinux-policy-targeted package and the disk size/usage in the
hosting instance).

We work around these issues by ensuring the selinux-policy-targeted
package is up-to-date when ceilometer is enabled on Fedora, and
also setting the --smallfiles option.

Change-Id: I74f21662aedf9cc07b9a335d22b833a8a80dfce2
2013-03-07 12:58:34 +00:00
Jenkins
674df73405 Merge "Remove trailing slash from ceilometer endpoint URLs" 2013-03-06 19:09:08 +00:00
Joe Gordon
933120695d Remove unused n-vol package lists
Nova-volume was removed in Grizzly

Change-Id: If911e50d4d5cd89ce6d4e442335634ed635545cd
2013-03-06 10:25:47 -08:00
Chmouel Boudjnah
0c3a5584c6 Enable swift by default.
- Set by default SWIFT_REPLICAS to 1 since this is the most common use
  case when using it in devstack.
- If we have swift_replicas to 1 launch the object container account and
  proxy servers in foreground in screen.
- Allow any s- services if we have just 'swift' in service enabled
  instead of having to specify all s- services to enable swift. This will be
  removed in the future.
- Set object server starting at 6013 instead of 6010 to not conflict
  with remote ssh x11 forwarding.

Change-Id: I890b6953b70283bfa0927fff0cf5e92f3c08455b
2013-03-06 13:16:37 +01:00
Doug Hellmann
31ffddd5b7 Add apt dependencies for ceilometer tests
The ceilometer tests use an in-memory version of
MongoDB that uses spidermonkey for JavaScript
interpretation. spidermonkey, in turn, depends
on nspr and pkg-config.

Ceilometer also uses lxml, which wants libxml2-dev
and libxslt-dev.

bug 1115332

Change-Id: Ie2fca1203107b6397fa6babbef37dbaae7592373
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2013-03-05 11:58:00 -05:00
Eoghan Glynn
21ddaac870 Remove trailing slash from ceilometer endpoint URLs
Fixes bug 1146794

Ensure the URLs configured for the ceilometer endpoint in the keystone
service catalog do not contain a trailing forward slash.

Otherwise, this leads to an extra forward slash in the URL paths
constructed by the ceilometer client, which in turn is problematic
for the v2 API.

Change-Id: I7d457efc6e01e4e955388f52a4907524052f0173
2013-03-05 12:40:59 +00:00
Sean Dague
f3fd44c4be Revert "Enable swift by default."
This reverts commit 5a5cbf7274a6a50bb766ec590cf885430ed5c5d0.

This breaks on a default openstack install on Ubuntu 12.10,
revert for now until this can be cleaned up to work out of the
box.

Change-Id: I185509cc30bd28e920cdab60fc92129949bd6b0d
2013-03-04 17:52:03 -05:00
Brad Topol
8aa5106448 Add Domain subtree to keystone LDAP structure
Fixes Bug1144927
This fix adds a Domain subtree to the initial
LDAP structure for configuring keystone's LDAP.

Change-Id: I6ec06efc9e0a40bfc81d838b9f0d6167e9441dff
2013-03-04 13:14:27 -06:00
Brad Topol
f41024e4b0 Fixes Bug1130377 devstack ldap set values in keystone.conf
Addressed reviewers comments and added some extra properties
needed by latest version of keystone.
This fix sets some needed values in keystone.conf to ensure
that keystone can add entries to LDAP and remain schema
compliant.  It creates a new special role (_member_) that
is needed by the latest version of keystone and also
fixes tenant_id to be tenantId.

Change-Id: Ia2a1ebb7cbedb0af106c74aa9181843cc9739f5d
2013-02-22 14:41:54 -06:00
Chmouel Boudjnah
5a5cbf7274 Enable swift by default.
- Set by default SWIFT_REPLICAS to 1 since this is the most common use
  case when using it in devstack.
- If we have swift_replicas to 1 launch the object container account and
  proxy servers in foreground in screen.
- Allow any s- services if we have just 'swift' in service enabled
  instead of having to specify all s- services to enable swift. This will be
  removed in the future.

Change-Id: I496f79e14f99bd7e9f2c7deee12a4b6e935c3a5b
2013-02-22 18:50:08 +01:00
Tim Miller
f7bfa71df9 Add genisoimage to package dependencies:
This package is required to boot instances with config_drive.

bug #1053304

Change-Id: Ib85220d17a73563d0af813d95b7de8fa95445ded
2013-02-27 11:17:31 -08:00
Chuck Short
241d74e670 Remove duplicate package
Remove duplicate kvm

Change-Id: I2cb367a123f47179b7b64ecfe9b61d2a4247d9ff
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2013-02-27 09:28:55 -06:00
Nachi Ueno
e3aaa96a72 Adding sysstat monitoring
You can add sysstat logging on the devstack run.
In CI environemnt, sometimes VM creation, Volume creation or
Python unit testing timeouts. It is valuable to monitor
sysstat for investigate the issues.

- How to enable sysstat ( Default is off )
enable_service sysstat

- This commit adds two env variables.
SYSSTAT_FILE : sysstat log file
SYSSTAT_DURATION : duration of sysstat monitoring

Change-Id: I65efb574ef141e6e78c69218f4327df59b3258e2
2013-02-20 18:36:51 -08:00
Jenkins
50cb859427 Merge "Add Nova fibre channel support required packages" 2013-02-20 04:57:14 +00:00
Isaku Yamahata
429b39d8f8 Quantum/plugins/ryu: minor update for Quantum Ryu plugin
- updated package list for Ryu
  ryu plugin/agent needs python-netifaces
- quantum-ryu-agent also needs ryu module

Change-Id: I5b49efceb65e8139a49a8e82f55ea6aa7d1eebac
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2013-02-08 12:28:51 +09:00
Brad Topol
f127e2f316 Add optional silent install and config of ldap to devstack
Edited initial ldap entries and olcdb template file as recommended by Brant.

Change-Id: I1404cc5c754f878e32a2d10254840d092211e6e6
2013-02-05 20:00:15 -06:00
Jenkins
bfab7568a2 Merge "have the run and logs files in $SWIFT_DATA_DIR" 2013-01-30 01:27:30 +00:00
Sean Dague
74c67fd861 add numpy to package list, saves lots of time
websockify was added to the pip requires, and it has a dependency
of numpy. Because we didn't specify it in the package list, it was
built from source every time, adding 3 minutes to an average run.

Stop testing whether numpy compiles 100 times a day in CI.

Change-Id: Ic9d9b8135a917deb846911c6b266aec87d05781a
2013-01-22 18:10:16 -05:00
Chmouel Boudjnah
ad8b27626e have the run and logs files in $SWIFT_DATA_DIR
- Set all the run lock and logs files to go to $SWIFT_DATA_DIR.

Change-Id: I42b72572e9700457475398043057d37d0dbc65ac
2013-01-22 11:30:49 +00:00
Walter A. Boring IV
f2696c0d85 Add Nova fibre channel support required packages
This patch is to support the nova patch that adds
Fibre Channel support to nova.  Fibre Channel requires
sysfsutils, sg3-utils, multipath-tools

Change-Id: I9e44ef9152f1916b245dba3be77076f0283fed44
2013-01-18 13:18:00 -08:00
Daniel P. Berrange
d10e12f133 Add support for setting up nova-spicehtml5proxy
Add a new service 'n-spice' which is off by default, but can
be enabled to turn on SPICE support in the Nova libvirt driver.
Also if neither n-novnc or n-xvnc are enabled, then disable
VNC support. This allows running in a SPICE only environment.

The spice-html5 repo will be checked out to support the Horizon
client integration

Change-Id: If74fad33a7b491450afd823758d35b06ebe72cb9
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013-01-17 14:36:58 +00:00
Clark Boylan
4d9f6e36e0 Use apt git package instead of git-core.
The git-core package is deprecated in favor of the git package. Use the
git package instead.

Change-Id: Ib136e34c7a0d4f87b02e32996420b3f507ca0bf4
2013-01-08 12:04:23 -08:00
Matthew Treinish
b38d61bc3b Add libjs-jquery-tablesorter to package list.
Coverage html reports have a symlink to jquery.tablesorter.min.js
which is provided by libjs-jquery-tablesorter. If the package is
not installed coverage html reports will have a broken symlink to
that file.

Change-Id: I7496a22f36d4f2fda2f030962b10d5afbc8f448f
2013-01-04 13:38:23 -05:00
Devananda van der Veen
f35cf91a1d adding support for baremetal hypervisor
New files for baremetal driver:
- lib/baremetal
- files/apts/baremetal

Adds two dependencies:
- google shell-in-a-box
- diskimage-builder

Enable by setting both:
  VIRT_DRIVER=baremetal
  ENABLED_SERVICES="$ENABLED_SERVICES,baremetal"

Change-Id: Ibf6fe1671a759a449c9eb0df47751d1b31ade591
2012-12-28 11:33:58 -06:00
Akihiro MOTOKI
66afb47cb9 Refactor quantum installation
* Move quantum installation to lib/quantum
* Refactor quantum configuration
* Move Quantum service account creation from keystone_data.sh to lib/quantum
* Define generic functions to install third party programs

* Minor cleanups related to Quantum
  * Kill dnsmasq which watches an interface 'ns-XXXXXX' in unstack.sh
  * Set default_floating_pool in nova.conf to make default flaoting pool
    work when PUBLIC_NETWORK_NAME is other than 'nova'
  * Make tempest work even when PRIVATE_NETWORK_NAME is other than 'private'

Change-Id: I4a6e7fcebfb11556968f53ab6a0e862ce16bb139
2012-12-26 23:41:38 +09:00
Jenkins
8dc995c701 Merge "Move cinder account creation out of keystone_data.sh" 2012-12-18 13:08:03 +00:00
James E. Blair
eb4ae630bc Stud is only in >=precise.
Change-Id: Ieb302e80af69a783736f2ebbdc9077e2cafe6a35
2012-12-16 19:00:26 -08:00
Dean Troyer
671c16e63a Move cinder account creation out of keystone_data.sh
Supports the coming HA/proxy configuration for Cinder

Change-Id: If2e08e45430dce895ed6bb1070612517a38ca4bc
2012-12-14 09:17:28 -06:00
Jenkins
60ffc61650 Merge "Add TLS support for keystone via proxy" 2012-12-12 19:57:02 +00:00
Jenkins
d85f503e9a Merge "Add the role heat_stack_user for heat" 2012-12-12 18:17:22 +00:00
Dean Troyer
a0dce264d9 Move Nova account creation out of keystone_data.sh
Supports the coming HA/proxy configuration for Nova

Change-Id: I2baf1f51486537a1489f1376d38f5710bd96c314
2012-12-11 17:34:28 -06:00
Dean Troyer
c83a7e125f Add TLS support for keystone via proxy
* Adds lib/tls to create test CA/certs
* Start proxy if 'tls-proxy' is enabled
* Configure keystone service catalog for TLS
* Tear down proxy in unstack.sh
* Set auth protocol and ca-cert chain in openrc
* Add DATA_DIR to stackrc

This is the first in a series of patches to enable TLS support
for the service API endpoints.

Change-Id: Ia1c91dc8f1aaf94fbec9dc71da322559a83d14b6
2012-12-11 17:08:54 -06:00
Steve Baker
053a5f8425 Add the role heat_stack_user for heat
Change-Id: I0c3ac92d222ff746baca817002821f109815fee9
2012-12-11 17:08:48 +13:00
Vincent Untz
818a9fa327 Install qemu on openSUSE
qemu is used as a fallback when kvm cannot be used.

On Debian and Fedora, the binaries are there when kvm is installed, but
this is not the case on openSUSE.

Change-Id: I96592d105428acde9636608002109c166ac7a56a
2012-12-05 17:39:33 +01:00
Jenkins
1cd8a4725b Merge "Add package names for openSUSE/SLE" 2012-12-04 17:18:44 +00:00
Dean Troyer
d835de892a Move keystone account creation out of keystone_data.sh
keystone_data.sh is getting unwieldly and increasingly needs
configuration information for services.  Also need the ability
to manipulate HOST/IP information for hosts to handle service
HA/proxy configurations.

Begin moving the creation of service account information into
the service lib files, starting with the common accounts and
keystone itself.

Change-Id: Ie259f7b71983c4f4a2e33ab9c8a8e2b00238ba38
2012-12-03 13:47:27 -06:00
Jenkins
5f9d6a4d0e Merge "Add ResellerAdmin role to ceilometer user." 2012-11-30 20:38:46 +00:00