Merge "add 'random_seed' entry to instance metadata"
Merge "Fix revert resize failure with disk.local not found"
Merge "Trap exception when trying to write csr"
Imported Translations from Transifex

Change-Id: Ifdf358f8ec68b9010195c914409f0d926934052c
Eliminate race conditions in floating association

This makes associating and disassociating floating ips atomic and
idempotent. This means multiple concurrent messages will not leave
behind iptables rules and concurrent request will not cause odd
failures.

Fixes bug 1092762 and bug 1092761.

Change-Id: Idbcad6c1d2a3d4881cf7180b848ed3844fac4054
Merge "Update exceptions to pass correct kwargs."
Merge "Raise old exception instance instead of new one."
Enable nova exception format checking in tests.

Updates the Nova test runner so that it enables
'fatal_exception_format_errors' for testing.

Fixes a slew of issues in the tests including:
 -adds a whole bunch of missing kwarg's to exception constructors
 -removing an extra print statement in ec2/test_cloud
  (this was causing failures...)
 -removing a duplicate (and misnamed) flavor test case:
    test_remove_tenant_access_with_bad_access
 -removing an odd test case which tested throwing an exception with
  and without kwargs explicitly (the part testing without kwargs was
  removed)
 -explicitly update test/test_misc.py's test_exceptions_raise to disable
  formatting checks for now. This allows it to continue to pass.

Change-Id: Ibb5083c93f1a5de6edadb1b613292ff9eb26ddf0
Merge "fix instance rescue without cmdline params in xml.rescue."
Merge "Execute pygrub using nova-rootwrap in xenapi"
Merge "libvirt: Make vif_driver.plug() returns None"
Makes sure to call crypto scripts with abspath

In some cases __file__ can return a local path instead of an
absolute path. For example when you are running with run_tests.sh
from a checkout that has been setup.py developed on os x. Make
sure that we convert it to an absolute path in case it is relative.

Change-Id: Ie18be6039db56601de18ce4ad48791b4abf118fe
Refactor libvirt VIF classes to reduce duplicate code

Irrespective of the VIF driver used, some config parameters are
always identical (mac addr, NIC model). Move creation of the
vconfig.LibvirtConfigGuestInterface instance into a base class,
so VIF driver impls only need to provide their custom data.

Change-Id: I7c9d5357c8ceff6d5eb2c982a7420bc93a7266bf
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Make libvirt driver default to virtio for KVM/QEMU NICs

Currently users of KVM/QEMU must set libvirt_use_virtio_for_bridges
to true to get a virtio based NIC, instead of the awful rtl8139
that QEMU defaults to.

Switch libvirt_use_virtio_for_bridges to default to enabled, but
ensure it only takes effect if libvirt_type is 'kvm' or 'qemu'.

Although it is possible that some guest OS do not support virtio
drivers, currently Nova hardcodes use of 'virtio' for disks, so
this change doesn't make the current guest OS support situation
worse.

Obviously in the future, both NIC & disk models will have to be
made fully configurable

Change-Id: I7c0d306921f554ac2d06b5bdb1f9017ab7f9c643
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Merge "Makes sure to call crypto scripts with abspath"
Removed unused imports.

Removed a bunch of unused imports based on pyflakes.

Change-Id: I00952371200cb4531ddf163447433da756582a21
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Log last compute error when rescheduling.

When a scheduling attempt is re-tried, log the last exception from
the compute side.  The goal is to provide simpler access to debugging
information about why a build/resize is having issues.

Change-Id: Ic31852dcbbf1cea9034a4b8eb1c7d20178c3229d
Remove inconsistent usage of variable from hyperv.

Portions of the code use instance_name, while others use
instance['name']. In some cases, within the same function. See
lines 123, 153, and 156.

Change-Id: I69763e62a1db79b4c5a4468104fd26ad9b3aad5a
Merge "Refactor libvirt VIF classes to reduce duplicate code"
Merge "Fix "image_meta" data passed in libvirt test case"