summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | Ensure that the dom0 we're connected to is the right oneJohannes Erdfelt2012-05-032-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The XenAPI driver requires the compute domU be running on the same host as specified by xenapi_connection_url. Check that we can find the compute domU on the host connected to before going too far. Change-Id: I2a56fa305b6379a7ea97f04240e627bb13223c9f
* | | | | | | | | | | | Merge "Pass context to notification drivers when we can."Jenkins2012-05-0316-44/+124
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Pass context to notification drivers when we can.Andrew Bogott2012-05-0216-44/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that previously several notification drivers created an admin context and embedded it in their messages. Those drivers now use the passed-in context instead if it's available. For blueprint novaplugins. Change-Id: Icb89030256022d0a68db4a147611fd37fe83316a
* | | | | | | | | | | | Merge "Log instance consistently."Jenkins2012-05-031-9/+10
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Log instance consistently.Michael Still2012-05-011-9/+10
| | |_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Icd0d5021de768ab16b1b766f27ed03df61546239
* | | | | | | | | | | Merge "Allow blank adminPass on server create"Jenkins2012-05-022-9/+15
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | Allow blank adminPass on server createBrian Waldon2012-05-012-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes bug 992648 Change-Id: Ib796904b3155300a178e37d129e398817c8747d6
* | | | | | | | | | | Merge "Use additional task states during resize"Jenkins2012-05-021-0/+9
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Use additional task states during resizeGabe Westmaas2012-04-291-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug lp990805 Adds 3 additional state changes to instance during resize. Specifially: RESIZE_MIGRATING RESIZE_MIGRATED RESIZE_FINISH Change-Id: I61a1c98c8b179c50747717525e1aaed01d372b4b
* | | | | | | | | | | | Merge "Adding 'host' info to volume-compute connection information."Jenkins2012-05-0210-61/+286
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Adding 'host' info to volume-compute connection information.Nirmal Ranganathan2012-05-0210-61/+286
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a new key 'host' for the initialize/terminate volume connection information. Updated the HpSanISCSIDriver to use teh initialize and terminate methods. Added missing unit tests for the HpSanISCSIDriver. Fixes bug 992729. Change-Id: I09fad6b5328cbfb860ab2c7ae5d206010f3dd45d
* | | | | | | | | | | | | Merge "Use save_and_reraise_exception() from common."Jenkins2012-05-029-55/+84
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Use save_and_reraise_exception() from common.Russell Bryant2012-05-029-55/+84
| | |_|_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch common.excutils from openstack-common, which includes save_and_reraise_exception(). The patch also converts the code base to use it from there instead of nova.utils and then removes it from nova.utils. The initial motivation for this was removing another nova dependency from nova.rpc so that it can eventually be moved to openstack-common. Change-Id: I7354ca51a02aec9c709cf33f77d4abc46acc2742
* / | | | | | | | | | | | Fix innodb tests againChris Behrens2012-05-021-1/+1
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Vish missed a line to change when he moved a method Change-Id: Idc494aeeaee2948f7d1791ebd71d15efd5422166
* | | | | | | | | | | | Merge "Xen has to create it's own tap device if using libvirt and ↵Jenkins2012-05-021-1/+4
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QuantumLinuxBridgeVIFDriver"
| * | | | | | | | | | | | Xen has to create it's own tap device if using libvirt and ↵Christian Berendt2012-05-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QuantumLinuxBridgeVIFDriver fixes bug 993151 Change-Id: Ibc9c8c7a1e8601d596ace9906c7723f4671029fa
* | | | | | | | | | | | | Merge "Make kombu support optional for running unit tests."Jenkins2012-05-023-17/+77
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Make kombu support optional for running unit tests.Russell Bryant2012-05-023-17/+77
| | |/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 838386. Previously, the unit tests required kombu to be installed to run. This patch makes it so the unit tests will still complete successfully, even if kombu is not installed. Change-Id: I06831a37f8c857bbfd0bce1b1c3aeda7d341a589
* | | | | | | | | | | | | Merge "Update common.importutils from openstack-common."Jenkins2012-05-027-159/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | |
| * | | | | | | | | | | | Update common.importutils from openstack-common.Russell Bryant2012-05-027-159/+7
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch updates common.importutils from openstack-common. The change was to remove the usage of common.exception. The rest of the patch includes the changes required in nova to no longer use common.exception, as well. Change-Id: Iacd186b2c466cba84248ae10589ffbb5a9cec0ba
* | | | | | | | | | | | Remove unused imagesJoe Gordon2012-05-0219-31959/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I23a3de8197ca34948d55dd3be65c8d9c88bbdd71
* | | | | | | | | | | | Provide better quota error messages.Alex Meade2012-05-029-91/+283
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor the handling of QuotaErrors. Fixes bug: 990015 Fixes bug: 991994 Change-Id: I722545fad3c0bdff896a8f56f6c53ba47e433b0c
* / / / / / / / / / / Fix nova.tests.test_nova_rootwrap on Fedora 17.Russell Bryant2012-05-021-2/+2
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 992916 This patch resolves a unit test failure on Fedora 17. The root cause is that 'sleep' is '/usr/bin/sleep' instead of '/bin/sleep'. Update the test to allow that. Change-Id: I5c8e04baec7159a8c10c9beb96cff58fd383e71c
* | | | | | / / / / Fix test_migrations to work with python 2.6Vishvananda Ishaya2012-05-011-40/+41
| |_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * removes use of unittest.skip decorator * moves some methods * makes test_migrations use our test base class Change-Id: I20d6e5c331ed77486977dcc190e2aed50c23461b
* | | | | | | | | Merge "Fix test_launcher_app to ensure service actually got started"Jenkins2012-05-011-1/+5
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Fix test_launcher_app to ensure service actually got startedJohannes Erdfelt2012-05-011-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test was not allowing the new spawned thread to execute before (incorrectly) checking if the port had been assigned. Change-Id: Ibc5c6eb7ecd78d3f8bbf934346c7b91ea6369d34
* | | | | | | | | | Merge "Remove hack for xenapi driver tests"Jenkins2012-05-012-5/+5
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | |
| * | | | | | | | | Remove hack for xenapi driver testsJohannes Erdfelt2012-05-012-5/+5
| | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various changes since the hack was introduced make removing it much easier now. Change-Id: I3237e94e034a1a1011ce4e4307ace8ea2e6432f0
* | | | | | | | | Merge "Return a BadRequest on bad flavors param values."Jenkins2012-05-012-100/+18
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / |/| | | | | | | |
| * | | | | | | | Return a BadRequest on bad flavors param values.Alex Meade2012-05-012-100/+18
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the api to return a 400 bad request when a minRam or minDisk param with a non-integer value is provided when listing flavors. Fixes bug 992662 Change-Id: I78bd32d0cde842547cb96767e4eb41f546aedbdf
* | | | | | | | Merge "A previous patch decoupled the RPC drivers from the nova.flags, ↵Jenkins2012-05-011-0/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | breaking instance audit usage in the process. This configures the instance audit usage to configure the RPC drivers properly with FLAGS so that the job can run."
| * | | | | | | | A previous patch decoupled the RPC drivers from the nova.flags, breaking ↵Matt Dietz2012-05-011-0/+2
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instance audit usage in the process. This configures the instance audit usage to configure the RPC drivers properly with FLAGS so that the job can run. Change-Id: Ia189d18d7b25a839de67439ccd363103c5af2f8f
* | | | | | | | Merge "Enable InnoDB checking"Jenkins2012-05-012-43/+114
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Enable InnoDB checkingSean Dague2012-04-262-43/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addresses bug #978304 Refactor _walk_versions for readability and pep8 compliance Change-Id: I94d17f2ec81a4115ae3ea3863c79b88462ceb835
* | | | | | | | Merge "Create name_label local variable for logging message"Jenkins2012-05-011-1/+2
|\ \ \ \ \ \ \ \
| * | | | | | | | Create name_label local variable for logging messageJohannes Erdfelt2012-05-011-1/+2
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The missing local variable will end up logging an exception instead of the intended message, however the code will continue functioning fine. Traceback (most recent call last): File "/usr/lib/python2.6/logging/__init__.py", line 776, in emit msg = self.format(record) File "/usr/lib/python2.6/logging/__init__.py", line 654, in format return fmt.format(record) File "/home/johannes/openstack/nova/trunk/nova/log.py", line 257, in format return logging.Formatter.format(self, record) File "/usr/lib/python2.6/logging/__init__.py", line 436, in format record.message = record.getMessage() File "/usr/lib/python2.6/logging/__init__.py", line 306, in getMessage msg = msg % self.args KeyError: u'name_label' Change-Id: I80bd91a8df51d5411e63ba6a44f227251baf2ab2
* / | | | | | | Update integration tests to listen on 127.0.0.1Brian Lamar2012-05-011-0/+6
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently tests are listening on 0.0.0.0 which causes tests to unnecessarily listen on all IPs. Change-Id: Iaad79bd449e61e0639b153d81205a0e666bc29df
* | | | | | | Merge "Make KillFilter to handle 'deleted' w/o rstrip."Jenkins2012-05-012-1/+16
|\ \ \ \ \ \ \
| * | | | | | | Make KillFilter to handle 'deleted' w/o rstrip.Dan Prince2012-04-272-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The initial code for this fixed used rstrip incorrectly. This implementation uses endswith and rindex instead and should read a bit more easily. Also added a unit test to test that 'deleted' exe's are filtered correctly. Fixes LP Bug #967931. Change-Id: I1783a8e2d59edd35734673b23e295f5a0b80b988
* | | | | | | | Merge "Remove workaround for sqlalchemy-migration < 0.6.4"Jenkins2012-05-011-10/+1
|\ \ \ \ \ \ \ \
| * | | | | | | | Remove workaround for sqlalchemy-migration < 0.6.4Mark McLoughlin2012-04-301-10/+1
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now require >=0.7.2 Change-Id: I07101a77e9f332c426eeabc74f9619827ce087e6
* | | | | | | | Merge "Migrate block_device_mapping to use instance uuids."Jenkins2012-04-3015-102/+390
|\ \ \ \ \ \ \ \
| * | | | | | | | Migrate block_device_mapping to use instance uuids.Michael Still2012-05-0115-102/+390
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This started out as wanting cleanup_volumes to take a UUID instead of an instance ID, and ended up as a wander through the joys of schema updates. I am assuming that we actually want to transition these tables across to using the instance UUID instead of just the ID. This is my first attempt at a schema update, so please review this patch with skepticism. Resolves bug 977975. Partially resolves blueprint finish-uuid-conversion. Change-Id: Ib5a6f8a872ea0530e201c70e9ac01cd14f82c557
* | | | | | | | | Merge "Removes RST documentation and moves it to openstack-manuals"Jenkins2012-04-3038-4005/+6
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Removes RST documentation and moves it to openstack-manualsannegentle2012-04-3038-4005/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoiding redundant information and confusion. Change-Id: Iab1913ff359699db977b74554bad6088fab6ab2f
* | | | | | | | | | Merge "Clean up ElementTree usage"Jenkins2012-04-308-57/+51
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Clean up ElementTree usageChuck Short2012-04-308-57/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use lxml in favor of ElementTree to make things more consistent. Fixes LP: #953449 Change-Id: I7f48528d7df47fe7207ca88bce196dea7535df0e Signed-off-by: Chuck Short <chuck.short@canonical.com>
* | | | | | | | | | | Merge "Fix InnoDB migration bug in migrate script 86."Jenkins2012-04-301-23/+15
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Fix InnoDB migration bug in migrate script 86.Russell Sim2012-04-301-23/+15
| | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 991672 Only change tables that aren't already InnoDB. Attempting to migrate an InnoDB table to InnoDB will causes an obscure "Error on rename" error if the table has foreign key relationships. Change-Id: I7bd5c964da851a8dd9cc0a6af3f93c07786b6781
* | | | | | | | | | | Merge "Use openstack.common.importutils."Jenkins2012-04-3051-146/+354
|\ \ \ \ \ \ \ \ \ \ \