Commit Graph

34653 Commits

Author SHA1 Message Date
Jenkins 3eafa2c05a Merge "Start the conversion to oslo.versionedobjects" 2015-05-09 00:38:08 +00:00
Jenkins 603bb28d8b Merge "Clean up ComputeManager._get_instance_nw_info" 2015-05-08 23:36:03 +00:00
Jenkins 4e317660df Merge "Correct docstring info on two parameters" 2015-05-08 22:22:07 +00:00
Jenkins 24bb869361 Merge "tests: make API signature test also check static function" 2015-05-08 21:17:24 +00:00
Jenkins 7bdf66e892 Merge "Fix disconnect_volume issue when find_multipath_device returns None" 2015-05-08 19:53:54 +00:00
Jenkins 9ceb108641 Merge "Helper scripts for running under Apache2" 2015-05-08 19:42:44 +00:00
Jenkins 639dc517a4 Merge "Updated from global requirements" 2015-05-08 19:29:47 +00:00
Jenkins cf32c44838 Merge "Add SpawnFixture" 2015-05-08 19:03:08 +00:00
Jenkins 5cdcf7dede Merge "Drop use of 'oslo' namespace package" 2015-05-08 15:45:45 +00:00
Jenkins c7b9ecef78 Merge "Log the actual instance.info_cache when empty in floating ip associate" 2015-05-08 15:36:44 +00:00
Davanum Srinivas 603fb03e40 Helper scripts for running under Apache2
EXPERIMENTAL support - Helpers for running nova-api and nova-ec2-api
under Apache2 just like keystone.

Inspiration from code in the chef cookbooks:
https://github.com/rcbops-cookbooks/nova/tree/master/files/default

These files are used by the following devstack review:
I9fc0c601db2776d3e9084be84065e728e3f5d414

Partially Implements: blueprint run-nova-services-under-apache2
Change-Id: Idd7d3d1b3cc5770cdecea7afe6db3c89d5b2c0d0
2015-05-08 09:59:58 -04:00
OpenStack Proposal Bot 30e9b50745 Updated from global requirements
Change-Id: I5d0da1fb1ddca7ef317fb44eb2ced3b8cd8112fc
2015-05-07 23:36:08 +00:00
Jenkins 8121b2397c Merge "Ironic: pass injected files through to configdrive" 2015-05-07 23:19:18 +00:00
Dan Smith 90fb490aff Add SpawnFixture
This just turns spawn_n into a blocking passthrough so that we actually
run the spawned thing synchronously instead of not running it (and often
thinking we did).

Change-Id: I47ce83505361084e262843505031e3327d8e68a8
2015-05-07 13:18:19 -07:00
Jenkins 546f6ce80a Merge "Mark ironic credential config as secret" 2015-05-07 18:40:13 +00:00
Jenkins 5164db4412 Merge "Reschedules sometimes do not allocate networks" 2015-05-07 16:01:41 +00:00
Dan Smith c13f42e36c Log the actual instance.info_cache when empty in floating ip associate
This attempts to add some enlightenment to the case where we try to
associate a floating ip for an instance and hit the case where there
is no info_cache. We need to know if it's actually None, or empty.

Related-Bug: #1249065

Change-Id: Ic0051d1d520f800d845b7006b5b95be5d8edf7c9
2015-05-07 15:40:15 +00:00
Jenkins 3a48f21509 Merge "objects: remove field ListOfEnumField" 2015-05-07 15:32:58 +00:00
Jenkins 1c292f3337 Merge "servicegroup: remove get_all method never used as public" 2015-05-07 12:56:46 +00:00
Jenkins d45825bcc0 Merge "Cleanup docs landing page" 2015-05-07 12:22:21 +00:00
Jenkins 23948b0a7b Merge "Merge server usage tests between v2 and v2.1" 2015-05-07 12:21:55 +00:00
Jenkins 6536d05ae9 Merge "Merge attach interfaces func test between v2 and v2.1" 2015-05-07 12:21:26 +00:00
Jenkins 47a4aa2909 Merge "Merge extended server Att tests between v2 and v2.1" 2015-05-07 12:20:59 +00:00
Jenkins 3aefd933de Merge "Merge multinic functional tests between v2 and v2.1" 2015-05-07 12:20:32 +00:00
Jenkins dbc53add94 Merge "Merge extended server status tests between v2 and v2.1" 2015-05-07 12:20:06 +00:00
Jenkins 2d5c6c7d75 Merge "Merge servers-ips functional tests of v2 and v2.1" 2015-05-07 12:19:41 +00:00
Jenkins a3d1cd6b28 Merge "Ironic: Remove passing Flavor's deploy_{kernel, ramdisk}" 2015-05-07 12:19:14 +00:00
Jenkins 2557d5db0e Merge "libvirt: cleanup unused lifecycle event handling variables from driver" 2015-05-07 12:14:42 +00:00
Jenkins 6f64765279 Merge "Add some testing for flavor migrations with deleted things" 2015-05-07 12:02:56 +00:00
Jenkins f14f0741b8 Merge "Add a test that validates object backports and child object versions" 2015-05-07 12:02:30 +00:00
Jenkins 440cd67d63 Merge "Updated from global requirements" 2015-05-07 12:01:58 +00:00
Sahid Orentino Ferdjaoui 0c5dec3b56 servicegroup: remove get_all method never used as public
Retrieve all services is exposed in to few circumstances to
justify to maintain a method get_all in every drivers of
servicegroup instead we have to continue to use
Service.get_all_by_topics() (which is used by default)
Also this method is never used as a public and only the
zk driver needs it.
Finally it makes pain for some drivers like Memcached to
maintain a routine like that.

This commit removes the method get_all from the public API
and rename the method to be private for the Zookeeper's
driver.

Change-Id: Idc0dfbbe1887e11166acb7d989dd5466751761af
2015-05-07 03:50:05 -04:00
Sahid Orentino Ferdjaoui 866f261dfb libvirt: add todo note to avoid call to libvirt from the driver
All calls to libvirt should be passed by Host class. The todo is to
avoid future inclusion the time all tests are updated.

Co-Authored-By: Daniel Berrange <berrange@redhat.com>

Change-Id: I651019e9808665824d7e2b1101207287875418a7
2015-05-07 03:10:38 -04:00
Sahid Orentino Ferdjaoui 7b0660b20f libvirt: add method to compare cpu to Host
Add method to compare cpu in Host and update the driver
to use it instead of calling libvirt directly.

Change-Id: I461f111ff3d1c99c809cb7f9424ca6f5b273ace1
2015-05-07 03:10:38 -04:00
Sahid Orentino Ferdjaoui 7b3391a49e libvirt: add method to list pci devices to Host
Adds method to list pci devices in Host and update the
driver to use it instead of calling libvirt directly.

Change-Id: I002677253fe978bf960218f31d0b3f3975255223
2015-05-07 03:10:38 -04:00
Sahid Orentino Ferdjaoui 147e592f07 libvirt: add method to get device by name to Host
Add method "lookup_device_by_name" in Host and
update the driver to use it instead of calling libvirt
directly.

Change-Id: I1642f839c5a0c22d8dc978c2a84906e2d3d8a051
2015-05-07 03:10:38 -04:00
Sahid Orentino Ferdjaoui 2790f22cf4 libvirt: add method to define instance to host
Add method "write_instance_config" to define config of
a domain in Host and updates the driver to use it instead
of calling libvirt directly.

Change-Id: I3f0b86bf343c7cb58b6888fee00e609dd5219b58
2015-05-07 03:10:38 -04:00
Sahid Orentino Ferdjaoui d974fb86b8 libvirt: add method to get cpu stats to host
Moves code from libvirt.driver to libvirt.host to return cpu stats
information and update the driver to use it instead of calling
libvirt directly.

Change-Id: Ifde0d67a152adf93bb8531ca58f53d2ca40b4948
2015-05-07 03:10:38 -04:00
Sahid Orentino Ferdjaoui 79bc654f8b monitor: remove dependance with libvirt
There is no need to have a particular dep with libvirt
driver. This commit cleans the test to avoid loading a
ComputeManager and LibvirtDriver

Change-Id: I79d4d19a040f2786537accdcd8054a6abd508e84
2015-05-07 03:10:38 -04:00
Rui Chen f065a76de5 Clean up ComputeManager._get_instance_nw_info
The private method '_get_instance_nw_info' of ComputeManager
make no sense, it just call self.network_api.get_instance_nw_info
again. Remove it, unify all methods of ComputeManager to use
self.network_api.get_instance_nw_info and update the related
test cases.

Remove the asserting admin context logic, because it come from
I5bc35632ca382d011eb42e738140ba54d9cdc93f, it's useless any more.

Change-Id: Ica58122c60c9e2d3e6740d458559ddf4b5a652be
2015-05-07 12:15:56 +08:00
OpenStack Proposal Bot cad4d14faa Updated from global requirements
Change-Id: I846550cf62f8f6e766e757abda68db8c8fe39548
2015-05-07 02:20:47 +00:00
Jenkins c36a5ff46b Merge "Cleaning up debug messages from previous change in vmops.py" 2015-05-07 02:10:19 +00:00
Jenkins d22019a679 Merge "Cells: Call compute api methods with instance objects" 2015-05-07 00:40:01 +00:00
Jenkins 12e34fef69 Merge "libvirt: add method to get hardware info to Host" 2015-05-06 23:37:10 +00:00
Andrew Laski ca908166db Cells: Call compute api methods with instance objects
When nova-cells processes a 'run_compute_api_method' message it pulls
the instance from the local db and calls the appropriate compute api
method with a sqlalchemy model.  Instead it should populate an instance
object and pass that in.

Change-Id: Ib4fb46310c2a2c1edf378ed3a3fd42421ff4cb47
Closes-bug: #1290975
2015-05-06 12:46:37 -07:00
Jenkins fbbc00db47 Merge "fix network setup on evacuate" 2015-05-06 18:12:12 +00:00
Jenkins 977798c502 Merge "Cleanup conductor unused methods" 2015-05-06 18:08:48 +00:00
Jenkins 76f1beb196 Merge "Fix missing format arg in compute manager" 2015-05-06 17:48:45 +00:00
John L. Villalovos 3aae271553 Correct docstring info on two parameters
Two parameters were documented as unused but in subsequent patches the
parameters have now become used.  Update the docstring to no longer say
that:
 * admin_password
 * injected_files
are unused.

Change-Id: I94522c35d2ee464b796502662cf50bd352c9ab15
2015-05-06 10:22:01 -07:00
Jenkins fae1da3625 Merge "libvirt: avoid call of listDefinedDomains when post live migration" 2015-05-06 16:38:39 +00:00