Commit Graph

14 Commits

Author SHA1 Message Date
Andreas Jaeger 41254a3578 Update requirements manually
The global requirments sync for this repo fails since it lists
packages that are not in the global list. Manually sync requirements.

Failure log from requirements sync:
http://logs.openstack.org/d8/d89aad257d43fe02e42e44b2a0187dbd9f505c36/post/propose-update-requirements/15a7777/job-output.txt.gz#_2018-01-31_06_47_53_939490

Errors are:
'jsonpickle' is not in global-requirements.txt or blacklist.txt
'mongomock' is not in global-requirements.txt or blacklist.txt

Change-Id: I4c99bca201da092d872ead25e96c41f0d8c94ddf
2018-01-31 09:16:51 +01:00
Frédéric Guillot 2e56cf802e Upgrade Kombu to fix breaking change in oslo messaging
Change-Id: I2e0aa6bbfc0d49d2a3d9d5a97d53e09aade4fdae
See: 631ade59bc
2017-04-12 13:07:23 -04:00
Frédéric Guillot 0f11fff0a9 Update Kombu requirement
Change-Id: I1875f85fa1556c30aebe47552090757a6f62435c
2017-01-13 14:52:24 -05:00
Frédéric Guillot 38d243f445 Add tempest scenario for volume types
- This scenario test the creation of a new volume type.
- Cinder was not sending notifications because the config
file have to be changed.
- Keystone authentication was broken, we are
now using the v3 API.
- Kombu released a breaking change, the global constraints have
been updated: https://review.openstack.org/#/c/408643/

Change-Id: Ie6a50ff427b6402f0d023fe3468f3efac77a8fce
2016-12-08 13:07:27 -05:00
Frédéric Guillot 0f7939f412 Update devstack plugin
Requirements have to be changed to avoid conflicts
with other projects in devstack.

Moreover, all dependencies must be compatible with
global and upper OpenStack constraints.

Change-Id: Ie925b4481c865f398ac29eadfc58e9bfb18604c9
2016-11-30 15:46:50 -05:00
Frédéric Guillot 7c14e2e868 Migrate to oslo_messaging and oslo_service
This modification introduce a breaking change about AMQP
queue handling.

Now, Almanach use the same terminology as other OpenStack
projects.

- By default, Almanach listen on the "almanach" topic
- The "info" priority is used to receive notifications
- The "error" level is used as retry queue
- The "critical" level for the dead queue

To be compatible with olso_messaging drivers, transport_url
must start by "rabbit://" to use the driver kombu.

Change-Id: Ia331d68e94c8ce4196b2d5f3b974a8dbdd6016ef
2016-11-17 10:13:56 -05:00
Frédéric Guillot f1cb73cab3 Use URL to define RabbitMQ connection
* kombu have been updated to be compatible with global
requirements
* Unit test have been modified due to breaking changes
introduced by kombu library
* kombu will be replaced later by oslo.messaging
* Add new config option to define multiple connection
URL separated by a semi-colon
* Use secret parameter to avoid any password leaks in log
files
* Add option for connection heartbeat

Change-Id: Ia1db99f5804a0b3cdd496485f6a9410758d567fe
2016-11-01 13:48:56 -04:00
Frédéric Guillot e0561271cf Migrate code base to oslo.config and oslo.log
In order to migrate the code base to the "OpenStack way":

* Replace ConfigParser by oslo.config
* Replace logging by oslo.log
* Use testtools as base class for unit tests
* Add tox -e genconfig to generate config file
* Start to organize the file structure like other projects
* Define 2 cli entry points almanach-collector and almanach-api
* The docker-compose.yml is now used to run integration-tests
* Integration tests will be moved to tempest in the future
* Docker configs should be deprecated and moved to Kolla

Change-Id: I89a89a92c7bdb3125cc568323db0f9488e1380db
2016-10-13 11:28:09 -04:00
Marc Aubry 7f33dcc7df Add compatibility to python3
Change-Id: I20251e3dbe495c60a2a17751d84a395d10d38817
2016-08-22 17:47:19 -04:00
Frédéric Guillot 40554b98e3 Added Keystone autentication (#22)
* Added Keystone autentication

* Added license header

* Minor PEP8 fixes
2016-06-09 11:28:31 -04:00
Frédéric Guillot 47ab4568ce Added Docker configuration (#12) 2016-05-03 15:56:34 -04:00
Paul Millette 00f5d6994b Handle API response errors (#14)
Assert that exception message is not empty
Added voluptuous
2016-05-03 15:15:49 -04:00
Frederic Guillot 2598020577 Do not use gunicorn inside the app (override command line arguments) 2016-04-21 17:52:11 -04:00
Frederic Guillot 27abb148bd First opensource commit 2016-03-25 11:30:58 -04:00