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
In the case of two iso's ('xs-tools-6.0.2.iso' and 'xs-tools-6.0.2-1111.iso'),
TOOLS_ISO gets set to 'xs-tools-6.0.2-1111.iso xs-tools-6.0.2.iso' This causes
'mount -o loop xs-tools-6.0.2-1111.iso xs-tools-6.0.2.iso $TMP_DIR' to get
called, which fails as it's meant to be called with only one file. This fix
simply sets TOOLS_ISO to the first iso that ls returns.
Change-Id: Id4d883e2b1e33b233c9ee907016b4ce117c28021
* moves the image upload logic from stack.sh to functions upload_image()
* tools/upload_image.sh which is a thin wrapper around upload_image()
Change-Id: I8746beebf50cf623b6fe903d6497e66e3fa5dda6
Correct the grep expression in tools/configure_tempest.sh
which generates the FLAVORS that tempest will boot.
Fixes bug 1037347
Change-Id: I50352fd23ca1e5332592bb343821c6355b274e9f
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
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
Fixes bug 1032122 by ensuring, where possible, we use the tools
shipped with XenServer rather than downloading the tools from
images.ansolabs.com
Change-Id: I4592eca315b4700e73097d678309d00323923c8b
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
The enable_service() and disable_service() functions in
https://review.openstack.org/9407 require the functions
file be sourced before stackrc.
* exercise.sh
* samples/local.sh (this will require manual addition to the user's
local.sh if they based it on the sample)
* tools/build_bm.sh
Change-Id: I1bed687867e870bef5748289d712376435a776af
* Works properly on Fedora 17 now, possibly other RPM-based distros
* Add GetDistro() function taken from logic in stack.sh
* Source functions in tools/info.sh
* Use GetDistro() and get_packages() in tools/info.sh
* Report all installed pips
* Don't sort localrc output as order is important
Change-Id: I1b3e48e94786378c7313a0a6bea88d5cf9d0f0c0
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
switch to using -f rather than -a. This has been overlooked
in a review recently merged. Without this fix, devstack on
XenServer is broken.
Change-Id: I1882cc70528772287241848adea3a520738d4144
- allow you to configure the xenapi_user (often other than root)
- allow you to disable the guest installer network
- install the plugins in the xcp-xapi location
- use alternate webserver location when adding the preseed file
- skip the centos specific ip forwarding configuration
- make use xcp inventory, if no xensource-inventory is found
- correctly deal with kpartx to mount the VM VDI in manage_vdi
Change-Id: I8d51725fc97f0bcaa27a46f7a7ced13c369c809e
I have ensured:
- template gets re-used on second run
- template includes XenServer tools, and custom user accounts
- take snapshot before first boot, for easy re-run
- make host_ip_iface work with either eth2 or eth3
- make ssh into domU checks looser
- above is all ground work for improved jenkins tests
- added some more comments to make it scripts clearer
Change-Id: I5c45370bf8a1393d669480e196b13f592d29154f
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
add support for local mirrors by:
- making sure the preseed file points to a local mirror.
- the apt sources mounted in the DevStack VM will point automatically to the same mirrror
Change-Id: I33052ac5c10387db7206ce2210ee2cbe9096df47
Select for active images
If we don't do this, repeat devstack installs won't be
able to use this script.
Change-Id: I95746ffebfa7163c80161d26de1e575c0fc5d39c
* 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
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
* 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