summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | | | Cleanup swap in _create_vm undoRick Harris2012-03-021-2/+1
|/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 945198 Change-Id: I697fab1bbfdd45fc22d5490524e138c4f377bc58
* | | | | | | | | | | | | Merge "update copyright, add version information to footer"Jenkins2012-03-021-1/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | update copyright, add version information to footerJesse Andrews2012-03-011-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic957de1d986f7df6193228aa0051bd93f75945ba
* | | | | | | | | | | | | | Merge "Remove empty setUp/tearDown methods"Jenkins2012-03-0224-94/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Remove empty setUp/tearDown methodsJohannes Erdfelt2012-03-0224-94/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python will call into the parent classes implementation of setUp/tearDown if there is no implementation in the child Also, make sure all setUp implementations subclassed off test.TestClass call the parent setUp so everything gets setup correctly Change-Id: If410cd412d9557a0d3172ec96b592fbd3fd67ffd
* | | | | | | | | | | | | | | Merge "Call super class tearDown correctly"Jenkins2012-03-021-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Call super class tearDown correctlyJohannes Erdfelt2012-03-021-1/+1
| | |_|_|_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I39dcf337f57a59cab1ad69a649505b588bfda87b
* | | | | | | | | | | | | | Merge "Refactor spawn to use UndoManager."Jenkins2012-03-024-147/+216
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | |
| * | | | | | | | | | | | | Refactor spawn to use UndoManager.Rick Harris2012-03-014-147/+216
| | |_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UndoManager provides a mechanism for automatically rolling back on exceptions. An additional benefit of this approach is that undo code is spatially close to the roll-forward code. This patch should be considered an intermediate step towards a more complete Command pattern based approach down the road. Change-Id: Ib429420d67324422a5d13cdea6872fd9c57c857e
* | | | | | | | | | | | | Merge "Remove unnecessary setting up and down of mox and stubout"Jenkins2012-03-0225-207/+36
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Remove unnecessary setting up and down of mox and stuboutJohannes Erdfelt2012-03-0225-207/+36
| | |/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test.TestCase already sets up self.mox and self.stubs as well as calling self.mox.UnsetStubs(), self.stubs.UnsetAll(), self.stubs.SmartUnsetAll() and self.mox.VerifyAll() during tearDown. Change-Id: I74f0824ca1e8daa7b0ee7d7a62b226ba51206e6f
* / | | | | | | | | | | | Fail gracefully when the db doesn't speak unicodeMike Lundy2012-03-022-0/+10
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When sqlalchemy/mysql doesn't contain the charset=utf8 or use_unicode=1 parameters (and the default mysql connection charset is not utf8), sqlalchemy will connect to mysql in ascii mode; In ascii mode, it will attempt to reencode all input data to latin-1 regardless of the database/table collation setting. This catches that error and turns it into an invalid parameter. (The error message associated with this is something like UnicodeEncodeError: 'latin-1' codec can't encode character u'\u2026' in position 30: ordinal not in range(256)) This fixes bug 944034 and is related to bug 898808 Change-Id: I082b7568ef9e9d2104e13aa58d207535ef201bd3
* / / / / / / / / / / / Remove unnecessary variables from testsJohannes Erdfelt2012-03-0127-75/+3
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id83ea12ee89ee6511277aa2f0929f9bedb8f638b
* | | | | | | | | | | Merge "blueprint sphinx-doc-cleanup bug 944381"Jenkins2012-03-013-2/+11
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | blueprint sphinx-doc-cleanupDoug Hellmann2012-03-013-2/+11
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug 944381 Add logic to generate_autodoc_index.sh to produce rst underlines to match the heading strings. Change-Id: Ib0f54a45fcc4ab6dfaa593c756682f1a25fdb420
* | | | | | | | | | | Merge "Minor cleanup based on HACKING"Jenkins2012-03-019-35/+43
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Minor cleanup based on HACKINGJoe Gordon2012-03-019-35/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I59f02c33c3ecb0c446755a07562060a12f85e177
* | | | | | | | | | | Merge "Remove unused imports and variables from OS API"Jenkins2012-03-0117-35/+23
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Remove unused imports and variables from OS APIChris Behrens2012-02-2917-35/+23
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also spotted and fixed a bug in multinic compute extension (extension.* was typoed as extensions.*) Also noted a potential bug in 'virtual_storage_arrays' extension Change-Id: Iee2f67b13b3e321f8de3df5684c1c9eb13db95eb
* | | | | | | | | | | Merge "notifications for delete, snapshot and resize"Jenkins2012-03-012-1/+30
|\ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | notifications for delete, snapshot and resizeSandy Walsh2012-02-292-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I67a6d190afde915551acd5bdf80ace8b666e27ef
* | | | | | | | | | | libvirt driver calls unplug() twice on vm reboot.Dan Wendlandt2012-03-012-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug 944168 Also prevents OVS vif plugging driver from raising an exception if deleting the OVS port fails. We already log an error and print the exception, and there's no reason that failing to delete the OVS port should cause the whole operation to fail. Change-Id: I01c22ab8627762831a106b407f758f6592363f33
* | | | | | | | | | | Add missing format string type on some exception messagesJohannes Erdfelt2012-03-011-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I21929456eeb142cb5e28899bbf308b47192adf41
* | | | | | | | | | | Fixing a request-id header bugNaveed Massjouni2012-03-011-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The request-id header was only showing up in 2XX responses. It did not show up in error responses, which is when it would be most helpful. Change-Id: Ie20894b7040cc831ab8fb3088378702033bc01a2
* | | | | | | | | | | Merge "sm vol driver: Fix regression in sm_backend_conf_update"Jenkins2012-03-011-6/+9
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / | |/| | | | / / / / / | |_|_|_|_|/ / / / / |/| | | | | | | | |
| * | | | | | | | | sm vol driver: Fix regression in sm_backend_conf_updateRenuka Apte2012-02-271-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 915108 Change-Id: Iffa9a1a51f6e9da0cba9fdae373135ea6a70990f
* | | | | | | | | | Fixes lp931801 and a key_errorAaron Lee2012-02-292-6/+35
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The quantum manager should log the errors it receives from quantum, even when charging ahead with the deletes. update: pep8 and less some testing code update: checking log is called and consolidate error messages Change-Id: I8f533e8e54c5e4487614a61a73d9c8e2e756058d
* | | | | | | | | Merge "Be consistent with disabling periodic tasks."Jenkins2012-02-291-4/+1
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Be consistent with disabling periodic tasks.Michael Still2012-02-291-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Other periodic tasks use an interval of zero to signal that they are disabled. Use that for the libvirt image cache manager as well. Change-Id: I12fddd52fe587d3975004c696c65dae5427498fa
* | | | | | | | | | Merge "Ensure that context read_deleted is only one of 'no', 'yes' or 'only'"Jenkins2012-02-293-1/+18
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Ensure that context read_deleted is only one of 'no', 'yes' or 'only'Johannes Erdfelt2012-02-293-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 942690 Change-Id: I1b1867062a8af7b3fb0eb575e6b9570a964cfefa
* | | | | | | | | | | Merge "register Cell model, not Zone model"Jenkins2012-02-291-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | register Cell model, not Zone modelChris Behrens2012-02-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A rename was missed when registering sqlalchemy models. Change-Id: I11b1318ebd26a4a98627509cf194de6080192da7
* | | | | | | | | | | Merge "Option expose IP instead of dnshost in ec2 desc'"Jenkins2012-02-294-2/+10
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Option expose IP instead of dnshost in ec2 desc'Dave Walker (Daviey)2012-02-294-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As documented in bug 901594, previous nova releases, the IP address was exposed as the DNS hostname, which worked well with euca-tools. This is unfortunately not always ideal for private clouds. Whilst it is expected to be able to euca-describe-instances --ipv4 in newer euca2ools releases, this behaviour is not always desired. This patchset allows the nova admin to set a global flag of: --ec2_private_dns_show_ip=True, to restore legacy nova behaviour. This does not change the current default behaviour of nova. Change-Id: I7c71ffe63929d90d45d9c724ab3409dcdee52b44
* | | | | | | | | | | | Merge "Remove old ratelimiting code"Jenkins2012-02-293-240/+0
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Remove old ratelimiting codeBrian Waldon2012-02-293-240/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This code hasn't been modified in 8 months and isn't used anywhere. Change-Id: I55d641095fb9a8541a1e86939a33b4d0e9c492a5
* | | | | | | | | | | | Merge "Fix _sync_power_states to obtain correct 'state'."Jenkins2012-02-291-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Fix _sync_power_states to obtain correct 'state'.Dan Prince2012-02-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the compute manager to obtain state from the get_info dict correctly. Fixes 'dict' object has no attribute 'state' error that occur when syncing power states. Fixes LP Bug #934276. Change-Id: I3e3602018f4c38f78b48186bfca78eda362a9e54
* | | | | | | | | | | | | Merge "Destroy VM before VDIs during spawn cleanup"Jenkins2012-02-291-2/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Destroy VM before VDIs during spawn cleanupRick Harris2012-02-291-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 943453 Change-Id: I65fd4c61f9f91abeb04d0d1956506a1c69cef72e
* | | | | | | | | | | | | | Merge "Ensures that keypair names are only AlphaNumeric."Jenkins2012-02-292-0/+24
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | |
| * | | | | | | | | | | | | Ensures that keypair names are only AlphaNumeric.Justin Shepherd2012-02-292-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Throws a 400 error if keypair contains any unsafe characters. Safe characters are '_-', digits, and ascii_leters. Added test_keypair_create_with_non_alphanumeric_name. Fixes bug 937408. Change-Id: If9b1393ee8f36113d2fa8a3b97ca526cc2e6ccf1
* | | | | | | | | | | | | | Merge "Adds netapp volume driver"Jenkins2012-02-293-0/+1607
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Adds netapp volume driverRob Esker2012-02-293-0/+1607
| | |_|_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * includes a fake implementation of the netapp soap api * implements blueprint netapp-volume-driver Change-Id: I8e2781e8bd4a552354f46a32c4a7ecdfd19f3e7a
* | | | | | | | | | | | | | Merge "Add missing filters for new root commands"Jenkins2012-02-294-2/+16
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Add missing filters for new root commandsThierry Carrez2012-02-294-2/+16
| | |_|/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missing rootwrap filters for 'ovs-ofctl', 'cp' and 'mkfs'. Do not run 'rm' as root since it's unnecessary. Add documentation to try to prevent future misses. Fixes bug 943293. Change-Id: Ia680048a28a75f661a136d8447ff0aaf195649ba
* | | | | | | | | | | | | | Merge "Cast vcpu_weight to string before calling xen api"Jenkins2012-02-291-3/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | |
| * | | | | | | | | | | | | Cast vcpu_weight to string before calling xen apiMark Washenberger2012-02-291-3/+3
| | |_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 943490 - style changes per s1rp Change-Id: If6444aa0bff35c54c6c3d57f97507b16b1e27d6a
* | | | | | | | | | | | | Merge "Initialize progress to 0 for build and resize."Jenkins2012-02-291-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | |