cad0f06ec94d733d88eb5b3983afc22b4604d1b2
23430 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Jenkins
|
cad0f06ec9 | Merge "Only return requested network ID's" | ||
|
Jenkins
|
db6721b5f8 | Merge "update .mailmap" | ||
|
Jenkins
|
d0a7a32a7c | Merge "Make v3 API versions extensions core" | ||
|
Jenkins
|
e62dae28db | Merge "Remove duplicate test from V3 version of test_hosts" | ||
|
Jenkins
|
8e6dcc253f | Merge "Fix rename q_exc to n_exc (from quantum to neutron)" | ||
|
Jenkins
|
9283a19953 | Merge "Add missing indexes back in from 152" | ||
|
Jenkins
|
7bd4dc452a | Merge "Don't use sudo to discover ipv4 address." | ||
|
Jenkins
|
22057c384b | Merge "Translate more REST API error messages" | ||
|
Jenkins
|
1d1115e890 | Merge "Wire in ConfKeyManager._generate_hex_key!" | ||
|
Jenkins
|
a77763244f | Merge "Remove unused method in scheduler driver" | ||
|
Aaron Rosen
|
ec91e8fa7f |
Fix rename q_exc to n_exc (from quantum to neutron)
The patch fixes one file where q_exc was not renamed to n_exc during the quantum to neutron rename. Fixes bug: 1226162 Change-Id: I77625324b378bbe0e1461e5fea77c9747ca33624 |
||
|
Jenkins
|
715a49b636 | Merge "Drop unused logger from keymgr/__init__.py" | ||
|
Jenkins
|
c648b1a13c | Merge "Move required keymgr classes out of nova/tests" | ||
|
Jenkins
|
f11dc6b3bc | Merge "xenapi: Add per-instance memory overhead values" | ||
|
Dan Prince
|
8415d37990 |
Don't use sudo to discover ipv4 address.
Running unit tests on a plane (with no network) and I recently discovered that the Nova unit tests were prompting me for sudo. A quick look showed the following command being executed: nova-rootwrap /etc/nova/rootwrap.conf ip -f inet -o route show This patch updates utils.get_my_ipv4_address() and the private _get_ipv4_address_for_interface function so they run commands without using sudo. Change-Id: Id9c33c9383a9f5b2e1fce1b0f5afcc2a27a271c6 |
||
|
Jenkins
|
8e0d9dacfd | Merge "Don't generate notifications when reaping running_deleted instances" | ||
|
Jenkins
|
6a027703b9 | Merge "Update mailmap for jhesketh" | ||
|
Jenkins
|
79b2ed0131 | Merge "Ignore H803 from Hacking." | ||
|
Jenkins
|
ba4bd1aad1 | Merge "Need to allow quota values to be set to zero" | ||
|
Jenkins
|
2825ad2dc2 | Merge "pci passthrough fails while trying to decode extra_info" | ||
|
Jenkins
|
d207aa8dc6 | Merge "VMware: fix driver support for hypervisor uptime" | ||
|
Jenkins
|
09a27c1d24 | Merge "Get image properties instead of the whole image" | ||
|
Phil Day
|
d9be80288e |
Don't generate notifications when reaping running_deleted instances
The periodic task which looks for instances which have been deleted but are still running at the hypervisor supports a "reap" action to delete them. It does this by calling the _shutdown_instance() method which as part of its processing will send notification messages. However, the notification code depends on the instance object including system metadata information, and the db queries that build instance objects do not extend the "read deleted" filter down to these queries. This results in an exception in the shutdown code which in turn prevents the VM from being deleted. A seperate bug has been submitted to make deleted instance objects consistent with undeleted ones, which would fix the KeyError. However the reap code should also not send notification messages. The instance was deleted some time ago, and so messages will have been generated then. Sending new messages for the instance at this point will confuse any billing and monitoring systems. In the event the original shudown/delete notifictaions were lost the absense of "instance.exists" messages already addresses this case. Fixes bug: 1224981 Change-Id: Id463860e3046e13ce86b472d46e1ff4a43abcee4 |
||
|
Dan Prince
|
2f43ba83b6 |
Wire in ConfKeyManager._generate_hex_key!
Rename _get_hex_key to _generate_hex_key so that this key manager works with the super class it extends. In making this change we also need to initialize the hex key in the constructor before initializing the super class. Not doing so causes test failures. Fixes bug: 1224602 Change-Id: I9a6bd9bf96bf74a08e607af811ebbe9622b994f3 |
||
|
Dan Prince
|
b869796847 |
Drop unused logger from keymgr/__init__.py
Change-Id: I930be566f68c206d94f0e42432fe93b4135bcd42 |
||
|
Dan Prince
|
a0d785868c |
Move required keymgr classes out of nova/tests
Currently the Nova default keymgr implementation tries to import classes from nova/tests. This could be a very bad thing for production deployments which may not include code from nova/tests. This change moves two required modules (single_key_mgr and mock_key_mgr) into the nova/keymgr tree. Fixes bug: #1224526 Change-Id: I683b0245ab6b6acf8a4ba26f96d8c505f7c7cac8 |
||
|
Matt Odden
|
c441af4981 |
Translate more REST API error messages
There were a few exception messages that were not being translated because they were being wrapped and modified before being turned into wsgi.Fault objects by FaultWrapper. This adds some translation handling to the FaultWrapper so we can get these messages localized to the client's language specified in the Accept-Language header. Additionally adds a test to verfiy FaultWrapper is translating any exception messages that can be. fixes bug 1225226 Change-Id: I3847cff0ac4b37f57eb04b27150c4e0d1ea23f29 |
||
|
He Yongli
|
0663778c53 |
pci passthrough fails while trying to decode extra_info
pci device with empty extra_info should use null dict instead of None. keep the init of extra_info to make db could access it. Closes-Bug: #1223559 Change-Id: I2e57eb53dfd4f5168d52dc94c2057fc575458aee Signed-off-by: Yongli He <yongli.he@intel.com> |
||
|
Yaguang Tang
|
bdac306b16 |
Update requirements not to boto 2.13.0
Latest boto 2.13.0 has a bug which lead to unit tests fails, before it's fixed avoid use this version. Fix bug #1224832 Change-Id: I8a81adfc0cb0ad37d27b11db3c881735a099a95c |
||
|
Yaguang Tang
|
85cb33ffe6 |
Remove unused method in scheduler driver
Scheduler driver code clean, remove method encode_instance in scheduler driver, since it's unused since Folsom. Fix bug #1224783 Change-Id: I8bd7ee55a4b522d4c628c7f652833dfa20342b33 |
||
|
Robert Collins
|
2d144f0b3a |
Ignore H803 from Hacking.
H803 checks for a period in commit messages, something the community clearly rejected as a sensible check: periods in commit messages should neither be rejected or required. Change-Id: I866928c638d23a307f4c11b7cb947e88f90f1ab2 |
||
|
Jenkins
|
2f6022f6bf | Merge "Add missing notifications for rescue/unrescue" | ||
|
Jenkins
|
302e686be9 | Merge "VMware image clone strategy settings and overrides" | ||
|
Monsyne Dragon
|
fe2b0d37f7 |
Add missing notifications for rescue/unrescue
The rescue and unrescue operations are missing start/end notifications for the operation. Most Nova instance operations emit compute.instance.<operation>.start/end notifications, which external systems can use to track changes in the state on an instance (e.g. for billing purposes). Rescues change launched_at for the instance, which can prevent an external system from having a consistant picture of the instances' running, unless they take that into account. Change-Id: I3d7d334c88953ddf693c864c3e5e0746cdd2056c Closes-bug: 1224088 |
||
|
Jenkins
|
ddfffc4877 | Merge "Add REUSE_EXT in _swap_volume call to blockRebase" | ||
|
Jenkins
|
1597d38235 | Merge "Fixes misuse of assertTrue in Cells test scripts" | ||
|
Jenkins
|
3c3b2def1b | Merge "Fix regression issues with cells target filter" | ||
|
Jenkins
|
be940556f7 | Merge "Remove unused and wrong code in test_compute.py" | ||
|
Jenkins
|
7329f444ab | Merge "Fixes misuse of assertTrue in compute test scripts" | ||
|
Jenkins
|
f138104324 | Merge "Add expected_errors for extension aggregates v3" | ||
|
Jenkins
|
d27a7508b2 | Merge "Fix v3 swap volume with wrong signature" | ||
|
Jenkins
|
3ed80c3c7d | Merge "Fix live-migrate when source image deleted" | ||
|
Chris Yeoh
|
1d625e27df |
Make v3 API versions extensions core
Adds the versions extension to the core list. +DocImpact Partially implements blueprint nova-v3-api Change-Id: I214db47a56bff160764340bd6793d7612d043ef3 |
||
|
Xavier Queralt
|
fde21fd183 |
Get image properties instead of the whole image
When booting an instance using the new BDMv2 API we can specify to boot
from a volume created from an image on the fly. In this case the API
should pass the image properties to the new instance so it can get some
important parameters that it might specify.
After adding the new BDMv2 API in
|
||
|
Joshua Hesketh
|
341755935e |
Update mailmap for jhesketh
Add my preferred and alternative email in. Change-Id: I9d8a02cb044479145c1d22e6bd57a5733b8d2065 |
||
|
Dan Smith
|
4e842e38a2 |
Fix asymmetric view of object fields
This adds an obj_fields property which returns a combined view of the real field key names as well as the extra_fields. This will help avoid bugs where we forget to consider extra_fields. Change-Id: I93351ccc9f87817deca06e9a2d94f82a3dd5f51a Closes-bug: 1223888 |
||
|
Jenkins
|
be57317a50 | Merge "Remove docstrings in tests" | ||
|
Jenkins
|
24b81105bf | Merge "Clean up object comparison routines in tests" | ||
|
Jenkins
|
4d89bda3d7 | Merge "Add encryption support for volumes to libvirt" | ||
|
Jenkins
|
7083d3e0df | Merge "Add key manager implementation with static key" |