30 Commits

Author SHA1 Message Date
Jenkins
d09a1db5a4 Merge "add shebang lines to all lib files" 2014-12-10 20:32:15 +00:00
Sean Dague
e263c82e48 add shebang lines to all lib files
With gerrit 2.8, and the new change screen, this will trigger syntax
highlighting in gerrit. Thus making reviewing code a lot nicer.

Change-Id: Id238748417ffab53e02d59413dba66f61e724383
2014-12-10 11:28:05 -05:00
Julien Danjou
c187b88e69 Add tooz support from Oslo
Change-Id: I4ccf4bf08e10c0ba651f973aa62562af85ea0f19
2014-12-09 15:41:55 +01:00
Davanum Srinivas
092c124b16 Sort oslo libraries and add missing oslo.context
Ensure both lists of oslo libraries are sorted and
add the missing oslo.context in install_oslo method

Change-Id: I5b849c97b681e65425304e05534a61140e4e1fda
2014-12-08 13:48:25 -05:00
Davanum Srinivas
958111e188 Add oslo.context
Treat the new oslo.context library just like the other Oslo
libraries. i.e. make it possible to either test with upstream
released library, or with git versions of oslo.context.

Change-Id: I2dc498324d6c405655a8e2e249465c5b351ca960
2014-11-17 17:35:44 -05:00
Sean Dague
b7cda38937 fix olso != oslo typos
Apparently oslo is the hardest word in the world for me to understand
that I didn't spell correctly.

Change-Id: Id1b52529001319eaf41321118ab560711c752003
2014-10-03 08:04:00 -04:00
Sean Dague
cc52406a78 use released library versions by default
This patch provides a new path for installing libraries in devstack so
that it's possible to either test with upstream released libraries, or
with git versions of individual libraries.

Libraries are added by name to 3 associative arrays GITREPO,
GITBRANCH, GITDIR. When we get to the library install phase we inspect
LIBS_FROM_GIT and look for libraries by name (i.e. "oslo.config") and
if they exist we'll clone and install those libraries from
git. Otherwise we won't, and just let pip pull them as dependencies
when it needs them.

This patch provides the conversion of the oslo libraries, including
pbr.

Devstack-gate jobs for these libraries will need to change to support
actually forward testing their content.

Change-Id: I6161fa3194dbe8fbc25b6ee0e2fe3cc722a1cea4
2014-10-01 16:20:22 -04:00
Jenkins
154b400e3b Merge "Add oslo.log" 2014-09-07 17:05:45 +00:00
Jenkins
1821200bc5 Merge "Add oslo.concurrency and oslo.middleware" 2014-09-07 13:00:02 +00:00
Davanum Srinivas
13249f8709 Add oslo.log
Install the oslo.log library from source so the gate tests
are run against master.

Change-Id: Id2925ce733773d8189ecc0d24b0384c44fad7b72
2014-09-04 13:17:46 +00:00
Davanum Srinivas
0b9464d406 Add oslo.concurrency and oslo.middleware
Install the oslo.concurrency and oslo.middleware libraries from source so
the gate tests are run against master.

Change-Id: I194fc160127ab8b4b7d0086586d8ba7f92c67076
2014-09-04 13:17:13 +00:00
Doug Hellmann
5cd17f71ca Add oslo.utils and oslo.serialization
Install the oslo.utils and oslo.serialization libraries from source so
the gate tests run against master.

Change-Id: I2cb35c9dfd18588e4caa11134e6a34d83324e136
2014-08-27 09:53:22 -04:00
Jenkins
8f847ef53b Merge "Revert "cleanup potentially installed older oslo.config"" 2014-08-06 03:34:16 +00:00
Ihar Hrachyshka
a89a0dc624 Revert "cleanup potentially installed older oslo.config"
Icehouse is for long behind our back, so let's remove that hack.

Conflicts:
	lib/oslo

This reverts commit db5fadb5cb768820df54fc3d1c7428a57b511582.

Change-Id: I06d3b0a8779ba51e05c439832ef3b7dbdc97ded1
2014-07-29 13:13:12 +02: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
3cb9b434a7 Merge "Install oslo.db from source" 2014-06-20 09:26:50 +00:00
Elena Ezhova
2d451967be Use oslo-messaging-zmq-receiver to start zeromq receiver
The project-specific receiver command nova-rpc-zmq-receiver
has been replaced with oslo-messaging-zmq-receiver.

We need to update devstack code accordingly.

Change-Id: I7696c649fa818ecb523b698ea4a23f70da60147d
Closes-Bug: 1279739
2014-06-19 16:25:23 +04:00
Doug Hellmann
c7297945d9 Install oslo.db from source
Add oslo.db to the list of Oslo libraries we install from source.

Change-Id: Ie97ab6bfac19fbce9aeda5a96c6d7a805dfa6c35
2014-06-18 11:39:52 -07:00
Victor Sergeyev
da945f3161 Add oslo.db
blueprint oslo-db-lib

Change-Id: If952099fa4dcf8638cad70d42a12ebcdac28de84
2014-04-30 19:08:43 +03:00
Sean Dague
59d9cecb16 bring back oslo_clean
oslo_clean is still needed at this point, removing it was
premature, especially for upgrade testing.

Change-Id: Ic845d835f587923423f83ac698bd825f3fa5dd1f
2014-04-02 18:54:51 -04:00
Sean Dague
099e5e3f81 don't use pip -e install for libraries
libraries in openstack shouldn't be installed editable, as it
causes all manner of issues (especially complicated by the use
of namespace packages). Install these globally as part of the
devstack installation process.

Change-Id: I11acb169e74069be0618e57496ff342f9e788493
2014-04-01 08:48:00 -04:00
Ian Wienand
aee18c749b Enforce function declaration format in bash8
Check that function calls look like ^function foo {$ in bash8, and fix
all existing failures of that check.  Add a note to HACKING.rst

Change-Id: Ic19eecb39e0b20273d1bcd551a42fe400d54e938
2014-02-28 07:59:03 +11:00
Davanum Srinivas
f5aa05c0ab Add support for oslo.vmware
Change-Id: I2162a339b1869c27850afcda6be3c4e11de94e0e
2014-02-23 07:37:40 -08: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
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
Adam Spiers
6a5aa7c6a2 Fix some Markdown formatting issues
Address miscellaneous issues with Markdown formatting in comments which
are consumed by shocco when generating the online documentation.

Change-Id: I953075cdbddbf1f119c6c7e35f039e2e54b79078
2013-10-24 17:38:19 +01:00
Alessio Ababilov
c2a4c9238d Fix 'olso' typo in lib/oslo
This enables commit If92073be5a431840701c952a194e63a7c452c9ca
for cleaning up potentially installed older oslo.config. Here are
its original details.

If the user had oslo.config installed prior to us setting up the
oslo.config out of git they can get themselves into this very funny
situation where pip doesn't see oslo.config 1.1.x, however some
packages might. This manifests itself as a user error trying to
start nova-api which uses DeprecatedOption, not in oslo.config 1.1.x

Because of the funny state pip is in, you can't uninstall oslo.config.

So in these situations, if we see old oslo.config in the filesystem,
pip install / uninstall it to ensure that everyone ends up using the
git version instead.

To reduce the amount of user confusion, do this on every
install_oslo for a while, which we can purge after Havana ships.

Change-Id: I7fa0b70497bf5622f4638da284afe5363a004d3c
Fixes: bug #1213089
2013-08-16 21:57:20 +03:00
Attila Fazekas
025fc5e5f5 Faster old oslo.config detection
Just search in the path where python searches for modules.
Let's use python for searching, it knows the exact rules.

Change-Id: I659f734c418ab5e56f4956f418af48dfbe054c8a
2013-08-13 18:55:33 +02:00
Sean Dague
db5fadb5cb cleanup potentially installed older oslo.config
If the user had oslo.config installed prior to us setting up the
oslo.config out of git they can get themselves into this very funny
situation where pip doesn't see oslo.config 1.1.x, however some
packages might. This manifests itself as a user error trying to
start nova-api which uses DeprecatedOption, not in oslo.config 1.1.x

Because of the funny state pip is in, you can't uninstall oslo.config.

So in these situations, if we see old oslo.config in the filesystem,
pip install / uninstall it to ensure that everyone ends up using the
git version instead.

To reduce the amount of user confusion, do this on every
install_oslo for a while, which we can purge after Havana ships.

Change-Id: If92073be5a431840701c952a194e63a7c452c9ca
2013-08-09 14:05:36 -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