Tempest change I5376f977a110f502f0e4958cbccbd379539e006b syncs
lockutils from oslo. Tempest with testr needs to use external locks
which require a lock_path config option. This commit sets that option
for tempest to use devstack's TMPDIR.
Change-Id: I464edf9e11710e1931ed4f7b0262328a57e5b3de
This commit loops over the list of services that tempest has config
options for in the service_available group and checks if the service
is enabled. Devstack will then set whether or not the service is
configured in tempest.conf.
Change-Id: Ib845d3e098fd3f45c8c26f5696af14cca1534e01
Tempest change I5ee9ec816845de483fe88d76d1bb047e7bb1af7e changed
the behavior of the neutron_available config option. This commit
updates devstack to use it's new name and group.
Change-Id: I7d5074209fe81f6100f380512d7702fbc8e252ac
The default value does not work unless devstack is installed in
/opt/stack/new/devstack. This patch changes the img_dir option to point
to the correct install location.
Change-Id: Iea41d209dad10b2f9a7c97efd55c39a8d29347cc
Add the cli_dir option to the generated tempest config. This is
required on platforms such as RHEL where the binaries are not in the
standard location.
Note that to be fully operational this requires [1] in tempest so that
the cli path is created correctly.
[1] https://review.openstack.org/#/c/34302/
Change-Id: Ic7369193f1434974366cfabc7550e8545de244cd
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
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
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
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
for files that don't start with a #! or end in .sh, the added tags
are nice for emacs users to automatically switch to the right mode.
Change-Id: If4b93e106191bc744ccad8420cef20e751cdf902
This code:
# Tempest doesn't satisfy its dependencies on its own, so
# install them here instead.
pip_install -r $TEMPEST_DIR/tools/pip-requires
causes us to do:
Found existing installation: oslo.config 1.1.0
Uninstalling oslo.config:
so rather than 1.1.0 installed, we end up with 1.1.0b1 and everything
goes kabloomy.
It looks like this comment came from a time (commit 9a352daf) before
tempest included proper install_requires (tempest commit 5abb253c3).
It should be safe to delete this and allow setup_develop() do all the
work just like the other projects.
Change-Id: I869f727900bb08c72e5e8f4e84858a9c77049715
this ensures that if we setup quantum, we are explicit about it
in tempest. This is important so that nova tests which require
quantum features have any idea if they should function.
Change-Id: I5e6be9ff325676f25b2c391430dd66ff64a7a833
cirros 0.3.1 images have several significant improvements over 0.3.0, including:
* newer kernel (3.2.0-25.40)
* support for more filesystems (vfat, iso9660)
* support for configdrive (config-drive-v2) as a datasource
* acpi reboot/shutdown
* curl with https support (previously there was no way to get https urls)
Change-Id: Idd7bef0cebb941f77d1cead9dc990fa0b03ff46b
Removed the setting completely so that this is
left under control of tempest.conf.sample
Fixes LP# 1130750
Change-Id: I710f1c111e66834f4bc7020cad82c04bf495441c
resize tests were turned off explicitly, which they shouldn't be
turn these back on in a default config as we've set nova to allow
resize_to_same_host.
Change-Id: Iacedf11e56aff3a541f1b67b208e8ed3a30b2c44
This setups the development environment for tempest. Without
running setup_develop for tempest import tempest.* breaks
outside of the tempest directory.
Change-Id: I6954733d68125dd116cc9bfa58b9aece674405c3
This patch renames $devstack_dir which is no longer defined
to $TOP_DIR. Fixes problem where initialisation of ec2 images
for tempest testing was failing.
Change-Id: Ie0cd43209e58c903b1fe6cc528a4971896e6fab1
* Identity server location just configure by an URI
* Image service location resolved by service endpoint
* Credentials will be defined only in the identity section
* Whitebox gets it's own section
* ssh username is per image option
Change-Id: I3b0d51a323560451c5636363896cadb39e0ea2d6
Add uec image preparation to lib/tempest.
cirros as image is hard coded at the moment.
If the images does not exists or the system is not able to use uec images the
image prepare step will be skipped and tempest will skip the related
tests as well.
Setting ssh username correctly.
Setting instance type for the boto test.
Change-Id: I0d36ac7834e1eb677007e2c92dfc375d134a6023
* Previously, configuration for the q-l3 agent was creating a
tenant-owned router. This change maintains that behaviour if
namespaces are enabled, but creates a public (not tenant-owned)
router if namespaces are disabled. Since the L3 agent can only
manage a single router if namespaces are disabled, the change
ensures that the single router can be shared by multiple tenants.
* Add tempest configuration for the public router.
Change-Id: I2878a7eb9797bfd71082a55d4773519dc5198abc
The flavor selection was broken if DEFAULT_INSTANCE_TYPE is defined
but not yet created, for example when it is created in local.sh.
This also has the side effect of setting flavor_ref_alt to the first
flavor where it was unset in the previous code.
Change-Id: I1fa48b3f90af45144c92298b6b07a4f7ee3b499f
Current tempest didn't create networks for each tenant, so let
tempest use demo tenant for tesing if we enable quantum.
Change-Id: I5f139b5f1bdf5c176130b8db9e896e2cb48b4420
* 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
The variable DEFAULT_IMAGE_NAME is set to 'cirros-0.3.0-x86_64-uec' by default.
This will cause configure_tempest to 'exit 1' and abort stack.sh if an image
with that name is not uploaded to glance. According to the relevant code
comment, this behaviour is incorrect. Updated code to match behaviour described
in comment: If image with name matching DEFAULT_IMAGE_NAME exists, use it for
both primary and secondary test image otherwise select first image and, if
available, second image listed by glance. Will still 'exit 1' if no images
are available at all (though it probably shouldn't).
Change-Id: I92773d4afd52cf533d16772ae2a087e23e206f8c
Fixes: bug #1092713
* Using iniset
* Config based on the tempest.config.sample
* tools/configure_tempest.sh is pending for removal
Change-Id: Ia42e98ba4b640b89bcd2674008090909d88a2efb
* lib/tempest(install_tempest): Directly install Tempest's
tools/pip-requires list after cloning the repo.
Change-Id: I5c508faab8756d5cdfec53193e08e3440fda1b2c
add auto cloning of the tempest tree if it's an enabled service
just reduces one step in getting tempest up in a new environment
Change-Id: Ia8a2feee96f26dffe96c87d572a31735d90cdabb