summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | | | | | Clean up get_instance_id_by_floating_addressJoe Gordon2013-01-153-14/+23
| | |_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce number of nova.db calls in get_instance_id_by_floating_address to 1, fixed_ip_get_by_floating_address (A new nova.db.api function) Change-Id: Ie1313ea73290ae11dce03d3726d5c23e4d73cb00
* | | | | | | | | | | | | | | | | | | Merge "Validated device_name value in block device map"Jenkins2013-01-172-5/+85
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | Validated device_name value in block device mapUnmesh Gurjar2013-01-102-5/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Checked value of device_name parameter provided in block device mapping section of Create server API. 2. Added unit test coverage. Fixes LP: #1087165 Change-Id: I32ed59a577167d9bf42cb3667bfb1ba3963d6c71
* | | | | | | | | | | | | | | | | | | | Merge "enforce server_id can only be uuid or int"Jenkins2013-01-173-1/+32
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | enforce server_id can only be uuid or intSean Dague2013-01-163-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the get() function takes an arbitrary id coming from the rest url for the server. In our current code it checks if this is a proper uuid and sends it down the uuid path, everything else gets dispatched to the version that selects by integer id. This means that arbitrary garbage fuzzed server ids will get sent down the int path, all the way to the database. In postgresql, where the db is strongly typed, this causes a type error. This error was found by tempest nightly runs where we send some 35 and 37 character strings in. This patch creates and equivalent is_int_like function. If the server_id is neither uuid_like nor int_like, we throw the InstanceNotFound exception early. This also saves us a trip to the database in these cases. Make the is_int_like a little more robust, and don't succeed on floats Once more with feeling, to let us actually use is_int_like on ints, not just strings. Fixes bug #1100253 Change-Id: If4ae8005fd33a23ac50a6408ecd5933a2ff6425c
* | | | | | | | | | | | | | | | | | | | | Merge "libvirt: Optimize test_connection and capabilities"Jenkins2013-01-172-8/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | libvirt: Optimize test_connection and capabilitiesVishvananda Ishaya2013-01-162-8/+9
| | |_|_|_|_|_|_|_|/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The getCapabilities call can be very slow so it is not a good choice for testing the libvirt connection. This patch switches to getLibVersion and also caches the result of getCapabilities so it doesn't need to be requested every time. Note that this means that nova-compute will need to be restarted if the capaabilities of the host changes. This is an acceptable risk because capabilities changes should be very rare and nova-compute should be restarted if libvirt is restarted or reinstalled. This simple change lowers boot time in my devstack install from 22 seconds down to 8 seconds! Fixes bug 1100446 Change-Id: I1b5072a906b19c6130957cf255e8d35b20990828
* | | | | | | | | | | | | | | | | | | | | Merge "Fix nova.availability_zones docstring"Jenkins2013-01-171-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | Fix nova.availability_zones docstringJoe Gordon2013-01-141-1/+1
| | |_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I66fe5cd5ab688bd4d3bedcdb79823497c65912e9
* | | | | | | | | | | | | | | | | | | | | Merge "sync latest log and lockutils from oslo"Jenkins2013-01-172-7/+15
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | sync latest log and lockutils from osloJoe Gordon2013-01-142-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2aa0e63a7e9c3b7bea829fddf42a00d3318c6d6f
* | | | | | | | | | | | | | | | | | | | | | Merge "Make nova-api logs more useful"Jenkins2013-01-171-0/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | Make nova-api logs more usefulJoe Gordon2013-01-151-0/+4
| | |_|_|/ / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current logs make it hard to identify what API command is actually being called, especially for POST, where the action is in the body. * Whenever there is body, log it (info level) * Log what function the API command maps to (debug level) Change-Id: Ief14186b94e321d97575ee25e3507d3fc0178de6
* | | | | | | | | | | | | | | | | | | | | Merge "Move compute node operations to conductor"Jenkins2013-01-176-8/+69
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | Move compute node operations to conductorDan Smith2013-01-166-8/+69
| | |_|_|_|_|_|_|/ / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the following operations to conductor: compute_node_create() compute_node_update() It also makes resource_tracker use them instead of making direct calls to the database. Further, it introduces a convert_datetimes() helper to the db api, which can be used internally to convert ISO time strings back to datetimes, so that we're getting them over the RPC wire. This should be used in other places in the future to fix similar situations and avoid one-off conversions in random places. This removes the last direct database call from resource tracker, and thus the db import. Related to blueprint no-db-compute Change-Id: I49c0bb30e7dd46d6f68550ebb644381961a0867f
* | | | | | | | | | | | | | | | | | | | | Merge "Add encryption method using an ssh public key."Jenkins2013-01-173-7/+105
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Add encryption method using an ssh public key.Vishvananda Ishaya2013-01-163-7/+105
| | |_|_|_|_|_|_|_|/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a prerequisite for adding support to xenapi with a guest agent to support the get-password command. Related to blueprint get-password Change-Id: I226ea5ee4fd6e326ccbb39cdf9098925d3f45312
* | | | | | | | | | | | | | | | | | | | Merge "Better instance fault message when rescheduling."Jenkins2013-01-171-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | Better instance fault message when rescheduling.Rick Harris2013-01-171-1/+1
| | |_|_|_|_|_|_|_|_|_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old code would use exc_info[0] which is the type of exception, not the exception itself. This would result in the `message` attribute always being 'type' and the first-line of details being useless. The solution is to pass the actual exception object so that `message` becomes the class-name and the first-line of details becomes the `repr` of the exception object. Fixes bug 1100559 Change-Id: Ibaeb5dc5af419de6c98b44aec07bff225b2f9956
* | | | | | | | | | | | | | | | | | | | Merge "Expose a get_spice_console RPC API method"Jenkins2013-01-1720-2/+353
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | Expose a get_spice_console RPC API methodDaniel P. Berrange2013-01-1620-2/+353
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To mirror the existing get_vnc_console RPC API method, expose a new get_spice_console RPC API method. The only console type supported currently is 'spice-html5' which is equivalent to 'novnc' Blueprint: libvirt-spice Change-Id: Iab9d3dfc3564a122a8cd2b53d34fdcc725bfa29b Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* | | | | | | | | | | | | | | | | | | | | Merge "Add a get_spice_console method to nova.virt.ComputeDriver API"Jenkins2013-01-174-0/+40
|\| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Add a get_spice_console method to nova.virt.ComputeDriver APIDaniel P. Berrange2013-01-164-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To mirror the existing get_vnc_console method, add a new get_spice_console method to nova.virt.ComputeDriver API. No attempt is made to wire this up to the RPC API, since at this time there is no equivalent of novnc or xvpvncproxy to use with SPICE. Blueprint: libvirt-spice Change-Id: I4cf12074b240d6882e46a81783cf20a3d97d4b2a Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* | | | | | | | | | | | | | | | | | | | | Merge "Add nova-spicehtml5proxy helper"Jenkins2013-01-174-0/+144
|\| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Add nova-spicehtml5proxy helperDaniel P. Berrange2013-01-164-0/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add nova-spicehtml5proxy which provides a websockets proxy, equivalent to nova-novncproxy Blueprint: libvirt-spice Change-Id: I48be78c97bb7dd6635fd4bba476ef22701418ba1 Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* | | | | | | | | | | | | | | | | | | | | Merge "Pull NovaWebSocketProxy class out of nova-novncproxy binary"Jenkins2013-01-173-81/+105
|\| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Pull NovaWebSocketProxy class out of nova-novncproxy binaryDaniel P. Berrange2013-01-163-81/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To allow sharing of proxy code between nova-novncproxy and nova-spicehtml5proxy, pull the NovaWebSocketProxy class out of nova-novncproxy into a new nova/console/websocketproxy.py file Adds previously missing websockify dep to pip-requires. Blueprint: libvirt-spice Change-Id: If1334256680e7075598f00ce153cf6f021cc720f Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* | | | | | | | | | | | | | | | | | | | | Merge "Fix fallback when Quantum doesn't provide a 'vif_type'"Jenkins2013-01-171-15/+39
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Fix fallback when Quantum doesn't provide a 'vif_type'Daniel P. Berrange2013-01-161-15/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 4babf7d7e12f35c137148727842f7af28312e858 Author: Daniel P. Berrange <berrange@redhat.com> Date: Fri Jan 4 12:22:20 2013 +0000 Make Quantum plugin fill in the 'bridge' name We changed libvirt VIF driver to pull 'bridge' out of the VIF model. This only worked for new Quantum drivers that provide the 'vif_type' portbinding metadata though. This patch effectively reverts part of that patch, so we have a combination of the new & old method for determining bridge names. The libvirt VIF driver will look at the network['bridge'] field first, and if missing will fallback to its previous logic which hardcoded bridge names. Bug: 1100199 Change-Id: I5fd66b0303159c42bd227e97ddab381b2b67670c Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* | | | | | | | | | | | | | | | | | | | | Merge "use postgresql INET datatype for storing IPs"Jenkins2013-01-174-36/+238
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | use postgresql INET datatype for storing IPsIonuț Arțăriși2013-01-144-36/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9a61ffbececc6534b1a9c52e1fa29370db0e12ca
* | | | | | | | | | | | | | | | | | | | | Merge "enables admin to view instance fault "details""Jenkins2013-01-172-4/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | enables admin to view instance fault "details"Melanie Witt2013-01-142-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia29d265f9f73c2a6dcf36decc635383cc94bec35 Fixes: bug #1096278
* | | | | | | | | | | | | | | | | | | | | Merge "Make resource tracker use conductor for listing instances"Jenkins2013-01-165-12/+50
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | Make resource tracker use conductor for listing instancesDan Smith2013-01-165-12/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch extends the conductor manager's get_all_by_host() method to take an optional node parameter, which will cause the additional filtering, if present. It also makes resource tracker use the conductor for getting instances on the current host/node. Related to blueprint no-db-compute Change-Id: I407757d356b4162f32da29924175175a40f88f13
* | | | | | | | | | | | | | | | | | | | | | Merge "Make resource tracker use conductor for listing compute nodes"Jenkins2013-01-161-1/+2
|\| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | Make resource tracker use conductor for listing compute nodesDan Smith2013-01-161-1/+2
| | |_|/ / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the resource tracker use the existing conductor method of service_get_all_compute_by_host() instead of querying the database directly. Related to blueprint no-db-compute Change-Id: Iee19eeaa8651e4df0abb974f3f3ddeafd9d23409
* | | | | | | | | | | | | | | | | | | | | Merge "Use testrepository setuptools support."Jenkins2013-01-163-11/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Use testrepository setuptools support.Monty Taylor2013-01-143-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous false-positive bug was fixed upstream in 0.0.13. Change-Id: Iceb07a511992249c104bbc7c34b7c35e01bd9fbd
* | | | | | | | | | | | | | | | | | | | | Merge "Move migration_get_..._by_host_and_node to conductor"Jenkins2013-01-166-2/+38
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Move migration_get_..._by_host_and_node to conductorDan Smith2013-01-156-2/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves the remaining migration-related database call out of the resource tracker to conductor: migration_get_in_progress_by_host_and_node() Related to blueprint no-db-compute Change-Id: I9bdf9fbbc3131964bf6078d19bf1cd9053a7e224
* | | | | | | | | | | | | | | | | | | | | Merge "Add support for configuring SPICE graphics with libvirt"Jenkins2013-01-162-6/+181
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Add support for configuring SPICE graphics with libvirtDaniel P. Berrange2013-01-162-6/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support to the libvirt driver to configure SPICE graphics and the SPICE guest agent. It allows for enablement of both VNC and SPICE at the same time, since some recent libvirt/KVM versions support this concurrent mode. The USB tablet will now only be enabled if VNC is requested, or SPICE is requested without the agent Blueprint: libvirt-spice Change-Id: Ic7fbfd636455aba5bf881b6a1925fd4561edfd15 Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* | | | | | | | | | | | | | | | | | | | | Merge "Updates prerequisite packages for fedora"Jenkins2013-01-161-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | Updates prerequisite packages for fedoraSunil Thaha2013-01-171-1/+1
| | |_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds gcc, libxslt-devel (has dependency on libxml2-devel) and mysql-devel to the list of prerequisites Change-Id: I9c27868b30ef17d73adf8ad2e72b3d0e76fe76d1
* | | | | | | | | | | | | | | | | | | | | Merge "Add support for setting up <channel> elements in libvirt config"Jenkins2013-01-162-4/+60
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Add support for setting up <channel> elements in libvirt configDaniel P. Berrange2013-01-162-4/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To enable use of guest agents, support for configuring the <channel> elements in libvirt XML config is required Blueprint: libvirt-spice Change-Id: I3cea7b326bb2f746c5804d0aa3bbe369da6935e8 Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* | | | | | | | | | | | | | | | | | | | | Merge "Add common config options for SPICE graphics"Jenkins2013-01-162-1/+76
|\| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Add common config options for SPICE graphicsDaniel P. Berrange2013-01-162-1/+76
| |/ / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The VNC config options are shared across hypervisor drivers, and while SPICE originally only supported KVM, it is now possible to use it with Xen too. Thus, adding common SPICE config options makes more sense than adding them to the libvirt driver only DocImpact Blueprint: libvirt-spice Change-Id: I8e817530908c6fee0781b92dc9e27010951b4540 Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* | | | | | | | | | | | | | | | | | | | Merge "enable hacking.py self tests"Jenkins2013-01-163-62/+137
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | |