2406 Commits

Author SHA1 Message Date
Kenneth Giusti
1231c4cbf2 Move requirements for the optional drivers (amqp1, kafka)
Move the requirements for the optional drivers to
test-requirements.txt and setup.cfg.  The default rabbitmq driver's
dependencies should be the only hard requirements for the base
package.

Leaving ZeroMQ deps unchanged for now as it will be removed in Stein

Change-Id: I19dd699ccf87e43202ccefb99258fbaa9ea17b7e
2018-04-16 10:38:07 -04:00
Kenneth Giusti
629d449bbb set default python to python3
Set the default python to python3 except for the py27 specific test
environments. Set Python 2.7 as the python version to use for these
tests.

Temporarily ignore optional driver requirements for now. This will be
addressed in a later update.

Change-Id: Iea8e48b72234bb9a580f2345396cf60fe2022618
2018-04-13 11:02:23 -04:00
Doug Hellmann
e67bafd526 fix lower constraints and uncap eventlet
Fix the lower constraints to match the expected values.

We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.

Change-Id: I61d5680182c53774713ee83808b1f6e7a4fba9ff
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-12 10:46:33 -04:00
Zuul
b0776c515d Merge "Add restart() method to DecayingTimer" 6.1.0 2018-04-04 00:12:43 +00:00
Zuul
cb80475c3d Merge "update configuration for qdrouter v1.0.0" 2018-04-04 00:12:42 +00:00
Wonil Choi
e0e8a1ea68 Revert "rabbit: Don't prefetch when batch_size is set"
This reverts commit c881baed29db49c5710795496cb07907e35ceaba.

Eventhough batch_size is set, rabbitMQ prefetch count is not changed
at the first time of connection creation. It works only connection reset
cases(i.e. rabbitMQ restart). So this patch can not fix original issue
  https://bugs.launchpad.net/ceilometer/+bug/1551667

Moreover, it makes another bug that messages of sameple queues are not
consumed properly. So revert it.

Change-Id: Ia8ebee8e2a670e46b6a68859bc30e717bd56ed7e
Signed-off-by: Wonil Choi <wonil22.choi@samsung.com>
Closes-bug: 1759755
2018-04-02 10:36:33 +00:00
Zuul
f7c8e7bfc1 Merge "Updated from global requirements" 2018-03-29 07:01:59 +00:00
Zuul
6cac4c3fad Merge "add lower-constraints job" 2018-03-29 06:45:42 +00:00
Zuul
415e9b991b Merge "remove zmq tests" 2018-03-27 19:35:04 +00:00
Zuul
ba9630707c Merge "Restore devstack project name in amqp1 test" 2018-03-27 17:58:34 +00:00
Doug Hellmann
7326192b96 add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I8991c2ab1c880c401fd807e38565258403af05e8
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-26 11:36:11 -04:00
Doug Hellmann
fca263c43c remove zmq tests
At the Rocky PTG the Oslo team decided to once again deprecate and
remove the ZMQ driver. This is the first part of doing that, which
removes the unit tests and extra functional test jobs, which are
failing.

Change-Id: Ia02adf122d2d4ff281e7c9fd3dff8894da241925
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-26 11:36:10 -04:00
OpenStack Proposal Bot
9e5ddb2fe4 Updated from global requirements
Change-Id: Ie79d1e4a364ec17c7a2524a095c852677e562c7f
2018-03-25 22:32:26 +00:00
Kenneth Giusti
222a939361 Remove the deprecated Pika driver
It is recommended that all users of the Pika driver transition to
using the Rabbit driver instead.  Typically this is done by changing
the prefix of the transport_url configuration option from "pika://..."
to "rabbit://...".  There are no changes required to the RabbitMQ
server configuration.

Change-Id: I52ea5ccb7e7c247abd95e2d8d50dac4c4ad11246
Closes-Bug: #1744741
2018-03-21 10:58:23 -04:00
Kenneth Giusti
0608fe2d5b update configuration for qdrouter v1.0.0
Change-Id: I20637c51d5ae4a96f1de9ea6e2a50891adaca52a
2018-03-20 16:42:32 -04:00
Zuul
dec178257b Merge "Modify grammatical errors" 2018-03-19 05:30:16 +00:00
OpenStack Proposal Bot
008f58335a Updated from global requirements
Change-Id: I9500a0d27953881cfad24d5542356c539353d6a7
2018-03-15 07:49:08 +00:00
Dan Smith
68c48ad0bb Add restart() method to DecayingTimer
This merely provides a restart() method that passes through to the existing
restart() method on the StopWatch used as the internal for DecayingTimer so
that we can reset it.

Change-Id: Ie6b607ec588db94e2c768bd22ae736a05ab484c1
2018-03-07 10:24:52 -08:00
OpenStack Proposal Bot
31fbe5bf59 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: If6a1cb9165815aa705f1939ec68bd375d157df55
2018-03-01 06:24:40 +00:00
Zuul
5d65ee6675 Merge "Add kafka config options for security (ssl/sasl)" 2018-02-25 19:12:12 +00:00
Yaguo Zhou
6bdae93658 Add rabbitmq-server for platform:rpm into bindep.txt
It lacks rabbitmq-server dependency under plateform:rpm

Change-Id: Ia060a13dede0183e9340b9f2913a9475a97a0398
2018-02-16 17:29:15 +08:00
Kenneth Giusti
c48c98ef3c Restore devstack project name in amqp1 test
This patch also adds heat to required projects

Change-Id: Ic150f9ce01787a1892b67e00cccc4ba43eaf0373
2018-02-14 09:53:21 -05:00
Yaguo Zhou
42f5e1fe8c Switch from pip_missing_reqs to pip_check_reqs
The pip_missing_reqs tool is abandoned and now incompatible with
recent versions of pip. It has been supplanted by the pip_check_reqs
tool which provides the same pip-missing-reqs entrypoint (plus some
others), effectively renamed.

This is the same as https://review.openstack.org/#/c/453208/ and
the commit message above is copied here.

Change-Id: Ibd02fda9c3f96034c96c7bf4abb9248219e0662c
2018-02-14 17:08:46 +08:00
Andrew Smith
90f7610f9d Add kafka config options for security (ssl/sasl)
Change-Id: Ia1be1b67a7151d449185e2ad52eff1787e8b0933
2018-02-13 09:17:06 -05:00
Zuul
6e5b198562 Merge "Zuul: Remove project name" 2018-02-09 20:55:02 +00:00
Zuul
2c2b67880d Merge "Zuul: Remove project name" 2018-02-09 16:59:12 +00:00
James E. Blair
5f184a0767 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I9cb1cce40e473d854a9fe6a640c8fc5036288cbd
2018-02-08 23:29:31 -08:00
melissaml
fae5b7a681 Modify grammatical errors
Change-Id: I8c1cd79179eb3930b1ce69c63015adc5ec4a1d3c
2018-02-08 09:16:03 +08:00
Chandan Kumar
ff913ae76b Fixed telemetry integration zuul jobs
* telemetry integration tests run in tempest-venv so plugin
  needs to be installed in the same venv. devstack plugin installs
  the plugin all-plugin venv so tests are not discovered by tempest.
  In order to fix the same we need to use TEMPEST_PLUGINS vars for
  the same.
* telemetry integration tests are dependent on heat-tempest-plugin
  so we need to add that to the required projects.

Change-Id: Icab1e53d20bb7c95c232a4512e83905dcca7c599
2018-02-06 12:44:44 +05:30
James E. Blair
c27dbf1fd1 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I42269c34d2c9647d827a88a9ae8f1fd79dffac98
2018-02-05 21:02:01 -08:00
Zuul
4e4e1a4d49 Merge "Updated from global requirements" 2018-02-01 14:18:34 +00:00
Zuul
577f1eedf7 Merge "Imported Translations from Zanata" 2018-01-30 01:40:14 +00:00
Zuul
66c056dd56 Merge "Add support for synchronous commit" 2018-01-29 16:07:32 +00:00
OpenStack Proposal Bot
579d5fe34d Updated from global requirements
Change-Id: I289f97bc931e865feea2beb7b78456f8020da8c6
2018-01-27 18:24:28 +00:00
OpenStack Proposal Bot
8bb6d78c64 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I0ed0ad232ab447441935c7c4b69d0317707dfbfa
2018-01-27 06:03:25 +00:00
Zuul
d84b646f0a Merge "Update reno for stable/queens" 2018-01-26 04:10:59 +00:00
485a20dd9f Update reno for stable/queens
Change-Id: Ib6aee372f7dcdbd468bb4239e08473536525603a
2018-01-24 18:05:58 +00:00
OpenStack Proposal Bot
95e98a98f1 Updated from global requirements
Change-Id: Ieee5fa811e69e7ae4f597ce361319758d8030bde
2018-01-24 02:16:24 +00:00
OpenStack Proposal Bot
91fd88f6e5 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Id63a23d40299a85510ce844ca72b462934416c98
2018-01-22 06:04:20 +00:00
Andrew Smith
d09bf21897 Add support for synchronous commit
This patch changes the default driver behavior to synchronously
commit messages following consumer poll. A configuration option
will enable the auto commit for asynchronous commit if desired.

Depends-On: I5b4f01c928373cac530aa6877a34c684577bc64e
Change-Id: I92a3dc95c5d424aa722138195fef5a855a66b31d
2018-01-18 14:57:54 -05:00
Andrew Smith
d11159c430 Update telemetry integration playbooks
Change-Id: I5b4f01c928373cac530aa6877a34c684577bc64e
2018-01-18 12:54:34 -05:00
Sean McGinnis
1cbe9361cb Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:

https://governance.openstack.org/tc/reference/project-testing-interface.html

For more detials information, please refer to:

http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I39b9806013a0912b27c0523dfc2b713b3105bdf1
2018-01-08 12:11:54 -06:00
Andrew Smith
1ccdccddaa Add kafka driver vhost emulation
Emulate vhost support by adding the virtual host name to the
topic created on the kafka server. Also, update connection
management for producer/consumer.

This patch:
* updates target to topic generation
* add consumer and producer connection classes
* remove connection pool
* update driver test

Change-Id: Idd164444c04e9f465a43ee909af840a41bb090c0
2017-12-27 12:57:39 -05:00
Zuul
e43240168f Merge "Updated from global requirements" 2017-12-20 06:17:24 +00:00
Zuul
7e46a5fa9d Merge "Update kafka functional test" 2017-12-19 06:16:50 +00:00
OpenStack Proposal Bot
0b42cfda14 Updated from global requirements
Change-Id: I5bc6a1ba5214d5f73fc61fd8b656d3c00b0ca193
2017-12-19 01:38:48 +00:00
Kenneth Giusti
c7cc6d0742 Create doc/requirements.txt
For compliance with the Project Testing Interface as described in:

https://governance.openstack.org/tc/reference/project-testing-interface.html

Refer to:

http://lists.openstack.org/pipermail/openstack-dev/2017-November/124815.html

Change-Id: I3d8c70f66931c15247b530ff7e1c89bfc753446f
2017-12-18 15:09:20 -05:00
Andrew Smith
3afc3a0a1d Update kafka functional test
This patch addresses a number of issues that prevented the functional
tests from running. The functional tests now execute and can complete
succesfully. At times, the test will fail (noticiably in CI) indicating
an underlying issue with consumer interaction with the kafka server.

It would be beneficial to merge this patch as it provides repeatability
and visibility for driver-kafka server integration to facilitate
additional debugging and testing.

This patch:

* removes use of deprecated get_transport
* override consumer_group for each test
* changed to synchronous send
* update to kafka 1.0.0 server

Depends-On: Ib552152e841a9fc0bffdcb7c3f7bc75613d0ed62
Change-Id: I7009a3b96ee250c177c10f5121eb73d908747a52
2017-12-16 14:41:03 -05:00
Zuul
8480144f63 Merge "Imported Translations from Zanata" 2017-12-15 13:20:48 +00:00
OpenStack Proposal Bot
6d008f24bc Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Iaf8bc96558135054f59aa5c30bed52af57e7cc6e
2017-12-13 06:53:34 +00:00