summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | Merge changes I964abb76,If67416e3Jenkins2012-01-218-1592/+1397
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Refactor test_scheduler into unit tests Forgot to update chance scheduler for ignore_hosts change
| * | | | | | Refactor test_scheduler into unit testsChris Behrens2012-01-207-1579/+1387
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adds a service_is_up test for utils/service_is_up, which used to be in the scheduler. Minor bug spotted when doing tests, also, with live migration. Was checking 'launched_on' host when should be checking current host. Change-Id: I964abb767d619afbd90da549b267d8a9d7c31fc1
| * | | | | | Forgot to update chance scheduler for ignore_hosts changeChris Behrens2012-01-202-17/+14
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | Change-Id: If67416e30b8cfe12de6fdc5c151899fd0a56225c
* | | | | | Merge "Handle FlavorNotFound on server list w/ filter"Jenkins2012-01-212-6/+16
|\ \ \ \ \ \
| * | | | | | Handle FlavorNotFound on server list w/ filterBrian Waldon2012-01-202-6/+16
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 919426 Change-Id: I1f450fd7ed28837b664aa81f4dd833e3433cd126
* | | | | | Add SchedulerHints compute extensionBrian Waldon2012-01-205-4/+178
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows arbitrary key/values to be passed in on a compute create request or rebuild/resize action. That data will be made available to the compute api as a filter_properties dictionary. Change-Id: Ie2ec57dcbc0d1d178e06606cb41027f9e46719a2
* | | | | Add option to force hosts to schedulerVishvananda Ishaya2012-01-205-8/+41
|/ / / / | | | | | | | | | | | | Change-Id: I7364115e247ebeb441fa838ac66db5ef5f608b55
* / / / pass filter_properties into scheduling requests for run_instanceChris Behrens2012-01-204-55/+28
|/ / / | | | | | | | | | | | | | | | | | | Cleans up the resize stuff for avoiding a host Allows for user-specified or compute-specified filters. Change-Id: I0c6066240f602788eff1e0b5856ac52c03a4ebf0
* | | Merge "nova/network: pass network_uuid to linuxnet_interface_driver and vif ↵Jenkins2012-01-202-0/+2
|\ \ \ | | | | | | | | | | | | driver"
| * | | nova/network: pass network_uuid to linuxnet_interface_driver and vif driverIsaku Yamahata2012-01-192-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is preparation for Quantum ovs ryu driver which is proposed by https://blueprints.launchpad.net/quantum/+spec/ovs-driver-extension The ryu is available at https://github.com/osrg/ryu When ovs port is created, the related network information (including network uuid) is told to ryu. Change-Id: I88ca1ab9dda4c40d3f5cae4935fcc6f78cf68f28
* | | | Merge "Allow Quantum Manager to run in "Flat" mode."Jenkins2012-01-201-3/+8
|\ \ \ \
| * | | | Allow Quantum Manager to run in "Flat" mode.Jason Kölker2012-01-191-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes LP918976 Change-Id: I587a48e26e8edc3f813dcd1db8f0357894718b3b
* | | | | Merge "Fix missing imports and bad call caught by pyflakes"Jenkins2012-01-201-4/+2
|\ \ \ \ \
| * | | | | Fix missing imports and bad call caught by pyflakesVishvananda Ishaya2012-01-181-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib2735fff18d76152baa7f9c61af7ddf4594c722b
* | | | | | Merge "Drop FK constraint if it exists in migration 064"Jenkins2012-01-201-0/+14
|\ \ \ \ \ \
| * | | | | | Drop FK constraint if it exists in migration 064Chuck Short2012-01-171-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes LP bug 916992 A workaround was originally applied to fix a FK constraint problem in migration 064. The original bug only affected MySQL+InnoDB databases and was masked by using MySQL+MyISAM. Commit d503d6b1079f9eafe0430754214fc5b6d4e32c09 attempted to improve the workaround, though it caused issues on databases not using InnoDB, so it was reverted enitrely and we are back with the original bug. This change will attempt to drop the FK constraint only if it exists. This should now support MySQL installations that are configured both default_storage_engine=MyISAM (oneiric) and default_storage_engine=InnoDB (precise) Change-Id: Ie2cfa32d8f52b163f513679649da52a73fc501df Signed-off-by: Adam Gandleman <adam.gandleman@canonical.com> Signed-off-by: Chuck Short <chuck.short@canonical.com>
* | | | | | | Merge "Validating image id for rebuild."Jenkins2012-01-203-10/+34
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | Validating image id for rebuild.Naveed Massjouni2012-01-193-10/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 886701 Change-Id: I20ad03edca390af9203569e02ae0c1af5bb7beaf
* | | | | | | scheduler host_manager needs service for filtersChris Behrens2012-01-1913-57/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | distributed scheduler isn't checking service_is_up or services['disabled'] due to filters not having access to service. Fixed both. Since ec2 API also uses service_down_time, I moved service_is_up() into utils and made ec2 use it. Change-Id: I0321844a47031b2de4d8738e032a4634edd1e945
* | | | | | | aws/ec2 api validationJoe Gordon2012-01-194-4/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds middleware to validate user-input to the aws/ec2 api. This patch is a port to gerrit of this launchpad merge request: https://code.launchpad.net/~u-matt-h/nova/aws-api-validation/+merge/71962 blueprint aws-api-validation bug 813685 Code started by Matthew Hooker, fixes by Joe Gordon Change-Id: I9346ecd5e5051cb0126c13f7c771173bc23959b9
* | | | | | | Fix for bug 918502Brian Lamar2012-01-192-1/+17
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous fix for this did not take, this change has a test and should once and for all solve this issue. Change-Id: Ieb4def28dce4f1f993a2af87425bd280185456ab
* | | | | | Merge "Allow instances in 'BUILD' state to be deleted."Jenkins2012-01-192-6/+5
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Allow instances in 'BUILD' state to be deleted.Dan Prince2012-01-172-6/+5
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Fixes LP Bug #907808. Change-Id: I4332e9e822db507951af07bd654a27b3e2ce3973
* | | | | Merge "More cleanup of Imports to match HACKING"Jenkins2012-01-194-12/+10
|\ \ \ \ \
| * | | | | More cleanup of Imports to match HACKINGJoe Gordon2012-01-194-12/+10
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | Found using https://github.com/cloudscaling/nova-HACKING Change-Id: Iaf95d7c65d4c6ff1fa4b045d83a4266cc8f27efe
* | | | | Merge "Clarify error messages for admin passwords."Jenkins2012-01-191-1/+3
|\ \ \ \ \
| * | | | | Clarify error messages for admin passwords.Dan Prince2012-01-181-1/+3
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Logs the instance uuid and a more clear error message when errors occur while setting admin passwords. Fixes LP bug #918502. Change-Id: I7d698ee87ac147cb5137cb77d0c0297a47507798
* | | | | Merge "Log uuid when instances fail to spawn."Jenkins2012-01-191-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Log uuid when instances fail to spawn.Dan Prince2012-01-181-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Update xenapi/vmops.py so it logs the UUID instead of the instance ID when instances fail to spawn. Fixes LP bug #918497. Change-Id: Id7f41ccb79d22df5d10a5d6d9822ff65dd459056
* | | | Merge "Removed references to FLAGS.floating_ip_dns_domains."Jenkins2012-01-193-8/+14
|\ \ \ \
| * | | | Removed references to FLAGS.floating_ip_dns_domains.Andrew Bogott2012-01-183-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now the availabable floating_ip_dns zones can be modified dynamically, and determined from the DNS driver and nova database. Change-Id: I0e02858e95085c868e8891f8f21d204472c46d33
* | | | | Merge "Removed some vestigial default args from DNS drivers."Jenkins2012-01-194-8/+13
|\| | | |
| * | | | Removed some vestigial default args from DNS drivers.Andrew Bogott2012-01-184-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In an early design, the domain was optional for several DNS driver methods. That would add some needless complexity to the drivers, and I never really implemented it anyway. For blueprint public-and-private-dns. Change-Id: Ia7b4c9ff7eaa9b6d8c1091a92bb7439941ac0a9f
* | | | | Merge "Clean up crypto.py"Jenkins2012-01-193-76/+14
|\ \ \ \ \
| * | | | | Clean up crypto.pyVishvananda Ishaya2012-01-183-76/+14
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove chained certs since we don't use them * Make get_vpn use the existing generate call instead of shell script * (Bonus: we can revoke vpn certs now) Change-Id: I8e118c5bd3dee6ba7c6a2a1390874b69008c436b
* | | | | chmod nova-logspoolZhongyue Luo2012-01-191-0/+0
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #918612 chmod 775 nova-logspool Change-Id: I7b773b2058c7180229d2d7b893d3c6aa3b02e4bb
* | | | Merge "Fix bug #917615"Jenkins2012-01-192-3/+3
|\ \ \ \
| * | | | Fix bug #917615masumotok2012-01-182-3/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: I773b3f026fd7ebcb2aefcd2ef348cca0c5477238
* | | | | Merge "Rename 'zone' to 'domain.'"Jenkins2012-01-1913-302/+307
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| |
| * | | Rename 'zone' to 'domain.'Andrew Bogott2012-01-1813-302/+307
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This code was getting confusing because of the ambiguity between dns zones and openstack availability zones. 'Domain' seems a bit clearer than 'zone' in this context. For blueprint public-and-private-dns. Change-Id: I1d420be2e6f2054ee4392ce762775ece20a823b3
* | | | Allow config of vncserver_proxyclient_address.Anthony Young2012-01-185-11/+24
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | * Improves deployment flexibility by allowing deployers to choose which address proxies like nova-xvpvncserver should use to to connect to instance proxies. For xenserver, this will generally be the management ip of dom0. For libvirt, this will be the management ip of the host. * Fixes bug 918451 * Renames vncserver_host to vncserver_listen for slightly better usage clarity * Updates docs Change-Id: I85c9850c57ffac3dfecaec4510eb808a6a2af79c
* | | Merge "Added an LDAP/PowerDNS driver"Jenkins2012-01-182-0/+428
|\ \ \
| * | | Added an LDAP/PowerDNS driverAndrew Bogott2012-01-182-0/+428
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This driver is largely for internal WikiMedia use. It will probably need a fair bit of tinkering for any other deployment. Related to blueprint public-and-private-dns. Change-Id: I8636296192aecffedf363bd10a4ae761f7f6e6c3
* | | | Merge "disk_config extension now uses OS prefix."Jenkins2012-01-182-9/+13
|\ \ \ \
| * | | | disk_config extension now uses OS prefix.Rick Harris2012-01-182-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 918433 Change-Id: Ia3177b53cd51396a29363eb595e5ca5ac47a5605
* | | | | Merge "Cleanup Imports to match HACKING guidelines"Jenkins2012-01-183-11/+10
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Cleanup Imports to match HACKING guidelinesJoe Gordon2012-01-183-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | found using https://github.com/cloudscaling/nova-HACKING Change-Id: Ic010f0407e7a139f0f6436af2e72e817c140a4c3
* | | | | Merge "Automatically clean up DNS when a floating IP is deallocated."Jenkins2012-01-182-0/+57
|\ \ \ \ \
| * | | | | Automatically clean up DNS when a floating IP is deallocated.Andrew Bogott2012-01-182-0/+57
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | For blueprint public-and-private-dns. Change-Id: Ifd8827a8454296c5a2615df66805fbdcb65130e8
* | | | | Do not write passwords to verbose logs. bug 916167Joe Gordon2012-01-182-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Look for _key and _password in flag names Change-Id: Ic0c43ad70db0b9f819219e8ca4966908e48b50c9