summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | | | | Raise 409 when rescuing instance in RESCUE modePhilip Knouff2012-03-053-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes bud #940581 Change-Id: I8c6b600d36a35ef4e32f35b888f8f2eb8effebcd
* | | | | | | | | | | | | | | | | | | Merge "Imported Translations from Launchpad"OpenStack Jenkins2012-03-0619-16997/+19281
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Imported Translations from LaunchpadOpenStack Jenkins2012-03-0419-16997/+19281
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Icea78b1823c1948639da73552b156a6bdeef3ea3
* | | | | | | | | | | | | | | | | | | Add assertRaises check to tools/hacking.py as N202Joe Gordon2012-03-051-0/+10
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I25113bcc73ff642cae146f0558f319684b4568d0
* | | | | | | | | | | | | | | | | | Merge "Retry download_vhd with different glance host each time"Jenkins2012-03-053-54/+68
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Retry download_vhd with different glance host each timeJohannes Erdfelt2012-03-023-54/+68
| | |_|_|_|_|_|_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 944096 Change-Id: I33aa3774ba7f266e85f09c6c569fdd0f895478b4
* | | | | | | | | | | | | | | | | Merge "bug #941794 VIF and intf drivers for Quantum Linux Bridge plugin"Jenkins2012-03-056-1/+135
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | bug #941794 VIF and intf drivers for Quantum Linux Bridge pluginSumit Naiksatam2012-03-036-1/+135
| | |_|_|_|_|_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drivers have been reviewed earlier by Quantum reviewers and are being moved here on their request. Also incorporating Soren,Dan, pp-draigbrady and Vish's suggestions. Change-Id: If04807c473542e2f0259faa6d243c3e6e9539f64
* | | | | | | | | | | | | | | | | Merge "Only raw string literals should be used with _()"Jenkins2012-03-0532-113/+114
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | Only raw string literals should be used with _()Johannes Erdfelt2012-03-0432-113/+114
| | |_|/ / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a number of places where formatted strings were used with _() (causing gettext to not match the string) or variables with _() (causing xgettext to not extract a string) Also, there's no value in internationalizing an empty string Change-Id: Iac7dbe46eeaa8ddf03c2a357ecd52f69aa8678aa
* | | | | | | | | | | | | | | | | Merge "Remove unnecessary code in test setUp/tearDown"Jenkins2012-03-051-2/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | Remove unnecessary code in test setUp/tearDownJohannes Erdfelt2012-03-041-2/+0
| | |_|_|_|_|_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I41c033dceafdf1ce39ff3dc11f11b54a909cec12
* | | | | | | | | | | | | | | | | Merge "Log a certain rare instance termination exception"Jenkins2012-03-051-8/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | Log a certain rare instance termination exceptionMark Washenberger2012-03-051-8/+6
| |/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Clean up logging per Michael Still's comments Change-Id: I3b7e647dde582dca4644b557bb30251e31644c17
* | | | | | | | | | | | | | | | | Merge "populate glance 'name' field through ec2-register"Jenkins2012-03-052-5/+75
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | populate glance 'name' field through ec2-registerScott Moser2012-03-022-5/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For images registered via RegisterImage in the ec2 api, populate glance's 'name' field. If the name is not supplied in the ec2 request, then set it to be the location. This has the added value of 'glance index' now showing ec2 registered images. Previously, they were not listed because of the empty Name field. Additionally, when responding to DescribeImages in the ec2 api, populate the name field. Previously we were not populating this at all. In the case where there is no name, use image_location. Fixes bug 930314 Change-Id: I10bcac9ab298a2bf127b5228c62c3cf4f009abd6
* | | | | | | | | | | | | | | | | | Merge "Allows --flat_interface flag to override db"Jenkins2012-03-053-5/+36
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Allows --flat_interface flag to override dbVishvananda Ishaya2012-03-023-5/+36
| | |_|_|_|_|_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * this replicates what commit 8efe15209 did for vlan_interface * includes a test to verify that the override works * cleans up memory usage in the vlan test * Fixes bug 944734 Change-Id: I21a04a43051f723029513c4c9548003f959cff37
* | | | | | | | | | | | | | | | | Merge "Added docs on MySQL queries blocking main thread."Jenkins2012-03-043-7/+42
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Added docs on MySQL queries blocking main thread.Lorin Hochstein2012-03-033-7/+42
| | |_|/ / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added to the RST docs to describe how queries to MySQL will block a nova service. Change-Id: I4ae209e2827978cc5469162d386197f2e46b342d
* | | | | | | | | | | | | | | | assertRaises(Exception, ...) considered harmfulJohannes Erdfelt2012-03-0411-59/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expecting that Exception is raised can end up passing an a test when an unexpected error occurs. For instance, errors in the unit test itself can be masked: https://review.openstack.org/4848 https://review.openstack.org/4873 https://review.openstack.org/4874 Change a variety of unit tests to expect a more specific exception so we don't run into false positive tests in the future. Change-Id: Ibc0c63b1f6b5574a3ce93d9f02c9d1ff5ac4a8b0
* | | | | | | | | | | | | | | | Fix test_unrescue to actually test unrescueJohannes Erdfelt2012-03-031-1/+2
|/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Another case where assertRaises(Exception, ...) masked a bug in the unit test. The unrescue method takes another argument now. When TypeError was raised, it was caught by the broad match to Exception as well. Change-Id: I6b948baa41f2061ea413e14ae6aba054e6f22ecf
* | | | | | | | | | | | | | | Merge "Fix test_migrate_disk_and_power_off_exception"Jenkins2012-03-031-6/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Fix test_migrate_disk_and_power_off_exceptionJohannes Erdfelt2012-03-021-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test asserts that Exception is raised, which means any number of failures within the test itself will cause it to pass. In this case there were two bugs in the test case: 1) Too many arguments to migrate_disk_and_power_off 2) fake_get_instance_disk_info should return a JSON string I changed the assert to catch an AssertionError exception instead to avoid this kind of bug in the future Change-Id: I5e0f57b093ee1b2830696542d343c2dd89c383d6
* | | | | | | | | | | | | | | | Merge "Use self.mox instead of create a new self.mocker"Jenkins2012-03-031-30/+17
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | Use self.mox instead of create a new self.mockerJohannes Erdfelt2012-03-031-30/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3406ae9f59e4880ad036329168cbba710aa4dea0
* | | | | | | | | | | | | | | | | Merge "Remove unused _setup_other_managers method from test case"Jenkins2012-03-031-5/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | Remove unused _setup_other_managers method from test caseJohannes Erdfelt2012-03-021-5/+0
| | |_|_|_|/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I4a965987335a6fc1333bca43d8180b7f05d2f7dd
* | | | | | | | | | | | | | | | | Merge "fix for bug 821252. Smarter default scheduler"Jenkins2012-03-036-2/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | fix for bug 821252. Smarter default schedulerJoe Gordon2012-03-016-2/+9
| | |_|_|_|_|_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compute_scheduler_driver = DistributedScheduler Change-Id: I8123a120afd80c2b088a387eaab8f5a99a877fe0
* | | | | | | | | | | | | | | | | Merge "fakes.fake_data_store doesn't exist, so don't reset it"Jenkins2012-03-031-12/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | fakes.fake_data_store doesn't exist, so don't reset itJohannes Erdfelt2012-03-021-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic1aa13d33fa376974ed1e4b6ccf3216bbebb7d1e
* | | | | | | | | | | | | | | | | | Merge "Display error for invalid CIDR."Jenkins2012-03-031-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Display error for invalid CIDR.Chuck Short2012-03-021-1/+1
| | |_|/ / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Display an error to the user when giving an invalid CIDR. Fixes bug 917982. Change-Id: I5def054f5cc8e14bc8ebd981744d7d7af7f5710b
* | | | | | | | | | | | | | | | | Merge "Adds soft-reboot support to libvirt"Jenkins2012-03-033-11/+62
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | Adds soft-reboot support to libvirtVishvananda Ishaya2012-03-013-11/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Falls back to hard reboot if guest doesn't respond * Cleans up reboot/rescue/unrescue interaction * Fixed fake for tests * Added a force hard reboot test to verify fallback works * Fixes bug 939557 Change-Id: I8d0c9a35725de5e5bfb8f13a2d869c6122ba44ef
* | | | | | | | | | | | | | | | | | Merge "Use test.TestCase instead of manually managing stubout"Jenkins2012-03-032-20/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | Use test.TestCase instead of manually managing stuboutJohannes Erdfelt2012-03-022-20/+10
| | |/ / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I785e86af37ae484235ef7a933335cd484769ae80
* | | | | | | | | | | | | | | | | | Merge "Remove unused test_obj parameter to setUp()"Jenkins2012-03-031-31/+17
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Remove unused test_obj parameter to setUp()Johannes Erdfelt2012-03-021-31/+17
| |/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Looks like it was copies from test_vsa.py Change-Id: I6ac4d5163e1d43dc6cf75461209f086abc69ec3c
* | | | | | | | | | | | | | | | | Merge "Handle InstanceNotFound during server update"Jenkins2012-03-022-2/+27
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Handle InstanceNotFound during server updateMark Washenberger2012-03-022-2/+27
| |/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes bug 945206 Change-Id: I4e5519cf03e61db78ee1f147f07bc2d1c0e01c49
* | | | | | | | | | | | | | | | Merge "Use stubout instead of manually stubbing out os.path.exists"Jenkins2012-03-021-7/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | Use stubout instead of manually stubbing out os.path.existsJohannes Erdfelt2012-03-021-7/+4
| |/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I76105662003c7dfdea29a9a7dea20b003111e399
* | | | | | | | | | | | | | | | Merge "Remove superfluous __init__ from test case"Jenkins2012-03-021-3/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Remove superfluous __init__ from test caseJohannes Erdfelt2012-03-021-3/+0
| |/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I4bb9855a8999df2ef91ddcac8e84b476523e753b
* | | | | | | | | | | | | | | Merge "Use stubout instead of manually stubbing out versions.VERSIONS"Jenkins2012-03-021-7/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Use stubout instead of manually stubbing out versions.VERSIONSJohannes Erdfelt2012-03-021-7/+1
| |/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id8277989aa0ad0e91464c37cde41ee854356144e
* | | | | | | | | | | | | | | Merge "Remove unused session variable in test setup"Jenkins2012-03-021-4/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / / / |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Remove unused session variable in test setupJohannes Erdfelt2012-03-021-4/+0
| |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib53a0d76d660cc7a002894ef63bc25c293f92fa0