summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | mkfs takes vfat, not fat32.Josh Kearney2012-02-061-1/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | Change-Id: I2619eea5371be430fe303db21a1958b84c5d0f0e
* | | | | | Merge "bug 927507: fix quantum manager get_port_by_attachment"Jenkins2012-02-063-29/+39
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | bug 927507: fix quantum manager get_port_by_attachmentDan Wendlandt2012-02-063-29/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - makes query efficient by using Quantum API filters (new in API v1.1) - fixes correctness issue where we did not handle case where network did not exist in quantum (note: this was masked by a quantum bug that will be fixed once this change is into nova). Also included a few other minor things in this patchset: 1) make get_instance_nw_info use network label from DB, which is already available, rather than calling out to quantum just to get the name. 2) quantum manager was not properly cleaning up VIFs in the nova db. This fixes that. 3) set 'bridge' in nw_info dictionary to the empty string, to clearly indicate that this value is ignored by Quantum Manager. Change-Id: Ia1cbb5232f8ce373b605979902f88d7528d3e456
* | | | | | Merge "Add initiator to initialize_connection"Jenkins2012-02-0615-49/+176
|\ \ \ \ \ \
| * | | | | | Add initiator to initialize_connectionVishvananda Ishaya2012-02-0415-49/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some volumes need to know the name of the initiator that will be connecting to the iscsi volume. This adds a call down to the hypervisor driver to get the ip and the initiator name for the vm before calling initialize connection. This connection is passed down to the volume driver so that it can be used to authenticate when the hypervisor tries to connect to the volume. * Adds initiator initialize_connection * Makes a call to driver to get initiator name and ip address * Gets initiator from openiscsi for libvirt * Gets initiator from config for xenapi * Add tests for the driver calls * Fixes bug 924461 Change-Id: I5b6a2dd84560c7f7b447571e0abf0993e5512ca0
* | | | | | | Merge "Allows nova to read files as root"Jenkins2012-02-064-0/+47
|\| | | | | |
| * | | | | | Allows nova to read files as rootVishvananda Ishaya2012-02-034-0/+47
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adds a rootwrap filter to limit readable files * Adds a utils method to read a file as root * adds tests to verify the additions work Change-Id: Ic1ffb6f72f9b73795d5f39fac719842e6bdf16dd
* | | | | | Merge "Pass partition into libvirt file injection"Jenkins2012-02-061-3/+5
|\ \ \ \ \ \
| * | | | | | Pass partition into libvirt file injectionJustin Santa Barbara2012-02-061-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 927289 Change-Id: If290cea2fe509e7e972ff614bddf958edcc621f6
* | | | | | | bug 924266: connection_type and firewall_driver flags mismatchArmando Migliaccio2012-02-067-5/+19
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If connection_type is None, the default firewall driver should not be nova.virt.libvirt.firewall.IptablesFirewallDriver; it should either be None or the base one. If this fix gets through, devstack needs to be fixed accordingly. See review below for details. https://review.openstack.org/#change,3576 Change-Id: I58dabc50be2d5cdcd509b2ac89a5bd0f78251bd0
* | | | | | Merge "Don't write a dns directive if there are no dns records in ↵Jenkins2012-02-061-0/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | /etc/network/interfaces"
| * | | | | | Don't write a dns directive if there are no dns records in ↵Justin Santa Barbara2012-02-051-0/+2
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | /etc/network/interfaces Change-Id: I26e22f37f91bf242aa573c91b26b2304fdd25751
* | | | | | Merge "Rename inst in _create_image, and pass instance to log msgs."Jenkins2012-02-062-43/+43
|\ \ \ \ \ \
| * | | | | | Rename inst in _create_image, and pass instance to log msgs.Michael Still2012-02-032-43/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This renames inst in _create_image to the more consistant name "instance". It also passes the instance through log messages in this method, and removes the instance name from the translatable text for the corresponding log messages. Change-Id: I9a085198d3bea5d073f4297cc57c84dc7fcb0349
* | | | | | | Merge "Fix broken flag in test_imagecache"Jenkins2012-02-062-0/+3
|\ \ \ \ \ \ \
| * | | | | | | Fix broken flag in test_imagecacheMichael Still2012-02-062-0/+3
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing the duplicate instances_path flag in nova/virt/libvirt in https://review.openstack.org/#change,3759 broke the imagecache unit tests. Change-Id: I8fed15bd22d88a7796e1f98981c3ad87358a244a
* / | | | | | Imported Translations from LaunchpadOpenStack Jenkins2012-02-051-256/+254
|/ / / / / / | | | | | | | | | | | | | | | | | | Change-Id: I6031c17fd161f4ac39dfa11f27d45846208df5f9
* | / / / / Re-run nova-manage under sudo if unable to read conffileSoren Hansen2012-02-042-2/+12
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Having to manually sudo to the nova user to make things work is tedious. Make it so that if we can't read the conffile, we just re-exec under sudo. Fixes bug 805695 Change-Id: I322cece80ca757c69147fb3f8474ad137d9bff82
* | | | | Merge "Provides flag override for vlan interface"Jenkins2012-02-034-3/+30
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Provides flag override for vlan interfaceVishvananda Ishaya2012-02-024-3/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This means you can have your vlan_interface be different on different hosts machines by setting vlan_interface differently on each host. * Allow non-homogenous vlan networks * Fixes bug 833426 * Includes failing test for linux_net Change-Id: I2f0d43c1366f88a8832a779c4065b37dd1a5bdf8
* | | | | X_USER is deprecated in favor of X_USER_IDMark Washenberger2012-02-032-4/+64
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addressed bug 926372 Eventually, we should stop supporting X_USER because it is *supposed* to be the user's login name rather than their id. But this change preserves the old behavior for stability. For more info checkout keystone/middleware/auth_token.py in the keystone project. Change-Id: Ie837e73f9a592a903af71a426e202f8b6a9ac581
* | | | Merge "Move cfg to nova.openstack.common"Jenkins2012-02-0384-872/+112
|\ \ \ \
| * | | | Move cfg to nova.openstack.commonMark McLoughlin2012-02-0384-872/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move it here so that it can be kept in sync with openstack-common using the new update.py script for code in openstack-common's incubation area. See here for more details: http://wiki.openstack.org/CommonLibrary#Incubation Note: this commit just moves the existing code in Nova with no other changes. A subsequent commit will sync it with latest openstack-common so that it is easier see the new changes. Change-Id: If88d678b1b9bad3d37117de7f7159d7fea8ab4c8
* | | | | Merge "Remove duplicate instances_path option"Jenkins2012-02-031-3/+0
|\| | | |
| * | | | Remove duplicate instances_path optionMark McLoughlin2012-02-031-3/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic5b4fd0fd5360ca6f9d029e8eb4d751a3ea36262
* | | | | Use Keystone Extension Syntax for EC2 CredsZiad Sawalha2012-02-032-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Syntax is OS-KSEC2:ec2Credentials (not ec2Credentials) - adds to fix for bug 917408 - Syntax also requires a call to /tokens instead of /ec2tokens - Changes are compatible (old syntax supported) - Warning will be issued to log if URL syntax is old Change-Id: I5ff9d1643122de2f383517e60f15852720c54490
* | | | | Merge "Delete swap VDI if not used"Jenkins2012-02-031-2/+6
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Delete swap VDI if not usedJohannes Erdfelt2012-02-031-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 889196 Change-Id: I08f4484310c5a35e62ca761193790a464ad15ac9
* | | | | Merge "Raise ApiError in response to InstanceTypeNotFound"Jenkins2012-02-033-16/+16
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Raise ApiError in response to InstanceTypeNotFoundMaru Newby2012-02-033-16/+16
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Updates methods in nova.compute.instance_types to catch InstanceTypeNotFound exceptions and re-raise them as ApiError. - Previously, the methods in instance_types were raising ApiError in response to DBError, but the underlying db calls have since been updated to detect empty results and throw more specific exceptions. * Updates get_instance_type_by_flavor_id to not try to catch DBError, as the underlying db call only ever raises FlavorNotFound. get_instance_type_by_flavor_id should not raise ApiError, as callers expect the FlavorNotFound exception and know how to handle it. * Fixes bug 872618 Change-Id: I8652f04889adb448017afd253ecdcc840fbb660f
* | | | Merge "Fix bug #924093"Jenkins2012-02-032-74/+56
|\ \ \ \
| * | | | Fix bug #924093masumotok2012-02-032-74/+56
| | | | | | | | | | | | | | | | | | | | Change-Id: If014165a630c3722eae26bf2aa1e5d137f145815
* | | | | Merge "Make sure tenant_id is populated"Jenkins2012-02-031-0/+2
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Make sure tenant_id is populatedBrad Hall2012-02-021-0/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic2dfa06d3a3bef2f63e011629a870903b5990363
* | | | | Merge "blueprint nova-image-cache-management phase1"Jenkins2012-02-037-1/+673
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | blueprint nova-image-cache-management phase1Michael Still2012-02-037-1/+673
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Phase 1 of the image-cache-management blueprint. Implement checksumming and verification of base images, as well as removal of base images which are not in use. Removal is enabled with a flag. Change-Id: Ib04a02075a103c2fef6716fd0ac87c41a3535d37
* | | | | Fix for bug 883310Mandell Degerness2012-02-032-4/+18
| |/ / / |/| | | | | | | | | | | | | | | | | | | Don't throw exception when flavor has vcpus=0 or memory_mb=0 Change-Id: I6f12cf06a569b491f537880afe37f2cf516be2d2
* | | | Merge "Make crypto use absolute imports"Jenkins2012-02-021-4/+3
|\ \ \ \
| * | | | Make crypto use absolute importsVishvananda Ishaya2012-02-021-4/+3
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | * Fixes bug 925792 * Cleans up some extra imports as well Change-Id: Ibea2411f552747e074c8d2e96468e3b09bf9c9c9
* | | | Merge "Remove duplicate logging_debug_format option"Jenkins2012-02-021-4/+0
|\ \ \ \ | |/ / / |/| | |
| * | | Remove duplicate logging_debug_format optionMark McLoughlin2012-02-021-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | Looks like it was accidentally added by commit 605c22b18. Change-Id: Ibfd16e47cea3fa549f3a6064076361098ba76dd6
* | | | Merge "fix stale libvirt images on download failure. Bug 801412"Jenkins2012-02-021-2/+6
|\ \ \ \ | |/ / / |/| | |
| * | | fix stale libvirt images on download failure. Bug 801412Pádraig Brady2012-02-021-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we've just truncated/created the file to receive the download, but the download fails, then delete the file. Otherwise subsequent downloads would not be attempted. Change-Id: Ibe9ba199b2f424d570ce7aedfb768ce283816a3b
* | | | Merge "Add comments to injected keys and network config"Jenkins2012-02-022-1/+10
|\ \ \ \
| * | | | Add comments to injected keys and network configBrian Waldon2012-02-022-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 754950 Change-Id: Ib773479c3b34b9ddd322abd02b297acf5359a847
* | | | | Merge "remove auto fsck feature from file injection. Bug 826794"Jenkins2012-02-023-28/+7
|\ \ \ \ \
| * | | | | remove auto fsck feature from file injection. Bug 826794Pádraig Brady2012-02-023-28/+7
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is at least independent of file injection, and as noted in the bug report is questionable to do anyway. Change-Id: Iddd33c446bad2232ea2d47cc30778228d1d222b0
* | | | | Merge "Set rescue instance hostnames appropriately."Jenkins2012-02-021-1/+11
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Set rescue instance hostnames appropriately.Josh Kearney2012-02-021-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 920605. Change-Id: Iedba7d727fb88d169cc5ca6387ef13345d227c48
* | | | | Merge "Throw an user error on creating duplicate keypairs Fixes bug 902162"Jenkins2012-02-024-3/+19
|\ \ \ \ \