summaryrefslogtreecommitdiffstats
path: root/Authors
Commit message (Collapse)AuthorAgeFilesLines
* Finish AUTHORS transition.Monty Taylor2012-07-051-236/+0
| | | | | | | | | | | The code to generate the authors file from the git changelog has been in the tree and running for a few weeks now. Somehow the removal of the authors test and and the MANIFEST.in file were wrong though. This should clean that up. Fixes bug 920757. Change-Id: I66c388c1c81804f8dabc52b5ee25c7f394921e11
* Implement nova network API for quantum API 2.0Yong Sheng Gong2012-07-031-0/+1
| | | | | | | | | | blueprint improved-nova-quantum-integration This new network API depends on quantum v2.0 client to connect quantum server via Quantum server API V2.0. This change implements the minimum set of methods so that we can boot an instance with ip allocated by quantum server. Change-Id: I34acbbf84dd8601db8143267c8cc41255a0c6d3f
* Fixes bug 1014194, metadata keys are incorrect for kernel-id and ramdisk-idSteve Baker2012-06-291-0/+1
| | | | | | | | | | | | Kernel and ramdisk IDs are using currently being inserted in the metadata using the keys aki-id and ari-id. They should be using the keys kernel-id and ramdisk-id. http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/instancedata-data-categories.html This bug is in a block of code which did not previously have test coverage; this change also adds that coverage. Change-Id: I2ee3663169160c0e351e548d831fef2f34f9f2fd
* Merge "Adds default fall-through to the multi scheduler. Fixes bug 1009681"Jenkins2012-06-281-0/+1
|\
| * Adds default fall-through to the multi scheduler.David Scannell2012-06-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1009681 This offers a default scheduler driver that will be used by the multischeduler for requests that are not destined for the compute or volume topic. This is useful for openstack extensions that want to use the nova-scheduler to schedule requests to compute nodes but provide their own manager and topic. Change-Id: I753e87fc8979fd0b62529974f00cf11fa55b3d63
* | Merge "Remove duplicate check of server_dict['name']"Jenkins2012-06-281-0/+1
|\ \
| * | Remove duplicate check of server_dict['name']Sean M. Collins2012-06-281-0/+1
| |/ | | | | | | | | | | Exact same three lines are at line 614. Change-Id: I806574e9d5152e7c63bdb45e86e8844ce78fbc9f
* | Merge "Migrate existing routes from flat_interface"Jenkins2012-06-281-0/+1
|\ \ | |/ |/|
| * Migrate existing routes from flat_interfaceDan Smith2012-06-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Right now, any routes that exist on flat_interface (other than the default route) get lost when we set up the bridge. This patch migrates them over to avoid losing that connectivity. It does so by using 'ip route' instead of 'route', which is much easier to script and is consistent with other use of iproute2 tools in linux_net.py. Bug 962822 Change-Id: I7d9e8e05169f2f87e8481595397c02fd3a3612f4
* | Fix invalid variable reference.David Shrewsbury2012-06-261-0/+1
|/ | | | | | | Correct variable name is 'source_type', but just happened to work because the default value for the variable is also 'mount'. Change-Id: Ifba9ce0ef3052e1b5e07f90d236bfcf24ca6a608
* Merge "Update pylint/pep8 issues jenkins job link"Jenkins2012-06-211-0/+1
|\
| * Update pylint/pep8 issues jenkins job linkSascha Peilicke2012-06-211-0/+1
| | | | | | | | Change-Id: Ibf5ac4b29d668d0d0f15e980361b0bd71d0bc050
* | Merge "Add instance_id in Usage API response."Jenkins2012-06-211-0/+1
|\ \
| * | Add instance_id in Usage API response.Lin Hua Cheng2012-06-201-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | 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
* / Addtional CommandFilters to fix rootwrap on SLESRalf Haferkamp2012-06-211-0/+1
|/ | | | | | Fixes bug 1013147 (for SLES) Change-Id: Ib362c913b809f7601a9a4faedede89b22794dfb7
* add nova-manage bash completion scriptDominik Heidler2012-06-201-0/+1
| | | | Change-Id: I856349fb0b31f32ec4570c74ebceb3563fa22547
* Merge "Handle missing server when getting security groups"Jenkins2012-06-191-0/+1
|\
| * Handle missing server when getting security groupsMartin Packman2012-06-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | Fix bug 1010486. Treat InstanceNotFound as a 404 when querying the security groups of server that does not exist. Also removes old exception translation, ApiError no longer exists and NotAuthorized shouldn't need handling at this level. Includes tweak suggested by Mark McLoughlin in review. Change-Id: Iaeada84dbadc232968f792c6f4855bf61cc5a5ae
* | moved update cache functionality to the network apiTrey Morris2012-06-181-1/+1
|/ | | | | | | | | | | | | | previously the network manager get_instance_nw_info was responsible for updating the cache. This is to prevent calling that function in a confusing way. part 2 of this patch was fixing bug997763 floating_ip_associate was removed from the compute api. network api associate is now called directly. network api floating_ip functions now require instance as an argument in order to update cache. Change-Id: Ie8daa017b99e48769afbac4862696ef0a8eb1067
* Merge "Unwrap httplib.HTTPConnection after WsgiLimiterProxyTest."Jenkins2012-06-151-0/+1
|\
| * Unwrap httplib.HTTPConnection after WsgiLimiterProxyTest.Eric Harney2012-06-131-0/+1
| | | | | | | | | | | | Fixes bug 1007307. Change-Id: I0b84d29a86a727b611f60f6be15a6d0d21c17a4b
* | Updates the cachedeevi rani2012-06-141-0/+1
|/ | | | | | | | | | | | | | fixes bug 939122 Following are the changes done: 1. in compute/api.py to display the floating ip in nova list command upon its association with an instance. 2. in network/api.py to solve the similar issue upon the floating ip disassocaition Updated version of: https://review.openstack.org/#/c/7059 Change-Id: Ief1a3f544c3d14bd61cc0814612df3ee521ddec2
* Merge "blueprint lvm-disk-images"Jenkins2012-06-131-0/+1
|\
| * blueprint lvm-disk-imagesBoris Filippov2012-06-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ability to use LVM volumes for VM disks. Implements LVM disks support for libvirt driver. VM disks will be stored on LVM volumes in volume group specified by `libvirt_images_volume_group` option. Another option `libvirt_local_images_type` specify which storage type will be used. Supported values are `raw`, `lvm`, `qcow2`, `default`. If `libvirt_local_images_type` = `default`, usual logic with `use_cow_images` flag is used. Boolean option `libvirt_sparse_logical_volumes` controls which type of logical volumes will be created (sparsed with virtualsize or usual logical volumes with full space allocation). Default value for this option is `False`. Commit introduce three classes: `Raw`, `Qcow2` and `Lvm`. They contain image creation logic, that was stored in `LibvirtConnection._cache_image` and `libvirt_info` methods, that produce right `LibvirtGuestConfigDisk` configurations for libvirt. `Backend` class choose which image type to use. Change-Id: I0d01cb7d2fd67de2565b8d45d34f7846ad4112c2
* | implement sql-comment-string stack tracesDevananda van der Veen2012-06-071-0/+1
|/ | | | | | | | | | | Implements solution for bug 1007648. Add python stack traces to all sql comment strings so that someone looking at database query logs can immediately see what code generated each query. This is especially powerful when combined with pt-query-digest to get per-file or per-method aggregates. Change-Id: Ieda5cf4d70cc2643d27fb00efb48de14ca2abe52
* More meaningful help messages for libvirt migration optionsFlorian Haas2012-06-051-0/+1
| | | | | Change-Id: I08f4724a7ef664cfebba57c5c9495494853289a8 Reference: http://libvirt.org/html/libvirt-libvirt.html#virDomainMigrate
* Merge "bug #1006094 correct typo in addmethod.openstackapi.rst"Jenkins2012-06-041-0/+1
|\
| * bug #1006094 correct typo in addmethod.openstackapi.rstdaisy-ycguo2012-06-041-0/+1
| | | | | | | | Change-Id: Ic03996357aacb6f135b95fc1e5810066b776b980
* | blueprint <multi-process-api-service>Zhiteng Huang2012-06-021-0/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add multiprocess support for API serivces (EC2/OSAPI_Compute/OSAPI_Volume/Metadata). 2012-06-1 v7: * Add unittest to cover worker recovery, service termination functionality in wsgi.py, fix python 2.6 compatibility issue. * Modify generate_uid() to introduce per-process seeds in utils.py to avoid collisions. * Add worker session to nova.conf.sample. 2012-05-21 v6: * Fix 'test_wsgi' unittest error. 2012-04-28 v5: * Add SIGINT handler and fix child-parent race condition when Ctrl+C is pressed. 2012-03-31 v4: * Fixed typo, removed debug code. 2012-03-30 v3: * Fixed localization/pep8 error in unittest, add metadata test. * nova/wsgi.py:Server: use the greenthread pool created for each process. * nova/service.py: remove debug code 2012-03-27 v2: * Fixed unittest error. * nova/wsgi.py:Server: Use self._logger to do logging in multiprocess mode. * nova/wsgi.py:Server: Move self._pool creation into proper place. * code style fix. 2012-03-25 v1: * Modification to nova/service.py and nova/wsgi.py in order to support multiprocess (a.k.a. workers) for various API services. If multiprocess mode is enabled, (i.e. flags 'APINAME_workers' set to positive numbers), corresponding API service will run in target number of process(es). There is also a master_worker process spawned for managing all workers (handling signal/termination). * Add unittest for multiprocess API service, also alter testing/runner.py to adopt new unittest. Change-Id: Ia045e595543ddfd192894b2a05801cc4b7ca90cb
* Merge "Add scheduler filter for trustedness of a host"Jenkins2012-05-311-0/+1
|\
| * Add scheduler filter for trustedness of a hostDon Dugger2012-05-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements blueprint trusted-computing-pools Add a scheduling filter that filters based upon the trustedness of a node. A request is sent to the attestation service to disover the trustedness of the target node and, only if it matches the `trust_host' key/value pair in the `extra_specs' for the instance type, then the instance can be started on that node. More details can be found in the docspec for the filter in: nova/scheduler/filters/trusted_filter.py To setup an attestation server go to the Open Attestation Project at: https://github.com/OpenAttestation/OpenAttestation Also add 5 tests for the new filter that verifies: 1) Schedule works with no trust in the extra specs 2) Schedule works with trusted instance and trusted host 3) Schedule works with untrusted instance and untrusted host 4) Schedule fails with trusted instance and untrusted host 5) Scheduel fails with untrusted instance and trusted host Signed-off-by: Don Dugger <donald.d.dugger@intel.com> Signed-off-by: Fred Yang <fred.yang@intel.com> Change-Id: Iafa6aed8061f6cd4630367553aee14bd4b0263e2
* | Grammar / spelling correctionsMatt Joyce2012-05-291-0/+1
|/ | | | Change-Id: Id5b6665a2a40a9bd0830c1a3500b4ad98eec435b
* fixed_ip_get_by_address read_deleted from contextJohn Tran2012-05-181-1/+1
| | | | | | | | | Fixes bug 996482. by default fixed_ip_get_by_address always sets read_deleted='yes'. Changed it to accept read_deleted value from context. updated .mailmap to rewrite my old email to new email Change-Id: If94251972df7bbcfdeebc226613edac0a3f41186
* Fix bug 988034 - Quantum Network Manager - not clearing ipsSomik Behera2012-05-151-0/+1
| | | | | | | | | | | Added a line in nova_ipam_lib.QuantumNovaIPAMLib init method to ensure we clean up IPs and explanation of whats going on. Also, nuked release_fixed_ip as that is not needed in QuantumManager anymore. Change-Id: Ic2ad1e87441c448c10ff097b28d2b6347eef5401
* Adding notifications for volumesCraig Vyvial2012-05-141-0/+1
| | | | | | | | | Added notifications for volumes have been added with tests. This includes create/delete/exists events for volumes. blueprint nova-notifications Change-Id: I21b74974fac22c3621ccf7564dc5c0d339f8751a
* Merge "Use default qemu-img cluster size in libvirt connection driver"Jenkins2012-05-111-0/+1
|\
| * Use default qemu-img cluster size in libvirt connection driverJim Fehlig2012-05-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The recommended cluster size [1] for qcow2 is 64k, which is the default when invoking 'qemu-img create ...'. Remove the cluster_size option from qemu-img invocation. [1] http://www.mail-archive.com/openstack@lists.launchpad.net/msg11371.html V2: Fix test. Change-Id: Iafc290720a820cb5f57ded10a2f584fdc5cd5b49
* | Setup logging, particularly for keystone middlewareAlessio Ababilov2012-05-111-0/+1
|/ | | | | | Fixes bug 979282 and bug 988951 Change-Id: I895d00ac9648e8b3cb3ad1bf141c9bfe02ef3680
* httplib throw "TypeError: an integer is required" when run quantumhua zhang2012-05-081-0/+1
| | | | | | Bug 993149 Change-Id: Ife663ec1cf2b9d094a00c488f849da5857cc34a3
* Merge "Disallow network creation when label > 255. Fixes bug 965008"Jenkins2012-04-261-1/+0
|\
| * Disallow network creation when label > 255. Fixes bug 965008Mandar Vaze2012-04-261-1/+0
| | | | | | | | | | | | | | | | | | | | Added length check for label. Without length check, label is truncated. Warning is shown by sqlalchemy layer. Raise an InvalidInput exception when validation fails (like rest of the surroudning code) Change-Id: Iae517e03099e36f1c00f4742049834a9231a2fff
* | Make updating hostId raises BadRequest.vaddi-kiran2012-04-261-0/+1
|/ | | | | | fixes bug 944028 Change-Id: I563f51dd7afea1d0a9c7391c9e641e7c8c493216
* Merge "Introduced flag base_dir_name. Fixes bug 973194"Jenkins2012-04-251-0/+1
|\
| * Introduced flag base_dir_name. Fixes bug 973194Mandar Vaze2012-04-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | rebased from master. If user faces locking related problem when two nova-compute hosts sharing same disk area via nfs, try to download same image into cache concurrently - Then base_dir_name can be set to "_base_$my_ip" in nova.conf Default value for base_dir_name is "_base" thus retaining existing behavior. Change-Id: Icff10ed75ba83f7256731614dc9e01e578b347a4
* | Scope coverage report generation to nova module.Renier Morales2012-04-241-0/+1
|/ | | | | | | | | | | | Coverage report generation was not using --include filters. This resulted in generating a report that included all external dependencies. Some of these may include problematic characters for utf8 decoding. In the odd case this was found, coverage would fail with a UnicodeDecodeError. Fixes bug #987077. Change-Id: I276698e65ac1037972209a406058168433cd826b
* Merge "fix TypeError with unstarted threads in nova-network"Jenkins2012-04-101-0/+1
|\
| * fix TypeError with unstarted threads in nova-networkIonuț Arțăriși2012-04-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | (nova): TRACE: File "/usr/lib64/python2.6/site-packages/nova/utils.py", line 860, in __init__ (nova): TRACE: self.tname = "-%x-%x" % (ident & 0xffffffff, gident & 0xffffffff) (nova): TRACE: TypeError: unsupported operand type(s) for &: 'NoneType' and 'int' Fixes: bug 971629 Change-Id: I3d34816c36a11cd6fc2dd9c889c93c5872133a2c
* | Improve grammar throughout nova.Paul McMillan2012-04-101-0/+1
| | | | | | | | | | | | | | Fixes some "its" and "it's" mistakes, and unifies the tense of some documentation. Change-Id: I9b83aba535b554e80b2cf1e048bb3a4e5cac0e5e
* | migration_get_all_unconfirmed() now uses lowercase "finished" Fixes bugMandar Vaze2012-04-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | 977719 status set in _finish_resize is lower case, but migration_get_all_unconfirmed() was filtering using FINISHED Also updated corresponding test case to use lower case "finished" Updated Authors file Change-Id: Ia30e66e541bba91a9dd3d3af1429b2312870793a
* | bug 968452Brian Elliott2012-04-091-0/+1
| | | | | | | | | | | | | | Update test-requires to use pep8>=1.0. Removed PEP8 warning suppression around 3-arg raises. Change-Id: Ib4ed42adc167aa1e8078619a36b409b76b9f5d73