228 Commits

Author SHA1 Message Date
Ihar Hrachyshka
cf355aa012 Install sqlalchemy-migrate from master if requested
Added possibility to install sqlalchemy-migrate from master instead of
pypi packages.

Change-Id: I8af92cbb03609799442b05db9772e3c82b76725b
2014-08-21 12:28:30 +02:00
Jenkins
89a263bc41 Merge "A service to install diskimage-builder" 2014-08-21 05:46:12 +00:00
Jenkins
8d5a84029f Merge "Install heat-cfntools and heat-templates repos" 2014-08-21 05:43:39 +00:00
Jenkins
fb2ce943cf Merge "Add ability to switch database driver" 2014-08-19 21:34:50 +00:00
Steve Baker
122ab70330 A service to install diskimage-builder
Enabling service 'dib' will install the following repos:
* diskimage-builder
* tripleo-image-elements
* os-collect-config
* os-refresh-config
* os-apply-config

These repos are already pre-fetched in devstack-gate.

This will facilitate gating on changes in these projects by building
a custom image then running the heat-slow job against that image.

diskimage_builder is pip installed from the current git checkout
if the dib service is enabled. This allows devstack gating on
diskimage-builder changes while also allowing diskimage-builder to
be installed from releases for other scenarios (for example, ironic).

Change-Id: Ia911cdee86f5b2e2ba1557e5aa8bf392b92ef555
2014-08-20 09:06:34 +12:00
Steve Baker
315971d972 Install heat-cfntools and heat-templates repos
These projects contain agents which can be installed on custom
images. Installing these repos will allow a future change to
build a custom image containing these projects. This will allow
gating on any changes in these projects by running heat-slow
on the custom image.
The corresponding devstack-gate change is
https://review.openstack.org/#/c/92055/
Change-Id: I7b1343c094f755f79ddeb1bac3ff4c0daa3fb70c
2014-08-20 09:06:34 +12:00
Jim Rollenhagen
a6a45467c4 Add ironic-python-agent support to devstack
This adds support for using ironic-python-agent with Ironic.

Change-Id: I8f1e93e09ddde447996ecbedceb091f51d60040e
2014-08-15 18:09:14 +00:00
ihrachyshka
cbea3447c7 Add ability to switch database driver
Also added mysqlconnector packages into default installation.

blueprint enable-mysql-connector

Change-Id: Ib2cda7cb183dc8f0ff4759cc6e9ecab469fd121c
2014-08-15 15:47:22 +02:00
Jenkins
3acde946e6 Merge "Avoid uploading trove guest image twice" 2014-08-02 00:52:13 +00:00
Jenkins
9414334972 Merge "Add architecture to tempest configuration" 2014-07-31 06:09:23 +00:00
Greg Lucas
e6aeb5912b Avoid uploading trove guest image twice
When creating the trove datastore, get the guest image id from glance.
The trove guest image gets uploaded along with all the other
images specified in $IMAGE_URLS. It is not necessary to upload
it again in init_trove.

Also: add xenapi case to stackrc for trove guest image

Closes-Bug: 1339818
Change-Id: I2973af27ab93182fcd674f874daba1036d767d52
2014-07-28 15:22:16 -04:00
Rob Crittenden
26867a63c1 Move SERVICE_PROTOCOL from stack.sh to stackrc
This ensures that SERVICE_PROTOCOL is available to other consumers
of the devstack environment like grenade.

Change-Id: I702d7d239e50dd1446d55c076c7a7c57768486ff
Closes-Bug: 1335953
2014-07-23 22:12:03 -04:00
Adalberto Medeiros
5397153987 Add architecture to tempest configuration
Cirros may be also built in other architectures other than
x86_64 (ex: ppc). This option should be broader,
so adding a new variable CIRROS_ARCH

Change-Id: I9fcd3f15e04bb581cf647ad49172c7d698e8e574
2014-07-22 17:49:13 -03:00
Bob Ball
5c64a463d8 XenAPI: Always add latest Cirros euc image
Some tests, such as test_minimum_basic_scenario, assume qcow and if
a qcow image does not exit, falls back to the euc image.
This change ensures these tests work in the stock XenServer environment.

Change-Id: I718f178f7e5e0fa4eebd17a49caf5254124092e3
2014-07-16 13:14:11 +01:00
Dean Troyer
097183356e Support multiple Cinder backend types
This is the first step in supporting multiple Cinder backend types at
once.  It initially converts the existing hard-coded multi-lvm support
to a new cinder_backends driver form.  Eventually the cinder_plugins
will be converted to this form so they can be enabled more than just
one at a time using CINDER_ENABLED_BACKENDS.

The default configuration should be identical to the previous defaults,
including for both True and False values of CINDER_MULTI_LVM_BACKEND.

The existing cinder_plugins are expected to be removed when this is
complete. They should continue to work until they have been converted.

Add wait for c-api to ensure it is started before continuing.

Change-Id: I93b8ef32832269d730c76a6dc24ddb4f20c6d9df
2014-07-15 16:03:42 +02:00
Morgan Fainberg
46455a34d5 Update Apache + mod_wsgi deployment mechanisms
Added a global toggle for enabling HTTPD + mod_wsgi for services
that default deploy to running under Apache. When the variable
``ENABLE_HTTPD_MOD_WSGI_SERVICES`` is set to ``True`` any service
that recommends deploying under HTTPD + mod_wsgi, will be run
under Apache.

If ``ENABLE_HTTPD_MOD_WSGI_SERVICES`` is set to ``False`` the
any service that is defaulted to running under HTTPD + mod_wsgi
will (if capable) be run in an alternate deployment strategy (e.g.
eventlet).

Updated Swift and Keystone to have individual toggles for deploying
under HTTPD + mod_wsgi. This is done to allow for gate to run on
the services under mod_wsgi where appropriate. Toggles are
``KEYSTONE_USE_MOD_WSGI`` and ``SWIFT_USE_MOD_WSGI`` and are both
defaulted to "False" (do not deploy under HTTPD + mod_wsgi).

Change-Id: Id3b121b8f1cde369d184b586e0d875bdbda34813
2014-07-07 08:46:28 -07:00
Jenkins
cfcd8cf2f8 Merge "Adds support for multi-region" 2014-07-04 16:53:01 +00:00
Doug Hellmann
cd5c81369d Install oslo.i18n from source
Add a step to install oslo.i18n from source.

Change-Id: Ie041d4b82ca75a1c2ff99563a7a87447adc57ad2
2014-07-02 11:58:35 -07:00
Jenkins
86aa441253 Merge "Switch to Fedora-x86_64-20-20140618-sda" 2014-07-02 15:19:51 +00:00
Jenkins
134609f9a6 Merge "fix trove image addition" 2014-07-01 19:55:08 +00:00
Jenkins
8a88f2728c Merge "Add keystone middleware to devstack" 2014-07-01 19:46:16 +00:00
Bartosz Górski
0abde393c5 Adds support for multi-region
Change-Id: Ib85fe7cb375692b04aca4c46f61ba7e1fbfa501b
Implements: blueprint multi-region
2014-07-01 14:58:35 +00:00
Sean Dague
fafb62b93e fix trove image addition
the previous addition to trove was done in a way that it was not
possible to discover from nodepool. This fixes our ability to do
that, especially with non-default on services.

Change-Id: I8ca682354e0d4e2eb9cf05f40c6dd783de1c6355
2014-06-30 16:49:30 -04:00
Morgan Fainberg
58936fdbcd Add keystone middleware to devstack
Add the keystonemiddleware repository to devstack to support testing
with tempest and stable branches.

Change-Id: Ib635465e6568d9cd51d6e432ec8b8633a27d19ce
2014-06-30 09:29:45 -07:00
Attila Fazekas
bfcb2ff732 Switch to Fedora-x86_64-20-20140618-sda
The heat-slow job using the Fedora-20 image as L2 guest, the
currently used version is affected by the heartbleed issue and
the Mb-Bios bug issue observed with emulation.

This version of the  Fedora cloud image uses the no_timer_check
kernel parameter, which solves the MP-Bios Bug issue.

The Image tested with ~3000 heat-slow job, without any issue.

Change-Id: I9ce9b7769c2d91e630b0362f2c2c6ac9066defbc
Closes-Bug: #1312199
Closes-Bug: #1297560
2014-06-26 12:38:20 +02:00
Attila Fazekas
b3e722df60 soft-qemu handling with F20 could image
When the qume used with Linux image without
a para-virtualized timer, various timing issues can happen,
if the qemu process preempted in the wrong time, for example
at timer test.

The issues less like happens on low load, high core number
host system, but it can happen.

For soft qemu (TCG) generally recommended to explicitly disable the
timer check.

Pre-caching the Fedora `gate edition` image, which contains the
the no_timers_check option.

Related-Bug: #1297560
Partial-Bug: #1312199

Change-Id: Id5cd01a92a047b7859914e5bb017c15ee443b4d5
2014-06-25 20:15:47 +00:00
Zhenguo Niu
e385d1e030 Add support for django_openstack_auth
It would be useful for development, reviewing and testing to add
support for django_openstack_auth to devstack.

This change adds the integration tests to the openstack_auth
list of test: https://review.openstack.org/#/c/86528/

Change-Id: Ifbd336b83f6b2beb23996b599ec820232c13efdd
Closes-Bug: #1262121
2014-06-18 14:04:34 +08:00
Jenkins
5069ae9eef Merge "Add oslo.db" 2014-05-22 19:29:17 +00:00
Jenkins
d65f7a2858 Merge "Upgrade to cirros 0.3.2" 2014-05-19 19:20:00 +00:00
Victor Sergeyev
da945f3161 Add oslo.db
blueprint oslo-db-lib

Change-Id: If952099fa4dcf8638cad70d42a12ebcdac28de84
2014-04-30 19:08:43 +03:00
Bob Ball
527f21c7e7 Only use heat image where support
Glance will reject images that it doesn't understand, and only certain drivers can
use qcow2 images.  This means for systems without qcow2 support, devstack
will fail to run until this change is merged.

Change-Id: Ic92815f3d32880e987456c0428953dddaa81c94c
2014-04-28 11:54:21 +01:00
Sean Dague
4418d1fb5b update heat image to the 64bit one we cached previously
start caching the next 64bit update image to deal with heat
breaks we see from time to time.

Change-Id: If62840f4807151ada1598046fb7ad47c7210df12
2014-04-24 16:06:51 -04:00
Jenkins
e22df1771d Merge "VMware: update to latest cirros image" 2014-04-22 16:03:09 +00:00
Eric Brown
641722b85a VMware: update to latest cirros image
The default image used is cirros 0.3.0, which is out-dated and
does not support cloud-init for config drive.  By upgrading to
0.3.2, we gain config drive support testing in our tempest runs.

Change-Id: Ibe7f70f1fb457d210b891b19ba3b5be94b2343f0
2014-04-21 08:49:35 -07:00
Sean Dague
b623860c37 add Fedora x86_64 image for nodepool
Change-Id: I54fdc81e2a233fdcf90534aff6be7984e28f6133
2014-04-17 21:56:53 -04:00
Dean Troyer
a79617c12a Prevent the use of 'swift' in ENABLED_SERVICES
This is not supported and we missed a comment in stackrc that still
said otherwise.  Fix the comment and abort in the sanity check section
if 'swift' is detected in ENABLED_SERVICES.

Change-Id: I78222d7ee2ea8a281962129d5bcf06c118469510
2014-04-13 18:22:53 -05:00
Sean Dague
ad13ba2917 download fedora x86_64 image if heat is enabled
clean up the logic around producing a valid cfn image for heat
testing. If heat is enabled, add the f20 x86_64 imageurl to the
list of images that we support, and set that as the tempest
orchestration image.

The crux of this change is left commented out for now because we
need a two phase update of nodepool content before we can move
away from the old image (otherwise fedora mirrors will kill us
with bad downloads).

Change-Id: I1da9f259a3267b1bd27e9899755204c8fff41153
2014-04-03 17:28:21 -04:00
Chmouel Boudjnah
43577d5a17 Swift3 has been moved to stackforge.
Use that URL

Change-Id: Iae1a7068043846294fe208a10a1de23a35f337e0
2014-03-25 23:45:43 +00:00
Alexander Gordeev
f177f72623 Remove any lib/baremetal usage for ironic deploy
Get rid of lib/baremetal usage so that it can be simply
deleted when that time comes:
Copy upload_baremetal_deploy function to lib/ironic;
Rename it to upload_baremetal_ironic_deploy;
Remove any $BM_* variables references from lib/ironic;
Rename $BM_IMAGE_BUILD_* environment variables to $DIB_*;
Improve logic around deploy k&r building;
Add check for $OFFLINE mode;

Change-Id: I4302b32328df9156bf8738773a127db914e8edde
2014-03-21 14:51:59 +04:00
Attila Fazekas
2d4c8da803 Upgrade to cirros 0.3.2
Cirros 0.3.2 is fixing the host name setting issue, which
is required for turning on the tempest instance validation tests.

Change-Id: I1b87740ab02c4eb0a8df653a35e1f85d40abda51
Related-Bug: #1132686
2014-03-20 23:12:58 +01:00
Alexander Gordeev
06fb29c661 Integration testing preparation for Ironic
Add ability to create/register qemu vms for Ironic testing purposes

Implements bp:deprecate-baremetal-driver

Change-Id: If452438fcc0ff562531b33a36cd189b235654b48
2014-03-14 13:44:00 -07:00
Jenkins
509140e25c Merge "remove docker from devstack" 2014-03-14 14:33:19 +00:00
Sean Dague
26c5a2252e change the vmdk to the one used in VMWare ci
The debian image that defaults to being using with vmware is huge,
and it turns out it's not actually used in VMWare ci so we don't
really know if it's working. Instead use the vmdk that is used
in VMWare ci, which we know will boot, as we get results everyday.

Change-Id: I014746af293852525e2bd128c4d19f5889ecd55d
2014-03-13 09:57:08 -04:00
Sean Dague
7d4c7e09b4 remove docker from devstack
with I1c9bea2fdeebc4199c4f7d8fca4580a6fb7fed5b nova removed
docker from it's driver tree.

We shouldn't have driver support inside of devstack that's not
part of upstream projects (this has been a line we've been
pretty clear on with Neutron drivers in the past).

Remove docker driver accordingly.

Change-Id: Ib91d415ea1616d99a5c5e7bc3b9015392fda5847
2014-03-12 08:05:08 -04:00
Eric Windisch
e994f5708d Remove bm_poseur, unmaintained and obsolete
The bm_poseur git repository link has been broken
for over 11 months. The virtualized/fake baremetal
environment is not working and has not worked in a
long time. Now, on the tail of enabling 'enable -o errexit',
this functionality now has a hard break.

Change-Id: I3cbd8db58c422bc5273d2433278aaa5e449ecfd9
Closes-Bug: 1285954
2014-02-28 15:21:38 -05:00
Jenkins
cf7237c505 Merge "Add GIT_TIMEOUT variable to watch git operations" 2014-02-27 04:31:40 +00:00
Ian Wienand
d53ad0b07d Add GIT_TIMEOUT variable to watch git operations
During my CI testing of each devstack change I can often see git get
itself stuck and hang indefinitely.  I'm not sure if it's transient
network issues, or issues at the remote end (seen with both github.com
and git.openstack.org) but it hits fairly frequently.  Retrying the
command usually gets it going again.  Searching for "git hanging" and
similar shows its not entirely uncommon...

This adds a watchdog timeout for remote git operations based on a new
environment variable GIT_TIMEOUT.  It will retry 3 times before giving
up.  The wrapper is applied to the main remote git calls.

Change-Id: I5b0114ca26b7ac2f25993264f761cba9ec8c09e1
2014-02-24 09:35:19 +11:00
Davanum Srinivas
f5aa05c0ab Add support for oslo.vmware
Change-Id: I2162a339b1869c27850afcda6be3c4e11de94e0e
2014-02-23 07:37:40 -08:00
Jenkins
5d920e02e3 Merge "add heat to the default devstack service list" 2014-02-20 15:10:44 +00:00
Jenkins
c8dcb2fd5e Merge "Add cliff, pycadf, stevedore, & taskflow from oslo" 2014-02-17 16:17:38 +00:00