Explicily enable the stores used by devstack

Devstack currently relies on the default value of the `known_stores`
configuration option. This patch enables explicitly the default stores
used by devstack.

The real fix for the issue below will land in Glance. However, since the
default stores will be FS and HTTP we need devstack to enable Swift's as
well, which is required in the gates, hence this patch.

Partial-Bug: #1255556
Change-Id: Id9aab356b36b2150312324a0349d120bbbbd4e63
(cherry picked from commit 355fc866833e0bd83796da1c45e4f94b58d5f500)
Backport 'Make stop_swift() more robust for Grenade'

stop_swift() wasn't calling screen_stop() so the pid files and screen
sessions were not being cleaned up.  DevStack doesn't really care but
Grenade does for the 'base' copy of DevStack.  This is backported
to stable/havana for this reason.

Change-Id: Ib5afb321cef2b7ad74e69a3fd0d1dad469f78b11
Merge "Explicily enable the stores used by devstack" into stable/havana
Disable file injection by default

File injection in libvirt is problematic in havana on some systems.
When doing a live upgrade where the system suddenly gains libguestfs
support, a compute node may start using it, and thus start breaking.

Related master branch patch: I5015f2c351b1d680c205d7f9a5204febca490b91

Change-Id: Ic71baa25cda4b65c79c7c5f64bbb802774e489f4
Related-Bug: #1287354
Merge "Disable file injection by default" into stable/havana
disconnect novnc from gitbase

It turns out that grenade sets gitbase, however some of our
repositories don't have git.openstack.org repos. This causes a
really interesting failure case with grenade because novnc checkout
fails, then it does a checkout to master of nova.

Change-Id: I820b661dacee019928200935ae10d1e36d7b821b
don't leave ourselves inside git directories

to ensure that we don't accidentally do the wrong thing to the
wrong git directory, make sure we return to the original directory
after doing a checkout.

Change-Id: I15d97bee86388f12ee1768123cd8fece78157ba6
split up stop_nova to isolate stop_nova_compute

Split stop_nova into: stop_nova_compute and stop_nova_rest. This is
needed to support the partial-ncpu grenade test where we want to stop
everything but nova_compute.

Patch in master: I6a21821277e56897d705ca5746806e2211632d12

Change-Id: I031707a49974df684cc473737ceb07cecc262c66
Specify DEFAULT section for libvirt_inject_partition

The first parameter of iniset is the section.

Fixes Ic71baa25cda4b65c79c7c5f64bbb802774e489f4

Change-Id: I5b31084aa9752ac568da94c6ed80ce2ab2befd68
Adds entries for missing parameters in PLUMgrid plugin

Three configuration parameters were missing for the PLUMgrid plugin.
In this patch all those three have been properly added.

Change-Id: If070aa5eb35678d0984470ebcd43fd99e08bcc8a
Closes-Bug: #1255808
(cherry picked from commit 500a32f4f8e8526ba075b61f336cf91dc9d8c652)
Merge "Specify DEFAULT section for libvirt_inject_partition" into stable/havana
Merge "split up stop_nova to isolate stop_nova_compute" into stable/havana
Only stop n-cpu in stop_nova_compute

Move screen_stop n-cpu from stop_nova_rest to stop_nova_compute.

Cherry-Picked from master.
Change-Id: I672673a55869d3f68e12c476924fc742e8260f39
Merge "Adds entries for missing parameters in PLUMgrid plugin" into stable/havana
Cleanup unused settings, use interface_driver setter

* Remove unused MIDONET specific settings from nova.conf
* Remove unused MIDONET specific settings from dhcp_agent.ini
* Move the interface_driver settings to the proper setting
  function so that it can be used by lbaas_agent.ini as well.

Change-Id: Id686ff5f55db00bce42b8a2bd56e7655c73211fb
Closes-Bug: #1245401
(cherry picked from commit e4a523f543e59d92ab227b5bcfaad09fc171b6a9)
(havana)Increase in the full path to mkfs.xfs(/sbin/mkfs.xfs).

Xfsprogs package has been installed. This is the cause of the error
stack does not have
permission to perform mkfs.xfs command rather mkfs.xfs command in /sbin/
path, stack in order to perform mkfs.xfs must add the full path or use
the sudo command mode.

Fixed bug #1298851

Change-Id: I73793407654d4c24f125c7ba6c3555332eb89b60
match devstack-gate format

support millisecond resolution and the | separator for ts vs.
content.

everything else in openstack is running at millisecond resolution,
and some times it's actually useful to see that when debugging
gate failures.

Backported from master:80313b24

Change-Id: I2227ab0b4965cd1a24b579bdf2ba8c1f9a432f70
Merge "Backport 'Make stop_swift() more robust for Grenade'" into stable/havana
Merge "(havana)Increase in the full path to mkfs.xfs(/sbin/mkfs.xfs)." into stable/havana
Inject all account details in tempest.conf

The tempest configuration function did not inject all account
details in tempest.conf. The only reason why it worked, was
because tempest uses default config values which are valid for
the current devstack setup.

To remove this dependency, two patches are needed:
- this one in devstack, to inject all values
- https://review.openstack.org/#/c/77602/ in tempest, to change
  default values to None

Partially fixes bug 1287191

Conflicts:
	lib/tempest

Change-Id: I01507b142703a1ff66707464b9a743e9d0ca3e01
(cherry picked from commit d46d9dd8de00d07eee9170365b1a025f0fc01ed9)