| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |_|_|_|_|_|_|/ / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
check every python file under <nova_root>/plugins/xenserver/.
Ignore patch files.
Change-Id: Ib1170ddabe03de746aae570d30b133aaffb09c88
|
| |\ \ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This patch converts more log messages to passing their instance.
Having the instance in a consistant format in the logs makes it
easier for operations staff to debug instance problems.
Change-Id: I842f26309e17c0923e71fbfb00bdcdb033f92297
|
| |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| | | |_|_|_|_|_|_|_|_|_|/
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Most of this function was bypassed and the
bypassed portion contained syntax errors.
So reneable the skipped branch and adjust to pass.
Change-Id: I364ccfbe5be5bc050ba0004133f353beed97fae7
|
| |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| | | |_|_|_|_|/ / / / / /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
* nova/network/ldapdns.py (utf-8): This function is already
available in nova.utils. Note this duplicate was catching
impossible to trigger exceptions, and was referencing an
undefined variable 'val'
Change-Id: I0e47f8b976a3326c99927990f91be473c0a85f78
|
| |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
* nova/image/s3.py (S3ImageService.get): Remove
Change-Id: Ibe4526c821b9d05025956d49a6cb840d11ce013a
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ / / / / /
|/| | | | | | | | | | | | |
|
| | | |_|_|_|_|_|_|/ / / /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This test frequently breaks for me because of a race condition where
some small change will happen to the file system between when df is
called and when os.statvfs is called. By refactoring the test to stubs,
we can eliminate the race condition. Note that I do not modify the code
under test at all in this change, so the risk of introducing a defect is
zero.
Change-Id: I83e4b38b25fef7e5e27fcf81b5e5a566406b05dd
|
| |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| | |/ / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
fixes bug 931608
Change-Id: I355a3bba38367c820a0eddc006ef480e5134b317
|
| |\ \ \ \ \ \ \ \ \ \ \ \
| |/ / / / / / / / / / /
|/| | | | | | | | | | | |
|
| | | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
fixes bug: 741972
Change-Id: I4a661a13c5baaa79ee647a6c1cedcef29a2642f6
|
| |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Change-Id: Ie92a534c566dd411c2bd3e73031336974b1e5505
|
| |/ / / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
When a server had metadata with unicode characters in the values, doing a GET
on servers details would return a 500 error. This fixes that bug.
bug: 929281
Change-Id: I6162532c9a5a615802eb23e7bf9a80d3faf6e7a0
|
| |\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|_|_|_|_|/
|/| | | | | | | | | | | |
|
| | | |_|/ / / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
It's nonsensical as anything but an integer and it makes it clearer what
type it should be.
Change-Id: Icd62023b1835d33fb977302208744657e4557d2a
|
| |\ \ \ \ \ \ \ \ \ \ \ |
|
| | | |_|_|/ / / / / / /
| |/| | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
This brings this code inline with the way connection.py does
instance logging now.
Change-Id: I3a9b256cb87bc273352f4b9338ae32dbc1faa6f6
|
| |\ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / /
|/| | | | | | | | | | |
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Fixes bug #930519
Change-Id: I53f5f85d1ef8117f6a40a90ee1e9eb12a27dcd53
|
| |\ \ \ \ \ \ \ \ \ \ \
| |_|_|_|/ / / / / / /
|/| | | | | | | | | | |
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
bug: 929232
Change-Id: I6bea01b243e0c9dbd7e3b3559adbb73e42484a4c
|
| |\ \ \ \ \ \ \ \ \ \ \
| |_|/ / / / / / / / /
|/| | | | | | | | | | |
|
| | | |_|_|_|_|/ / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
increases efficiency without requiring extra parameters
Change-Id: I858067afb94007c8e71748373873f7cc8bd54662
|
| |\ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Make determining if an instance exists on a host
more efficient by adding an instance_exists() method to the
base virt driver that can be overridden by drivers that
have a more efficient mechanism of looking up an instance
by its ID / name. Modifies the _check_instance_already_created
method of the compute manager to use this new instance_exists() method.
Someone from Citrix should look into how to make the instance_exists()
method in the Xen and VMWare virt drivers more efficient than the
base "loop over all domains and see if the instance ID exists" method
now in the base driver class.
Change-Id: Ibf219788f9c104698057367da89300a060945778
|
| | | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Change-Id: I576740e512c92fb633f0029f4ab738d74600d8f9
|
| |\ \ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
addresses bug 930329
Change-Id: Idb0934b9dd6ebc0e5e81495fb4454e4e50bc1f57
|
| |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| | | |_|_|_|/ / / / / / /
| |/| | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
* nova/virt/baremetal/proxy.py (_fetch_image): This function
reference 'images' which is undefined. So just remove it
as it's unused.
Change-Id: I7016f6e8a68fefab4342adadd032e93f963a074e
|
| |\ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|/ / / / / / /
|/| | | | | | | | | | | |
|
| | | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Fixes bug 929041
The melange service may need to periodically be restarted for various
operations reasons, so retry GET requests if we receive a socket error.
Change-Id: I010650dac7793d0041d41be067eb4b32e2171c8a
|
| |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
fixes bug #911217
Change-Id: I135002a3010416e8c63b3dce303f4e4d47c7c6d3
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ |
|
| | | |_|_|_|_|/ / / / / / /
| |/| | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Ignores error code 2 from 'ip addr {add, del}' which, in recent
versions of iproute2, means the address has already been removed
or added.
Fixes bug 929127
Change-Id: I09274454847ff834ac3da0e38022b30a7a7f1676
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ |
|
| | | |/ / / / / / / / / / /
| |/| | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
The call method takes a new timeout argument, but not all uses of it
were updated to pass the new argument.
Change-Id: Ie4377419aafa5606ade803f8e4cd715cb53b1547
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| |_|_|_|_|_|/ / / / / / /
|/| | | | | | | | | | | | |
|
| | |/ / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Fixes lp930409
Change-Id: Iff07a9b70210a43eb9442222e4d6cac60dd8f375
|
| |\ \ \ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
* Gets rid of annoying purge semantics
* removes unique constraints from the db
* deletes extra specs when a volume is deleted
* adds exceptions for when the type already exists
* fixes bug 854930
* fixes bug 925823
Change-Id: I4618759e31501b2e85325f4e9b9895f04dc151d0
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ |
|
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
fixes bug #928015
Change-Id: I26e1e036ee56e0ee4344f9254df4c7024e0ceddf
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ |
|