Commit Graph

117 Commits

Author SHA1 Message Date
Ryan Beisner 9679e95a17
Retire project
Leave README around for those that follow.

http://lists.openstack.org/pipermail/openstack-discuss/2019-February/003186.html
http://lists.openstack.org/pipermail/openstack-discuss/2018-November/000057.html

Change-Id: Ia77e53a5b24153094d53c518beba911afa6f8c9b
2019-02-27 10:23:19 +01:00
Doug Hellmann 48b78e4aeb import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Ieb2f3fa18837819459c111bb31d0d33fddc8c2f4
Story: #2002586
Task: #24317
2018-09-11 13:21:06 -04:00
Vu Cong Tuan 88216e666a Add py36 testenv
Python 3.6 is installed by default in Ubuntu 18.04 LTS.
Therefore, according to Transition Plan [1],
it'll be handy to have py36 testenv.

For more details, please check Python2 Deprecation Timeline [2]
and Python3-first Goal - Completion Criteria [3].

[1] https://wiki.ubuntu.com/Python/Python36Transition
[2] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html
[3] https://review.openstack.org/#/c/575933/8/goals/stein/python3-first.rst@42

Change-Id: Ia06b68cfa2bc6a36caecc42cfa5b04602d65681c
2018-06-27 11:23:15 +07:00
Seyeong Kim 0a97e78084 Support http_proxy_to_wsgi
Add http_proxy_to_wsgi to api-paste.ini to support
HTTP_X_FORWARDED_PROTO header
Please refer to
https://git.openstack.org/cgit/openstack/trove/commit/?id=583d5cd4283895c10e7cac92a8498b6b01676e5f

Change-Id: I102d2b1920f169e2ab1967042028541d313bf6c7
Closes-bug: #1590608
2018-01-12 20:39:45 +09:00
Kyle L. Henderson 7a6e01d177 Allow configuration of IP address filter regexs
Trove filters what IP addresses are exposed on the Trove API. This
change allows the configuration of the Trove regular expressions
to be used for filtering. There is a network label, black list and
white list regular expressions that can be specified. The default is
set to expose all addresses.

Change-Id: I89aad1d7d38d3a96728c31241e8cf1fc483aba81
2017-11-01 22:10:31 -05:00
Kyle L. Henderson 3413824166 Add config parameter for nova config drive
Nova config drive can be used to pass parameters and files to the
database instances. In cases where file injection cannot be used
by nova, trove can be configured to tell nova to use config drive
support instead. Nova will then use config drive to configure the
database instance.

Change-Id: I29c1d0e935603a849c2500b2f298b7a6fa84cb28
2017-10-24 09:35:47 -05:00
Kyle L. Henderson c48067bc55 Various fixes to get tox and verification working
The charm-helpers project moved from launchpad to github.
Create a copyright file to work around pep8 warning.
Fix keystone.service_catalog.url_for calls to use 'interface'
parameter versus 'endpoint_type'.
Add .stestr to .gitignore file.

Change-Id: I215b09b97e4cd9ebbad5dcb41a03d0c09dcfd9ef
2017-10-24 08:05:52 -05:00
James Page a8e70b4d34 Add version support for >= pike
Add version information for pike, queens and rocky.

Correct package key to trove-common.

Add zesty to list of supported Ubuntu releases.

Change-Id: Ief176a837ccf125bb9ee7a3a61c45f0452849c0b
2017-05-26 09:21:03 +01:00
Alex Kavanagh 8689ae0d14 Use charms.openstack charmhelpers test_mocks
Every reactive charm that uses charms.openstack and implements unit
testing needs to mock charmhelpers, as otherwise the tests blow up.
This patch uses the mocking of charmhelpers in charms.openstack so that
a charm layer can just import test_mocks and charmhelpers will be mocked
out along with setting up a default
charmhelpers.c.o.u.OPENSTACK_RELEASES so that when an OpenStackCharm()
derived charm class won't fail on definition.

Change-Id: Iea3a6dcab0a9bba952208ae92c636ade55627ef4
Related-Bug: #1693017
Depends-On: I5ac40617ee30e5f421ec16fc7592177a5e6aa166
2017-05-25 11:07:01 +01:00
hmlanigan abc294f463 Maintainability and config updates.
Use default openstack charm hooks where possible, implemented
2 functions to facilitate this: get_amqp_credentials() and get_database_setup().

Allow for additional trove configuration by the user:
    trove-volume-support: same name as in trove.conf
    trove-datastore-database: used to set datastore_registry_ext in
        trove-guestagent.conf
    trove-database-volume-support: corresponds to volume_support per DB in
        trove.conf
    default-neutron-networks: same name as in trove.conf

Add Newton version of the trove configuration files, remove verbose
setting as it's deprecated and ignored in Newton.

Change-Id: I0a9a33128e13ad232f28996b24fea48d081786f2
2017-03-30 13:33:13 -04:00
Dmitrii Shcherbakov 8d6211a75c tests: fix/cleanup functional and unit tests
Remove non-working unit tests (left only the ones that pass
 - let's make it a baseline and add more afterwards).

Fix functional tests (dependency + API urls)

Repository tidy up:

Remove log files from tox from git repo;

Fixup gitreview to point to trove repository;

Make gate tests executable.

Change-Id: Ide6b833f77f76e43ebbc9fbe435cff0bd4060ef8
2017-01-27 14:31:50 +03:00
Jonathan Arrance eaf141d76c Merge pull request #1 from gnuoy/bug/fix-endpoints
Add API and tenant var to endpoints
2016-10-24 13:06:56 -04:00
Liam Young e2f3f679c3 Add API and tenant var to endpoints
When registering the endpoints with Keystone it looks like a
Trove API version and tenant var should be included in the endpoint
string

I'm not creating a pull request for this as the endpoint format is
based on old Icehouse documentation *1 and I'm not sure what Trove
API version the charm supports

*1 http://docs.openstack.org/icehouse/install-guide/install/apt/content/trove-install.html
2016-10-17 07:08:29 +00:00
Jonathan Arrance da56f75c0d hard coded the keystone api version and made sure the auth service ports were correct. 2016-10-15 20:49:53 -04:00
Jonathan Arrance 6222dfd8e2 Hard coded keystone API and added the trove-guestagent to trove.py 2016-10-15 15:54:21 -04:00
jarrance 3f6773c99b changed around the template files 2016-10-14 21:52:40 -04:00
Jonathan Arrance 6bb5c2fc20 Update trove-guestagent.conf 2016-10-14 10:31:10 -04:00
Jonathan Arrance b187bf048d Update trove-guestagent.conf 2016-10-14 09:55:26 -04:00
Jonathan Arrance 9f1880c54c Update trove-guestagent.conf 2016-10-14 09:53:58 -04:00
jarrance c247463c8d tox output file was added 2016-10-12 20:21:17 -04:00
jarrance 76470bb013 Resolved conflicts 2016-10-10 11:59:27 -04:00
jarrance 4736f9e3f7 required relations 2016-10-10 11:57:12 -04:00
jarrance b21fca2733 Correct required relations for trove 2016-10-10 11:32:50 -04:00
shashaankar ca231bdf27 Fix for multi node trove deployment 2016-10-05 21:22:58 -07:00
jarrance 0961994801 Add cluster to required relations 2016-10-05 02:18:23 -04:00
jarrance 02750b2658 Merge branch 'master' of https://github.com/TransCirrus/charm-trove 2016-10-03 23:20:50 -04:00
jarrance be67cd7c64 Corrected trove adapters confiig 2016-10-03 23:19:24 -04:00
Jonathan Arrance 68da000da4 Update metadata.yaml 2016-10-03 12:04:44 -04:00
Jonathan Arrance 939f92e94a Create README.md 2016-09-20 22:04:10 -04:00
hmlanigan 6ffc0fa81e Resolve lint complaints 2016-09-16 16:16:23 -04:00
nbrust 6c941a7989 resolved merge conflict after removing test case numbering 2016-09-16 10:35:43 -04:00
nbrust 1179f7be0b removed test case numbering 2016-09-16 10:30:02 -04:00
nickbrust 23234c1b74 Merge pull request #1 from gnuoy/amulet-fixes
Minor Amulet fixes
2016-09-16 08:38:28 -04:00
Liam Young 7d080e143f Minor Amulet fixes 2016-09-16 12:35:14 +00:00
Jonathan Arrance 0dcd893ea6 Create __init__.py 2016-09-16 00:09:15 -04:00
arrance 0b287d0e88 removed more designate cruft 2016-09-15 23:34:00 -04:00
nbrust 34bb7a1108 removed extraneous designate-related test code 2016-09-15 22:48:13 -04:00
Jonathan Arrance 5722f98cf7 Reworded the README 2016-09-14 22:07:43 -04:00
Jonathan Arrance 87972745b1 Remved a junk file. 2016-09-14 17:35:25 -04:00
Jonathan Arrance 8ecce85258 Changed the way API class was called. Also changed the trove_uri in template files. 2016-09-14 11:13:08 -04:00
Jonathan Arrance a289c21110 removed some cruft from the templates. 2016-09-14 00:19:53 -04:00
Jonathan Arrance 9b7d223983 Merge branch 'master' of https://github.com/JonathanArrance/charm-trove 2016-09-13 23:26:33 -04:00
Jonathan Arrance 5f65401663 added in the ha cluster reactive and def in trove library. 2016-09-13 23:26:25 -04:00
Heather M. Lanigan 65032c7c71 Use the config.yaml rabbit variables 2016-09-13 16:02:34 -07:00
Jonathan Arrance 07ab943394 changed back to the default relation adapter since that seemed to work. 2016-09-13 16:46:00 -04:00
Jonathan Arrance 081406b112 Changed rabbit and database in the handlers 2016-09-13 16:18:34 -04:00
Jonathan Arrance ead017942b Changed the templates and layer.yaml file to reflect how layers are pulled form openstack-principle 2016-09-13 12:56:48 -04:00
Jonathan Arrance b4a62da897 Attempting to get the template config files correct so that they are deployed in the charm. 2016-09-13 11:26:10 -04:00
Jonathan Arrance 24c8e5dca8 Forgot to change the template for trove.conf. 2016-09-12 22:02:31 -04:00
Jonathan Arrance 27d07ec4dc We have the amulet test cases up and they need to be run against the code. 2016-09-12 21:18:14 -04:00