summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | Add resize_instance() to the compute rpcapi.Russell Bryant2012-05-313-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of bug 1006467. This method is used by the compute manager. Add it to the compute rpcapi and use it from there. Change-Id: I873fc0740595f7387ea476b11fd2c70d29d4765a
* | | | | | | Merge "Add finish_revert_resize() to the compute rpcapi."Jenkins2012-06-013-7/+13
|\| | | | | |
| * | | | | | Add finish_revert_resize() to the compute rpcapi.Russell Bryant2012-05-313-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of bug 1006467. This method is used by the compute manager itself. Add it to the rpcapi and use it from there. Change-Id: I7fcab5b0b498318377a1a108e2eeb4db1ae1e4ea
* | | | | | | Merge "Add get_console_pool_info() to the compute rpcapi."Jenkins2012-06-014-14/+17
|\| | | | | | | |_|_|_|_|/ |/| | | | |
| * | | | | Add get_console_pool_info() to the compute rpcapi.Russell Bryant2012-05-314-14/+17
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of bug 1006467. This patch adds the get_console_pool_info() method to the compute rpcapi. This is used by the console manager. Change-Id: I429123ed48cb2a5fcfb70248eac743cf4e7a76f2
* | | | | Merge "Removing double quotes from sample config file"Jenkins2012-05-312-263/+281
|\ \ \ \ \
| * | | | | Removing double quotes from sample config fileDerek Higgins2012-05-312-263/+281
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #1005869 Changing create_conf.py to no longer include quotes for StrOpt, ListOpt and MultiStrOpt types, Also regenerating and new version of etc/nova/nova.conf.sample Change-Id: I31c0a6cdcfd3e7cacaae6afbf75648ef0a34d668
* | | | | Merge "Backslash continuation removal (Nova folsom-2)"Jenkins2012-05-3126-222/+219
|\ \ \ \ \
| * | | | | Backslash continuation removal (Nova folsom-2)Zhongyue Luo2012-05-3126-222/+219
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #938588 Backslash continuations removal for scripts in bin/, plugin/, and etc. Change-Id: Idd17048b6e8db6e939946968e011e68da8585b8d
* | | | | Merge "Implement blueprint host-topic-matchmaking"Jenkins2012-05-312-0/+315
|\ \ \ \ \
| * | | | | Implement blueprint host-topic-matchmakingEric Windisch2012-05-312-0/+315
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I382b731bbc64e92db9d06f4e9ee497b1cc0f7d26
* | | | | | Merge "Remove resize function from virt driver."Jenkins2012-05-313-17/+0
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Remove resize function from virt driver.Dan Prince2012-05-313-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes LP Bug #1007009. Change-Id: If7d1492abd4ea0f66ae49117e87093fa58257a40
* | | | | | Fix destination host for remove_volume_connection.Russell Bryant2012-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes a regression in 957c4ff741b4029cf4bad5087000fba91f0ce938. The destination host was accidentally changed to 'host' when it should have been 'dest'. Change-Id: I2b262c4aedc2caa0c98c7660853358fc59935b63
* | | | | | Merge "Don't deepcopy RpcContext"Jenkins2012-05-313-1/+17
|\ \ \ \ \ \
| * | | | | | Don't deepcopy RpcContextChris Behrens2012-05-313-1/+17
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of deepcopying the RpcContext, which seems to not work sometimes, we'll explicitly create a new instance of the class and deepcopy the required values. Fixes bug 1007043 Change-Id: I6578c4c82046acf149724a1c5985fa6b46857a7c
* / / / / / Cleans up extraneous volume_api callsVishvananda Ishaya2012-05-312-31/+15
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Partially implements blueprint volume-decoupling * Deletes update() which should not be public * Removes extra call to update() in rollback live migration that was missed in an earlier patch * Deletes remove_from_compute() in preference to compute doing the call to the destination host directly * Removes wait_creation and moves the polling to the one place it is used Change-Id: I63160e0fd048f82937a322bd068c3a9ff4f60336
* | | | | Merge "Remove list_disks/list_interfaces from virt driver"Jenkins2012-05-313-43/+0
|\ \ \ \ \
| * | | | | Remove list_disks/list_interfaces from virt driverDan Prince2012-05-313-43/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes the list_disks and list_interfaces functions from the Nova virt driver. These functions are not used. Fixes LP Bug #1007005. Change-Id: I69296866f2cae712fbf7f0b8cb50c282714f04b8
* | | | | | Merge "Remove duplicate words in comments"Jenkins2012-05-312-2/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Remove duplicate words in commentsJoe Gordon2012-05-312-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I645692d66c6c007d5fbf40d4db16d7f36cbfd6fe
* | | | | | Merge "Remove unnecessary setting of XenAPI module attribute"Jenkins2012-05-311-15/+5
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Remove unnecessary setting of XenAPI module attributeJohannes Erdfelt2012-05-311-15/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was moved to be class/instance attributes in a previous change and the module attribute no longer needs to be set. Change-Id: I413ba69444fdd2d246b060ef6280a547a3b46f76
* | | | | | Merge "Prevent task_state changes during VERIFY_RESIZE."Jenkins2012-05-311-7/+8
|\ \ \ \ \ \
| * | | | | | Prevent task_state changes during VERIFY_RESIZE.Dan Prince2012-05-311-7/+8
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't allow operations that cause task_state to change when an instance is in VERIFY_RESIZE. Fixes LP Bug #965630. Change-Id: I7e222985c199d619c5cb248c04e1670c92d5587b
* | | | | | Merge "Make sure an exception is logged when config file isn't found"Jenkins2012-05-311-6/+4
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Make sure an exception is logged when config file isn't foundJohannes Erdfelt2012-05-311-6/+4
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1006457 Since exception.ConfigNotFound was derived from exception.NotFound, it would result in a silent 404 error being returned to the client instead of logging a useful error message that a necessary config file was missing and returning a 500 error. Change-Id: I3abefae8d41be4013501ba1731fa49e3c93bde1a
* | | | | Merge "Add a note on why quota classes are unused in Nova"Jenkins2012-05-311-0/+5
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Add a note on why quota classes are unused in NovaMark McLoughlin2012-05-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quota classes can only be used if you write a custom middleware which sets the quota_class context attribute. Nothing in OpenStack core does this. The only known middleware which does this is the rs_limits turnstile preprocessor: https://github.com/klmitch/rs_limits Add a note to the code to give others some chance of figuring this out for themselves. Change-Id: I52973f2f4d7f07f5121492e062dd31cadf02aa43
* | | | | Merge "Update .gitignore"Jenkins2012-05-311-0/+2
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Update .gitignoreJoe Gordon2012-05-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add: * ChangeLog * nova/tests/coverage.xml Change-Id: I1d0c395cf679e07e304dd878d97734307b685f4c
* | | | | Merge "Cleanup tools/hacking using flake8"Jenkins2012-05-311-2/+0
|\ \ \ \ \
| * | | | | Cleanup tools/hacking using flake8Joe Gordon2012-05-241-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia151f265bf62e6704de6cc2f2c01963be9e2dd69
* | | | | | Merge "Move queue_get_for() from db to rpc."Jenkins2012-05-3119-123/+104
|\ \ \ \ \ \
| * | | | | | Move queue_get_for() from db to rpc.Russell Bryant2012-05-3019-123/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of blueprint common-rpc. The function queue_get_for() is a utility function used by various consumers of the rpc API. This function lived in the db API, but never ended up using anything from the database. This patch moves it into the rpc API so that it can be used by other users of rpc once it moves into openstack-common. Change-Id: If92675beecff5471b416a929c161b810e3c71939
* | | | | | | Merge "Add scheduler filter for trustedness of a host"Jenkins2012-05-313-0/+289
|\ \ \ \ \ \ \
| * | | | | | | Add scheduler filter for trustedness of a hostDon Dugger2012-05-283-0/+289
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | Merge "Sample config file tool updates"Jenkins2012-05-314-1054/+1717
|\ \ \ \ \ \ \
| * | | | | | | Sample config file tool updatesZhongyue Luo2012-05-314-1054/+1717
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #1000133 Current method of extracting config options will not work once the global config object gets removed. 1. Update tool to read a cfg.Opt subclass instance or list of cfg.Opt subclass instances rather than the FLAG object. 2. Word wrap help messages 3. Insert line between consecutive options 4. Print warnings for missing option help string Change-Id: Idd17048b6e8db6e939946968e011e68da8585b8c
* | | | | | | Merge "Record instance architecture types."Jenkins2012-05-312-0/+25
|\ \ \ \ \ \ \
| * | | | | | | Record instance architecture types.Chuck Short2012-05-292-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to support image architectures other than x86, we need to record the instance architecture when it is running. Glance has the information that we need so we take the information that glance provides us. This is the first step for support other arches like armhf. Change-Id: Ia9ca1353a7cf56955d00d17f7bc1bfb3712a89ab Signed-off-by: Chuck Short <chuck.short@canonical.com>
* | | | | | | | Merge "Run coverage tests via xcover for jenkins."Jenkins2012-05-301-4/+3
|\ \ \ \ \ \ \ \
| * | | | | | | | Run coverage tests via xcover for jenkins.Monty Taylor2012-05-251-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the jenkins jobs, we need to run coverage with xunit output so that jenkins can parse it. Change-Id: Ie4cfec6f89d6b37554b5345cde92f982397915e2
* | | | | | | | | Merge "Use cfg's new global CONF object"Jenkins2012-05-3025-219/+224
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Use cfg's new global CONF objectMark McLoughlin2012-05-3025-219/+224
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements blueprint cfg-global-object Replace nova.flags.FLAGS with openstack.common.cfg.CONF. In future, we can do a s/FLAGS/CONF/ across the codebase. Change-Id: Ib293873089a5399febd7a3b0410f66e9bef115f1
* | | | | | | | | Merge "fixing issue with db.volume_update not returning the volume_ref"Jenkins2012-05-305-13/+16
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | |
| * | | | | | | | fixing issue with db.volume_update not returning the volume_refCraig Vyvial2012-05-305-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes bug #1003664 - changed the sqlalchemy db api code to return the volume_ref from the volume_update method. This was causing the volume notifications to have the incorrect information in the payload. - Fixed up the unit tests because they started failing badly. - fixed the volume-usage-audit reading the default config values - fix hacking issue with volume-usage-audit Change-Id: Iba5634b0c351a6cc0c48b697217a6f85533de93e
* | | | | | | | | Merge "Revert "API users should not see deleted flavors.""Jenkins2012-05-302-1/+17
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / |/| | | | | | | |
| * | | | | | | | Revert "API users should not see deleted flavors."Josh Kearney2012-05-292-1/+17
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit f6e62c6120453fa90e2e690753fe6eaf157f2dde. We need to be able to query deleted flavors for instances that may be running on deleted flavors. Change-Id: I9ae80c525c9bc1e3172bd4e7ffe50fe74f2d3a51
* | | | | | | | Merge "Fix the conf argument to get_connection_pool()."Jenkins2012-05-302-4/+4
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | |