summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | | | Merge "fix N402 for nova/db"Jenkins2013-01-104-63/+63
|\| | | | | | | | | | | | | | |_|_|/ / / / / / / / / / |/| | | | | | | | | | | |
| * | | | | | | | | | | | fix N402 for nova/dbSean Dague2013-01-094-63/+63
| | |_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes N402 (single line docstring must end in a period) for nova/db Change-Id: I31779cbf83fa77c7cc382cce1667812f8cdecd61
* | | | | | | | | | | | Merge "Cope better with out of sync bm data."Jenkins2013-01-101-5/+13
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Cope better with out of sync bm data.Robert Collins2013-01-091-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The baremetal hypervisor tracks references to instances which are deleted asynchronously from the commit to the nova bm. As such, its a normal but rare condition for a bare metal node to refer to a deleted (and even garbage collected) nova instance. We should treat such instances are deleted rather than erroring on any call through list_instances(), permitting starting new instances and listing instances to work - fixing bug: 1096722. Pathologically, the database may suffer permanent skew, which means we need a way to fix it (and thats tracked as a separate bug). Change-Id: Ic21ff66b1fc0ad64bb5feff26291873b96d20e4e
* | | | | | | | | | | | Merge "Adds a new tenant-centric network extension"Jenkins2013-01-0932-56/+388
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Adds a new tenant-centric network extensionMatt Dietz2013-01-0832-56/+388
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements: blueprint tenant-networks Adds a new API extension that supports a more tenant-centric model for interacting with isolated networks. Additionally, the patch renames the existing networks extension as os-admin-networks to more fully fit the self-described implementation. Two new novaclient extensions and a novaclient change accompany this patch. DocImpact Change-Id: Ib90a65c0a92445f86e930fab88ab4495aefff7c7
* | | | | | | | | | | Merge "fix N402 for nova/network"Jenkins2013-01-099-67/+67
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | fix N402 for nova/networkSean Dague2013-01-099-67/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes N402 (single line docstring should end in a period) for nova/network. Change-Id: I2a24a2fef78cbafd3113b86515ac8fd92cc47e80
* | | | | | | | | | | | Merge "fix N402 for nova/scheduler"Jenkins2013-01-0912-16/+16
|\| | | | | | | | | | |
| * | | | | | | | | | | fix N402 for nova/schedulerSean Dague2013-01-0912-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes N402 (single line docstrings should end in period) for nova/scheduler files. Change-Id: I8e7b6a93df53fcd5c9491f533cadd093f4b802e0
* | | | | | | | | | | | Merge "fix N402 for nova/tests"Jenkins2013-01-0973-553/+541
|\| | | | | | | | | | |
| * | | | | | | | | | | fix N402 for nova/testsSean Dague2013-01-0973-553/+541
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | convert docstrings on test_ functions to comments to prevent the function name from being masked by test infrastructure convert the rest of the docstrings to end in punctuation as per N401 Change-Id: Ib400537c6f7feb30739207a627b5aac3a7eb165a
* | | | | | | | | | | | Merge "Fix N402 for nova/virt"Jenkins2013-01-0937-194/+194
|\| | | | | | | | | | |
| * | | | | | | | | | | Fix N402 for nova/virtSean Dague2013-01-0837-194/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix N402 errors (single line docstring should end in a period) for nova/virt, part of a larger attempt to stop ignoring our own hacking.py tests. Change-Id: I523ce41bd2b38c73cf3fdb031101ccc0695f2488
* | | | | | | | | | | | Merge "Sync log from oslo-incubator"Jenkins2013-01-091-12/+28
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Sync log from oslo-incubatorJoe Gordon2013-01-081-12/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I292789214d74d00c33d5111625b452bb1b339c4f
* | | | | | | | | | | | | Merge "Move vpn_image_id to pipelib"Jenkins2013-01-098-25/+35
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Move vpn_image_id to pipelibMark McLoughlin2013-01-098-25/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apart from checking whether a given image is the cloudpipe image, the vpn_image_id option is only used within pipelib itself. Add a is_vpn_image() helper method and move the option into pipelib. Some rejiggering of how pipelib imports ec2 opts is required to avoid circular imports. blueprint: scope-config-opts Change-Id: Ie984b2bb81681c24d3cee803082960083992a535
* | | | | | | | | | | | | | Merge "Move enabled_apis option into nova.service"Jenkins2013-01-094-5/+5
|\| | | | | | | | | | | | |
| * | | | | | | | | | | | | Move enabled_apis option into nova.serviceMark McLoughlin2013-01-094-5/+5
| | |_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The enabled_apis option is only used in nova-api and nova-all but there's no more obvious place to put it than nova.service. At least this location is consistent, since we quite have a number of other options related to the APIs in nova.service. blueprint: scope-config-opts Change-Id: I86e200fa5ad91ac0b7ab6837cc61e5927b2ebeb7
* | | | | | | | | | | | | Merge "Adds option to rebuild instance with existing disk"Jenkins2013-01-097-10/+337
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Adds option to rebuild instance with existing diskKravchenko Pavel2013-01-097-10/+337
| |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evacuation of VM from a failed host for HA. New api supports recreate/rebuild modes. With shared storage, VM is recreated on the specified target from existing disk. Otherwise, rebuild from original image is performed. * new recreate, target host and on_shared_storage in rpcapi.rebuild * change in manager.rebuild to rebuild instance using existing disk part of blueprint rebuild-for-ha DocImpact Change-Id: I4d119eafc30da2779ad252259f88118ed0038cd1 Co-authored-by: Oshrit Feder <oshritf@il.ibm.com>
* | | | | | | | | | | | | Merge "Fixed typos in doc strings."Jenkins2013-01-092-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Fixed typos in doc strings.Kurt Taylor2013-01-092-2/+2
| | |_|_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ibf4bf4ce882077c89d8bb91f93572af7b6cc5da2
* | | | | | | | | | | | | Merge "New instance_actions and events table, model, and api"Jenkins2013-01-0910-1/+558
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | |
| * | | | | | | | | | | | New instance_actions and events table, model, and apiAndrew Laski2013-01-0810-1/+558
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tables will be a place to record actions taken on an instance, and related underlying events. This will provide a log of what has taken place which can aid in debugging or just satisfy curiosity. It will also hold error information in the event that something exceptional occurs during the action. This is setting up the ability to report error information without needing to set the VM to an ERROR state. Blueprint instance-actions Change-Id: I1f793abf0e4df0e4977850127fc41b4750ba2f4f
* | | | | | | | | | | | | Merge "Fix N402 for nova/api"Jenkins2013-01-0963-218/+218
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / |/| | | / / / / / / / / / | | |_|/ / / / / / / / / | |/| | | | | | | | | |
| * | | | | | | | | | | Fix N402 for nova/apiSean Dague2013-01-0863-218/+218
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix N402 errors (single line docstring should end in a period) for nova/api, part of a larger attempt to stop ignoring our own hacking.py tests. Fix tests that look at docs in extensions Change-Id: I89d89d1fcf37c4e7740c36375da4c751d1b621ed
* | | | | | | | | | | Move common virt driver options to virt.driverMark McLoughlin2013-01-096-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default_ephemeral_format and use_cow_images options are used by a number of virt drivers and nowhere else. blueprint: scope-config-opts Change-Id: I4ab2891e156589ae7bb44e6ce69cba3680a070c5
* | | | | | | | | | | Move default_instance_type into nova.computeMark McLoughlin2013-01-094-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apart from the tests, this option is only used in nova.compute.instance_types so move it there. blueprint: scope-config-opts Change-Id: Iadf4011739e50455b7ad4214a778a02e244fef35
* | | | | | | | | | | Move osapi_compute_unique_server_name_scope to dbMark McLoughlin2013-01-092-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This strange little option is only used within the DB layer. blueprint: scope-config-opts Change-Id: I10b0fef02a5fffd44094fe351cde683fc5c31442
* | | | | | | | | | | Move api_class options to where they are usedMark McLoughlin2013-01-095-10/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The compute_api_class, network_api_class and volume_api_class options are only used in their respective modules, so move them there. blueprint: scope-config-opts Change-Id: Ib0497f46b44c4b3af7319550cc64c09d629ea362
* | | | | | | | | | | Move manager options into nova.serviceMark McLoughlin2013-01-0912-27/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the compute_manager, console_manager, cert_manager, network_manager and scheduler_manager options into nova.service. Apart from the tests, these options are mostly just used in nova.service so it makes sense for them to live there. Also, metadata_manager already lives there. blueprint: scope-config-opts Change-Id: I180859817b57c081b83d6a6f075a6ff76bb0ef6d
* | | | | | | | | | | Move compute_topic into nova.compute.rpcapiMark McLoughlin2013-01-0910-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Even though the compute_topic opt is used outside nova.compute.rpcapi, it makes sense for the RPC module to "own" the topic option. blueprint: scope-config-opts Change-Id: I453951825481b9a5ba1865f6bf1223f7b1e25f98
* | | | | | | | | | | Merge "Move scheduler_topic into nova.scheduler.rpcapi"Jenkins2013-01-096-8/+10
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Move scheduler_topic into nova.scheduler.rpcapiMark McLoughlin2013-01-086-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The scheduler_topic opt is only used in nova.scheduler.rpcapi and it makes sense for the RPC module to "own" the topic option. blueprint: scope-config-opts Change-Id: Iafb8705eb716b650b63e060fe1dd36666bcee812
* | | | | | | | | | | | Merge "Move console_topic into nova.console.rpcapi"Jenkins2013-01-096-8/+10
|\| | | | | | | | | | |
| * | | | | | | | | | | Move console_topic into nova.console.rpcapiMark McLoughlin2013-01-086-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Even though the console_topic opt is used outside nova.console.rpcapi, it makes sense for the RPC module to "own" the topic option. blueprint: scope-config-opts Change-Id: I0f00927ca1c0bba7b21315240165e83e7075ebb7
* | | | | | | | | | | | Merge "Move network_topic into nova.network.rpcapi"Jenkins2013-01-094-6/+8
|\| | | | | | | | | | |
| * | | | | | | | | | | Move network_topic into nova.network.rpcapiMark McLoughlin2013-01-084-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The network_topic opt is only used in nova.network.rpcapi and it makes sense for the RPC module to "own" the topic option. blueprint: scope-config-opts Change-Id: Icd779f34df47ac6dd048b3e41995e872d8859872
* | | | | | | | | | | | Merge "Move cert_topic into nova.cert.rpcapi"Jenkins2013-01-094-6/+8
|\| | | | | | | | | | |
| * | | | | | | | | | | Move cert_topic into nova.cert.rpcapiMark McLoughlin2013-01-084-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cert_topic opt is only used in nova.cert.rpcapi and it makes sense for the RPC module to "own" the topic option. blueprint: scope-config-opts Change-Id: If3584b8e1984e0425d9f33133f9d291739b04d49
* | | | | | | | | | | | Merge "Move global s3 opts into nova.image.s3"Jenkins2013-01-093-10/+9
|\| | | | | | | | | | |
| * | | | | | | | | | | Move global s3 opts into nova.image.s3Mark McLoughlin2013-01-083-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | s3_host and s3_port are only used in nova.image.s3. blueprint: scope-config-opts Change-Id: Ia841406ebe7c03b2a58392e2453118e2646ad7ce
* | | | | | | | | | | | Merge "Verify the disk file exists before running qemu-img on it."Jenkins2013-01-094-0/+38
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Verify the disk file exists before running qemu-img on it.Michael Still2012-12-254-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should resolve bug 955788, although it is a little hard to tell because the bug is so old. Change-Id: Ic0c47f4b6181f56a98cf58d4ebe2cc926d06d524
* | | | | | | | | | | | Merge "attach/detach_volume() take instance as a parameter"Jenkins2013-01-0913-57/+46
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | attach/detach_volume() take instance as a parameterArata Notsu2013-01-0813-57/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the methods take instance['name'] as a parameter. With this change, ComputeDriver can lookup informations about the instance from hypervisor (in bare-metal driver, it is a local DB) by any other attributes of the instance. blueprint general-bare-metal-provisioning-framework Change-Id: Ibd0567f34ed5053909ce1a408f9cbf87516ba597
* | | | | | | | | | | | | Merge "Remove availability_zones from service table"Jenkins2013-01-0924-93/+291
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Remove availability_zones from service tableJoe Gordon2013-01-0824-93/+291
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the final step in enabling availability_zones using aggregate metadata. Previously all services had an availability_zone, but the availability_zone is only used for nova-compute. Services such as nova-scheduler, nova-network, nova-conductor have always spanned all availability_zones. After this change only compute nodes (nova-compute), will have an availability_zone. In order to preserve current APIs, when running: * nova host-list (os-hosts) * euca-describe-availability-zones verbose * nova-manage service list Internal services will appear in there own internal availability_zone (CONF.internal_service_availability_zone) Internal zone is hidden in euca-describe-availability_zones (non-verbose) CONF.node_availability_zone has been renamed to CONF.default_availability_zone and is only used by the nova-api and nova-scheduler. CONF.node_availability_zone still works but is deprecated DocImpact Completes blueprint aggregate-based-availability-zones Change-Id: Ib772df5f9ac2865f20df479f8ddce575a9ce3aff