summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "set default python to python3"4.36.0Zuul2018-04-161-1/+2
|\
| * set default python to python3Doug Hellmann2018-04-131-1/+2
| | | | | | | | | | | | | | | | Set the default python to python3 except for the py27 environment. We have to set that explicitly to override the new default. Change-Id: I8557195409a559950da6c95aece5787195f31ad6 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | uncap eventletDoug Hellmann2018-04-111-1/+1
|/ | | | | | | | | | 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: Id852a3e6c7f9ac39001618384ced8289c2e6866e Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* add lower-constraints jobDoug Hellmann2018-03-243-0/+85
| | | | | | | | | | | | | | | | | 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: I33404e115161a430ce0587bf203450c8145db0a0 Depends-On: https://review.openstack.org/555034 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* Add testresources / testscenarios to requirements.txt4.35.0Mike Bayer2018-03-162-2/+4
| | | | | | | | | | | oslo.db is consumed by the test suites of downstream libraries as a test dependency; they make use of the oslo_db.sqlalchemy.test_fixtures module which imports testresources and testscenarios, therefore these are normal requirements of oslo.db; they are not limited to test requirements. Change-Id: I240fbc28ddf238614ff37e742a1415a5566bcd2d Closes-bug: #1756352
* Updated from global requirementsOpenStack Proposal Bot2018-03-153-2/+5
| | | | Change-Id: Ia4e66a804bea3eee74fedc3c5a7f610cb05d9c8c
* Merge "Remove tox_install.sh and align constraints consumption"4.34.0Zuul2018-03-094-54/+22
|\
| * Remove tox_install.sh and align constraints consumptionMonty Taylor2018-03-084-54/+22
| | | | | | | | | | | | | | | | | | | | As part of removing reliance on the old and deprecated zuul-cloner, we need to shift constraints declaration to the deps line. This means we unfortunately have to duplicate the extras declarations into test-requirements - because otherwise the contraints for oslo.db conflicts with the installation of itself. Change-Id: I2b79444a58a9144993131f9cba7494b236d9e950
* | Merge "Ignore 'use_tpool' option"Zuul2018-03-091-4/+4
|\ \ | |/ |/|
| * Ignore 'use_tpool' optionStephen Finucane2018-03-091-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | The sheer act of registering the 'use_tpool' option seems to be enough to cause the following warning: NotSupportedWarning: Configuration option(s) ['use_tpool'] not supported Add it to the list of ignored opts, thus silencing this warning. Change-Id: I4a5f8958c3e0fc68fa3a4ae979f284c4fbd9b82b
* | Merge "Update links in README"Zuul2018-03-081-1/+1
|\ \
| * | Update links in READMEwangqi2018-03-031-1/+1
| | | | | | | | | | | | | | | | | | Change the outdated links to the latest links in README Change-Id: I91d19ddc37620eff68430f0d2e2a96bccea37258
* | | Ensure all test fixtures in oslo_db.tests are privateMike Bayer2018-03-0213-54/+93
|/ / | | | | | | | | | | | | | | | | | | | | Downstream projects have started using the fixtures inside of oslo_db.tests in response to the deprecations added in I0163e637ffef6d45d2573ebe29b5438911d01fce. This was not the intent of these deprecations, so add messsaging to this effect and ensure fixtures used by the test suite itself are noted as private. Change-Id: I3afe0a440a3ab66904aaecf556948df9d4e16b8e
* | Merge "Imported Translations from Zanata"Zuul2018-03-012-10/+7
|\ \
| * | Imported Translations from ZanataOpenStack Proposal Bot2018-03-012-10/+7
| | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I8e745e279e295b1b9a42b661d4da2568ce981e7a
* | | Merge "Conditionally adjust for quoting in comparing MySQL defaults"Zuul2018-03-011-3/+5
|\ \ \ | |/ / |/| |
| * | Conditionally adjust for quoting in comparing MySQL defaultsMike Bayer2018-02-221-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MariaDB 10.2 appears to not return server defaults with quotes around integer values which breaks the assumption that we have to de-quote server default values. Make the dequoting a regexp that will pass when the quotes are not present. Change-Id: Ie5aeffcc3c550673a7fdd82769a315821cebb272 Closes-bug: #1750414
* | | Merge "Allow connection query string to be passed separately."Zuul2018-02-205-2/+110
|\ \ \
| * | | Allow connection query string to be passed separately.Mike Bayer2018-01-305-2/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Nova project has made the decision to store the entire contents of the "sql_connection" field in the database, with alterations to the host value, such that various "cells" database URLs can be located using Nova's database itself as a central registry of database URLs. This architecture has produced several problems. The first is that it is impossible to apply parameters to the URL that are local to the client machine; the leading example of this is the MySQL "bind_host" variable, which must match the hostname of the connecting host. Because cells puts these URLs into the database and shares them with all controllers, we have to use a workaround with the read_default_file parameter to specify a controller-local file of options; this is not a standard thing for other database drivers, and these parameters only apply to the MySQL driver and not the SQLAlchemy engine. The next issue is that it is inconvenient to add parameters to the URL at all, once Nova has already been running, as one must manually use Nova's command line tools to alter all the URLs that have already been copied into the database and alter the query parameters with each of those individually, and then restart *all* services who will all receive the parameter (no way to add params to just one controller). Nova's "store the URL in the database" feature only needs to be able to locate the host / database name of the alternate database, and not change the URL tuning parameters. This patch adds a new oslo.db parameter connection_parameters which allows the params to be applied separately from the sql_connection parameter, so that Nova can continue persisting sql_connection but the parameters remain local to the nova.conf file. A URL parameter that truly had to remain persisted in Nova's database (there aren't any) could still be applied at the sql_connection level. This feature is essential not just so that we can again place simple parameters into controller-local files like "bind_host", but also to allow for configuration of SQLAlchemy features such as plugins that do connection pool monitoring. Change-Id: Id4de4b09ec4719cbf8b372629fcf58cf368a33d4
* | | | Imported Translations from ZanataOpenStack Proposal Bot2018-02-181-2/+18
| |/ / |/| | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: If554c57465fbf5461a6257d1910bcfb870ca07ea
* | | Merge "Reverse role of synchronous_reader"Zuul2018-02-123-11/+21
|\ \ \
| * | | Reverse role of synchronous_readerMike Bayer2018-01-293-11/+21
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Repaired the "synchronous_reader" modifier of enginefacade so that it refers to the "writer" engine when set to True, thereby allowing "synchronous" behavior with the writer. When set to False, this is "asynchronous", so this should be associated with the async engines. The flag had the reverse behavior previously. Change-Id: Id7fea7562ba90eb710176d497af103303f230531 Closes-bug: #1746116
* | | Imported Translations from ZanataOpenStack Proposal Bot2018-01-271-2/+6
| |/ |/| | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: Ia0892cf2f39d64aac714e0a36536151a3b64ecfd
* | Update reno for stable/queensOpenStack Release Bot2018-01-242-0/+7
| | | | | | | | Change-Id: I74e72825ffc6c918f8aa1a3a7890f11cc8006c17
* | Updated from global requirementsOpenStack Proposal Bot2018-01-241-1/+1
|/ | | | Change-Id: I383270a678de0e1fd1c1d563d5d72e13b14eb9ec
* Fix a typo of "transaction" in commentwanghui2018-01-181-4/+4
| | | | Change-Id: I99ca600d4211ef27791465a23100e484a10c323d
* Updated from global requirementsOpenStack Proposal Bot2018-01-181-1/+1
| | | | Change-Id: I52293d97aace6ac2e249417d09c01a841014f924
* Merge "Updated from global requirements"Zuul2018-01-170-0/+0
|\
| * Updated from global requirementsOpenStack Proposal Bot2018-01-162-2/+2
| | | | | | | | Change-Id: If847e85087a01fb42192c5b87b12da6afe3695b4
* | Updated from global requirementsOpenStack Proposal Bot2018-01-162-2/+2
|/ | | | Change-Id: Id81f2a3321d563d35614fa0476a0743a982b88fc
* Merge "Updated from global requirements"4.33.0Zuul2018-01-051-1/+0
|\
| * Updated from global requirementsOpenStack Proposal Bot2018-01-041-1/+0
| | | | | | | | Change-Id: If88f56583b502ec55cec9a7ab275afa29c64418a
* | Merge "Remove function optimize_db_test_loader in test_base.py"Zuul2018-01-053-10/+3
|\ \ | |/ |/|
| * Remove function optimize_db_test_loader in test_base.pyzhangyangyang2017-09-073-10/+3
| | | | | | | | | | | | | | | | optimize_db_test_loader is replaced by optimize_package_test_loader in test_fixtures.py.So this function is deprecated for removal. Change-Id: I12cdf846f1e23d74ae8a87bea33fbc8477974bfc Closes-Bug:#1715572
* | Merge "add bandit to pep8 job"Zuul2017-12-285-9/+20
|\ \
| * | add bandit to pep8 jobChangBo Guo(gcb)2017-12-225-9/+20
| | | | | | | | | | | | | | | | | | | | | | | | Add the bandit security scanner to the pep8 job. * convert assert statement to raise AssertionError * skip B311,B105 Change-Id: I23b2732791f42adfa04bd64f02b25cbdb98aaf93
* | | Merge "Updated from global requirements"Zuul2017-12-261-1/+1
|\ \ \
| * | | Updated from global requirementsOpenStack Proposal Bot2017-12-191-1/+1
| | | | | | | | | | | | | | | | Change-Id: I4ce333c9bdabeba81fc7eb78032aede2336c825d
* | | | Merge "Drop tox-mysql-python job"Zuul2017-12-223-170/+0
|\ \ \ \ | |_|/ / |/| | |
| * | | Drop tox-mysql-python jobAndreas Jaeger2017-12-203-170/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Change Ie17f4543fa3d72b507d88d2c4023a9a5a430419e removed the mysql-python support, remove the job for this. This removes also the .zuul.yaml file, since the mysql-python job was the only configured job. Change-Id: I113ca2069a2e93482be0729857dde9737743da9a
* | | Use the new PTI for document buildChangBo Guo(gcb)2017-12-193-5/+11
|/ / | | | | | | | | | | | | | | | | | | | | | | 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: Iba311cc69ec5272d8beb433e3589c53f371d5d0a
* | Merge "Remove method get_connect_string and is_backend_avail"4.32.0Zuul2017-12-092-81/+0
|\ \
| * | Remove method get_connect_string and is_backend_availzhangyangyang2017-10-132-81/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | method get_connect_string is deprecated and will be removed from oslo_db in a few releases.Please use the provisioning system for dealing with URLs and database provisioning. method is_backend_avail is deprecated and will be removed from oslo_db in a few releases.Please use the provisioning system to access databases based on backend availability. Change-Id: Idc27d45e96aad7b28b4332b0d8ab8c10bca73e67
* | | Imported Translations from ZanataOpenStack Proposal Bot2017-12-061-3/+21
| | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I634e66ed72301ab085113bd66dbe869c970d978d
* | | Updated from global requirementsOpenStack Proposal Bot2017-12-041-0/+3
| | | | | | | | | | | | Change-Id: Ib05517c968e4d4bc5a55cec3cbe4a619a1ab9c11
* | | Merge "Use assertRegex instead of assertRegexpMatches"Zuul2017-12-041-6/+6
|\ \ \
| * | | Use assertRegex instead of assertRegexpMatchesVu Cong Tuan2017-11-011-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python3, assertRegexpMatches & assertNotRegexpMatches are deprecated in favor of assertRegex and assertNotRegex Change-Id: I35fd27e9618dcc6e229267a9af215ca15a47db69
* | | | Add requirements.txt for docs buildsSean McGinnis2017-12-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Docs requirement some packages to be installed that are not currently captured in the requirements.txt file. This causes job failures in the post release jobs for oslo.db. Adding doc/requirements.txt to list the two packages needed for docs builds. Change-Id: Ic957202c00a2047e35bac361111976141aa60f6f
* | | | Merge "Handle deprecation of inspect.getargspec"4.31.0Zuul2017-11-302-2/+22
|\ \ \ \
| * | | | Handle deprecation of inspect.getargspecSean McGinnis2017-11-272-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getargspec has been deprecated in py3 with plans to remove it in py3.6. The recommendation is to move to inspect.signature, but the results of that call are different than the existing one. There is also getfullargspec available under py3 that was originally deprecated, but for the sake of handling 2/3 code, it has been un-deprecated. This call uses signature internally, but returns a mostly compatible result with what getargspec did. This handles getargspec deprecation by just using getfullargspec instead if it is available. Change-Id: I32dd29bde99f9d59c2b0e14dd6782162963b43ae