26 Commits

Author SHA1 Message Date
Mate Lakat
32cce9ef3e Default values for live migration tempest tests
Related to https://review.openstack.org/#/c/13101/

Add tempest test variables, so tempest tests will be configured with
proper default values.

Change-Id: Iec13ec3492cbfa6dcce665a4e0723f1b941ae88a
2012-10-05 12:32:07 +01:00
Dan Smith
88ae3761dd Support new allow_tenant_reuse parameter in tempest config
This adds support for setting the above-mentioned attribute, which
was added in tempest recently.

Change-Id: I14fe21f97d1c57f538254fa0420e9bc56115fc3b
2012-09-04 10:19:45 -07:00
Jenkins
09cc131c06 Merge "Splits out build config params in Tempest." 2012-08-30 17:00:46 +00:00
Devananda van der Veen
2700492c34 Fix tools/configure_tempest FLAVOR_LIST
Correct the grep expression in tools/configure_tempest.sh
which generates the FLAVORS that tempest will boot.

Fixes bug 1037347

Change-Id: I50352fd23ca1e5332592bb343821c6355b274e9f
2012-08-15 16:40:23 -07:00
Rohit Karajgi
2eb9a13cce Splits out build config params in Tempest.
The build parameters for instances and volumes should be configured separately.

This patch adds the following Tempest vars:
COMPUTE_BUILD_INTERVAL
COMPUTE_BUILD_TIMEOUT
VOLUME_BUILD_INTERVAL
VOLUME_BUILD_TIMEOUT

Change-Id: Ia5357114f8e4248a8de4bd0327e08323c487e897
2012-08-08 07:01:00 -07: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
Jay Pipes
4ba6eeb53a Adds compute whitebox configuration options
Adds the following options to the tempest configuration
file:

COMPUTE_CONFIG_PATH
COMPUTE_SOURCE_DIR
COMPUTE_WHITEBOX_ENABLED
COMPUTE_PATH_TO_PRIVATE_KEY
COMPUTE_DB_URI
COMPUTE_BIN_DIR

These options are used in an upcoming Tempest patchset

Change-Id: I50409d03255b92f154112b57e96ad71f8542ac96
2012-08-03 09:56:16 -04:00
Rohit Karajgi
5ef9047593 Adds parameter interpolation for Tempest config
Adds Tempest variable for Volume catalog Type

Change-Id: I4ab968f30146bd9e40533d67dba49114649f029d
2012-07-31 06:22:29 -07:00
David Kranz
686f98ea10 Add flag for availablility of change password API.
Change-Id: Ic63754050ef4a5838144edd1d24a2e9206cc0fa5
2012-07-24 09:17:20 -04:00
Jay Pipes
3edd5b41bc Adds new parameter interpolations for tempest config
Tempest recently added a number of new config variables
and this patch merely adds those variables to the
template replacement process in tools/configure_tempest.sh

This needs to go in before this:

https://review.openstack.org/#/c/8738/2

Additionally, this patch sets the build_interval to 3
and the build_timeout to 400. This faster status check
interval should allow Tempest to run a bit quicker in the
Jenkins gate job.

Change-Id: I8835ccdee6af58da66c6327ddae8a05b6789d454
2012-07-08 21:04:12 -04:00
Jenkins
e76fb89bbf Merge "Cleanup tools scripts" 2012-07-06 15:41:31 +00:00
John Garbutt
70edafc9d3 Fix bug 1020474 by correcting substitutions in configure_tempest.sh
This is caused by the following commit in tempest:
f38eaace9cb39d98b1203bd4c86b33d20501b7a3

Change-Id: I0cf6b49e81b696411a0c01f66c2b89508dc701b9
2012-07-03 10:39:32 +01:00
Dean Troyer
e62ba4d312 Cleanup tools scripts
* whitespace and comment cleanups only

Change-Id: I4e631e9a9b8151758dc8c96b3aef76b963d5ea7e
2012-06-27 22:25:56 -05:00
Jay Pipes
b297d2d0a8 Fixes LP #996571 - Alternate Tempest user
Adds an alternate user to Keystone for Tempest

Tempest has a number of tests that are skipped if
the compute.alt_username is the same as compute.username
or None. Here, we modify files/keystone_data.sh to add
an additional regular user called alt_demo if Tempest
is enabled in stackrc. We also make corresponding changes
to the tools/configure_tempest.sh script to make use
of this alternate user credential

Change-Id: I551f3b378f843c62fffcf6effa916056708d54d3
2012-05-10 11:25:39 -04:00
Sean Dague
0f5da00168 Regenerate tempest.conf every time
Select for active images

If we don't do this, repeat devstack installs won't be
able to use this script.

Change-Id: I95746ffebfa7163c80161d26de1e575c0fc5d39c
2012-05-03 11:53:52 -04:00
Jenkins
e716416c2e Merge "Add host/port/api_version to tempest.conf" 2012-04-30 23:03:08 +00:00
Jenkins
de2f505a04 Merge "Fixes typo on ADMIN_XXX variables" 2012-04-30 21:29:29 +00:00
Jay Pipes
c0e1ef520c Add host/port/api_version to tempest.conf
* Something exposed by LP #992096 was that the image
  tests were broken because the URL returned from the
  service catalog was no longer including a version
  identifier. The fix in Tempest was to pass the configure_via_auth=False
  parameter to the glance.client.Client constructor. However, in order
  for this to work, the host/port in the [image] section of the
  Tempest configuration file needs to be set

Change-Id: I9f661a02270a1ad52c10f2233baf899e5f706c82
2012-04-30 15:56:13 -04:00
Jay Pipes
a1c87388a4 Fixes parsing of glance(client) image-list.
There are still failures when tempest runs because
of recent changes with glanceclient, but at least
this patch gets the tools/configure_tempest working
again.

Change-Id: I73a5042dac2c930998663c478fb2ccd907c3ef87
2012-04-27 17:47:47 -04:00
Jay Pipes
1a61bf96d6 Fixes typo on ADMIN_XXX variables
Change-Id: Idae7b0db7d2cbc28873d613dd31cf2fff20b7855
2012-04-24 16:05:08 -04:00
Jay Pipes
678a188e2d Tempest - Remove Kong support and fix images
* Removes (non-working) Kong config.ini support
* Replaces copy/paste code from stack.sh that was not
  properly grabbing image UUIDs with a call to glance
  index
* Grabs any non-kernel non-ramdisk images and properly populates
  the IMAGE_UUID_ALT variable if more than 1 image is
  available

Change-Id: Ieaf892b8b3fb4ef4fe2e6168f7a53bbe42dd684c
2012-04-24 14:25:39 -04:00
Jay Pipes
58d34ea9c1 Make required changes to tempest.conf build
* Echo out the tempest.conf for easier debugging
* Make sure IDENTITY_HOST defaults to 127.0.0.1
* Source and ensure openrc is available
* Ensure BUILD_TIMEOUT and BUILD_INTERVAL are set appropriately
* Set COMPUTE_RESIZE_AVAILABLE to False because QEMU does not support

Change-Id: If39c3cc011c1a2207fbcb2922094bd9ff2973746
2012-04-13 16:52:54 -04:00
Jay Pipes
d01325f3e4 Get tempest configuration file up2date with trunk
The old configure_tempest script wasn't writing an
appropriate Tempest config file. This should get things
updated to the point where Tempest should at least run
properly without erroring out on configuration issues like
we've been seeing...

Change-Id: Ice7aca10e74c0a365e1638f7b3e423aa768d3074
2012-04-04 16:21:33 -04:00
Eoghan Glynn
0a8b3222a8 Avoid duplicate "/tokens" path in auth_url.
The "/tokens" path is explicitly appended to the OS_AUTH_URL
by the configure_tempest.sh tool, but this is also appended
internally by glance:

  https://github.com/openstack/glance/blob/master/glance/common/auth.py#L111

leading to a duplicated "/tokens/tokens" path.

Change-Id: I2ea49289f7e1976346eff220dc3d1664bdad4fb0
2012-03-05 13:15:56 +00:00
Dean Troyer
7f9aa71bce Extract common functions into a separate file
This is the start of an effort to organize devstack's code
to better document the requirements for configuring the individual
components.

Change-Id: I3476b76b9d1f9ee63687fb9898a98729118cbd84
2012-01-31 12:18:16 -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