This patch will Introduce the Topic resource into Zaqar
and implement the storage in mongodb.
Change-Id: I6d37c93aa75d7df78d3939044b0e8fefa5d9a5f5
Implements: bp introduce-topic-resource-for-notification
This adds basic framework for zaqar-status upgrade
check commands. For now it has only "check_placeholder"
check implemented.
Real checks can be added to this tool in the future.
Change-Id: I855b4b72284df308c3bb250fd3a3f0fc643b4abf
Story: 2003657
Task: 26165
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss
Change-Id: I115c89897b5afa687b4f4a1cea6257b5ee2419c6
This is the openstack governance goal that the config files should
be merged into one folder to make the code to be better understood
and managed.
Change-Id: I33dd85145d9f5b0384323ffa51b4d68de0aeb5b7
The plugin has been split into its own repository[1] in accordance with
Queens Goal "Split Tempest Plugins into Separate Repos/Projects[2]".
This patch removes the local copy as well as the setuptools entry point.
We can also now remove the autodoc_tree_excludes pbr option since
there's no more plugin to exclude and it defaults to [setup.py].
[1] http://git.openstack.org/cgit/openstack/zaqar-tempest-plugin
[2] https://governance.openstack.org/tc/goals/queens/split-tempest-plugins.html
Implements: blueprint zaqar-tempest-plugin
Change-Id: Ia52d7f0a18e4b55260dc994f0802a96109280e24
This change prepares the zaqar project to start implementing policies
in code. Subsequent patches will register more zaqar policies in code
and remove the corresponding entry from the policy file maintained in
source.
This is part of a community effort to provide better user experience
for those having to maintain RBAC policy. More information on this
effort can be found below:
https://governance.openstack.org/tc/goals/queens/policy-in-code.html
bp policy-and-docs-in-code
Change-Id: I5d804b589df215fddc18257fc9f05ba2e0d708bd
With pbr 2.0 and Sphinx 1.5, the setting for treat sphinx warnings as
errors is setting warning-is-error in build_sphinx section. Migrate
the setting from the old warnerrors one.
Fix also problems found:
* code-blocks that could not be parsed
* Usage of :option: without declaring the option.
* Add blank lines to properly end markup.
* Fix a typo.
* Fix wrong markup of docstring
* Fix title underlinings.
Change-Id: I69ddde706a04f26bfccda072822dc0d230cb330e
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.
Change-Id: Ifb0804dd27c5e14418ec61ddfed0790d693d1bde
This adds the ability to send keystone authentified notifications using
trusts. To do so, you specify the posted URL with the "trust+" prefix,
and Zaqar will create and store a trust when subscribing to a queue, if
the trust not provided in the subscription options
It also add a capability to the webhook task to be able to send more
structured data in the notification, allowing to include the Zaqar
message in the data.
blueprint mistral-notifications
DocImpact
Change-Id: I12b9c1b34cdd220fcf1bdc2720043d4a8f75dc85
The upcoming `pbr` release will make this flag effective and it may
result in broken tests and/or gate jobs. Disable for now till the next
release is out so we can re-enable it later and manage possible errors
alltogether.
Change-Id: Ic483121ff850319838d6b33e39059e6bdda9a88b
We're using zaqar.notification.tasks to look for the notifier
driver by stevedore, so this patch just rename the package
name to keep consistence. No impact for end user and migration.
Change-Id: I7694af4dbc4f73703e429560fb0a1457f3e1193a
This commit takes the zaqar tests which previously lived in tempest
and creates an in-tree tempest plugin out of them.
Change-Id: I06053d2d0d761c6398708280f3ef38274dec390c
OpenStack projects are no longer being tested under Python 2.6, so
remove the trove classifier implying that this project supports 2.6.
Change-Id: I3db4da6cdfac6163ccb54467c5269b5076892690
Per [1] we now want to use the git repository for knowing the version
instead of just trying to modify the setup.cfg file.
[1] http://lists.openstack.org/pipermail/openstack-dev/2015-November/080692.html
Depends-On: Ifa41ef5b856c2726c165a51944069dc1ac3a16cc
Change-Id: I884d1196f0320d85257f521591d36ed7cfbc8013
Move from the incubator cache module to oslo_cache/dogpile. It removes
all now unused incubator modules.
Change-Id: Ie1cbacab262e47cee3fde513081a7d70a624dbd9
Bump preversion to mark the start of the Mitaka development branch.
The liberty release branch will be cut from the previous commit.
Change-Id: Ie0d9dc46680631d4d3afdb7111a314012d531c73
1. Using stevedore to load the task instance
2. Pass in messages list to task instead of single message
Change-Id: Ie8a475b8c2530bfd0fb2d39929c1611288c601fe
We've some options in bootstrap and other places that should probably go
to a common place so that we can guarantee they are always registered
when the Zaqar starts.
This patch adds a new zaqar.common.config module that holds all the
common configs but doesn't register them. This step is still performed
when it is required.
Change-Id: I9941095ed56835093d56b5ad2bf85b53bdda0c8b
Partially-Implements: pre-signed-url
This moves functional tests out of the tests directory and removes it.
blueprint tests-refactoring
Change-Id: I0e0fb4e914ede02ea2f02fa19cf898888f38b57d
This entry point existed for backwards compatibility. It's not needed
anymore, make ppl move to sqlalchemy if needed.
Change-Id: I2715961bae9473b55a68af6d9441d83ccdf85735
The marconi-server entry point was kept for backwards compatibility. It
should be safe to remove it now.
Change-Id: I912e57cb4e72e185e00067c950d6dfc7fc6dd9b9
Bump pre-version in setup.cfg to formally open Liberty development.
Kilo release branch will be cut from the previous commit.
Change-Id: If6139cb09d14038f6a3acec0170c3cf665a24085
To separate data and control plane of storage layer;
Moving queue_controller from data to controll plane.
Trying to shift the QueueController object in Control plane.
For this new MessageQueueHandler class is also added inside storage/x/messages.py
And the newly added handler is added to the entry point.
Implements: blueprint split-data-and-control-plane
Co-Author: Flavio Percoco<flavio@redhat.com>
Change-Id: I8a167d6ed8e54c98b077b9ea56e68b4e8d5b0291
This patch adds a notifier driver for webhook and the basic
task management code with taskflow.
DocImpact
Partially-Implements blueprint: notifications
Change-Id: I2727726cc57f03fb94184653452223f00fcf3d0c
This patch removes the sqlalchemy as a valid data driver. In order to
make this work properly, we also need the data plane to be properly
split into 2 completely independent pipelines.
This patch, unfortunately, disables some of the sqlalchemy's tests for
queues and pools. The reason is that, until these planes are correctly
separated and pooling is enabled by default, we won't be able to
properly run those tests. A follow-up patch, expected to land in kilo,
will do this.
DocImpact
Implements blueprint: disable-sqlalchemy-as-pool
Change-Id: I5ca73102241692b0e1b23b3eaaaf1938f0106dfa
Inits the server and adds a websockets dummy protocol.
asyncio has been selected as the server and autobahn as the
websockets library (pending discussion with the team).
Controllers will be added in the following changes.
Partial-Implements: blueprint persistent-transport
Change-Id: Ia2a9b02847ec6f61c07b597e607f8fa316672518
The patch adds support for both FIFO and non-FIFO mongodb
implementations. It takes advantage of the `uri` scheme to determine
whether the FIFO implementation is needed or not.
A follow-up patch will improve this driver loading phase to match what's
been stated in the spec.
DocImpact
Partially-Implements blueprint: expose-storage-capabilities
Change-Id: Ic25e1893d0bab640ac038097ed89e5b699d5490a
Given we are going to implement notification, so the 'queues'
package is not suitable for current scope of zaqar. This
patch will remove the 'queues' package.
Partially implements: blueprint notifications
Change-Id: I6984f31f4bd1e646b585c45c088ed239b58587c4
* Fix the redis opts typo in setup.cfg
* Fix the default value type for reconnect_sleep in redis
* add the redis to oslo.config.generator.rc
Change-Id: Ibd439e2bdaa46ddf21802724f9fe7fb6f2b61bc5
It's the responsibility of the operator to call the garbage
collector manually. Using crontab or a similar tool is advised.
A more intelligent approach for this will be added in a follow-up
patch.
Change-Id: I9cf22a5c65920be0eaff909c8f090d29ef300d1f
This patch implements the standard controllers for the redis
storage driver. It has been tested against a localhost Redis
server with ZAQAR_TEST_REDIS=1.
Change-Id: Ib7c100afd11a0410c3f241c1925d5aaf172ce6a8
Partially-Implements: blueprint redis-storage-driver
This patch introduces a new observer role, which lists messages but
does not claim them. As part of this work the config options were
updated and the defaults adjusted to provide a better "kick the
tires" experience.
The default number of procs and workers is now hard-coded rather
than being based on number of available CPUs, since the number of
workers you may want to run is more dependent on the size of your
Zaqar deployment and your network bandwidth than it is on the
number of CPUs on the load generator.
Finally, the "-pc" suffix was removed from the command name. This
was included in this patch because it didn't seem significant
enough to split out.
Change-Id: I8a8190fb2cebc3489c78da4f6e1e7c51d8b97017
This patch renames every package, file, match of Marconi in the codebase
to Zaqar *except* for the .gitreview file, which will have to be updated
*after* I8e587af588d9be0b5ebbab4b0f729b106a2ae537 lands.
Implements blueprint: project-rename
Change-Id: I63cf2c680cead4641f3e430af379452058bce5b3