184 Commits

Author SHA1 Message Date
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
Jenkins
293a405450 Merge "Set DEFAULT_IMAGE_NAME for Docker hypervisor" 2014-02-16 00:14:35 +00:00
Jenkins
20047053be Merge "Move install responsibilities to domU" 2014-02-15 02:17:20 +00:00
Sean Dague
a42541a9fb add heat to the default devstack service list
heat has been integrated for a while, we should turn it on out of
the box. Also refactor the service list to make it simpler to
understand what's enabled.

Change-Id: I9738f39ce196d5c7f75b0a5b164222ea165fb340
2014-02-13 09:41:33 -05:00
Eric Windisch
3f918a4541 Set DEFAULT_IMAGE_NAME for Docker hypervisor
This allows the tempest configuration to set the right
image for booting docker containers with Nova.

Since glance uploads are not yet integrated in devstack,
IMAGE_URLS remains empty.

Change-Id: I5df153cd1d5e1411bb3c11816122ce280148e129
2014-02-12 13:35:00 -07:00
Jenkins
7719d4aca8 Merge "Begin is_service_enabled() cleanup" 2014-02-12 07:19:11 +00:00
Doug Hellmann
6b1cb10809 Add cliff, pycadf, stevedore, & taskflow from oslo
Oslo has adopted 4 libraries that were previously on
stackforge, so we can now install them from source.

Change-Id: I6b6e20a7884b47ade466fc38641a5ac1a5f3e146
2014-02-10 09:59:43 -08:00
Jenkins
2219fdb587 Merge "Use github for swift3." 2014-02-07 17:12:17 +00:00
Dean Troyer
e4fa721322 Begin is_service_enabled() cleanup
This converts the special cases in the is_service_enabled() function to call
individual functions declared by the projects.  This allows projects that
are not in the DevStack repo and called via the extras.d plugin to handle
an equivalent service alias.

* Ceilometer
* Cinder
* Glance
* Neutron
* Nova
* Swift

TODO: remove the tests from is_service_enabled() after a transition period

Patch Set 2: Rebased

Change-Id: Ic78be433f93a9dd5f46be548bdbd4c984e0da6e7
2014-02-07 10:06:21 -06:00
Mate Lakat
d15c8a0824 Move install responsibilities to domU
As we are moving forward to test XenAPI in the gate, it is necessary to
move dom0 related modifications to be performed from domU. For this
purpose, a new user is created, and that user should be used to talk to
dom0 from domU. This change creates that user, makes it possible for
dom0 to log in to domU with that account, and configure that account to
be able to talk down to dom0.

Also move several steps to the nova xenserver plugin:
 - dom0 plugin installation
 - create kernels and images directory
 - install console rotate script
 - configure a cron to execute console rotate script

Configuration changes:
    A new configuration option, DOMZERO_USER has been created, that
    specifies a user account that is configured to be able to do
    passwordless ssh to dom0.

Change-Id: If9de0b297a67b7cdb5de78d8dd0e8b2ca578b601
2014-02-05 13:48:35 +00:00
Chmouel Boudjnah
864902ed01 Use github for swift3.
swift3 is not on OpenStack infra (yet) use the github url instead.

Closes-Bug: #1275923
Change-Id: I0cc393f93b65dcf8642b3a35925eb9eba3c2e1eb
2014-02-03 21:01:33 +00:00
Jenkins
040cd59350 Merge "Make MySQL query logging optional" 2014-02-01 13:47:50 +00:00
Jeremy Stanley
c4f47345a5 Make MySQL query logging optional
* lib/databases/mysql: Wrap query log configuration in a check for a
ENABLE_QUERY_LOGGING variable.

* stackrc: Add the DATABASE_QUERY_LOGGING variable defaulted to True.

Change-Id: Iddf8538ad0a1e36e2c6944dc70315984026c8245
2014-01-31 20:39:10 +00:00
Dean Troyer
4237f590b7 Generate Tempest service list rather than hard-code it
The list of services that Tempest used to set its 'service_available'
config values was hard-coded. To be plugin-friendly have each
service (project) add its name to the TEMPEST_SERVICES variable
and use that for setting the 'service_avilable' values.

Change-Id: I208efd7fd0798b18ac2e6353ee70b773e84a2683
2014-01-29 17:25:45 -06:00
Mate Lakat
c75c78ad5d Add xenserver image
By adding a separate entry for xenserver, it will enforce the gate to
cache cirros-0.3.0-x86_64-disk.vhd.tgz.

Change-Id: Ibfd4618e98f079a53fc286f5e95f18a3d658e4d2
2014-01-21 15:03:30 +00:00
Dean Troyer
9fc8792b0a Robustify service shutdown
* Save PID when using screen in screen_it()
* Add screen_stop()
* Call out service stop_*() in unstack.sh functions so screen_stop()
  can do its thing

Closes-bug: 1183449
Change-Id: Iac84231cfda960c4197de5b6e8ba6eb19225169a
2014-01-11 11:46:19 -06:00
Thierry Carrez
0915e0c6bd Add oslo.rootwrap to devstack gate
oslo.rootwrap recently graduated but was not made part of the
devstack-gate. This change is part of a series of changes affecting
devstack-gate, config and devstack which will collectively fix this:

https://review.openstack.org/#/q/status:open+topic:rootwrap-gate,n,z

This should probably be merged once the config and devstack-gate changes
are in, so that it can be self-testing.

Change-Id: I7b1332c8004845a0dd76e27d871370d41d4524ac
2014-01-02 15:05:41 +01:00
Jenkins
7b527b2efc Merge "HEAT_FETCHED_TEST_IMAGE may not be defined in some cases." 2013-12-21 12:26:45 +00:00
Steve Baker
af72b68ab0 Use final release of Fedora 20 for heat test image
The image file has not changed, but the URL now points to
the release directory for Fedora 20.

Change-Id: Ie1a9bcc7da634996b25ef7f6fc694398c632549d
2013-12-20 08:39:12 +13:00
Bob Ball
cff1c7d370 HEAT_FETCHED_TEST_IMAGE may not be defined in some cases.
Some scripts that source stackrc use set -u, which will error
when unknown variables are accessed

Change-Id: I5af2d58475e1793dfa728b7ce9180fcbba1145e9
2013-12-18 13:20:40 +00:00
Steve Baker
8c1b95eef1 Add Fedora 20 to IMAGE_URLS
Fedora 20 is only added to IMAGE_URLS if
$HEAT_FETCHED_TEST_IMAGE contains the exact known image name

This image is used for running heat tempest tests which require
an image which has heat-cfntools installed.

Change-Id: Ic6cdea932a5d5f3de138da96d27e407775b3e84b
2013-12-16 11:22:48 +13:00
Ana Krivokapic
1bbb0ca9c6 Fix noVNC git repo
Recent change switched base git URL to git.openstack.org.
However, noVNC is only hosted on GitHub.
Change git repo URL for noVNC back to the GitHub one.

Change-Id: Iaa9f570639301be1c29cc400c1c73afcbf637b70
2013-12-04 18:54:11 +01:00
Steve Kowalik
047cac56e1 Switch the base URL to git.openstack.org
The git repositories on github for openstack are mirrors of the primary
repositories, which are hosted on git.openstack.org, so switch as much
as I can to using the primary, rather than the github mirror.

Change-Id: Idcfda49a691582055256b830c61e098f4a271339
2013-11-16 20:11:35 +11:00
Jenkins
b96a532455 Merge "zsh openrc compatibility" 2013-10-31 14:16:50 +00:00
Peter Feiner
388e36c98b zsh openrc compatibility
Replacing $BASH_SOURCE with ${BASH_SOURCE:-$0} makes devstack zsh friendly: in
bash, $BASH_SOURCE is used per usual; in zsh, where $BASH_SOURCE isn't
defined, $0 is used, which, unlike in bash, evaluates to the current
source file.

Now you can source devstack's openrc from a zsh shell.

Tested with bash and zsh from directories other than the root devstack
directory.

Change-Id: Iab1a817b15d86144163b5094bb58f94b15c598a0
2013-10-25 12:00:06 -04:00
Jenkins
52a5c3aa84 Merge "add lib/stackforge to let us test wsme / pecan from git" 2013-10-25 15:41:34 +00:00
Sean Dague
fd98edb469 create an UNDO_REQUIREMENTS variable
in the gate, we actually need to *not* roll back the requirements,
otherwise tempest can wedge the world because it runs under tox.

Make a variable that we can set to false in the gate to ensure that
we don't roll back the requirements changes.

Change-Id: I2b842ecc3f6e8b917dd721729640000bd7e7fb78
2013-10-24 15:09:47 -04:00
Sean Dague
6832272a18 add lib/stackforge to let us test wsme / pecan from git
wsme and pecan libraries have migrated to stackforge for
development. If we support them in devstack, we can use their git
version instead of the release version, which ensures that they
won't break the rest of OpenStack when they cut a new release.

This is similar to how oslo testing works. Long term we probably
want a more generic mechanism to handle this, but for now, this
should get us rolling, and get them gating.

Change-Id: Icf3475f433081c7c625864107d7e118e214396e1
2013-10-22 07:32:04 -04:00
Roman Prykhodchenko
43e00660c3 Install Ironic client
Since python-ironicclient was published to github it's
reasonable to include it to the default Ironic set up.

Change-Id: Id1d0209959a3b482977b5e710c0885c714ad7e10
2013-10-15 17:03:15 +03:00
Jenkins
c5a1b05eba Merge "Add meta-config via local.conf" 2013-10-14 17:49:26 +00:00
Dean Troyer
893e66360c Add meta-config via local.conf
This defines a new local.conf file that is designed to take the place of all
of the 'pass-through'[1] configuration options that have been defined in DevStack.

* new local.conf file can contain multiple config file settings to be
  merged in to existing project config files
* localrc can be embedded into local.conf and will auto-extract if
  localrc does not exist
* Adds functions get_meta_section(), get_meta_section_files(),
  merge_config_file() and merge_config_group()
* Adds EXTRA_OPTS, EXTRA_BAREMETAL_OPTS, Q_DHCP_EXTRA_DEFAULT_OPTS and
  Q_SRV_EXTRA_DEFAULT_OPTS to the deprecated warning list at the end of stack.sh

[1] Pass-through options are those that do not configure or change DevStack's behaviour
but simply set a value in a project config file.  This includes most of the EXTRA_XXX_OPTS
configuration variables.

Change-Id: I367cadc86116621e9574ac203aafdab483d810d3
2013-10-11 11:41:58 -05:00
Arata Notsu
b7fcf3f6c0 Update diskimage-builder's URL
diskimage-builder has moved from stackforge to openstack.

Change-Id: I5bc8d5d162d7d671e062efd67992f15fbb4307b2
2013-10-10 17:56:21 +09:00
Nikhil Manchanda
0cccad43aa Added Trove (Database as a Service).
- Added changes to stackrc for the Trove Repos.
- Added support to devstack for "install", "configure",
  "init", and "run"

implements blueprint:trove-devstack-integration

Change-Id: Ib3f6daad33e629f764a174b80762c808ce8588e2
2013-09-11 23:48:07 +00:00
Jenkins
630d03e77a Merge "Basic support of Ironic" 2013-09-03 16:19:06 +00:00
Roman Prykhodchenko
ce696b60d7 Basic support of Ironic
Ironic is an OpenStack project than brings a
separate service for baremetal provisioning.
Currently Ironic is in incubation but it needs
to have basic support in devstack to provide
automatic deployment testing.

Change-Id: Ide65a1379fa207a6c8b2c7d9a4f9c874b10fd9ba
2013-08-22 12:30:51 +03:00
Christian Berendt
71d5630c4a Adds new tag for testonly packages in package lists
Also introduces a new parameter INSTALL_TESTONLY_PACKAGES
in the stackrc with False as default value. Setting it to
True stack.sh will install all packages tagged with the tag
testonly in the package lists.

Includes needed packages for Ubuntu and Fedora

fixes bug #1203680

Change-Id: I911a6601819a34262853bba0658f6751148bfbec
2013-08-21 14:15:20 -05:00
Bob Ball
32e1603e95 Default to xenserver driver if xenserver-core is installed
Fixes bug 1209205

Change-Id: I63085cc87610a59fc48e519e4351c9233b3961be
2013-08-07 13:10:58 +01:00
Jenkins
f3d5045ebd Merge "Add support for running multiple n-cpus for performance testing" 2013-08-05 19:55:16 +00:00
Joe Gordon
2c94ee5237 Add support for running multiple n-cpus for performance testing
When using the fake VIRT_DRIVER, we can launch an arbitrary number of
instances, the next step for performance testing is running an arbitrary
number of n-cpus. This can be done with the following settings in your localrc

 VIRT_DRIVER=fake
 NUMBER_FAKE_NOVA_COMPUTE=50

This can be used for things like measuring load from n-cpu's periodic tasks.

Change-Id: I40e0f05374e2c10c48ea6b8816ef6e7609b3dc80
2013-08-02 02:02:01 +00:00
Sreeram Yerrapragada
cbaff86b02 Add support for vmdk files as glance images
* Adds support for vmdk files as glance images in upload_image function
* Set default image url to use for vsphere driver in stackrc
* Now using a more stable url

Change-Id: If6d45bc8dfd3c812ded5e1bcf69ad7ebd9b64f34
2013-07-31 18:55:10 -07:00
Jenkins
f9a767b175 Merge "add lib/infra" 2013-07-31 20:47:22 +00:00
Sean Dague
0392a10a63 add lib/infra
move the infrastructure projects to a dedicated lib/infra, which
gives us access to this during grenade upgrade tests.

Change-Id: I1e832792b61d41ad290b4b2ab26fe664e710cebd
2013-07-31 15:48:47 -04:00
Monty Taylor
a8ca815b85 Fix a typo error in the openvz image link
It's a -, not a ..

Change-Id: I05a39e20234d89c08cff66b57f6b350ad0fe4a98
2013-07-31 13:12:30 -04:00
Sean Dague
1b6b5318a0 install oslo from upstream in devstack
the libraries that have graduated from oslo incubation need to be
made available in devstack so that projects can develop against
upstream versions of these libraries, and that we can test their
compatibility in the gate.

This should also allow us to force global requirements on all the
projects during installation.

Change-Id: Idf527b16b50eb58564ec74428290cd31424f5de2
2013-07-31 07:32:20 -04:00
Monty Taylor
a49ee32bc9 Update OpenVZ driver image
11.10 simply does not exist, so this simply does not work. However,
devstack-gate tries to pre-cache all images referenced, so even though
we're not doing anything with this, it's breaking devstack-gate.

Change-Id: I64b03ed387f5205a885427498e8cf8c2a5b32b91
2013-07-27 15:36:53 -04:00