summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge "Strip out characters that should be escaped from console output"Jenkins2012-03-201-0/+5
|\ \ \ \
| * | | | Strip out characters that should be escaped from console outputJustin Santa Barbara2012-03-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Minidom has a bug where it doesn't escape characters < 32 correctly. That is http://bugs.python.org/issue5752 We probably want to move to lxml anyway. Console-output is particularly likely to have invalid characters, because ANSI output include the ESC character (0x1B). Strip out invalid characters for this case (although the problem is still present anywhere we write a string in the XML) Bug #939386 Change-Id: I4689c0f26fb4887867a8d5b6f5e5fb5e2590be91
* | | | | Merge "Fix lxc console regression"Jenkins2012-03-201-17/+19
|\ \ \ \ \
| * | | | | Fix lxc console regressionChuck Short2012-03-191-17/+19
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dont always assume that console is a file. Fixes bug 959843 Change-Id: I6e0512b85a770ecb3963512751a535ccab91a9a8 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* / / / / Improve performance of generating dhcp leasesVishvananda Ishaya2012-03-195-214/+182
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Dont make 2 * instances queries when generating dhcp leases * Uses some nasty joins to minimize necessary changes * Adds test to verify functionality * Uses old sqlalchemy compatible join syntax * Uses vif_id as nw identifier for single_host_gateway mode * Cleans up tests in linux_net * Fixes bug 959378 Change-Id: I1c74d114dd7caad1781180585bb65691e536bcf9
* | | | Merge "Stop notifications from old leases"Jenkins2012-03-191-9/+5
|\ \ \ \
| * | | | Stop notifications from old leasesVishvananda Ishaya2012-03-191-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes performance issue with lots of instances * Also removes some commented out code * Fixes bug 959356 Change-Id: I6e4cf3cd6ebe9d5d1ae4fc2472ef1765d13f49f6
* | | | | Remove unnecessary data from xenapi testBrian Waldon2012-03-191-10192/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: I321af485aa28e654cff27d0db5753020f7fc3c20
* | | | | Correct accessIPv6 error message.Dan Prince2012-03-191-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | Fixes LP Bug #959661. Change-Id: I95d497de1df4d10cfa1213c31cb6bfd120f7c6b3
* | | | Fix typo in server diagnostics extension.Anthony Young2012-03-182-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes bug 957716 * Tweak test to catch regression Change-Id: I71cafadfec90d907a65429e1c1ca1812d1069b25
* | | | Stub-implement floating-ip functions on FlatManagerJustin Santa Barbara2012-03-181-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was messing up horizon in a way that would probably be difficult to fix. It also is probably a bit tricky to implement floating ips properly for FlatManager at this stage of the release cycle. Stub them out for now, to keep horizon happy. Bug #954580 Bug #937227 Change-Id: Icb8d689860b893ebeeee02e248e836c52830b2de
* | | | Merge "various cleanups"Jenkins2012-03-184-8/+5
|\ \ \ \
| * | | | various cleanupsPádraig Brady2012-03-164-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No functional changes Change-Id: I19e118e6e0c47fccfe5a817e727f3ab27e26aa79
* | | | | Merge "Debug messages for host filters."Jenkins2012-03-181-0/+13
|\ \ \ \ \
| * | | | | Debug messages for host filters.Michael Still2012-03-161-0/+13
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will help people work out why they have NoValidHosts when things go wrong. Resolves bug 955650 Change-Id: I042937351010e85648cbc1aa0f029dbb5a402eb7
* | | | | Merge "allow the compute service to start with missing libvirt disks"Jenkins2012-03-181-9/+17
|\ \ \ \ \
| * | | | | allow the compute service to start with missing libvirt disksPádraig Brady2012-03-161-9/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * nova/virt/libvirt/connection.py: Program defensively and handle the case of missing instance disks and log the error rather than propagating that exception up (which triggers nova.service to fail). * Fixes bug 957110 Change-Id: I1a414f56661843ff6b886e6ebf6f614fcb5a5f31
* | | | | | Update etc/nova.conf.sample for shipVishvananda Ishaya2012-03-171-36/+47
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib4ea40116151566a328fedfb360d00b3140e3714
* | | | | | Merge "nonblocking libvirt mode using tpool"Jenkins2012-03-173-2/+23
|\ \ \ \ \ \
| * | | | | | nonblocking libvirt mode using tpoolYun Mao2012-03-143-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an option libvirt_nonblocking (disabled by default) to use a thread pool to execute all libvirt API calls. Previously all the calls except one in firewall.py are blocking in the eventlet thread model. Change-Id: I665ed7a629bb029011b181e8d2844fc2276502d9
* | | | | | | Fix run/terminate race conditions.Anthony Young2012-03-165-38/+66
| |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * synchronize run,terminate,stop,start on instance_uuid * don't surpress error when unfiltering instance, which can result in a zombified instance. * Fixes bug 956719 * Remove debug raise Change-Id: I8b2eaffdabfd5c1a9414adb1b5ed11e4c48711fc
* | | | | | Workaround issue with greenthreads and lockfilesVishvananda Ishaya2012-03-163-1/+98
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adds a GreenLockFile that always works in greenthreads * Adds test to verify that regular Lockfile is broken * Adds test to verify that GreenLockfile works * Adds note about limitation of external locks * Adds test showing limitation of nested locks * Fixes bug 956313 Change-Id: I11cd1206611aa4862dadd2fcc077c4c2e0f798f6
* | | | | Destroy rescue instance if main instance is destroyedJohannes Erdfelt2012-03-161-0/+6
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 955166 If the main instance was destroyed while an instance was in rescue mode the rescue instance would not be destroyed. Ensure it gets destroyed too. Change-Id: I7d411a2b532fae7ba90c0639527805f47913fce6
* | | | Remove Virtual Storage Array (VSA) codeBrian Waldon2012-03-1528-4656/+2
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove core vsa code (api, manager, drivers) * Remove nova-vsa executable * Remove OpenStack Compute API v2 vsa extension * Remove vsa scheduler * Remove vsa db api methods * Remove Zadara volume driver * Do not migrate out any existing data * Fixes bug 954490 Change-Id: Idab3d60796d5edbc23ef9f0887fcc1af558c6215
* | | Merge "Fix up docstring"Jenkins2012-03-161-3/+3
|\ \ \
| * | | Fix up docstringJoe Gordon2012-03-141-3/+3
| |/ / | | | | | | | | | Change-Id: I0b9e29455393c34e2861360418297b60bd073d9d
* | | Merge "Use getLogger for nova-all"Jenkins2012-03-161-2/+4
|\ \ \
| * | | Use getLogger for nova-allVishvananda Ishaya2012-03-151-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | * logging.exception is not defined to to logging refactor Change-Id: Id95b3ca4dd3fd2cf3396e0b90d90c4a0edf90cf6
* | | | Merge "db api: Remove check for security groups reference"Jenkins2012-03-163-40/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | db api: Remove check for security groups referenceAdam Gandelman2012-03-153-40/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | security_group_in_use() should only be checking that a security group is associated with running instances, not that other groups are referencing it in their rules. With this check in place, it becomes impossible to delete self-referential security groups. Fixes bug 956366. Update: Remove obsolete test as well Change-Id: I31f49c655b044dbaf0fb66dfaadb876c9dc3d167
* | | | Merge "Allow proper instance cleanup if state == SHUTOFF"Jenkins2012-03-161-7/+0
|\ \ \ \
| * | | | Allow proper instance cleanup if state == SHUTOFFAdam Gandelman2012-03-151-7/+0
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes an obsolete check for instance's power_state on shutdown_instance(). With it in place, volume detachment and disassociation never takes place. Compute should instead rely on virt drivers to handle this case and raise accordingly. libvirt's destroy() currently handles powered off instances fine, and properly detaches any existing volume connections. Fixes bug 954692 Change-Id: I200d5b2073e5b52a9733d8324d016b14bdc96067
* | | | Merge "Fix OpenStack Capitalization"Jenkins2012-03-1649-49/+49
|\ \ \ \ | |/ / / |/| | |
| * | | Fix OpenStack CapitalizationJoe Gordon2012-03-1549-49/+49
| |/ / | | | | | | | | | | | | | | | | | | Openstack => OpenStack for nova/*py Change-Id: Ibcfae4776422a515a109e59510fc84f8b63c00b9
* | | Merge "Stop setting promisc on bridge"Jenkins2012-03-162-10/+0
|\ \ \
| * | | Stop setting promisc on bridgeVishvananda Ishaya2012-03-152-10/+0
| |/ / | | | | | | | | | | | | | | | | | | * With hairpin mode the old workaround is now broken * Fixes bug 956474 Change-Id: Ib06baa5292ad59138041b2c641673a96263b5ff8
* / / Remove improper use of redirect for hairpin modeVishvananda Ishaya2012-03-151-2/+0
|/ / | | | | | | | | | | * Fixes bug 943316 Change-Id: I7fb5ffa812f7474613500bd7d9f141f83ad70614
* | Merge "fix timestamps to match documented ec2 api"Jenkins2012-03-153-3/+4
|\ \
| * | fix timestamps to match documented ec2 apiMark McClain2012-03-153-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | fixes bug: 823503 Update to the dateTime format to provide three places of precision to microseconds. This change makes the API match the ec2 documents. Change-Id: I765e64e99042ade9fa996dfb1dee603d363f9b2c
* | | Fix OpenStack CapitalizationJoe Gordon2012-03-1522-25/+25
| | | | | | | | | | | | | | | | | | Openstack => OpenStack Change-Id: I13921ae3fcc40a85ace84a32e52a1507b802f691
* | | HACKING fixes, TODO authors.Yuriy Taraday2012-03-1614-20/+21
| | | | | | | | | | | | | | | | | | | | | Looks like this fixes all HACKING problems that were around. Thanks to Dina Belova and Alexander Kovalev for this work. Change-Id: I63ae1ab2f1bb37daa236cde4096c3c893fd80dd2
* | | Keep context for logging intact in greenthreadsVishvananda Ishaya2012-03-154-3/+7
|/ / | | | | | | | | | | * fixes bug 942918 Change-Id: Ia0fcf459c53b95a8675472adcfbba08014e34e5b
* | Merge "Add ssl and option to pass tenant to s3 register"Jenkins2012-03-151-1/+10
|\ \
| * | Add ssl and option to pass tenant to s3 registerVishvananda Ishaya2012-03-141-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | * needed to support swift/s3 authentication * also adds option for ssl if swift is secured * fixes bug 954505 Change-Id: I6656592020b02ba46e44c793d6f0f1fde9f8178d
* | | Merge "Fix LXC volume attach issue"Jenkins2012-03-151-4/+5
|\ \ \
| * | | Fix LXC volume attach issueThierry Carrez2012-03-151-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix erroneous use of echo to set permissions on LXC volume access. Fixes bug 943304. Note that based on input from the duplicate bug (948193), we set: b x:x rwm to /sys/fs/cgroup/devices/libvirt/lxc/x/devices.allow instead of: c x:x rwm to /sys/fs/cgroup/devices/sysdefault/libvirt/lxc/x/devices.allow Change-Id: Ia048d3f46799839b4b85c781bb50488e09ba9b5e
* | | | Merge "Refix mac change to work around libvirt issue"Jenkins2012-03-151-1/+7
|\ \ \ \
| * | | | Refix mac change to work around libvirt issueVishvananda Ishaya2012-03-141-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes bug 921838 Change-Id: I11278a03c4429686499b2f62c66a7f442258f5a6
* | | | | Merge "Make extended status not admin-only by default."Jenkins2012-03-151-1/+1
|\ \ \ \ \
| * | | | | Make extended status not admin-only by default.Anthony Young2012-03-141-1/+1
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes bug 955737 * Fixes bug 955735 Change-Id: Ie8d6b67b50d50390edabdde180ed6e29764e2041