| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |/ / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Use import_class(), import_object(), and import_module() from
openstack-common's importutils module. The equivalent functions have
been removed from nova.utils. A few modules had import order cleaned up
in passing, as well.
My initial motivation for this was to remove some more usage of nova
bits from nova.rpc as another step towards being able to move nova.rpc
import openstack-common. Since I was pulling importutils into nova, I
went ahead and converted the whole thing.
Change-Id: I7c7786cf0001bcd06db52b9a99ff4284a3f6c6fa
|
| |\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / / /
|/| | | | | | | | | | |
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
* Fixes bug 979089
* Adds pollicy for new extensions
* Fixes __init__ in testing directories
* Cleans up existing volume types tests
* Adds tests for type management
* Adds tests for extra specs management
* Removed unused Quota handling
* Fixed typo in db volume_type_get
Change-Id: Ic80190ecf1d6d6ad0229e5af642a50c7c53bbbf9
|
| |\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
MAC address could be recycled between instances."
|
| | | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
address could be recycled between instances.
Change-Id: Ibea25c2b7fcb13777ab35fdc47dd6e8178bf9e57
|
| |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| | | |_|_|/ / / / / / / /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
If they're at the end of a function/method and don't return a value,
then it's superfluous
Change-Id: Ibd8d43a15ee83cf51c5b7cea0b1cb6ea13d1357d
|
| |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| | | |_|_|_|/ / / / / / /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Change-Id: Icf0a677f0c2ff826db6d2239ab953bc7d1824400
|
| |\ \ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / / /
|/| | | | | | | | | | | |
|
| | | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This is useful if all guest images have the same structure,
and the root partition is not the first partition.
This is also handy to enable inspection in libguestfs,
which can handle disparate and complicated image layouts.
In future we may change to a StrOpt to support
searching by partition label.
Change-Id: Ie94d61bec8fe4b41d6d2d6d3efa9a4364cf027fe
|
| |\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
generation"
|
| | | |/ / / / / / / / / /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Change-Id: Ib5f68ea0b8d4ed866b5dade268e63cf99241ce4b
|
| |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| | |/ / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Fixes bug 992098
Change-Id: I844e153c2c7cb8ed4da6a4967537dd294377763c
|
| |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| | | |_|/ / / / / / / / /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Add two new libvirt tests for the get_console_output:
- test_get_console_output_pty
- test_get_console_output_file
Fixes LP Bug #990237.
Change-Id: I308862c131c4c9c9c4accab1822039f8f5a775b4
|
| |\ \ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / / /
|/| | | | | | | | | | | |
|
| | | |_|_|/ / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Ignore nova/openstack/common code when calculating coverage.
We do this because the unit tests for the common code are in a
different repository.
Change-Id: I0103b8acfc4cdaace68a18b1d1723a13595debe2
|
| |\ \ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Change-Id: Ib5ba181886a073742ace4a8927061f5d4dcd0773
|
| |\ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / /
|/| | | | | | | | | | | |
|
| | |/ / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
The value of the resize_confirm_window flag is passed into the
poll_unconfirmed_resizes() method so there is no need to reference
FLAGS.resize_confirm_window directly for logging.
Change-Id: Ia9729cda4bf4408c2f5fce19709e9bdb474ad721
|
| |\ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / /
|/| | | | | | | | | | |
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Fix bug 988189 and add a test case to verify.
Change-Id: I653c29cd99feee8d811c9f64dd280b6f49a5262c
|
| |\ \ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Fixes bug 973591
Change-Id: I87f189175c55a6922e7277857b85d526b9bfa6e1
|
| |\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / / / /
|/| | | | | | | | | | | |
|
| | | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Fixes bug 989764
The timeout bounding the wait for the instance to stop is intended
to be 1 hour, but the code incorrectly specifies 60 hours instead
(no practical client is going to wait that long for a response).
Change-Id: I7aa4b539393df15f3b2c950cf7aeca4691ed3d73
|
| |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| | | |/ / / / / / / / / /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Fixes bug 985263
Change-Id: I846248a4b8cb22fcaca9e51cc477813f80f6d602
|
| |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| | | |_|_|_|_|/ / / / / /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Remove extra exists event horking uptime calculations.
Fix broken deleted_at time in notifications (was blank due to being
pulled from the wrong field on the instance)
Change-Id: I8ca05593031f03c284c17df9d6fca64b22b16baf
|
| |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Fixes bug 973591
Change-Id: I3fad8f92dc7aa9ec319fdfb8d1c8df247b84157d
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / / /
|/| | | | | | | | | | | | |
|
| | |/ / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Fixes bug 989306
If nova-compute is killed, or the compute domU is shutdown uncleanly,
instance VDIs can remain attached to the compute domU. This complicates
cleaning up unused VDIs, but can also result in reaching a limit on
the number of VBDs for the compute domU, preventing new instances
from being built.
Change-Id: Ie56e0561aa02178d6718b74a87bbb591fa869007
|
| |\ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / /
|/| | | | | | | | | | | |
|
| | | |_|_|_|_|_|_|/ / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This allows compute hosts to advertise additional capabilities
for use by custom schedulers. This is an interim solution to
provide this functionality until it is replaced by more general
HostAggregate functionality later in Folsom.
Change-Id: Ia288146fa92aec61f50641c2e4f7a3580ab03a32
|
| |\ \ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / / /
|/| | | | | | | | | | |
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This patch does a couple of things:
1) Remove the dependency of nova.rpc on nova.flags. This is a step
toward decoupling nova.rpc from the rest of nova so that it can be moved
to openstack-common.
2) Refactor nova.rpc so that a configuration object is passed around as
needed instead of depending on nova.flags.FLAGS.
This was done by avoiding changing the nova.rpc API as much as possible
so that existing usage of nova.rpc would not have to be touched. So,
instead, a config object gets registered, cached, and then passed into
the rpc implementations as needed. Getting rid of this global config
reference in nova.rpc will require changing the public API and I wanted
to avoid doing that until there was a better reason than this.
Change-Id: I9a7fa67bd12ced877c83e48e31f5ef7263be6815
|
| |\ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / /
|/| | | | | | | | | | |
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Change-Id: I6e073effc628b1192c5289de224b3c36e61fdf39
|
| |\ \ \ \ \ \ \ \ \ \ \ |
|
| | | |_|_|_|_|_|_|_|_|/
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Config drive can currently only be requested via the API. That
doesn't play nice with horizon, and requires the caller to know
what the image expects.
Currently, only None or 'always' are documented (although any
value is treated as 'always'). I expect we'll want 'never',
'byimage' etc in future.
Bug #988556
Change-Id: I895a6a9fd3e6395bb00f54f26531b6faf0c9f4f1
|
| |\ \ \ \ \ \ \ \ \ \ \ |
|
| | |/ / / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This is a baby step towards storing more than just a checksum in
these files. The specific use case is I need to store whether or
not the image was prefetched in here as well.
Change-Id: Ia1d67ac1ac766f22c6ecb814182150a789c91095
|
| |\ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / /
|/| | | | | | | | | | |
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Also adds unittests to prevent regression of bug 984219,
and adds missing backstop compute.instance.exists event.
Change-Id: I77278009962ea7f7fb940704dbb7bba637aa8e96
|
| |\ \ \ \ \ \ \ \ \ \ \ |
|