Add oslo.db to the devstack gate

oslo.db going to became a separate library, so we should add it
to the devstack-gate.

Related to blueprint oslo-db-lib

Change-Id: I023eda5443f44d9b9aee008eb5cab97dc862b096
Change Ironic bm flavor to use ephemeral partition

Adds use of the IRONIC_VM_EPHEMERAL_DISK variable to devstack
that will alter the flavor to specify an ephemeral partition
size. This change creates a 1 GB ephemeral partition, which
will be deducted from the overall disk size (IRONIC_VM_SPECS_DISK).

Change-Id: I37374d3fa8fd1b5cd194ac9659044031a3cad19e
localize variables

there was coupling between tests because of variables that might get
set in one test and still exist in following ones (but not be declared
there). By localizing all our variables we can isolate ourselves.

To prove that we did this correctly, scramble the test order at the
end (more specifically alphabetize it), so that it has no relation
to the declare order.

Change-Id: I6a52b85b909e54d692abe6d2cc2223dc2e9154e4
Modify horizon log copy for Fedora

Fedora keeps http logs in a /var/log/httpd

Change-Id: Ie7605559f165ea5e86d5e779914e32fdee6956e4
Merge "Add oslo.db to the devstack gate"
Only copy symlink name of logs

devstack creates a shortened symlink without timestamp (foo.log ->
foo.2014-01-01-000000.log) for each log to latest log. Thus we just
copy the symlinks to avoid excessively long file-names.

This removes the need to remove duplicate log files, which was
incorrectly removing grenade.sh.log (because it has multiple '.'s and
kind of looks like the time-stampped log files)

The grenade log cleanup is added in a separate section.  In general,
it should be better to clean-up logs in a more specific fashion like
this to avoid the situtation where a glob match removes things we
really want.

Also, there is no $BASE/new/devstacklog.txt.  The devstack upgrade
process is driven by grenade.sh which calls parts of devstack
directly; so all relevant log output goes into grenade.sh.log

Change-Id: Ib1c4476c28c5c032ed9ab1682118a4f4528db450
Merge "localize variables"
Merge "Change Ironic bm flavor to use ephemeral partition"
Merge "Modify horizon log copy for Fedora"
Merge "Only copy symlink name of logs"
features: do not drop ceilometer when using grenade

We are introducting Ceilometer upgrade process in Grenade:
https://review.openstack.org/#/c/94468/

This patch delete the "ceilometer service remove" when deploying
devstack-gate in a grenade environment.

Change-Id: Id96331d31b67ea8c669a1bb784dc6c1696d2c320
Capture *.failure logs from $BASE/status/stack

When a service fails to start properly the output is dumped in
*.failure files, however devstack-gate wasn't archiving them so it
made identifying the causes of certain failures difficult to debug.
This commit addresses that by copying these logs too.

Change-Id: Icbb5188c09938811d0566a869a26a22502520df2
Copy devstacklog.txt

A regression in Ib1c4476c28c5c032ed9ab1682118a4f4528db450 caused
devstacklog.txt to no longer be archived, so this restores the lost
line of code.

Change-Id: Id1ac9bd106789df662f101677dc868a60ba16a12
Merge "features: do not drop ceilometer when using grenade"
Allow to configure git base URL

Makes the devstack-gate usable with a generic git repo.

git.openstack.org is hard-coded in functions.sh. Make it
configurable via GIT_BASE. Set defaults in functions.sh
just in case there is a consumer of functions.sh other than
devstack-gate-gate-wrap.sh.

Define GIT_BASE in devstack-vm-gate-wrap.sh which
defaults to git.openstack.org, so that it can be set
via JJB changes only (layout.yaml).

The name of the "trunk" branch where devstack-gate is
fecthed from, and where grenade gets the latest code from,
is hard-coded to "master.

Define GIT_BRANCH in devstack-vm-gate-wrap.sh which
defaults to master.

Change-Id: I59c1c63d6e8ac8482821728bf03bfce69898e919
Merge "Allow to configure git base URL"
Merge "Copy devstacklog.txt"
Force ntpdate before we start the timer

To address the fact that some rax compute nodes seem to start with
a time 4hrs in the past, then jump forward abruptly, force ntpdate
update before we start accounting for time locally. Otherwise our
math might be very very wrong.

Change-Id: Ie5b7a6295f33a6639374c7ee72c682df5a0d26e9
set concurrency for grenade

We never tell grenade how parallel to run tests, which actually
mean it's running with all the cores, instead of half the cores.

This paired with: Ieea93dcbb973ca8ff872bf509324db284538d0b5 is
needed to control that.

Change-Id: Ia67345164761fa5810b7593f20a088a006d35001
Merge "set concurrency for grenade"