| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \ \ \ |
|
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is stolen from Nova with a fix stolen from
https://review.openstack.org/#/c/30251/
Obviously the final goal is to stop copying this file into each project and
start improving it, to move it finally in oslo.config.
Change-Id: Ie81a5c3db1dc6092bcc6179ab0ab9499239f0bbc
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Function `_raise_if_duplicate_entry_error()` modified respectively to
new unique constraint name convention.
We found that current constraint name convention allows us create
constraints with duplicate names. It happens if we will add constraints
in different tables with same column names (for example, `name`,
`deleted`). In this case we can not create new constraint due to mysql
limitation (it requires unique constraint name for database)
To solve this issue unique constraint name convention was changed
from "uniq_c1_x_c2_x_c3" to "uniq_t$c1$c2$c3" where `t` it is table name
and columns `c1`, `c2`, `c3` are in UniqueConstraint.
Function `_raise_if_duplicate_entry_error()` parse error from
database and provides us correct column names in error message.
So now we receive correct error message from function.
Change-Id: I4a507deba97c499fcd9738d980e36ca0f9454b71
Fixes: bug 1182054
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
In prep for moving the projects to requirements.txt and
test-requirements.txt, we need to have our legacy install_venv
codebase support finding requirements in the right place.
Change-Id: I0f300c6bb1792c81e2133a41a5631f2dd4c021ba
|
|\ \ \ \ \ \ |
|
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
At the request of Quantum folks, Let us switch from DEFAULT to
database for the database related options. This will help with
migration etc.
DocImpact
Fixes LP# 1171837
Change-Id: If602a6a7cc0f2a202632dd14574fea60dce4b589
|
|\ \ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fix and enable test for 'formatting operation should be outside of
localization method call'
Change-Id: I0e707f9d4aacf75f9a9239b323a57d7d39f30c84
|
|\| | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fix and enable test for multiple positional placeholders in
localizations
Change-Id: Ie3b5e3113cd0f3340b7b0f5774001893b1e6857c
|
| |_|_|/ / /
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This adds a generic serialization model that the RpcProxy and
RpcDispatcher will use to serialize and deserialize arguments
and return values. The base definition is provided, as well
as a default NoOpSerializer which performs no special
action (retaining the existing behavior).
Related to blueprint rpc-object-serialization
Change-Id: I0a33baddee3e28dfc47100eb3216b679558b0bdd
|
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This allows one to subclass RpcProxy for use with a particular
namespace without having to repeatedly pass the namespace into the
make_namespaced_msg() method. This new RPC_API_NAMESPACE attribute will
be used for the make_msg() call. It is defaulted to None to match previous
behavior.
Change-Id: Ied62df839cda0be6f9f9b060bbfc22e086f61be8
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The middleware generates the 'correlation_id' if it is not already present
in the request header. This 'correlation_id' can be used to enable more
effective debugging of requests that span multiple services.
Implements: blueprint create-a-unified-correlation-id
Change-Id: Ibc06a5b05b628e0b640e9299c79127ecbf9c684e
|
|\ \ \ \
| | |/ /
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Include hacking in test-requires and disable any failing tests.
Once failing tests are fixed they can be enabled to gate on them.
Change-Id: Id6a228441ec94d5d0bee1dba05118bb35ecaa001
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also, remove the files associated with this that should not be pulled
from oslo-incubator any longer.
Closes bug 1179007
Change-Id: Id2e882837bdde51a60562e8cdd207c7ff0c88a6a
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In the context of openstack.common.scheduler:
base_filter.BaseFilterManager and base_weight.BaseWeightManager had
duplicated code.
This patch breaks that code out into a shared base class:
base_handler.BaseHandler
Change-Id: Ie5232c6dd9876a75170beda71adde90fc6bb4153
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The base matchmaker module should not have
all the matchmakers implemented within. Instead,
we desire to break them out.
For purposes of deprecation, logs a warning when
importing from the ZeroMQ driver.
Change-Id: I76936edd97309621a9c28363dccd792293a1c0d3
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | | |
Change-Id: I7227648f9b9e1d3e30f4b2d03964ee5c625a1024
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: I99a67355a7af054c17d3f6807609dbb11ad40631
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Move the code related to the publish error handler out of the
log module so its easier for other projects to consume it
Fixes LP #1179528
Change-Id: Ibf28ba17f81b5ddeda653f6a3501ecac18ffcd42
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I4fdc8eed74dd90d6450864daba7492d5e7266448
|
|\ \ \ \ |
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Python's readlink() implementation doesn't stop at '\0' when reading
file path. Thus after dnsmasq upgrade, it may return something like
'/usr/sbin/dnsmasq\03453 (deleted)', while C's or Shell's readlink()
return '/usr/sbin/dnsmasq'. This patch fixes this problem by cutting
the readlink() results with '\0', so that KillFilter could get correct
path.
Bug 1179793
Change-Id: I7354941e0508e019c8c9b63b87ad39f52ccb51ca
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When doing a rolling upgrade, we need to be able to tell all rpc clients
to hold off on sending newer versions of messages until all nodes
understand the new message version. This patch adds the oslo component
of this.
It's quite simple. The rpc proxy just stores the version cap and will
raise an exception if code ever tries to send a message that exceeds
this cap.
Allowing the cap to be configured and generating different types of
messages based on the configured value is the hard part here, but that
is left up to the project using the rpc library.
Implements blueprint rpc-version-control.
Change-Id: Ia69db03a80dc3b1c63d52c7e163ea3cfec80c882
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| | |
Discards dependencies of configured modules when set.
Change-Id: I4210c9b2d96d4c0750175823b47e39b4097be6ac
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
't' and 'y' are commonly used for booleans as well, and since it's used in
Nova already, probably makes sense to add common support for it.
`strict` allows callers to detect anonmolous values so they can be handled
separately. This is particularly useful when parsing input from API calls
where bad values might result in 4XX errors instead of being treated as False.
Change-Id: I6218a1895f72cfbfd81776602e63ca3d093475e0
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The eventlet repository has moved, so the bug url referenced
in the comment about why we patch eventlet needs to be updated.
Change-Id: I55abe0b6eb4c8e21fad15a10d6ec71d3b5a59e54
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
PEP8 suggestes, "For sequences, use the fact that empty sequences are false."
Change-Id: I4c600a7a6230a55328ee46f7c59f340f37abc18f
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Projects with long names, such as ceilometer, trip up on this line.
Change-Id: I51ff3f0250018215ae240f90cec6051b56aab434
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
filter is a python builtin function so importing it pollutes ones name
space.
It is now renamed to base_filter.
We also rename weight to base_weight, just to be consistent in the
naming conventions.
We add a test for base_filter.
Fixes bug 1175829
Change-Id: I46e0fa696d2f39081b5568c701b0a70c54f271ab
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
From http://docs.python.org/3.1/whatsnew/3.0.html
The except exc as var syntax is now standard and except exc,
var is no longer supported.
Change-Id: Ia3a11d72c474806cc2303a7fc9cb1a390266c0fb
Signed-off-by: Chuck Short <chuck.short@canonical.com>
|
|\ \ \ \ \ |
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Make it a .rst, add a link to the wiki page, mention that this repo is
an incubator.
Change-Id: I47a1b6f5811ce476393ac94c3b11eec61b3984e3
|