29 Commits

Author SHA1 Message Date
jiansong
11e5175773 About update setup.cfg homepage
http://www.openstack.org/ is openstack homepage, trove homepage is
https://wiki.openstack.org/wiki/Trove, so I commit the
changes to update it.

Change-Id: Ia4387f45e80aa7bbd24e4aa920038259269877ac
2016-08-12 05:29:41 -07:00
Jenkins
6e2922bc49 Merge "Add New Relic License module driver" 2016-07-17 03:54:48 +00:00
Matthew Treinish
acd7e5155a Add trove tempest plugin
This commit takes the trove tests which previously lived in tempest
and creates an in-tree tempest plugin out of them. The contents of
the plugin are taken with tempest checkout out at commit:
eda607cb1c89762a54290c4525d81c1b192c421f with modifications made for
things to live in the trove repo.

Change-Id: Ibad5502cdca0e34cca4b5bc8a7106611f7393cf2
2016-06-27 18:53:05 +00:00
Peter Stachowski
31b0fe39b6 Add New Relic License module driver
The recent addition of module support in Trove (see
https://blueprints.launchpad.net/trove/+spec/module-management ) does
not include the New Relic license module driver. This has been added.

A decorator to streamline writing drivers (by handling common errors)
was also added, and the ping driver modified to use it as well.

Since this code is dependent on having an image with New Relic
installed, no changes were made to the scenario tests with
respect to this new driver.

An addition flag was added to the 'apply' interface that passes in
whether a module was created with 'admin options.'  This allows
some rudimentary access control to be implemented.

Depends-On: I6fb23b3dbbec98de9ee1e2731bcfc56ab3c0ca42
Change-Id: I282cf533c99e351d23f3b86aae727ae4bf279b64
Closes-Bug: #1571711
2016-06-07 17:44:41 +00:00
Peter Stachowski
7d33401ee3 Server support for instance module feature
This changeset handles the details of applying,
removing, listing and retrieving 'modules'
from Trove instances.
See https://review.openstack.org/#/c/290177 for
the corresponding troveclient changes.

Scenario tests have been extended to cover the
new functionality.  These tests can be run by:
./redstack int-tests --group=module

A sample module type 'driver' - ping - is included
that simply parses the module contents for a
message=Text string and returns the 'Text' as the
status message.  If no 'message=' tag is found, then
the driver reports an error message.

Due to time constraints, a few unimplemented
parts/tests of the blueprint have been triaged as bugs
and are scheduled to be fixed before mitaka-rc1.
These include:
Vertica license module driver:
    https://bugs.launchpad.net/trove/+bug/1554898
Incomplete module-instances command:
    https://bugs.launchpad.net/trove/+bug/1554900
Incomplete 'live-update' of modules:
    https://bugs.launchpad.net/trove/+bug/1554903

Co-Authored-by: Peter Stachowski <peter@tesora.com>
Co-Authored-by: Simon Chang <schang@tesora.com>

Partially Implements: blueprint module-management
Change-Id: Ia8d3ff2f4560a6d997df99d41012ea61fb0096f7
Depends-On: If62f5e51d4628cc6a8b10303d5c3893b3bd5057e
2016-03-15 12:21:55 -04:00
Vincent Untz
55a26c175c Update setup.cfg entry points for oslo namespace-less import paths
Oslo moved away from oslo.* namespace quite some time ago.

Change-Id: I78e3acae3918c3a136fe47ae99426701ba99c0e6
2016-02-22 21:34:13 +01:00
Chaozhe.Chen
25c0463358 Trivial: replace deprecated _impl_messaging
Use oslo_messaging.notify.messaging instead of the deprecated
oslo_messaging.notify._impl_messaging.

ref:
https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/
notify/_impl_messaging.py#L20

Change-Id: I146e031e336454a5e55c584ab34477f34d343cbf
2016-01-05 17:51:53 +08:00
Craig Vyvial
ecca97864e Remove version per M-1 release instructions
Depends-On: I122d06e4465142a02e0ceb4d2d778be8639c7165
Change-Id: If0762057e1e2b2c2c37d64bd521e37777d341857
2015-12-02 20:57:19 -06:00
Nikhil Manchanda
2cd95107b6 Open Mitaka Development
Mark the start of the Mitaka development branch by upping the
preversion. The Liberty release branch will be cut from the
previous commit.

Change-Id: I1b929ea560a9717aff864eeaf379d16e20898f9e
2015-09-23 16:27:25 -07:00
Doug Hellmann
32c4bf40a9 Update version for Liberty
Update the version for Liberty, switching from date-based versioning
to pre-versioning using SemVer. See
http://lists.openstack.org/pipermail/openstack-dev/2015-May/065211.html
and
http://lists.openstack.org/pipermail/openstack-dev/2015-June/067082.html
for details.

Change-Id: I6a35fa0dda798fad93b804d00a46af80f08d475c
2015-06-17 20:23:51 +00:00
Thierry Carrez
7104471e99 Open Liberty development
Bump pre-version in setup.cfg to formally open Liberty development.
Kilo release branch will be cut from the previous commit.

Change-Id: I2291c69fee029dcac163b5fb05137bb5c45a1988
2015-04-07 18:32:29 +02:00
Sergey Gotliv
ea148d7dfe Integration with oslo.messaging library
Port Trove to use oslo messaging library instead of obsolete messaging
code from oslo incubator.

Change-Id: Ibd886f3cb4a45250c7c434b3af711abee266671c
Implements: blueprint rpc-versioning
2015-01-06 09:16:39 +02:00
Julien Danjou
414507227e Remove Python 2.6 classifier
Trove does not support Python 2.6 anymore starting with Kilo and might
not work correctly with it, so remove the classifier.

Change-Id: Ida17ce3ce76258442222b591846e1e1717119eed
2014-12-02 09:57:52 +01:00
Jenkins
7d40686fbd Merge "Mark trove as being a universal wheel" 2014-10-17 03:31:58 +00:00
Thierry Carrez
517504ba98 Open Kilo development
Bump pre-version to 2015.1 to formally open master branch to Kilo
development.

Change-Id: Idc0542e1ad2bf2170f8c7ee4fe44ad4bdfa67581
2014-09-30 18:23:43 +02:00
Andreas Jaeger
0a6819e9ef Mark trove as being a universal wheel
Universal is used to identify pure-Python module(by bdist_wheel). For
these, it is sufficient to build a wheel with _any_ Python ABI
version and publish that to PyPI (by whatever means).

Change-Id: I41c1bddf27be9986c43ce408eccfc6b43c5562a1
2014-09-22 11:04:51 +02:00
boden
c9fd5a6a0b Load trove API extensions using stevedore
The current trove impl loads trove API extensions by searching on a
single file path which is exposed as a conf property. This results in a
less than optimal approach from a consumer extension POV. This change
replaces the single extension path approach with dyanmic loading  using
stevedore. Consumers can now bind into the API extensions using the
'trove.api.extensions' entry point; a standard means to define extension
points. Moreover this change refactors to the
trove.openstack.common.extensions logic into trove.common.extensions.

In addition this change includes base unit tests to ensure the
existing trove proper extension points are loaded and that some basic
checks are in place W/R/T validating trove extension points.

Change-Id: Id3e712b536aef3bc9c9d1603367cdc0d4816b970
Implements: blueprint dynamic-extension-loading
2014-08-13 14:04:48 -04:00
Thierry Carrez
8fc63ece83 Open Juno development
Bump preversion to 2014.2 to formally open Juno development.
The Icehouse release branch (milestone-proposed) will be cut
from the last commit before this one.

Change-Id: If15dd3aa2b9470570d3d9afaf3551618f41ebb97
2014-04-02 11:06:09 +02:00
Andreas Jaeger
ab8d8b054e Setup trove for translation
The upstream-translation-job exists already but fails since trove
is not setup properly for translation.

Add the usual babel.cfg file, update setup.cfg for translation and
create initial trove.pot file.

Change-Id: I65ca2c974fc54e005ba8887dceb66ac08432c6d1
2014-03-19 15:06:23 +01:00
Michael Basnight
b06db4ab7f Migrating trove to entry points
PBR/Distribute generates binscripts for us. By moving the
binscript code into the source tree, we can unit test it
as well. Run setup.py develop to generate the binscripts for
development use.

implements blueprint entrypoints-for-binscripts
Change-Id: I9ad4bb4ddc55f64bcd806c588a795cd6e0847aa9
2014-02-01 01:19:58 +00:00
Ed Cranford
384576675f Conductor proxies host db access for guests
Previously, instances updated their status by
updating the database on the host directly.
Necessarily, each instance would need access to the
database to stay updated.

Trove's new conductor service eliminates that need by
working as a proxy for those instances. By sending a heartbeat
to conductor via RPC, conductor updates the database
on the host on behalf of the instance.

As backups also made use of the host database, the backup
code has been refactored to take richer inputs to remove
the need to query the host database, and now conductor is
also used to submit updates to backup states.

Implements: blueprint trove-conductor

Change-Id: I4cb34baedd0e3a50051f9e66de95c9028c66e4b5
2013-11-26 11:52:00 -06:00
Tim Simpson
eb81a1e963 Fixes trove-api daemon fake mode functionality.
This commit adds code to register taskmanager as a fake endpoint.
This allows the fake daemon to work again.

Fixes bug 1238901
Change-Id: Icb7c97cad3d76dc36a38126eb7f8b5929dc0d591
2013-10-28 23:41:11 -05:00
Thierry Carrez
b99c9bfc26 Open Icehouse development
Bump version to 2014.1 to open master branch to icehouse development.

Change-Id: I0c955a9a459798efcad28e6d39d61b52a24b6e3f
2013-09-12 11:02:05 +02:00
Andrey Shestakov
58534eda0d Changed system commands depends on OS version
fixes bug #1214120

Change-Id: I3357dd04911a92a4d69fb8d3469f093b0c6b0737
2013-08-25 12:55:20 +03:00
Nikhil Manchanda
708f3230d0 Added developer documentation for Trove
Added initial sphinx/docutils documentation for Trove. Also made
corresponding changes to setup.cfg so that OpenStack CI is able
to build the Trove developer docs.

Fixes blueprint: trove-dev-docs

Change-Id: I900ffd2c0b661fb7642fa06c08ee92892eb176f0
2013-07-18 17:21:00 -07:00
Dirk Mueller
4ee184238d Rename README to README.rst
README.rst seems to be more standard accross OpenStack
modules.

Change-Id: I4cf548cd9e7d10fda486bd9831224b28c80ee169
2013-06-25 11:30:18 +02:00
Michael Basnight
7ab80b554d Rename from reddwarf to trove.
Implements Blueprint reddwarf-trove-rename

Change-Id: Ia9ee609bbc06a1d8b9d6917642529f30347541fd
2013-06-24 14:11:15 -07:00
Monty Taylor
97488d354e Renamed repos to trove.
Change-Id: I0b8d8bed9f4c73bf0c315c6f4d2c6b0029ffdf22
2013-06-14 18:25:42 -04:00
Monty Taylor
fc930eb91d Migrate to pbr.
Fixes bug 1179007

Change-Id: If7c187f3b4833bdd7f2c0632c061afdcacb9832f
2013-06-03 18:44:17 -04:00