Save sql logs

Preserve sql logs in gate. A postgres bug was just found in the gate,
but the issue had to be reproduced locally since postgres logs aren't
saved. This fixes that.

Change-Id: I81e5fc52580383d6606d185ba7ac9fa10be52ff6
Related-Bug: #1321093
capture cpu information when we setup_host

some very odd results are coming back from hpcloud 1.1, would like
an actual cpu dump as part of the run.

Change-Id: I4f387a4e6cdf8bbd9334d01fe262e36632b859ac
Use root to write syslog from journalctl

We need to be root to write out the syslog data

Change-Id: Ie958446c312d37fff9ebccfe352cfa0185e7a514
Fix ntp restart for Fedora

Change Ie5b7a6295f33a6639374c7ee72c682df5a0d26e9 does a time update; I
double checked that puppet installs ntp service on Fedora and the only
difference is that the service is called 'ntpd' rather than 'ntp'.

Change-Id: Id98c104e357a0cf5d1bc07ca94a179d0a38cc18d
Revert "Set CEILOMETER_PIPELINE_INTERVAL to 15"

This reverts commit e9aa963b5eac7c841a5adeb86437c3823a4e47d3.

Change-Id: I7d3e76f138a52a30a0d609899b78f2d53119f812
don't delete grenade logs

we actually want to switch over to summary logs in the gate, so
we need to not delete the logs, as the console will be pretty
empty otherwise:

Change-Id: Ifae56479364ded13fb765ec6158f651888e828ea
bp:grenade-readability
Add an option to enable the nova v3 api tests

This commit adds a new env variable DEVSTACK_GATE_TEMPEST_NOVA_V3_API
used to enable the Nova v3 API tests in tempest. This depends on
devstack change: If14deb80f271061e70fae6c3d13b210ac0dd9399

Change-Id: I0e4fd5a1f1cde138af08f1cf9bf4b9e80c241e81
Merge "Fix ntp restart for Fedora"
Merge "Revert "Set CEILOMETER_PIPELINE_INTERVAL to 15""
Merge "don't delete grenade logs"
Merge "Use root to write syslog from journalctl"
Merge "Save sql logs"
display grenade summary instead of all of it

this should make the base case more readable in the main console.

bp:grenade-readable

Depends-On: I235a725b6ca8a02caddad9f5a1457f6461269d5b

Change-Id: Ib6485dc3a3ad48f2ce2bc5d73bf4324293a9c131
Merge "Add an option to enable the nova v3 api tests"
Merge "capture cpu information when we setup_host"
Merge "display grenade summary instead of all of it"
Use the DEVSTACK_GATE_USE_APACHE flag to disable

Instead of conditionally enabling Apache based services with the
DEVSTACK_GATE_USE_APACHE flag, if set to '0' now prevent any
services with alternative run configurations from running under
HTTPD + mod_wsgi (e.g. Keystone, Swift). This inversion of logic
is being used to allow for enabling services to run under
HTTPD + mod_wsgi by default.

Change-Id: Ia8e4a1dde9dbebcb522110ff5e9522d29c7fdc6f
Support for alternate trunk name (not master)

Commit 537a2926745a2acbacfa682295f06fa44c42716a introduced support
for having trunk named something other than master.

The name "master" is still hardcoded in the test-matrix, and in
the list of allowed branches. Adding support for an arbitrary
features file via DEVSTACK_GATE_FEATURE_MATRIX env variable.

The list of allowed branches is now parsed from the feature matrix.

Change-Id: Ic07c958e1630f7e62d9ff35b0add40a5d2b1548b
Merge "Support for alternate trunk name (not master)"
Fix typo in DEVSTACK_GATE_TEMPEST_NOVA_V3_API

This commit fixes a small oversight in setting the nova v3 api tempest
tests. When this env variable was added to set whether the testing was
enabled the check used a different variable name than the wrap script.
Also neither of these variables matched what was being set by jenkins,
this meant that the v3 api tests would never be enabled. This fixes
that by ensuring the variables are the same and matches the variable
set in the JJB template for the v3 api jobs.

Change-Id: I54925a468c4dc7eb9390a78d509b9385caa587d4