| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
This enlightens to_primitive() that it may just call str() to
serialize netaddr.IPAddress objects.
We need this for NovaObject serialization through legacy interfaces
temporarily while we migrate things.
Related to blueprint unified-object-model
Change-Id: Ibdee90e4bbd337d541344977e2a689982e0a7d34
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This framework was merged a year ago and AFAICT hasn't seen use beyond
the two initial wikimedia extensions.
The framework basically allows a way for a single plugin to register API
extensions and notification drivers. Both of these can be done by
directly using config opts like osapi_compute_extension and
notification_driver so this framework really only helps if we expected
to (and wanted to) lots of these plugins in the wild.
Change-Id: I09a11f9931ee0436a56e8b0d925683b54f73b104
|
| |/
|
|
|
|
|
|
|
| |
This change brings in new functionality from gettextutils
needed for supporting API message localization in Nova.
bp user-locale-api
Change-Id: Ia81f46bb980a237f345f6b8600dfe2a75e4b8c77
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
The to_bytes() function have moved to oslo.
Replaced/removed the to_bytes() function with the one in strutils
Change-Id: I14c33c6fb86db3088c11e02ce6e38ec022fad042
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The following functions have moved to oslo.
remove_path_on_error
file_open
delete_if_exists
Replaced/removed overlapping functions with the ones in fileutils
Change-Id: I41a19d76a777b6f899843bb0cc0582630accbd5c
|
| |/
|
|
|
|
|
| |
This patch syncs a helper method added to the RpcProxy class from
oslo-incubator.
Change-Id: Ifd374245c15cef7af7487a19935193b590c1bd4e
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
When there's 2 options with the same name, the script gets confused and
doesn't know in which group it goes. This fixes it, and fixes also the
template generation which is broken for various reasons:
- gettext.install was missing
- nova-rootwrap when imported calls exit() because it doesn't find a valid
configuration file, so let's exclude it entirely anyway
- eventlet/greendns needs to be ignored for this
Change-Id: Iaa4e9a806e79032ce1675b46a6b7a7628c3eff89
Signed-off-by: Julien Danjou <julien@danjou.info>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We have found that current constraint name convention allows us to create
constraints with duplicate names. It happens if we add constraints
in different tables with the same column names (for example, `name`,
`deleted`). In this case we can not create new constraint in mysql due to
database limitation (it requires constraint name to be unique within a
database). To solve this issue unique constraint name convention has
been changed from "uniq_c1_x_c2_x_c3" to "uniq_t0c10c20c3" where `t` is
a table name and columns `c1`, `c2`, `c3` are in UniqueConstraint.
Fixed unique constraints in models description.
Synced db code from oslo (function `_raise_if_duplicate_entry_error()`
modified respectively to new unique constraint name convention).
blueprint db-enforce-unique-keys
Fixes: bug 1182054
Change-Id: I4122dfb910a07a1a423781ebc22e9ce50596a05d
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The current qpid driver cannot serialize objects containing strings
longer than 65535 characters. This just became a breaking issue when
the message to scheduler_run_instance went over that limit. The fix has
been commited to oslo, so this just syncs it over to Nova.
Bug 1175808
Bug 1187595
Change-Id: If95c11a7e03c81d89133f6cad0dcbb6d8acb8148
|
| |/
|
|
|
|
|
|
|
| |
Mechanical translation of the deprecated
except x,y: construct with except x as y:
The latter works with any Python >= 2.6.
Add Hacking check.
Change-Id: I845829d97d379c1cd9b3a77e7e5786586f263b64
|
| |
|
|
|
|
|
|
|
| |
Including 'correlation_id' middleware from oslo-incubator.
Adding this to openstack-common.conf to copy over the middleware to
the location nova/openstack/common/middleware
Change-Id: I21b27e8dae585345d03d59c125d9e1bbea95f830
Implements: blueprint cross-service-request-id
|
| |
|
|
|
|
|
|
|
| |
Pulls in the serializer object and changes to the dispatcher and
proxy implementations to support it.
Needed for bp/rpc-support-for-objects
Change-Id: I349de94c80a183f244cbb10009b6922996cc4d82
|
| |
|
|
|
|
|
| |
Pulls in capped version support and RPC_API_NAMESPACE support for
RpcProxy.
Change-Id: I8334ed62c0ffd16a05b35bbcd4d9352538ab0243
|
| |
|
|
|
|
| |
blueprint use-oslo-services
Change-Id: I8641dbed0a83a6d57c0b6c1a02796eb3e633fafd
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Sync some trivial Python 3 compatibility and pep8 improvements from oslo.
I just want to have this in sync so that pulling in a feature I'm working
on comes in without unrelated changes
Change-Id: I13fcb0bd538a153b90acf0b18497e335a64dc9d1
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| | |
Change-Id: Ieb9ac3c2ce85777a33a2e15640670d03b2e7d2b7
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| | |
Oslo provides an equivalent implmentation of `bool_from_str` so we
should switch the code to use that instead.
Change-Id: I382f23af2468e276ae4342dff18cf06e1c24b755
|
| | |
| |
| |
| |
| |
| |
| | |
The lockfile module has a new convenience API which sets the lockfile prefix.
Using this API, the prefix is not required everytime synchronized is used.
Change-Id: Iac1cfcc83b59108164de924d20127c1cf4dd7dcd
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| | |
trycmd() and ssh_execute() have been moved into oslo. Copy the
oslo version here. Conversion will occur in a later review.
Change-Id: I69926af33ff824f712ae2b8e4023233afe1dff2f
|
| | |
| |
| |
| | |
Change-Id: I30f1b8773840c098f1e38d09bf13f0863035289e
|
| |/
|
|
|
|
|
|
|
|
|
| |
Declarative approach to packaging, obviates the need for copying files.
Also, removes the need for setup.py to import files from the nova
module.
./run_tests.sh now ensure's that nova.egg-info/entry_points.txt is up to
date before running tests.
Change-Id: I7b7a18e065a62491ade54fbed5d8400db1d4e6c7
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Just changes openstack.common to use the new print statements.
This is in preparation for another sync coming shortly for the
scheduler library.
Change-Id: I17a86ef87f3253d6bb756cbd40a3ff5df9be23ff
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
There are some small warts (mostly around other execute() like
methods which reuse the exception). I will fix these warts in later
reviews.
Change-Id: Ice9cdbdc5f3e5a9f8365f5d99acf1863a9fe3e7a
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Deprecates log_format in favor of the formatting options used by the
context aware formatter, such as logging_default_format_string.
Changes the default logging formatter back to a colorful and context
aware formatter. The default was inadvertently changed in the great
oslo sync at the start of Havana, this returns it to what was in at the
end of Grizzly.
Adds support for lazy instantiation of the logger.
Bug 1167081
Bug 1165211
Change-Id: Ibe41afc6e9d7b432453785819821b3c8f0078613
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| | |
I've just synced nova's processutils back to oslo and this is now
the sync back in the other direction.
Change-Id: I8389bdd85ed3dacbb02aec043dfd0f84ef07b18b
|
| |/
|
|
|
|
|
| |
These are all minor changes bringing nova up to commit
90e83530d4dc49d570fa05ea63a93805717dcfa0 in oslo-incubator.
Change-Id: I0291eed31b1e650da211fe2a8b65fad0c35c9053
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Ran the oslo-incubator sync script and brought across only the files
that have small and safe changes.
Change-Id: I41b400c189e52a2e7f642a03ad143d821aaa807c
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
This is a sync of commit 9dcf688ea80f52cdb5413514198b2aa81d5a4e09 from
the oslo-incubator project. It should improve the serialisation
performance in general and tests runtime specifically.
Change-Id: I6b0e7baeb24951ce3c0bc129d20c65daa0d8fa61
|
| |/
|
|
|
|
|
| |
I'll move nova across to this in the next review, I just want to
make the import clearly separate.
Change-Id: I4eefd9c73d443afcd0697ff5ddd59abf315b10e5
|
| |
|
|
|
|
|
|
|
|
|
| |
Fixed NovaBase to inherit from models.TimestampMixin
Added metadata attribute
Added db.sqlalchemy to openstack-common.conf
Oslo sync command:
python update.py --modules db.sqlalchemy --base nova --dest-dir ../nova
Change-Id: Ie4ad8e8b235e146ddb946cdf7f15d74e060ee4a3
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Import the oslo looping call implementation (which is a copy of
nova's), delete nova's local copy, convert all users to the new
location.
It should be noted that the oslo implementation of
FixedIntervalLoopingCall measures time from the start of the
periodic task, not the end, so periodic tasks will run with a
constant frequency instead of the frequency changing depending on
how long the periodic task takes to run.
Change-Id: Ia62ce1988f5373c09146efa6b3b1d1dc094d50c4
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Contains fix to stop the logger system from logging events twice.
Also includes PID in default logging_context_format_string
Fixes bug: 1170049
Change-Id: I007786604138c41fbcf1127c01339132c56a6aab
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| | |
This includes rpc api namespace support, some minor configuration
related fixes, and the redis based matchmaker for use with impl_zmq.
Change-Id: I9fc826a498461417afe8b2a923edac8d68c2c18f
|