summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | | | | Introduce a VFS implementation mapped to the host filesystemDaniel P. Berrange2012-11-212-0/+514
|/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements the VFS APIs by using the nova.virt.disk.mount.Mount APIs to map the virtual disk image into the host filesystem. This only uses the loop/qemu-nbd mount implementations, since there will be a dedicated libguestfs VFS API avoiding the need for the guestfs mount impl blueprint: virt-disk-api-refactoring Change-Id: Ifeb04770d55a3d1627db807322d57c0bedfc59cb Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* | | | | | | | | | | | | | Merge "Rename sql_pool_size to sql_max_pool_size"Jenkins2012-11-212-8/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Rename sql_pool_size to sql_max_pool_sizeChris Behrens2012-11-202-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A recent patch adds a sql_pool_size config option. This renames it to sql_max_pool_size and sets a default that equals SQLAlchemy's default (5). eventlet's db_pool allows setting a minimum size, so this is to prep for adding a sql_min_pool_size option. Should remove some confusion. No need to support sql_pool_size for backwards compatibility as it was to be a new option in Grizzly, anyway. Also fixes the previous patch to not set pool options if using StaticPool or NullPool. DocImpact Change-Id: Ic41d138a1ee4cdaf785e45091bd5668045153b90
* | | | | | | | | | | | | | | Merge "Return an error response if the specified flavor does not exists. (v4)"Jenkins2012-11-213-8/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Return an error response if the specified flavor does not exists. (v4)Ken'ichi Ohmichi2012-11-203-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'nova list --flavor <id>' command outputs empty list, if there is not any instance or flavor. A user cannot know the reason of empty list easily. This patch changes a response to error if the specified flavor-id does not exist instead of empty list. Example: $ nova flavor-list +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+ | ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | extra_specs | +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+ | 1 | m1.tiny | 512 | 0 | 0 | | 1 | 1.0 | True | {} | | 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True | {} | | 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True | {} | | 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True | {} | | 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True | {} | +----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+ Before applying this patch: $ nova list --flavor 10 $ After applying this patch: $ nova list --flavor 10 ERROR: Flavor could not be found (HTTP 422) (Request-ID: req-003d4bbc-f338-4361-9eeb-1cf18073a5a8) $ Changelog of v4: * Change a response code of NotFoundFlavor from 404 to 422. Changelog of v3: * Merge patchset2(change a response of test_get_all_by_flavor) into one patch. * Change a response code of NotFoundFlavor from 400 to 404. Fixes bug 1076863 Change-Id: I45f35ae6a4bf1de734c258ef819fb9b4d7f9681e
* | | | | | | | | | | | | | | Merge "Imported Translations from Transifex"OpenStack Jenkins2012-11-211-959/+950
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Imported Translations from TransifexOpenStack Jenkins2012-11-211-959/+950
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib37e2f619ef29c33f7cd5702da1b98577573ad51
* | | | | | | | | | | | | | | | Merge "Make ec2_instance_create db method consistant across db apis"Jenkins2012-11-212-3/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Make ec2_instance_create db method consistant across db apisSam Morrison2012-11-162-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1079463 Also changes call to ec2_instance_create in sqlalchemy instance_create method to go through db api as opposed to direct to sqlalchemy api. Change-Id: I60136a2c7019bda25225d8e02e82a9ccfbb61e2f
* | | | | | | | | | | | | | | | Merge "Detect shared storage; handle base cleanup better."Jenkins2012-11-216-33/+114
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | Detect shared storage; handle base cleanup better.Michael Still2012-11-216-33/+114
| | |_|_|_|_|_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If base image storage is shared, we need to care about remote instances when we clean up. This patch "learns" which storage is shared, and then decides what base images are in use anywhere on the set of compute nodes which share that base storage. This is complicated because shared instance storage doesn't have to be per-cluster. It could for example be per rack. We need to handle that properly. This should resolve bug 1078594. Change-Id: I36d0d6e965b114bb68c8f7b7fd43f8e96b2dd8f5
* | | | | | | | | | | | | | | | Merge "Fix non-primitive uses of instance in compute/manager"Jenkins2012-11-212-18/+18
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Fix non-primitive uses of instance in compute/managerDan Smith2012-11-202-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can't rely on the fact that instances are db/sqlalchemy/models objects. This properly addresses them as dicts. Change-Id: I7c4c01fc617c6f7e1fd2dfa428efe0b4205557bc
* | | | | | | | | | | | | | | | Merge "Fix os-hosts extension can't return xml response correctly."Jenkins2012-11-2011-11/+199
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / / / / |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Fix os-hosts extension can't return xml response correctly.Yaguang Tang2012-11-1911-11/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add os-hosts integrated testing template files. fix bug 1075575 fix bug 1070167. DocImpact Change-Id: I6b9f9e58e7cbe10a931d2c83d9baf9dcee74de08
* | | | | | | | | | | | | | | | Merge "Send block device mappings to rebuild_instance."Jenkins2012-11-205-13/+23
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Send block device mappings to rebuild_instance.Russell Bryant2012-11-195-13/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Send the block device mappings for an instance to the rebuild_instance method in the compute manager. This moves a db read from nova-compute up to the api service. Part of blueprint no-db-compute. Change-Id: I15967652cfa539fab3b55c224e8ebbc12363004a
* | | | | | | | | | | | | | | | Merge "refactor: extract method: connect_volume"Jenkins2012-11-204-4/+50
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | refactor: extract method: connect_volumeMate Lakat2012-11-204-4/+50
| | |_|_|_|_|_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to blueprint xenapi-volume-drivers Extract connect_volume call from attach_volume, and a test for attach_volume. By extracting this call, it will be easier to implement other drivers, by providing an alternate implementation for this extracted method. Change-Id: Ie5a17ec7fada26a9df5ba8a29ed0dadeb02516e8
* | | | | | | | | | | | | | | | Merge "Convert migrations.instance_uuid to String(36)."Jenkins2012-11-202-1/+34
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / / / / / / / | |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Convert migrations.instance_uuid to String(36).Dan Prince2012-11-202-1/+34
| |/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates the length of the instance_uuid column in the migrations to match the length of UUID's in Nova. Fixes LP Bug #1080854. Change-Id: I213c48835f9efa4a9a84932c343c1079c5cc65ca
* | | | | | | | | | | | | | | Merge "Remove extra space in exception"Jenkins2012-11-201-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Remove extra space in exceptionChris Behrens2012-11-201-1/+1
| | |_|_|_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Invalid console type exception has an extra space at the end of the message. Change-Id: Ie410ecce487a56c6a88f6e236bfacc28ac693595
* | | | | | | | | | | | | | | Merge "Handle image cache hashing on shared storage."Jenkins2012-11-203-85/+145
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Handle image cache hashing on shared storage.Michael Still2012-11-143-85/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolves bug 1075018. Change-Id: Iddb092468fae1e7af18134bc433708410d15184d
* | | | | | | | | | | | | | | Merge "Add nova option osapi_compute_unique_server_name_scope"Jenkins2012-11-204-5/+134
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Add nova option osapi_compute_unique_server_name_scopeandrewbogott2012-11-104-5/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting this option forces nova-api to check for duplicate server names either in the project or system-wide. The default behavior remains the same: duplicate names are allowed. DocImpact: Adds a new Nova config option Change-Id: I28baf8c63f9c62f457bfff0a2fb510f0c517a351
* | | | | | | | | | | | | | | | Merge "Pin pep8 to 1.3.3"Jenkins2012-11-203-5/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Pin pep8 to 1.3.3Chuck Short2012-11-193-5/+5
| | |_|/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apart of making pep8 version standard across all openstack projects. With this change we ignore E712 since it is normal to use "column == True" in sqlalchemy. Change-Id: I73a162847a79558cb158112878033edf18039805 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* | | | | | | | | | | | | | | Merge "Add missing binary"Jenkins2012-11-201-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Add missing binaryChuck Short2012-11-201-0/+1
| |/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add bin/nova-conductor to setup.py. Change-Id: Iaa6d8625c4db0a15bb0e04e4499f2bfa2931c145 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* / / / / / / / / / / / / / / Fixes a bug in get_info in the Hyper-V DriverAlessandro Pilotti2012-11-202-3/+3
|/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes Bug #1081070 When a VM is getting manually shut down on Hyper-V or in case of a host reboot, "nova list" still reports the VM as ACTIVE after nova.compute.manager_sync_power_states runs. The bug is releated to the vm state being incorrectly returned as a string. Change-Id: I87957d2fa504bad110fb4d1d8b209a45cad11c2c
* | | | | | | | | | | | | | Merge "Move db lookup for block device mappings."Jenkins2012-11-202-8/+12
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / / / | |/| | | | | | | | | | | |
| * | | | | | | | | | | | | Move db lookup for block device mappings.Russell Bryant2012-11-192-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch moves the db blookup for block device mappings for an instance out of the _setup_block_device_mapping() function in the compute manager. The db lookups are now done much closer to the rpc entry-points to the compute manager. There are two rpc methods that eventually call down into this function: run_instance and rebuild_instance. This bit of refactoring will make it a bit easier to update these methods to take in the block device mappings over rpc. Part of blueprint no-db-messaging. Change-Id: Id7d061e10ddc9e0d081e0ee97331631796b47729
* | | | | | | | | | | | | | Merge "Migrate floating ip addresses in multi_host live_migration"Jenkins2012-11-202-36/+45
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Migrate floating ip addresses in multi_host live_migrationJian Wen2012-11-142-36/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make migration of floating ip addresses work and work only in multi_host mode. Add test case for post_live_migration_at_destination. Fixes bug 966529 and bug 1029291 Change-Id: Ia79030e5bcfc55e5a33b20a3d6eead01fa5b255a
* | | | | | | | | | | | | | | Merge "Use CONF.import_opt() for nova.config opts"Jenkins2012-11-20109-103/+201
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Use CONF.import_opt() for nova.config optsMark McLoughlin2012-11-20109-103/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The only reason for importing nova.config now is where one of the options defined in that file is needed. Rather than importing nova.config using an import statement, use CONF.import_opt() so that it is clear which option we actually require. In future, we will move many options out of nova.config so many of these import_opt() calls will either go away or cause a module other than nova.config to be imported. Change-Id: I0646efddecdf2530903afd50c1f4364cb1d5dce1
* | | | | | | | | | | | | | | | Merge "Remove nova.config.CONF"Jenkins2012-11-20251-343/+323
|\| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Remove nova.config.CONFMark McLoughlin2012-11-20251-343/+323
| | |_|_|_|_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules import nova.config for two reasons right now - firstly, to reference nova.config.CONF and, secondly, if they use one of the options defined in nova.config. Often modules import nova.openstack.common.cfg and nova.config which is a bit pointless since they could just use cfg.CONF if they just want to nova.config in order to reference CONF. Let's just use cfg.CONF everywhere and we can explicitly state where we actually require options defined in nova.config. Change-Id: Ie4184a74e3e78c99658becb18dce1c2087e450bb
* | | | | | | | | | | | | | | Merge "Imported Translations from Transifex"OpenStack Jenkins2012-11-201-1166/+866
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Imported Translations from TransifexOpenStack Jenkins2012-11-201-1166/+866
| |/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I691d53b858fca0af6cf75a480b1b1b6fc498e7ee
* | | | | | | | | | | | | | | Merge "'BackupCreate' rotation parameter >= 0"Jenkins2012-11-203-8/+47
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | 'BackupCreate' rotation parameter >= 0Édouard Thuleau2012-11-073-8/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the extension 'admin-actions' of OpenStack Compute API, the action create backups should only accept rotation parameter greater than or equal to zero. If the 'rotation' parameter is negative, OS API returns a badRequest 400 HTTP error. Fixes LP bug #1071168 Change-Id: I6ef08fbecb0f88942cdb16193e9d2c3831866fe9
* | | | | | | | | | | | | | | | Merge "Restore self.test_instance at LibvirtConnTestCase.setUp()"Jenkins2012-11-201-12/+12
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | Restore self.test_instance at LibvirtConnTestCase.setUp()Arata Notsu2012-11-131-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And correct a test, which used to pass wrongly. Change-Id: Ia0ffe96b44eaea39fa0957efcc31303c1d9fcb18
* | | | | | | | | | | | | | | | | Merge "Enhance compute capability filter to check multi-level"Jenkins2012-11-203-18/+57
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | Enhance compute capability filter to check multi-levelYunhong, Jiang2012-11-143-18/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Host state capabilities include multi-level information, like cpu features are presented in capabilities:cpu_info:features, cpu core number in capabilities:cpu_info:topology:cores. Multi-level capability check maybe helpful in some situation, like user want to make sure host support SSE3 instructions or AES-NI, or user want to make sure the host has >4 cores for SMP instance. Current capability filter does not support these requirements. To support multi-level check, also add scope to capability filter, so, now capability filter will handle no-scope extra_specs, or scope-format as "capabilities:xxx:xxx" etc. Related to bp hw-feature-to-vm Change-Id: Id714f99b4babbdb328b8e47f5a270be517b528d2 Signed-off-by: Yunhong, Jiang <yunhong.jiang@intel.com>
* | | | | | | | | | | | | | | | | | Merge "Introduce a VFS api abstraction for manipulating disk images"Jenkins2012-11-202-0/+126
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Introduce a VFS api abstraction for manipulating disk imagesDaniel P. Berrange2012-11-152-0/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the file injection code has the assumumption that the guest disk image can be mounted on the host filesystem, which limits the techniques which can be used. Introducing a VFS API abstraction allows the file injection code to be de-coupled from the host filesystem. blueprint: virt-disk-api-refactoring Change-Id: I107c018586fd9b6fc2c7d497b7a437ac24f11944 Signed-off-by: Daniel P. Berrange <berrange@redhat.com>