| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This method isn't worth keeping around. It's used in one place and
consists of a try/except block. We also shouldn't encourage clients
of GlanceImageService to depend on finding a single unique image
by a non-unique attribute.
Change-Id: I02347adef7bc7ac70407226ea150000e55a798bc
|
| |\| | | | | | |
| |_|_|/ / / /
|/| | | | | | |
|
| | | |_|/ / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* Remove image_service flag
* Move nova.image.fake to nova.tests.image.fake
* Move nova.image.get_default_image_service to
nova.image.glance.get_default_image_service
* Move nova.image.get_image_service to
nova.image.glance.get_remote_image_service
* Related to bp integrate-python-glanceclient
Change-Id: Iea6db7898328a9060fb88586e042efbc0a4351fc
|
| |\ \ \ \ \ \ |
|
| | | |_|_|_|/
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes bug 1018596
Change-Id: I788a762e3d3362c04c7d6986808d13f77d9c5a5e
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes bug 1018166
Also uses CONF.verbose instead of passing verbose flag everywhere
Change-Id: Ifee832dd087cae8c36b7b7a4f08b2e22ef7f06a3
|
| |\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
It looks like 345439f8 brought in netaddr dependencies without importing
the library itself.
Change-Id: Iabd58dd540e1d0c83482cb60538de7494099b34d
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| | | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Part of fix for bug 1017418
Change-Id: I3251f02fc5fcb8305f12b6b8a9644232b9146db2
|
| |\ \ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
One shouldn't remove an instance_type from the DB outright... but we should
make the code behave nicely in the rare case.
Fixes bug 1018500
Change-Id: If742070d7982889a56709ae058cd106e3a63114b
|
| |\ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
part of bp:virt-driver-cleanup
part d) of the blueprint is to get rid of the connection terminology
and use driver instead. This does this for the libvirt driver and
associated tests.
Also add LibvirtDriver import to __init__ so that
nova.virt.libvirt.LibvirtDriver can be used as the compute_driver
string
Change-Id: I13c701c390784fa1f7809705741abb46e40973be
|
| |\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* Fix misuse of project_only
* Includes failing tests
* Adds missing call to db/api.py
* Fixes bug 1017816
Change-Id: I993089ba031a05e7ab0ea91c279a2ac47593eda3
|
| |\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* Fixes incorrect logic for when timeout should be used. We
want to timeout along with dhcp, and release immediately
without dhcp
* Also makes ipam_lib release fixed_ips after floating ips, as
this is the way that the internal network managers do it.
* Fixes bug 1014769
Change-Id: I687fac314264b8a89da128ed77c02d9b1ca140ff
|
| |\ \ \ \ \ \ \ |
|
| | | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Updates the libvirt connection so that it avoids using virt_dom.reset(0)
when performing a hard reboot if it is not supported.
Libvirt reset requires at least libvirt 0.9.7.
When reset is not supported it uses the older method of recreating the
domain.
This patch also sets the libvirt min version back to 0.9.6.
Fixes LP Bug #1017593.
Change-Id: I6c46c03fad9de11ae3cc814b06dd8e13bb66de2d
|
| |\ \ \ \ \ \ \ |
|
| | | |_|/ / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes bug 1018216.
Change-Id: I5540e0b8ab1df1904778e3edc250369b0930987e
|
| |\ \ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The previous code provided a '_name' entry in a dict to represent
this, but then appended "=_name" to the key rather than populating
_name with the full value to be rendered.
This just changes the value in '_name' for public key to be
'0=keyname' rather than 'keyname'. It makes the rendering simpler by
just using the
_name.
It also adds a test for this strange behavior of the metadata service.
Change-Id: I3ef67d85354bf7ac8abaaf900ddfdd2e945aa9af
|
| |\ \ \ \ \ \ \ \ |
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fix bug #1013689
Change-Id: I8ae786e105c08e1b5011a1b2a1dac048a710a1cb
|
| |\ \ \ \ \ \ \ \ \ |
|
| | | |_|_|/ / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Add 'columns_to_join' keyword arg to instance_get_all() and have the
scheduler host_manager only join 'instance_type'. It doesn't use
anything else.
Fixes bug 1017769
Change-Id: Ia2c0956d2453f00e26eb89d9496a32ba15d970aa
|
| |\ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
bandwidth_usage() tries to query network info if "not network_info"
when looking at instance['info_cache']. [] is a valid entry for
network_info (on build)... so don't query network when we see it.
Fixes bug 1017770
Change-Id: Ia7291dbbcc25c04eff16eb048068f879e18f53a4
|
| |\ \ \ \ \ \ \ \ \ \ |
|
| | | |_|_|_|_|/ / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Allow the core API to store DB results so that extensions can use data
already retrieved within the same API request...eliminating extra
expensive DB calls. This implements storing of instances only, so far.
Fixes bug 1017756
Change-Id: I98a2e3323f5ea69ab9e7470f95d821790510989e
|
| |\ \ \ \ \ \ \ \ \ \
| | |/ / / / / / / /
| |/| | | | | / / /
| |_|_|_|_|_|/ / /
|/| | | | | | | | |
|
| | | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This patch speeds up the DB creation process considerably in deployments
with a considerable amount of instances. It also cleans up a lot of the
code which ends up creating the instance DB record.
The biggest improvement in this patch is removing unnecessary joins in
security_groups DB calls. This also reduces the number of DB calls
needed to create an instance DB record in general.
Side effect of this patch is the default 'display_name' for an instance
when it (or hostname) is not specified is now 'Server <uuid>' vs
'Server <id>'. Because of the use of 'id', it required creating the DB
record, then updating the record later after we new the 'id'. This is
gone.
Fixes bug 1017722
Change-Id: I9b7d48644a7abe075545c2c11399351b6a37939c
|
| |\ \ \ \ \ \ \ \
| |_|_|_|_|/ / /
|/| | | | | | | |
|
| | | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* Fixes bug 1017988
* Includes failing test for same_host and different_host
Change-Id: I91263512a9f76436dce5a8f00d4d97f841d08fec
|
| |\ \ \ \ \ \ \ |
|
| | | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Allow access to '/' of metadata server to get version information without
checking source IP, which was how previous release behave.
Fix bug 1017759.
Change-Id: I3edc2d3808b0ebb2064513a59e6a3fc9e212b283
|
| |\ \ \ \ \ \ \ |
|
| | |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: Iea03d4a87452af3fe1bfb8bd5359bcd17fb561be
|
| |\ \ \ \ \ \ \ |
|
| | |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: I75828a1e40f1daa3a15221f1ab8de484e6bb03ef
|
| |\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Commit 5b93a576 failed to remove the 'staticmethod'
decorator from the method, to allow it to access
object variables.
Also there is no need to have the libvirt getInfo() call
be xen specific. In the LXC/QEMU/UML drivers this call
uses GNULIB's physmem module, which is cross-OS portable.
Change-Id: I565eda78f6c468cf6bd227756cfc068725069218
|
| |\ \ \ \ \ \ \ |
|
| | | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Correct variable name is 'source_type', but just happened to
work because the default value for the variable is also 'mount'.
Change-Id: Ifba9ce0ef3052e1b5e07f90d236bfcf24ca6a608
|
| |/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
As found by pep8 version 1.2.
Change-Id: I5d40294416db0410fa7d9c82ea8efe8efadd0f58
|
| |\ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Updates killfilter test to use /usr/bin/sleep in addition to /bin/sleep.
Fixes LP Bug #1017585.
Change-Id: Ied0a8837fb0e7ca7fa3629859fbd67f71e5d80dc
|