This replaces all of the [[ "$os_PACKAGE" = "deb" ]] tests, except when
those tests are before straight calls to dpkg.
Change-Id: I8a3ebf1b1bc5a55d736f9258d5ba1d24dabf04ea
There are two places where we need to find the right command for pip, so
instead of having one version we fix and a buggy version we forget,
simply use a function :-)
Change-Id: I728c17ad7be5c86690c4d7907f77f1f98ec2b815
* Adds all the BOTO_XXX variables to the configuration file
setup that are needed by https://review.openstack.org/#/c/14689/15
Change-Id: I44b2950705807fcfd026f1069fbe0d2727632760
Fixes bug 1078618.
The files are no longer available on ansolabs' servers. The files were
put on github, and this change modifies the location used in devstack.
Change-Id: I1f512ad3b52d6b04d0e28ce6a532e11bfede1462
Recent changes to enable more than just MySQL to be used
in devstack moved some setup stuff to lib/database. While
this file was source'd in tools/configure_tempes.sh, the
BASE_SQL_CONN variable was not being set because
lib/database/initialize_database_backends was not called.
Change-Id: I53c3302097a94c842860fcb781e21383150bde7f
fixes: LP bug#1077056
After support for multiple databases were added to devstack,
configure tempest would not work with update_database() in
localrc.
This sources lib/database before localrc is loaded so that
update_database is defined. Also, COMPUTE_DB_URI is now
replaced by BASE_SQL_CONN from lib/database.
Change-Id: Ifd791e5732898a661cc1237839bd18cef2f36f60
Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com>
* NOVA_ZIPBALL_URL can be set for a XS/XCP install to point to a
non-standard zipball location.
* PIP_USE_MIRRORS (default True) can be set to False to stop pip
from attempting to use mirrors (useful for when using an offline
eggproxy).
Change-Id: I01a9944fe4c13c8cc8323a703f598bc498491b73
Bug desc: build_usb_boot.sh is unable to find build_uec_ramdisk.sh while being called from tools directory. Variable with correct path wasn't been used at all.
Change-Id: I5ddff3d587a495e6768163f6b282e5b5f7a40849
Fixed typo in usage message
Fixed usage message to represent actual code
Set default minimum image size to 2000MB from 2000*BS
fixed bug not creating directory for downoladed files
Change-Id: Id736ac7984f88e61b685569b6ba5e9158bea5889
added percise and quantal
Change-Id: Id9cb74dded044ec998700c1b456a8077f76c96e8
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