2568 Commits

Author SHA1 Message Date
Jenkins
8dc7a10e3d Merge "Fix syntax error in lib/tempest" 2013-06-17 23:23:39 +00:00
Ian Wienand
c42ed258b4 Fix syntax error in lib/tempest
Fix syntax error in lib/tempest:
 Created tempest configuration file:
 21:06:30 ++ CINDER_MULTI_LVM_BACKEND=False
 21:06:30 ++ '[' False == 'True ]'
 21:06:30 /home/stack/devstack/lib/tempest: line 278: [: missing `]'

Change-Id: Ib4e393dad12751bdfb0e6f8fac3accd380a1f760
2013-06-17 13:23:44 +10:00
Jenkins
9539e79bd7 Merge "Use service role instead of admin role for service users" 2013-06-17 02:48:29 +00:00
Jenkins
ce0d541e87 Merge "Turn on l3 agent and external network bridge for Brocade plugin" 2013-06-17 02:48:22 +00:00
Jenkins
53797878a6 Merge "Add a new dependency for n-api" 2013-06-16 22:56:26 +00:00
Jenkins
1f02537e75 Merge "Install agent packages when running agents like DHCP or L3" 2013-06-16 09:29:16 +00:00
Jenkins
25b8df59f4 Merge "quantum-debug configuration fails on missing PUBLIC_BRIDGE" 2013-06-15 12:13:13 +00:00
Jenkins
201379cc38 Merge "Adds openssl-devel to the RPMs dependencies" 2013-06-15 12:13:10 +00:00
armando-migliaccio
8498487e55 Install agent packages when running agents like DHCP or L3
This is because these agents rely on quantum agent packages as
much as the L2 agent.

Fixes bug #1190050

Change-Id: I8b0c5667f86b22e3727a316f7bb0500d0d0ba637
2013-06-14 10:33:38 -07:00
Jenkins
f756470f0d Merge "Ensure flavor_ref_alt is different from flavor_ref" 2013-06-14 16:15:06 +00:00
Sean Dague
c377145632 allow overwriting of http_image in tempest.conf
the default http_image variable is an upstream cirros url in
tempest. However, in the gate this can cause flakey failures if
that has connection issues.

Ensure that we can override this from devstack-gate to be
something we are sure is going to work.

Partial fix for bug #1190623

Change-Id: Ie06fc231725c235f5ee8fd17fc87d3305bc845a3
2013-06-13 14:44:53 -04:00
Jenkins
ad31e1cb95 Merge "Install agent packages when running the Nicira plugin." 2013-06-13 17:19:16 +00:00
Jenkins
4cfb340a90 Merge "Periodic formatting cleanup" 2013-06-13 15:35:33 +00:00
Jenkins
a01a195527 Merge "Add support for setting extra networking configuration options." 2013-06-13 04:14:47 +00:00
Giulio Fidente
97e1bd0323 Enables the multibackend Cinder tests in tempest when useful.
The change adds in lib/tempest an optional dependency on the var
$CINDER_MULTI_LVM_BACKEND which, if set, enables the multibackend
tests in the tempest config.

Change-Id: Iccafd00f5adabbbc2309fa72664bf29440744d91
2013-06-12 10:12:26 +02:00
Jenkins
13cc62b1d0 Merge "Decrease the tempest build interval" 2013-06-11 22:40:07 +00:00
Jenkins
e299e33532 Merge "Correct InvalidInstanceID.NotFound test." 2013-06-11 22:34:40 +00:00
armando-migliaccio
fb430899a6 quantum-debug configuration fails on missing PUBLIC_BRIDGE
The Nicira plugin does not require an L3 agent, however the
PUBLIC_BRIDGE is needed by the quantum-debug tool as well as
nicira third_party configuration.

Fixes bug #1190062

Change-Id: Ie60f8f340e034a35a65e54518838c1d751a481a8
2013-06-11 15:22:58 -07:00
armando-migliaccio
174c751d05 Install agent packages when running the Nicira plugin.
This is necessary because currently the plugin uses the dhcp amongst
other agents.

Fixes bug #1190057

Change-Id: If9e79de2cf547076e0cac7ac0f71c9fb7fc2758f
2013-06-11 14:09:08 -07:00
Dean Troyer
1a6d4492e2 Periodic formatting cleanup
This is the semi-irregular comment and docs cleanup.

No functional changes should be here although some code is moved in a
small attempt to sort functions and get things where they need to be.

Change-Id: Ib4a3e2590c6fbd016c391acc7aef6421e91c0dca
2013-06-11 14:39:27 -05:00
Giulio Fidente
eeaa41a1ce Adds openssl-devel to the RPMs dependencies
pyOpenSSL (required by glanceclient) fails to build if openssl
header files are missing.

Change-Id: I3ebce749ee9ca88cbbecc6b7676a086d82670f4d
Fixes: bug #1188650
2013-06-11 17:58:05 +02:00
Jenkins
f606adb4a8 Merge "Make dependency on libvirt dynamic" 2013-06-10 22:30:44 +00:00
Jenkins
689e3ef01a Merge "Don't install pep8 from packages" 2013-06-10 17:35:49 +00:00
Jenkins
ab348cd4d8 Merge "Source functions in rejoin-stack.sh" 2013-06-10 11:39:57 +00:00
Jeremy Stanley
18b0906e1f Correct InvalidInstanceID.NotFound test.
* exercises/euca.sh: The match filtering InvalidInstanceID.NotFound
is cleaned up to eliminate numerous leaning toothpicks, and now also
actually works. The previous version was incorporating literal
square brackets into the pattern where I think a character list
match may have been intended instead, but was not actually necessary
anyway.

Change-Id: I765a20000e7b6ba6deadce8cad3bbc9559fcdd0d
2013-06-10 00:28:06 +00:00
Attila Fazekas
bae0233cf9 Decrease the tempest build interval
Decreasing the build interval leads to faster state change detection,
so it will speed up the gating jobs.

It may increase the possibility of a "hidden" issues causes
indeterministic test results.

Change-Id: Ida5e7296e4ea53d761e0efef34376699337d8377
2013-06-08 15:57:48 +02:00
Jenkins
5695a9ecd7 Merge "Moves Nova v3 API enable config to group" 2013-06-08 00:13:40 +00:00
Kyle Mestery
ebfac64d2a Add support for setting extra networking configuration options.
Add support for generically setting arguments for OpenStack Networking
for both the server and agent. This is done using Q_SRV_EXTRA_OPTS for the
server, which let you place settings in the "OVS" or "LINUX_BRIDGE"
sections of the plugin configuration file. For the agent, two variables
are defined: Q_AGENT_EXTRA_AGENT_OPTS lets you set items in the "AGENT"
section of the plugin configuration file, and Q_AGENT_EXTRA_SRV_OPTS
lets you set things in the "OVS" or "LINUX_BRIDGE" sections of the
plugin configuration file.

Implements blueprint devstack-quantum-config.

Change-Id: I9ba44b21231f88cda1bcc5e3389c7875f03d8145
2013-06-07 14:45:22 +00:00
Bob Ball
b1e49bfdf7 Make dependency on libvirt dynamic
Fixes bug 1184960

Change-Id: If702807d9ae326bf216a2e076ce61062045d7c6b
2013-06-07 09:42:04 +01:00
Bob Kukura
c9b0f1abaa Support for the ml2 quantum plugin.
Support is added for configuring devstack to use quantum's Modular L2
plugin, ml2. See https://review.openstack.org/#/c/20105/ and the
blueprint for details. Either the openvswitch or linuxbridge L2 agent
can be used with the ml2 plugin (or both in combination on different
nodes). Code configurating devstack for these L2 agents has been moved
into separate files so it can be shared between ml2 and the existing
monolithic plugins.

To use ml2 in devstack, set Q_PLUGIN=ml2 in localrc. By default it
will use the openvswitch L2 agent. To use ml2 with the linuxbridge
agent, also set Q_AGENT=linuxbridge in localrc. The local, flat, and
vlan network types are supported with either agent. Support for
openvswitch's gre network type is not yet implemented in ml2.

Note that ml2 does not yet return a useful value for binding:vif_type,
so nova's GenricVIFDriver cannot currently be used. If using the
linuxbridge agent, work around this by setting
NOVA_VIF_DRIVER=nova.virt.libvirt.vif.LinuxBridgeVIFDriver in localrc.

Implements: blueprint modular-l2
Change-Id: Ib3ed039d25295cf1ab268536cec408af8cd3795a
2013-06-06 23:26:00 -04:00
Jenkins
7e37b7314d Merge "Add missing .debs required by Debian" 2013-06-07 01:02:17 +00:00
Jenkins
11632774f3 Merge "Set variables in rsyslog.conf to disable rate-limiting." 2013-06-07 01:02:14 +00:00
Jenkins
9528ffd4bf Merge "Run heat tempest tests if heat is enabled in devstack." 2013-06-07 00:54:13 +00:00
Joe Gordon
5747b80175 Don't install pep8 from packages
We have migrated to flake8 and most distros don't have the version of
pep8 that flake8 (and hacking) use.  Instead of installing pep8 from
packages it should be installed from pip

Change-Id: I86e4f8316f3cdc27303bfd039a78c0d6202ce321
2013-06-06 17:37:56 -07:00
Jenkins
3df12bb22b Merge "Update my mailmap" 2013-06-06 21:57:24 +00:00
Jenkins
59756ac894 Merge "Use nova bindir of /usr/bin on Fedora" 2013-06-06 21:57:21 +00:00
Jenkins
5713577254 Merge "ceilometer switch to setuptools console scripts" 2013-06-06 21:57:17 +00:00
Jenkins
4a8d784b8b Merge "Add Fake virt driver support" 2013-06-06 21:40:46 +00:00
Jenkins
30321f3576 Merge "Add third-party support for Quantum NVP plugin" 2013-06-06 21:40:03 +00:00
Doug Hellmann
88317adc0a Source functions in rejoin-stack.sh
stackrc loads localrc and localrc can use functions
like enable_service and disable_service. Make sure
the functions are defined before loading stackrc.

Change-Id: Ied7bbe0d228f252902cc491b8db0738c5071f06b
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2013-06-06 15:42:13 -04:00
Joe Gordon
baf37ea817 Add Fake virt driver support
nova fake virt driver can be used to simulate running arbitrarily large
number of VMs.  When the fake virt driver is selected, all other arbitrary
limits are disabled (quotas, scheduler limitations) as well. The fake
virt driver can be selected by adding the following line to your localrc

      VIRT_DRIVER=fake

This setting can be used to do simulated large scale (as defined by
number of VMs) testing (such as boot 500 VMs at once) inside a single
devstack instance.

Change-Id: I000c3cba107cd91bef11c4d5325e1ce7308faa6c
2013-06-06 10:08:01 -07:00
Adalberto Medeiros
63a71a2316 Ensure flavor_ref_alt is different from flavor_ref
For tempest, server resize tests needs different values
for flavors to pass. Ensure different values in tempest.conf
for flavor_ref_alt and flavor_ref.

Change-Id: I2f8ee92967abc767637e334ae483b540dd7d5b78
Fix: bug 1187768
2013-06-06 09:00:20 -04:00
Gordon Chung
5ecfd48c51 ceilometer switch to setuptools console scripts
ceilometer has dropped bin scripts and switched to console scripts

blueprint setuptools-console-scripts

Change-Id: If6dff10471e351fe3640a60cc45fef719f671997
2013-06-06 00:25:16 -04:00
Ian Wienand
00fd79d324 Use nova bindir of /usr/bin on Fedora
Fedora (and RHEL) like to install things in /usr/bin, e.g.

 01:30:42 Creating /usr/lib/python2.7/site-packages/nova.egg-link (link to .)
 01:30:42 Adding nova 2013.2.a1031.gfc5137d to easy-install.pth file
 01:30:42 Installing nova-dhcpbridge script to /usr/bin
 ...

The default nova/paths.py defaults to /usr/local/... which causes
quite a few errors when stressing various parts of nova and tools
aren't found.

Change-Id: Iaa93af96ddfb4deb6d16ea1dcac25ae6ed1e317d
2013-06-06 11:24:32 +10:00
Joe Gordon
32a348df51 Update my mailmap
Change-Id: Ia5e9b543ad1c9e21a722cf739d1469e63e2c005c
2013-06-05 15:31:09 -07:00
Jenkins
3f8faa46f3 Merge "Check for .stackenv" 2013-06-05 11:53:23 +00:00
Jenkins
b3d53fecb7 Merge "Changes to NVP plugin configuration file" 2013-06-05 11:02:16 +00:00
Joe Gordon
1216b9fae9 Use service role instead of admin role for service users
Instead of using a full admin role to validate tokens just use the
service role. Change where possible, some services use the service user
for more then just token validation.

Fixes bug 1153789

Change-Id: I0801475b62a7b025fdd871f52d8606aa614d1a32
2013-06-04 17:44:41 -07:00
Dean Troyer
58f9cf761a Check for .stackenv
* Skip sourcing .stackenv if it doesn't exist
* Remove .stackenv at end

Change-Id: Icc2e8e4ea6fada5f9d0b906fedacdbe2c1b3b320
2013-06-04 12:54:18 -05:00
Steve Baker
26824b0546 Run heat tempest tests if heat is enabled in devstack.
Change-Id: I6a5d1bae99982a8f0201885abd1203e1a8d78dcc
2013-06-04 13:19:02 +12:00