| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Removed downgrade from all existing migrations.
Modified a test that verifies that no migrations have a downgrade.
Modified test _walk_versions to only do upgrades.
Removed exceptions from pylint.config
Related cross-project spec: https://review.openstack.org/152337
Closes-Bug: #1434103
Change-Id: I9a7c87ae3f4e2eff3a4a6df881d086d52062dbba
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
SafeConfigParser is deprecated in Python 3.2 and log warning
like " DeprecationWarning: The SafeConfigParser class has
been renamed to ConfigParser in Python 3.2. This alias will be
removed in future versions. Use ConfigParser directly instead."
So use ConfigParser in Python 3.2+.
Closes-Bug: #1618666
Change-Id: I30fe51324ffcc0afbd02799449daee8f628634b6
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Look should be written mock_set_task_status, mock_set_tast_status is
the wrong way
Change-Id: I549f48be860db3a859ce9308d7bd42ca817a5d3a
reference:https://github.com/openstack/trove/blob/master/trove/tests/unittests/taskmanager/test_manager.py#L114
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
We import i18n but didn't use, so I think should be deleted.
Change-Id: I5e0781b46d7aa6318428e92ccc506349cbe876cb
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
There are many spelling mistakes in in service.py and
trove_testtools.py.The word 'overriden' should be 'overridden'.
Change-Id: I2e9c88280de98b535f355cd34692ba0a9f423bb1
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
I changed asserts with more specific assert methods.
e.g.: from assertTrue(sth == None) to assertIsNone(*) or
assertTrue(isinstance(inst, type)) to assertIsInstace(inst, type) or
assertTrue(not sth) to assertFalse(sth).
The code gets more readable, and a better description will be shown on fail.
Change-Id: I8f2ce30e5d876fc298b8e1ff4504e5e34dc090ab
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
This patch fixes typos in description.
+ typo 'conole' -> 'console'
+ typo 'considerred' -> 'considered'
Change-Id: I7a53ccd4da5ec90c58b4364b72bd3ea8285234d4
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
[H238] Old style classes are deprecated and no longer available in Python 3
(they are converted to new style classes). In order to avoid any unwanted side
effects all classes should be declared using new style. See the new-style class
documentation for reference on the differences.
http://docs.openstack.org/developer/hacking/#python-3-x-compatibility
Change-Id: I79e2f0d7d53d398fcf5ba18cefc8318ee6e07426
|
| |/
|/|
| |
| | |
Change-Id: I7afe1d5851878fa392c46c7654e984e73de4246c
|
|/
|
|
|
|
|
|
|
|
|
|
| |
As per OpenStack licensing guide lines [1]:
[H102 H103] Newly contributed Source Code should be licensed under
the Apache 2.0 license.
[H104] Files with no code shouldn't contain any license header nor
comments, and must be left completely empty.
[1] http://docs.openstack.org/developer/hacking/#openstack-licensing
Change-Id: I38f2f1b1429ea49fb02ae1c5cb3e68d547bc1783
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In test_populate_users_intermingled,Should be mixed the above
three test, should have a total of four records.One is the
foundation,Other records with this relationship should be
1.same name,differ host.
2.differ name,same host.
3.same name,same host.
4.differ name,differ host.
At the same time joined the differ name, differ the
host test in two record test
Change-Id: I92c94cc4c352e6ad96a95d64313807f160072aa4
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
trove/tests/api/instances_actions.py:stderr
= create_server_connection(self.instance_id)
trove/tests/api/instances_actions.py:
dbaas_flavor, baas_flavor_href = res
trove/tests/api/instances_actions.py:_dontcare_ = res
Change-Id: Ibafb9888e00e00a76bf1ccd6510ae85d26f8f8bf
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
During a create instance call, the Task Manager needs to pre-create the
guestagent message queue so that it can send a "prepare" RPC before the
guest is running. It creates a topic queue called "guestagent.<UUID>".
When the guest starts up, it will attempt to create a topic queue
called "guestagent".
The overall result is that if the guest creates the queue it has a
different name than the task manager expects. This could happen if the
guestagent restarts after prepare. Both cases result in a queue being
created called "guestagent.<instance uuid>" because oslo.messaging
causes 3 queues per topic to be created (topic, direct and fanout) and
it so happens that the topic queue from task mgr matches the direct
queue from the guestagent, however, this doesn't appear to be
intentional behaviour.
This changes the guestagent topic name to match the taskmgr name.
Change-Id: Ie20dab8e763fe8b5f1897debd5942a64afea15ee
Closes-bug: 1627179
|
|\ \ \ \ |
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use a common set of tested utility methods for validations
in the API.
Change-Id: Icd3ea6251ef2ea2dbdaa05ae07f78bc3bd965b16
|
|\ \ \ \ |
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This patch removes cfg and logging import unused in trove
Change-Id: Ic50a58123481faa37b8898565a597dcdb1f1fa46
Closes-Bug: #1618281
Closes-Bug: #1618347
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Developers should use assertIn(A, B) instead of assertTrue(A in B ).
TrivialFix
Change-Id: I31e20fae988b71145ec7b82fa696a87c4dbcc4e3
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It seems,Test what name such as test_validate_xx_configuration,
only have different parameters, so we can take them to focus on
a new method, to reduce repetitive code.
Closes-Bug: #1622939
Change-Id: I80ae25a37a862ca3315291a88e3dbc39c1a94fc8
|
|\ \ \ \ \ |
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add max_prepared_stmt_count to the list of valid parameters
that can be set on configuration groups for Mysql, Percona, PXC and
MariaDB.
Change-Id: Ib5522ba54bcb1ea5ace0deb9eb671dcafe2fc189
Closes-bug: 1624418
|
|\ \ \ \ \ |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This commit adds ephemeral column to flavor-list
Change-Id: I537bc2f3578e1e99b22f701f70ab8d96fec8908e
Closes-Bug:1617980
|
|\ \ \ \ \ |
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
TrivialFix
Change-Id: I48409a3aa5227ae87185a951090586eda5a3f551
|
|\ \ \ \ \ |
|
| | |_|_|/
| |/| | |
| | | | |
| | | | | |
Change-Id: I568a8fda16d276a9c5d5fa222437e4d237a1000a
|
|\ \ \ \ \ |
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
We define this method is never used, I think maybe you can delete
Change-Id: I1aceb0d7d73d261a82a6d6e7ed918c7aaf33de78
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The variable black_list is set, used, and then again set to its previous
value which is redundant.
Change-Id: I24029148f8538207cd734cdc01c992aeadc1c922
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This test was skipped in the scenario runs however it was
not disabled in the original api tests. Although it
doesn't fail as often there it still happens, so the
same change has been applied to it.
See: https://review.openstack.org/#/c/368230
The test will also print out the bug number during each run
as a reminder (using the new SkipKnownBug method).
Change-Id: I931d6d72a70cc93dcd8248d9840eadf1160b9bab
Related-Bug: #1622014
|
|\ \ \ \
| |/ / /
|/| | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Move 'log_min_duration_statement' into non-dynamic values.
Although the property itself is dynamic, it still requires restart
because we don't provide default value for it in our template.
- Add the 'ms' suffix to the 'log_min_duration_statement' time.
Postgres by default returns the default suffix.
Specifing the suffix explicitly fixes the comparison.
- Change the validation rules for PostgreSQL
long_min_duration_statement to string from int.
- Enhance the ConfigurationManager to be able to apply
system overrides *before* user overrides, as well
as after. This allows the logging to be overridden
by the user config values.
- Added to the guest-log scenario test to make sure that the
user log doesn't change after being disabled, and that it
can be enabled again.
Co-Authored-By: Petr Malik <pmalik@tesora.com>
Co-Authored-By: Peter Stachowski <peter@tesora.com>
Closes-Bug: #1624492
Change-Id: I059357d52fa24c609e45c2dc108d2b4ba77b3458
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
we should use pgsql_recovery_config, the method which has now been
renamed to lowercase. The earlier code used a constant (upper-case)
but in the change this one was likely missed.
pgsql_recovery_config is an @property and should be referenced as such.
This has nothing to do with case per-se, just a missing
function/variable.
Closes-Bug: #1624996
Change-Id: Icc9d794b45503340d988101fec710fae76f0b915
|
|\ \ \ \
| |/ / /
|/| | | |
|