Fix run_tests.sh lockutils when run with -d

Change I007bd39e4d9aad7539b4b7389eb5189b5d1f10e2 fixed how the test
runner was called, but did not take into account that a different
command line is used when -d flag is passed to the script. We fix that but
accounting for the lockuitls change even when -d is passed.

Change-Id: I7462b70a707fff281fabe9d9f20cbb7bf8d037ef
Explicity teardown on error in libguestfs setup()

Previously, in the setup method of the libguestfs driver
for Nova's VFS, on an error the handle object was simply
dereferenced (set to None), and then an new error was thrown.
This relied on an implicit close() on the handle being called
by GC.  However, in some cases the setup progresses far enough
that the implicit close is not enough, and leaves an "orphaned"
libguestfs VM.

Now, the teardown() method is called explicitly, which ensures that
no "orphaned" VMs are left around in case of an error.

Change-Id: I7fbe470046ce6c76bc13d77d8df360351a3ef715
Fixes: bug #1270304
Prevent caller from specifying id during Aggregate.create()

The patch is to remove id when it was set before creating an aggregate
in objects, and check if the aggregate exists before it is created.

Related to blueprint icehouse-objects.

Change-Id: I0d7c5c5da9a93e52c7fee9eee7df80d2f460593e
Sync latest config file generator from oslo-incubator

The fix to the config file generator to support lazy messages
is the main addition of interest because it is needed before
lazy messages can be enabled in Nova.

Commits included:

  1a6dfb956 Sanitize FQDN in config generator
  e839886cc Config generator fails with lazy messages
  763eedff6 Fix DictOpt support in config sample generator

Note that these commits do not touch any other files (beyond
oslo testcases).

Partially implements blueprint i18n-messages
Closes-Bug: #1280826

Change-Id: I2174139ba3767d05924747cbefa377ba8780103d
Updated from global requirements

Change-Id: Ice6e0c38c690c85b60641d2006a9f9b1474fa369
Support configuring libvirt watchdog from flavors

The previous watchdog-related patch only enabled the watchdog
configuration to be set from the image metadata.  Now, the watchdog
can be configured from both the flavor extra_specs as well as the
image metadata, with the latter overriding the former.

Implements: blueprint libvirt-watchdog
DocImpact

Change-Id: I626eb8749c1b9a531e49f2471734d903694c5ee8
Merge "Prevent caller from specifying id during Aggregate.create()"
Merge "Explicity teardown on error in libguestfs setup()"
Merge "Support configuring libvirt watchdog from flavors"
Merge "Fix run_tests.sh lockutils when run with -d"
Merge "Updated from global requirements"
Merge "Sync latest config file generator from oslo-incubator"