| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |_|_|/ / / / / / /
|/| | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* Uses pyflakes wrapper to ignore gettext errors
* Based on: https://bugs.launchpad.net/pyflakes/+bug/844592
Change-Id: I4fd947176f5258f89f517acf5dda2ded4a2da15e
|
| |\ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This change begins moving all block device
related functionality to an abstract DiskAdapter class
The original local logical volume implementation
has been moved into PowerVMLocalVolumeAdapter
Also, this patch opts for on the fly decompression of the
image during the dd copy to the Logical Volume, instead
of running a separate decompress before hand
bp powervm-compute-enhancements
Change-Id: I9ecb81e4351fd3a5c34ab8bce544b8daec353c5a
|
| |\ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / /
|/| | | | | | | | | | |
|
| | | |_|_|/ / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
During driver status update from periodic tasks, if we find that
the libvirtd is down then we should send send notifications and
log an error.
Fixes LP #1011087
Change-Id: I447f24e4ac719d2d550810509f72be6f270ce326
|
| |\ \ \ \ \ \ \ \ \ \ |
|
| | | |_|_|_|/ / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Partially implements blueprint nova-api-samples
Fixes bug 1083642
Change-Id: I9ed16780e9a75a1fa34afac5c7861a0595180596
|
| |\ \ \ \ \ \ \ \ \ \ |
|
| | | |/ / / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Partially implements blueprint nova-api-samples
Fixes bug 1070157
Change-Id: Icd6c743b842a7986bbc0a21c5dc62fbceda488bf
|
| |\ \ \ \ \ \ \ \ \ \ |
|
| | |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
MiniDNS changes:
* In create_entry/delete_entry, if we don't get a name
then we throw an exception
* In get_entries_by_address, filter out duplicates
* Add a log.warn in addition to throwing an exception.
Test Suite changes:
* Updates base TestCase to use MiniDNS instead of the default DNSDriver.
* Make sure we cleanup the dnstest.txt and the temporary directory
in TestCase.tearDown()
* Update a few tests to pass in display_name
Fixes LP Bug #1081750
Change-Id: Ia8d80102deaeaaac166ab50bbd47279d72d1e389
|
| |\ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / /
|/| | | | | | | | | |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Adds support for a configurable set of trusted directories to search
executables in (exec_dirs), which defaults to system PATH. If your
filter specifies an exec_path that doesn't start with '/', then it
will be searched in exec_dirs. Avoids having to write multiple
filters to care for distro differences. Fixes bug 1079723.
Also returns a specific error rather than try to run absent executables.
Change-Id: Idab03bb0be6832a75ffeed4e78d25d0543f5caf9
|
| |\ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / /
|/| | | | | | | | | |
|
| | | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
On confirm_resize, update the resource tracker based on the source
node of the instance, not the destination.
bug 1085325
Change-Id: I041fc27225a8ed8e61fe21945d9241377b1d6384
|
| |\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
|
| | | |_|/ / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
A change was made in rpc that requires project's to define the
control_exchange option themselves. This was so the project's could
set their own default value. This change has made it in to nova without
adding the control_exchange option, meaning that it is using the default
of 'openstack', potentially conflicting with other projects.
See https://review.openstack.org/#/c/12518/
Fix bug 1083944.
Change-Id: Ifc00a537c4ee327cbee91fe1d911f8c402e350b7
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
If tests are not run in the default order nosetests runs them in it
is possible that the monkey patching of fake_libvirt utils is not
properly cleaned up. Use fixtures.MonkeyPatch to monkey patch
fake_libvirt_utils in test setUp ensuring the monkey patching is
reverted properly after each test.
Part of blueprint grizzly-testtools
Change-Id: Ie691cbc777c01fa8a5affa3271f36776ea9648b9
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The test xenapi/vm_rrd.xml file was opened in test_xenapi.py relative to
the current working directory. This forced you to run unittests out of
the nova/tests directory. Open the xenapi/vm_rrd.xml relative to the
test_xenapi.py file so that the current working directory does not
matter.
Part of blueprint grizzly-testtools
Change-Id: I2b8720ea418e10e9748adaa599513794202351e6
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
If tests are not run in the default order nosetests runs them in it
is possible that notifier_api in test_notifications.py and
test_compute_utils is in a state unsuitable for testing (notifier_api
may have had its drivers set elsewhere preventing it from picking up the
test driver). Reset the notifier_api before each test to ensure
notifier_api is usable for every test run regardless of test order.
Part of blueprint grizzly-testtools
Change-Id: I1f9282b96e2b2471eb8176b7ce9c95b4b1548ffe
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
If tests are not run in the default order nosetests runs them in it is
possible that volume_api in test_cinder_cloud.py is in a state
unsuitable for testing. Reset the volume_api before each test to ensure
volume_api is usable for every test run regardless of test order.
Part of blueprint grizzly-testtools
Change-Id: I974e9eb09cbf9f19a01ecd0f13b2664291a5609e
|
| |\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
implements blueprint metadata-overlapping-networks
This is the Nova side of the changes required to support Metadata
service on overlapping Quantum networks. This change is BACKWARDS
COMPATIBLE and does not require any new configuration for Nova only
deployments.
Change-Id: I4dacd565e43e136e3faeb95184a4a2f7188415cd
|
| |\ \ \ \ \ \ \ \ |
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
The init_host() function in the compute manager has grown a good bit.
The amount of nesting for instance initialization was pretty deep,
making it a bit ugly. This patch splits out the code for initializing
an instance during the service initialization and puts it into its own
function, making things a bit more readable.
Change-Id: I5183baa76304bfc04af3c7347218eefbc3dc84e3
|
| |\ \ \ \ \ \ \ \ \ |
|
| | | |_|/ / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Updates the resize_claim function in compute/resource_tracker
so that it uses an elevated context for the db.compute_node_update
call.
This fixes an issue where resizes from non-admin users would fail
to complete.
Fixes LP Bug #1085071.
Change-Id: I356e564228603834073c2b878b09cc35b88edf1e
|
| |\ \ \ \ \ \ \ \ \ |
|
| | | |_|_|_|_|_|/ /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fix creating .pgpass file that is used to connect to postgress database without
password prompt.
Fix command that execute SQL in postgres DB:
a) there were no spaces between command options and values
b) we can't drop database while we are connected to it. There is a special
database `template1` in postgres for dropping databases.
c) using `'` instead of `"` in bash to quote SQL expressions because bash
interprets only text in single quotes as plain string.
Remove SQL requests which lock database
Fix stripping password, so it works not only when password contains only
spaces.
Change-Id: I753a044aba8579b0f4225b4e67163d046ec1a32e
|
| |\ \ \ \ \ \ \ \ \
| |_|_|/ / / / / /
|/| | | | | | | | |
|
| | |/ / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This extends the cloudpipe REST API to allow the setting of the IP and port
for the VPN for each network in the project
/v2/{tenant_id/os-cloudpipe/configure-project # POST ip/port
This forms part of the work to provide APIs for functionality currently
implemented by nova-manage that needs direct db access so nova-manage
can eventually be removed
DocImpact
Implements: blueprint apis-for-nova-manage
Change-Id: I416c0bfbe1c88470638f1c2004d1dcaeb51a6c41
|
| |\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
In current implementation in powervm driver, the 'Starting' state
of an instance is not supported. This patch adds this to the powervm
driver and allows execution to continue until the instance is in a
'Running' state instead of failing out.
This patch fixes Bug #1084641
blueprint powervm-compute-enhancements
Change-Id: Ieb17b215547e77ee8d13b18496ba4090fc45757b
|
| |\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
We cannot assume nova.db.api will be returning sqlalchemy objects with
attributes, instead treat return values as dicts
Part of blueprint db-api-cleanup
Change-Id: I39ccd2f110c258d69bb2d4d7078c672c6a6ef36e
|
| |\ \ \ \ \ \ \ \ |
|
| | | |_|_|_|_|/ /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
multiprocessing.cpu_count() reports the wrong number of
physical CPUs on a Xen dom0 system. Because we're inside
the libvirt virtualization driver the corresponding
libvirt method (getInfo()) should be used instead.
fixes bug 1084611
Change-Id: Ida4be889ce98c7a6f58564a8bc295b360ff65965
|
| |\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
When you try to debug some test using nose.tools.set_trace the pdb prompt
is 'trapped' inside tee manipulation of stdout.
Since debug mode is not supposed to be used in the gates we don't need to
concern about the lack of a log to analyze the output.
Change-Id: I7daebe7267b04d41f2ca383f826419f0dfb544ab
|
| |\ \ \ \ \ \ \ \
| |_|_|/ / / / /
|/| | | | | | | |
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
On OSX DES is used instead of MD5, see
nova.virt.disk.api:_set_password for more details
Fix bug 1084337
Change-Id: I2490e1e322d42fecb43af5436fea2f903c11e265
|
| |\ \ \ \ \ \ \ \ |
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Configure all dnsmasq instances to use the hosts file instead of the
default local file '/etc/host' when the network is configured in
'multi_host' mode.
This hosts file contains all DNS entries of the network and it is
replicated on all host where a 'nova-network' daemon is instantiated.
There is a hosts file for each networks.
It needs to add a new network API to update the host file on all
network hosts.
When a network host is called to (de)allocate a VM, it (de)allocate the
instance fixed IP adress(es) on the concerned network host and when it's
done, it calls all networks to update their DNS db entries if it's
needed through a fanout cast.
DocImpact: new config options
Fixes LP bug #1078808
Change-Id: I5c13bd895ebd31f276eb14e996025ddcfb67c3d9
|
| |\ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
FilterScheduler and RetryFilter use "(host, node)" instead of "host" to
filter candidates. It makes rescheduling on different nodes in the same
host possible.
Fix bug 1081370
Change-Id: Id51b262de7b47b5f9215463eca5ae07a29109c3f
|
| |\ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Change-Id: If111dacc960ea1882d0eda238c0c9dffaa9edf94
|
| |\ \ \ \ \ \ \ \ \ \ \
| |_|_|/ / / / / / / /
|/| | | | | | | | | | |
|
| | | |_|/ / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Offload the db writes for adding and removing a host to or from
a host aggregate to the conductor service.
Part of blueprint no-db-compute.
Change-Id: I7c3da2d5c9fc6d7e72fb9371b7ea6a2b10c5218d
|
| |\ \ \ \ \ \ \ \ \ \ |
|