461a966d7552810f1cb1c5ed07a4fcddc3db393c
17655 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Xiangyang Chu
|
461a966d75 |
Add the missing replacement text in devref doc.
Add AggregateInstanceExtraSpecsFilter's replacement text in doc/source/devref/filter_scheduler.rst Change-Id: I5b74c5f51eb85f79f79a2d2c556d6522d97f1497 |
||
|
Jenkins
|
d1e7f796bf | Merge "Remove sleep in test_consoleauth." | ||
|
Jenkins
|
b7b578ff8c | Merge "Fix poll_rescued_instances periodic task" | ||
|
Jenkins
|
76f9b4d499 | Merge "Stop nbd leaks, remove pid race." | ||
|
Jenkins
|
421a2094c4 | Merge "Add VirtAPI tests" | ||
|
Clark Boylan
|
2ce5fee0d6 |
Remove sleep in test_consoleauth.
test_consoleauth:ConsoleauthTestCase.test_tokens_expire called time.sleep(1.1) in order to test that tokens with a TTL of 1 second expire after one second. Problem is time.sleep() may return before the entire sleep period is complete. Remove the sleep and instead use Oslo's timeutils to override the time and advance it by one second to check that expired tokens do expire. Part of blueprint grizzly-testtools Change-Id: Iae0e678fb12a76757523dc7dbccb4da98cef85e6 |
||
|
Jenkins
|
be12f8b785 | Merge "Move metadata_{host,port} to network.linux_net" | ||
|
Jenkins
|
e1dea7cd63 | Merge "Move API extension opts to api.openstack.compute" | ||
|
Jenkins
|
78e54998b6 | Merge "Move osapi_max_limit into api.openstack.common" | ||
|
Jenkins
|
3c36a7b0ac | Merge "Move link_prefix options into api.openstack.common" | ||
|
Andrew Laski
|
c40fc8a4db |
Fix poll_rescued_instances periodic task
The poll_rescued_instances periodic task now checks the amount of time that an instance has been in the RESCUED stated before timing out the rescue. It also now performs the unrescue through the compute api in order to make sure the database is left in a consistent state. The poll_rescued_instances method is no longer necessary in the virt driver interface and has been removed. And also removed from the different virt drivers, since it was just doing a 'pass' in each of them. bug 1088625 bug 1088627 Change-Id: I75f7dc188cc49e5f6e5c8a3cb256d1c42ff7d882 |
||
|
Jenkins
|
dc48ce7fb1 | Merge "Fix for correctly parsing snapshot uuid in ec2api" | ||
|
Jenkins
|
dd05b52bb3 | Merge "Clean up run_tests.sh" | ||
|
Hengqing Hu
|
7d89fdf544 |
Clean up run_tests.sh
Remove obsolete lines. Change-Id: Id6c868c857733dc4cbeceacab4d3a817b43b77b1 |
||
|
Jenkins
|
62b38931c5 | Merge "Add support for parsing the <uuid> from libvirt host capabilities" | ||
|
Jenkins
|
5f575d8b9c | Merge "Add support for libvirt domain <smbios> XML config" | ||
|
Michael Still
|
e4377fdb0e |
Stop nbd leaks, remove pid race.
With the previous implementation, if a nbd device was found to be in use by something other than nova it was removed from the class scoped list of devices, but never re-added. This meant we "leaked" devices away over time if we were competing with other nbd users on the machine. Instead of tracking our use at all, we should rely on the presence of a user pid in /sys. Resolves bug 1088083. Change-Id: If777e270a0dda12034ea7ef1bc7fd688cadde8a9 |
||
|
Jenkins
|
b963a93194 | Merge "Use nova.test.TestCase as the base test class." | ||
|
Jenkins
|
3af7ae8079 | Merge "Add support for libvirt domain <sysinfo> XML config" | ||
|
Jenkins
|
df143208b0 | Merge "Add Jian Wen to .mailmap" | ||
|
Jenkins
|
998c2649b7 | Merge "Fixes string formatting error." | ||
|
Jenkins
|
31f0eec568 | Merge "Make update_service_capabilities() accept a list of capabilities" | ||
|
Jenkins
|
e467a0a1fe | Merge "Fix KeyError of log message in virt/libvirt/utils.py" | ||
|
Jenkins
|
701a15ef1f | Merge "Move remaining aggregate operations to conductor" | ||
|
Jenkins
|
9202a8457a | Merge "Port to argparse based cfg" | ||
|
Jenkins
|
d5b91dd39b | Merge "Remove unused bridge interfaces" | ||
|
Jenkins
|
7b5ce8f8cc | Merge "remove session param from instance_get" | ||
|
Jenkins
|
6f5fc8d5c3 | Merge "remove session param from instance_get_by_uuid" | ||
|
Jenkins
|
b2b2bfce72 | Merge "Allow rpc-silent FloatingIP exceptions in n-net" | ||
|
Jenkins
|
4a4c6ded46 | Merge "Allow conductor exceptions to pass over RPC silently" | ||
|
Jenkins
|
8267407424 | Merge "Use admin user to read Quantum port." | ||
|
Jenkins
|
0837a88578 | Merge "Add vif_type to the VIF model" | ||
|
Dan Smith
|
8598ed72d3 |
Add VirtAPI tests
So far, VirtAPI has only been tested indirectly through the other tests and modules that use it. This adds a dedicated set of tests for the VirtAPI abstract class, the virt/fake.py::FakeVirtAPI implementation, as well as the one in compute/manager.py::ComputeVirtAPI. This test helps to ensure that they all have the same method signatures and exhibit the general behavior we expect. At the very least, this should help them from getting out of sync in terms of their API. It also ensures that methods can't be added to VirtAPI without a corresponding test. Note the slight change in the FakeVirtAPI class to fix passing the keyword arguments explicitly, which makes Mock happy. Related (vaguely) to blueprint no-db-compute Change-Id: Ib44379e17fae4df506b0108e20eb66b19195b1ca |
||
|
Dan Smith
|
a6051acc33 |
Move remaining aggregate operations to conductor
This patch moves the following aggregate operations from compute to conductor: aggregate_get_by_host() aggregate_metadata_add() aggregate_metadata_delete() In order to do that, it also changes the signature of the corresponding VirtAPI methods to take the aggregate object instead of just the id, so that we don't re-introduce any db messaging behavior. I debated about using the set_delete mechanism in the metadata_add API to avoid adding a separate conductor API for delete, but decided that it wasn't worth the extra round trips, no matter how much I may wish it were. Change-Id: Ic0117879c8ce576cdc8e6c5af018bb918a15d4c0 |
||
|
Devananda van der Veen
|
695095a424 |
remove session param from instance_get
remove unused session param from instance_get blueprint db-session-cleanup Change-Id: Id8d7129ca0f8477b1e99a405653c498c4ed4cd76 |
||
|
Devananda van der Veen
|
985b369c17 |
remove session param from instance_get_by_uuid
remove session param from public method instance_get_by_uuid create private method to retain session param for the few places which need it blueprint db-session-cleanup Change-Id: I80f682018c88d2a14e454ab1af1dff4fe0be7432 |
||
|
Jenkins
|
46675d85db | Merge "Adds API Sample tests for DiskConfig extension." | ||
|
Jenkins
|
1b3a72492c | Merge "Move some opts into nova.utils" | ||
|
Jenkins
|
f3c08f6076 | Merge "Properly scope password options" | ||
|
Jenkins
|
02e83e1028 | Merge "Ensure datetimes can be properly serialized." | ||
|
Clark Boylan
|
170aaf5231 |
Use nova.test.TestCase as the base test class.
Subclass nova.test.TestCase instead of unittest.TestCase so that all tests get the proper setUp and tearDown needed for all tests. Part of blueprint grizzly-testtools Change-Id: I8f3cd49e6e0e36eade1fd6ccb6c15359d38f2236 |
||
|
Jenkins
|
7ca309c3da | Merge "Implement an XML matcher" | ||
|
Jenkins
|
1b7bf9c93e | Merge "Autodetect nbd devices." | ||
|
Russell Bryant
|
1259395061 |
Ensure datetimes can be properly serialized.
The nova-network manager was returning db models from methods invoked via rpc.call(). These db models include non-primitive types that can not be properly serialized (namely datetime objects). Use to_primitive() to ensure that the data gets serialized properly. Fix bug 1089430. Change-Id: I019504cf68b2d420437c550b596eda8a12fe6618 |
||
|
Sulochan Acharya
|
180f29d7ec |
Fixes string formatting error.
Fixes a small string formatting error in exception.py by adding missing converstion type. Fixes bug #1089416 Change-Id: I48fb39c669b2a1e81f052349cdb700e146ee2c4d |
||
|
Tiago Mello
|
15a395f4b5 |
Adds API Sample tests for DiskConfig extension.
Partially implements blueprint nova-api-samples Fixes bug 1070158 Change-Id: Ied2efc3ae17599b61133247273a7a4bec9020927 |
||
|
Jenkins
|
b6f4796f86 | Merge "Properly scope isolated hosts config opts" | ||
|
Jenkins
|
365c9f0e16 | Merge "Move monkey patch config opts into nova.utils" | ||
|
Rohan Rhishikesh Kanade
|
4339ecbb4f |
Fix for correctly parsing snapshot uuid in ec2api
* EC2 snapshot id correctly translated instead of volume uuid. * Add unit tests changes for the existing test. Fixes LP Bug #1089371 Change-Id: Id650ba53dc6cda946531493e3887a01fc5d9bda4 |
||
|
Michael Still
|
ab3c602ac5 |
Autodetect nbd devices.
This means we don't need to the max_nbd_devices flag any more at all. This patch also moves the internal representation of the list of available nbd devices to not including the leading /dev/, but that is not exposed as a change in the interface to the class. Resolves bug 861504 and its duplicate 1088339. DocImpact. Change-Id: I5c6218122ab09781d8a2ecd6d8b76a74be4a6e91 |