summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | Fix hacking.py failures...Chris Behrens2012-06-252-2/+1
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | test_xenapi hacking fix and volume_utils unneeded import Change-Id: I503cf0780850aba90d7ba8665d83bff08fb2504a
* | | | | | Merge "Make tgtadm the default iscsi user-land helper."Jenkins2012-06-252-4/+4
|\ \ \ \ \ \
| * | | | | | Make tgtadm the default iscsi user-land helper.Chuck Short2012-06-222-4/+4
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most modern Linux distrobutions have tgtadm as their default iscsi user-land helper. This includes Ubuntu, Fedora, RHEL, SuSe, and others. Make it default for nova as well. No change is required for devstack since its the default as well. Change-Id: I3f5204f08bfd9ef41eda2df7aa6bb35559516213 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* | | | | | Merge "Set libvirt_nonblocking to true by default for Folsom."Jenkins2012-06-253-2/+8
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Set libvirt_nonblocking to true by default for Folsom.Yun Mao2012-06-203-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the fake libvirt module look more like the real module. Change-Id: Ie03f24c6e5c3027d83d8f3d87d049f7f9df29e5b
* | | | | | Merge "Call libvirt_volume_driver with right mountpoint"Jenkins2012-06-252-7/+25
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | Call libvirt_volume_driver with right mountpointVishvananda Ishaya2012-06-212-7/+25
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes bug 1013782 * includes failing test * fixes tests for live migration Change-Id: I8f95c6baa7aad878af19d5d8b8b34531a4a43885
* | | | | Merge "vm state and task state management"Jenkins2012-06-2519-202/+420
|\ \ \ \ \
| * | | | | vm state and task state managementYun Mao2012-06-2120-205/+423
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | partially implements bp task-management fixes bug 997867 also see http://wiki.openstack.org/VMState Refactored the following API/state: * rebuild * migrate * resize * start * stop * delete * soft delete * rework sync_power_state in compute/manager. fix broken tests, add transition diagram in dot Change-Id: I3c5a97508a6dad7175fba12828bd3fa6ef1e50ee
* | | | | | Merge "Fix import order of openstack.common"Jenkins2012-06-252-2/+2
|\ \ \ \ \ \
| * | | | | | Fix import order of openstack.commonJoe Gordon2012-06-222-2/+2
| | |/ / / / | |/| | | | | | | | | | | | | | | | Change-Id: Id80026ad9eb78c6d9a6bcae33e26ac8a4fdd6680
* | | | | | Merge "Fixes ram_allocation_ratio based over subscription"Jenkins2012-06-254-4/+23
|\ \ \ \ \ \
| * | | | | | Fixes ram_allocation_ratio based over subscriptionJoe Gordon2012-06-214-4/+23
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for bug 1016273 Change-Id: I7f7b227e71e93b4bcded150791fb0b9e9df98e4c
* | | | | | Merge "XenAPI: Fixes Bug 1012878"Jenkins2012-06-251-3/+0
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | XenAPI: Fixes Bug 1012878Renuka Apte2012-06-211-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Launching an instance when the image is not cached fails since https://review.openstack.org/#/c/7971/, because the change tries to set the nova_disk_type key in _create_cached_image, but that is already set in create_vdi Change-Id: I5eeb1558acf894cc7cd2eea5fd0fb1cdd673b83c
* | | | | | Remove unknown shutdown kwarg in call to vmops._destroyJohannes Erdfelt2012-06-251-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1017562 Also, _destroy will now intelligently shutdown the VM first, so need to do that in vm_vdi_cleaner.py anymore Change-Id: I8c1e3aa8ecb98ed3c19ab4b8fa072b7fa8e5618f
* | | | | | Merge "Refactor vm_vdi_cleaner.py connection use"Jenkins2012-06-251-40/+44
|\ \ \ \ \ \
| * | | | | | Refactor vm_vdi_cleaner.py connection useChris Behrens2012-06-241-40/+44
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cleanup_instance() would fail because of using old get_connection(). This refactors everything to use XenAPIDriver(). Fixes bug 1017282 Change-Id: I8822f322bb8f60e5992afbe1feb45c0f4fffc893
* | | | | | Merge "Move rootwrap filters definition to config files"Jenkins2012-06-2511-411/+387
|\ \ \ \ \ \
| * | | | | | Move rootwrap filters definition to config filesThierry Carrez2012-06-2211-411/+387
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move rootwrap filters definition from being defined within Nova code to being defined in configuration files to facilitate pluging-in new rootwrap commands. Transition notes: * nova-rootwrap now requires an additional (first) parameter pointing to the root-owned rootwrap.conf file, sudoers needs to be updated to specify that ("nova-rootwrap /etc/nova/rootwrap.conf *") * Packagers should ship {compute,network,volume}.filters inside a directory listed in rootwrap.conf rather than shipping nova/rootwrap/{compute,network,volume}.py * Filter definitions now only support strings. The KillFilter (which was using arrays as parameters) was modified and the tests updated. Implements bp nova-rootwrap-pluggable-filters Corresponding devstack change needs to land first, so that tests pass: https://review.openstack.org/8842 Change-Id: I2350154cd8057bd57926ed542de035626f7de37d
* / / / / / Remove direct access to glance clientBrian Waldon2012-06-2310-133/+137
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All internal clients of Glance should be using GlanceImageService. This refactors the code in the xen and vmware virt drivers that were directly instantiating a glance.client object Related to bp integrate-python-glanceclient Change-Id: I354254060e400d9c1dfd6d041b071e3960a9ece6
* | | | | Merge "update refresh_cache on compute calls to get_instance_nw_info"Jenkins2012-06-211-10/+20
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | update refresh_cache on compute calls to get_instance_nw_infoTrey Morris2012-06-211-10/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | addendum to commit 82599c77346bbefd550ea4ee6c0b13a3df4950af allows calls to get_instance_nw_info to update the cache without worry of infinite recursion refresh_cache decorator ungracefully fails if instance isn't somehow in the function args. This is so tests will fail to prevent it from being incorrectly used. Change-Id: If8c7c53db1c7d0d1f7c1d042b5a79bad5b7f45b6
* | | | | Merge "Admin action to reset states."Jenkins2012-06-214-0/+94
|\ \ \ \ \
| * | | | | Admin action to reset states.Kevin L. Mitchell2012-06-204-0/+94
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds an Admin API action to reset the state of an instance. This will at least allow easy clean-up from bugs which corrupt the state of an instance and inhibit the owner of the instance from deleting it. Change-Id: Ia059cbd643e24e04dede06da330f444d03b07674
* | | | | Merge "Minor HACKING.rst exception fix"Jenkins2012-06-212-2/+4
|\ \ \ \ \
| * | | | | Minor HACKING.rst exception fixJoe Gordon2012-06-202-2/+4
| |/ / / / | | | | | | | | | | | | | | | Change-Id: If7f7d57dd6c3d426ed6b29dc658a3ab964329644
* | | | | Merge "Propose nova-novncproxy back into nove core."Jenkins2012-06-211-0/+157
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Propose nova-novncproxy back into nove core.Anthony Young2012-06-191-0/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use https://github.com/kanaka/websockify instead of wsproxy (which ships with noVNC) * Fixes bug 1001098 * Looks for noVNC html files in /usr/share/novnc by default * Fix comments, and call utils.default_cfgfile() * use "except Exception" Change-Id: I73dfe26fde699bb79aa1145bb1ab33f3a148bf21
* | | | | Merge "Make libvirt LoopingCalls actually wait()"Jenkins2012-06-213-17/+73
|\ \ \ \ \
| * | | | | Make libvirt LoopingCalls actually wait()Vishvananda Ishaya2012-06-203-17/+73
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adds wait() to all the LoopingCall timers * Fixes loopingCalls in baremetal/proxy.py as well * Includes failing test to verify result from destroy * Fixes tests depending on improper behavior * Fixes bug 1015355 Change-Id: I9e1914c446170e49f0aab76c7745b55d12132425
* | | | | Merge "Update pylint/pep8 issues jenkins job link"Jenkins2012-06-212-1/+2
|\ \ \ \ \
| * | | | | Update pylint/pep8 issues jenkins job linkSascha Peilicke2012-06-212-1/+2
| | |_|_|/ | |/| | | | | | | | | | | | | Change-Id: Ibf5ac4b29d668d0d0f15e980361b0bd71d0bc050
* | | | | Merge "Spelling fixes"Jenkins2012-06-211-8/+8
|\ \ \ \ \
| * | | | | Spelling fixesJoe Gordon2012-06-191-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id8e49b75821a1272a05ddb6c2cb8ee47ec15afdc
* | | | | | Merge "Add instance_id in Usage API response."Jenkins2012-06-213-5/+18
|\ \ \ \ \ \
| * | | | | | Add instance_id in Usage API response.Lin Hua Cheng2012-06-203-5/+18
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1003093. Required to fix horizon bug 1003299. Add the instance_id in the server usage response. The value of the id is the UUID of the instance. Change-Id: I77e0f64db456b4c80a03fa922dd18146b94d1187
* | | | | | Merge "Fix bug 1010581"Jenkins2012-06-212-5/+5
|\ \ \ \ \ \
| * | | | | | Fix bug 1010581Yun Mao2012-06-202-5/+5
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set shutdown_terminate to False by default. Fix related tests. Change-Id: I194ea7f01e375a93ff73ee1560589f0eadc1b965
* | | | | | Merge "Tidy up exception handling in contrib api consoles"Jenkins2012-06-213-18/+27
|\ \ \ \ \ \
| * | | | | | Tidy up exception handling in contrib api consolesMartin Packman2012-06-213-18/+27
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes redundant exception handling from VNC consoles extension api module. Both NotAuthorized and Invalid subclasses are already handled at the wsgi application layer. Also gives a better message, including the id, when an instance is not found. Includes tweaks suggested by Vish in review. Change-Id: Iefa4deeb46e4a12d012e7abe3c73d7d9c18afeff
* / | | | | Addtional CommandFilters to fix rootwrap on SLESRalf Haferkamp2012-06-213-0/+13
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1013147 (for SLES) Change-Id: Ib362c913b809f7601a9a4faedede89b22794dfb7
* / / / / xenapi tests: changes size='0' to size=0Renuka Apte2012-06-201-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | This could potentially cause a memory leak. Change-Id: I46f0bc34598a9927767820b3616ced3b527a259f
* / / / fixes a bug in xenapi tests where a string should be intTrey Morris2012-06-201-1/+1
|/ / / | | | | | | | | | Change-Id: I202fa5b20c78c02d1072bdae774d9f19e4044fe6
* | | Merge "add nova-manage bash completion script"Jenkins2012-06-203-0/+50
|\ \ \
| * | | add nova-manage bash completion scriptDominik Heidler2012-06-203-0/+50
| | | | | | | | | | | | | | | | Change-Id: I856349fb0b31f32ec4570c74ebceb3563fa22547
* | | | Merge "Fix bug 1014925: fix os-hosts"Jenkins2012-06-202-9/+14
|\ \ \ \
| * | | | Fix bug 1014925: fix os-hostsJoe Gordon2012-06-192-9/+14
| | |/ / | |/| | | | | | | | | | | | | | | | | | List all hosts API. Change-Id: I95231ac98223c7b8cc07e867283da8c8d90fed38
* | | | Use rpc from openstack-common.Russell Bryant2012-06-2066-1867/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Final patch for blueprint common-rpc. This patch removes nova.rpc in favor of the copy in openstack-common. Change-Id: I9c2f6bdbe8cd0c44417f75284131dbf3c126d1dd
* | | | Merge "Add instance details to notifications"Jenkins2012-06-201-2/+31
|\ \ \ \ | |_|/ / |/| | |