Commit Graph

2990 Commits

Author SHA1 Message Date
Tony Breeds cef6e78c15 Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).

Change-Id: I1d47486e0f1e920f35b8492abd3a042582cd1017
2017-09-12 16:21:02 -06:00
Jenkins 980b5d2cc4 Merge "Remove times.dbm file for each tox run" 2016-08-09 20:42:44 +00:00
OpenStack Proposal Bot 9dd1c0b814 Updated from global requirements
Change-Id: I497aa73b127d6c379d790b1f31d7aabbba2f94ee
2016-08-08 18:16:44 +00:00
Jenkins 58dc6bd79f Merge "Update CONTRIBUTING.rst" 2016-08-08 16:47:07 +00:00
Jenkins 27544fd5b0 Merge "Fix config registration for Trove tempest plugin" 2016-08-05 21:37:20 +00:00
Jenkins 97bf01271b Merge "Introduce "icmp" option for security group rule" 2016-08-05 21:28:45 +00:00
Jenkins 51de1ce210 Merge "Fix for tcp_ports configuration in devstack." 2016-08-05 14:22:21 +00:00
Masaki Matsushita 1584f198a5 Introduce "icmp" option for security group rule
This change introduces new datastore option "icmp" to
configure whether to permit ICMP. It helps users to
check DB instance health in different way from access
DB ports.

DocImpact
Closes-Bug: #1485884
Change-Id: I61edeb38ded5543b7976a01363108a7b5b4fc5b5
2016-08-04 13:58:56 +09:00
Jenkins e19876465b Merge "Updated from global requirements" 2016-08-04 01:01:13 +00:00
Jenkins fe324eb46b Merge "Improve coverage in guestagent and backup models" 2016-08-03 20:38:17 +00:00
Jenkins 5dee92154a Merge "Ophaned Volume Not Removed on Instance Delete" 2016-08-03 20:34:25 +00:00
OpenStack Proposal Bot c8cc4b2cc4 Updated from global requirements
Change-Id: Ic9ccaffd36641cb12821303934d33dd755ea130a
2016-08-03 19:04:21 +00:00
Jenkins bc1cdf0e20 Merge "Replace assertEqual(None,...)" 2016-08-03 18:34:54 +00:00
Jenkins ba4f770a68 Merge "Support flavor ids with leading '0'" 2016-08-03 18:06:24 +00:00
Jenkins 97a2fb89ff Merge "Improve Config Validation" 2016-08-03 08:09:19 +00:00
Shaik Apsar 77ef95cfd5 Fix for tcp_ports configuration in devstack.
Change-Id: I0e60b8a5441ee1787749d94850f0b3d80065e285
Closes-Bug: #1609084
2016-08-02 14:51:02 -04:00
zhangyanxian d55c3dedea Fix some typo in the files
"formated" should be "formatted"
"acccess" should be "access"

Change-Id: I8f722bd85d061319958360c9758c70905bc5565f
2016-08-01 08:37:25 +00:00
jiansong 5052d8d347 Replace assertEqual(None,...)
From python 2.7 onwards, a new method,a new method called assertIsNone
equivalent to the assertEqual,this will simplify the number of
parameters.

refer to [1] for more information

[1]:https://docs.python.org/2.7/library/unittest.html#unittest.TestCase.assertIsNone

Change-Id: I990a0fde84d074924589efd938a4f31d182eb75f
2016-08-01 02:45:12 +00:00
Amrith Kumar ddac516c85 Update CONTRIBUTING.rst
Updated CONTRIBUTING.rst to reflect discussions at mid-cycle regarding
abandonment of changes that are languishing in the gerrit review
system.

Change-Id: Ie9d22b01d09c2cdb250abd0596c0216ec457df4d
2016-07-31 07:33:27 -04:00
Jenkins 67940e90a6 Merge "Change service candidates list for MariaDB" 2016-07-30 03:21:55 +00:00
Jenkins 5a0ba5c8b6 Merge "Fix xtrabackup-binlog file GTID parsing" 2016-07-29 21:38:43 +00:00
Jenkins 1dd56b91fb Merge "Add vCPUs to flavor-list" 2016-07-29 20:45:56 +00:00
Jenkins b23c6c32c0 Merge "Backup tests verify restored databases" 2016-07-29 20:05:13 +00:00
Jenkins 5f2d81da09 Merge "Fix user & database pagination in guests" 2016-07-29 05:44:13 +00:00
Jenkins 5decf30271 Merge "Updated from global requirements" 2016-07-28 23:30:05 +00:00
Jenkins bf7701c016 Merge "Cleanup i18n marker functions to match Oslo usage" 2016-07-28 21:34:53 +00:00
Doug Shelley 8538ff6e11 Fix xtrabackup-binlog file GTID parsing
The code responsible for pulling the last GTID reference from
snapshot backup restored to the replica only handled the case
where the GTID reference contained one gtid. There are common
replication use cases where the GTID reference in the file is
comma separated list of GTID references. Change the code from
using the CSV reader to just read the entire file and split it
on tabs. This will guarantee that we get the full list of GTID
references in the file.

Change-Id: Ibbde5a4daa9741e1b997a618288bf6d469356bfe
Closes-bug: 1604914
2016-07-28 19:36:04 +00:00
Jenkins 3bb0682525 Merge "Replace assertEqual(None, *) with assertIsNone in tests" 2016-07-28 17:51:32 +00:00
OpenStack Proposal Bot 752fded9f7 Updated from global requirements
Change-Id: Ie656b0bb83b1ccb2e90b0c7ff5a5498a01b7e7a1
2016-07-27 16:05:35 +00:00
Jenkins 2ff5ee729a Merge "Replace OpenStack LLC with OpenStack Foundation" 2016-07-27 08:13:53 +00:00
Jenkins 446f8bd99a Merge "py3: Enable test_backup_models and test_datastores" 2016-07-26 12:32:29 +00:00
Jenkins a9b08297eb Merge "Port guestagent test_dbaas to Python 3" 2016-07-26 12:32:00 +00:00
Jenkins ee62de7e38 Merge "Add port 22 to tcp_ports in devstack" 2016-07-26 07:10:24 +00:00
Jenkins 69d8008278 Merge "Removed unreachable statement" 2016-07-22 20:09:47 +00:00
Jenkins 4c9b0b2e05 Merge "Cluster tests get the instance flavor" 2016-07-22 16:36:22 +00:00
dineshbhor 43546ce905 Replace OpenStack LLC with OpenStack Foundation
Change-Id: I7b738715873eff90a49357dec5be4e179c04713c
Closes-Bug: #1214176
2016-07-22 15:07:03 +05:30
Masaki Matsushita f091f76b92 Add port 22 to tcp_ports in devstack
Currently, devstack/plugin.sh adds port 22 to mysql's tcp_ports in
trove-taskmanager.conf.
This commit adds port 22 to other DB's tcp_ports.
This helps users who use devstack for development purpose.

Change-Id: I3c7c0b050c2983c9b2cb2c4b7f8f08d9a8b42f9c
2016-07-22 15:27:51 +09:00
Victor Stinner 6a185da460 py3: Enable test_backup_models and test_datastores
It looks like these two unit tests pass on Python 3: remove them from
blacklist-py3.txt.

Partially implements: blueprint trove-python3
Change-Id: I230055c1aa0786290f9cae44f81861d91850d87b
2016-07-21 11:57:00 +02:00
Victor Stinner 207991af39 Port guestagent test_dbaas to Python 3
* Use encodeutils.exception_to_unicode() to get the message of
  exceptions. On Python 3, the message attribute of exceptions has
  been removed.
* NamedTemporaryFile: open files in text mode, not in binary mode.
* test_dbaas: set rowcount in execute() mocks to avoid comparison
  with a mock which now raises a TypeError on Python 3.
* replace "rowcount <= limit" with
  "limit is not None and rowcount <= limit" to avoid comparison
  between int and None (TypeError on Python 3)
* Replace urllib.quote() with six.moves.urllib.parse.quote
* blacklist-py3.txt: remove guestagent.test_dbaas to run it
  on Python 3

Partially implements: blueprint trove-python3
Change-Id: Ibdd34485ce4f2fb3572dcd7f57cbf9e5b6f42a13
2016-07-21 11:46:19 +02:00
Jenkins ecf4b675e8 Merge "Imported Translations from Zanata" 2016-07-20 23:38:09 +00:00
Peter Stachowski dda9aa730b Remove times.dbm file for each tox run
If you run the py27 tox tests then attempt to run the py34 tests,
the following error will occur:

    py34 runtests: commands[0] | ostestr
    --blacklist_file=blacklist-py3.txt
    db type could not be determined
    running=${PYTHON:-python} -m subunit.run discover
    ./trove/tests/unittests --list
    The test run didn't actually run any tests

This happens because the apparently the times.dbm file generated
by py27 is not compatible with py34. The converse is not true though -
if you run py34 first, py27 will work.

The work-around is to delete the file, which is what is now done
before running every tox test. Once the bug has been fixed, the
work-around can be removed.

This was originally noticed in python-troveclient, however it
also manifests in the Trove project.

coverage.xml was also added to the .gitignore file as it
was appearing in the git list of modified files.

Change-Id: I312b3879c764b7b803d35e0bb62f0f47291f6693
Closes-Bug: #1565928
2016-07-20 19:43:08 +00:00
Petr Malik 984817e9e8 Backup tests verify restored databases
The backup scenario tests currently only
verify data in the helper database.
We should also make sure no other databases
are created or deleted in the process.

Also removed a leftover mixin class.
That code was not used anywhere.

Also change the base instance name pattern
to allow selecting the name by double-clicking it.
(Linux bash stops at ':', and Mac equvalent stops at
':' and '-'. Windows shell always selects the whole
thing.)

Change-Id: I01ad0472bde59a95c619fb881cef976937b79fa6
2016-07-20 15:00:26 -04:00
Mariam John de1d5a9f88 Fix config registration for Trove tempest plugin
The Trove tempest plugin was created in this commit:
Ibad5502cdca0e34cca4b5bc8a7106611f7393cf2. The tests however was
not working because the plugin specific configuration variables
was not being set correctly. This particular issue has been
fixed in this changeset. Using the following commands:
    tox -e all-plugin -- trove.tests.tempest.tests.api
4/5 tests pass. Will look into the failing test in a different
changeset.

Change-Id: Iad34209adb120e63cebbf12939baf30c5f017844
Partial-Bug: #1597857
2016-07-20 11:07:04 -07:00
OpenStack Proposal Bot d1edaa1b89 Updated from global requirements
Change-Id: Ifc5680d4c5698d4ae97f790c138641eb6619b393
2016-07-20 16:27:33 +00:00
Jenkins d41d773cb3 Merge "Clarify unittest documentation" 2016-07-20 11:11:03 +00:00
Jenkins 37632f3382 Merge "Repl tests retrieve configs via test_helper" 2016-07-20 10:52:37 +00:00
Jenkins f949107267 Merge "Fix user/database scenarios to run without helper" 2016-07-20 10:47:41 +00:00
OpenStack Proposal Bot 08b8c23672 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Ifb3d6d15aecec041f033a4040996a910dfdb61d4
2016-07-20 06:29:25 +00:00
Petr Malik 2fccd57c9f Cluster tests get the instance flavor
Cluster tests rely on the instance flavor to be set
already. This works when the single instance tests
run before (they initialize it) but not when
running cluster tests standalone.

Make cluster tests retrieve the flavor themselves.

Change-Id: I8bac99fecc9508bb5452169836e8c28a3e3a92b5
2016-07-20 02:06:39 +00:00
Jenkins 79006ce163 Merge "Support newer mysql in tests" 2016-07-20 00:07:32 +00:00