Build retry loop for screen sessions

There is a timing window where we might lose the commands being
stuffed into screen because bash is spawning. In those cases, loop
around and try building screen sessions again.

Change-Id: I49247de06bbd59424cb10fb9a8db145907be5138
Related-Bug: #1331274
Cleanup postgresql-server on openSUSE

During database cleanup, delete postgresql-server package also on
openSUSE.

Change-Id: I4dff0ac6493ab9b9a8c6ed15b7cfcdb35264da27
use setup_install for django_openstack_auth

This is fundamentally a library. As such we should setup_install
so that we can possibly pin it, otherwise we *always* get the
git version instead.

Change-Id: Ia815f2675cf535bb05a7e8eda853690171559b86
Update trove to install guest image and datastores

Update the trove bits to actually upload the trove guest image to
glance, and create the datastore and datastore version objects that
are associated with the guest image ID.

Change-Id: I6c5c56b3fac981e91cdd7ed60079a5649b8dfea8
Don't install openvswitch-datapath-dkms on newer kernels

On kernels >= 3.13 for Ubuntu, there is no need to install the
openvswitch-datapath-dkms package anymore. Consequently we don't need the
dkms package anymore, nor the linux headers.

Update the opendaylight devstack code to correctly check for this and make
the right decision.

While here, also utilize get_packages() and common code where possible.

Change-Id: Idd6a71951f6f77b6e3c4e536e735dfead6a40bc1
Closes-Bug: #1331111
Default cinder enable_v1_api to true

As of Juno, Cinder will be deprecating the Cinder V1 API and setting it
to not be enabled by default. We'll make it enabled in devstack to
continue tests while it's supported.

Change-Id: Ia09eed0375a73c69a29b1aa379b5bd9fd3a1f5b7
Always check keystone using http

The check to $service_port must be done using http. It's
$KEYSTONE_SERVICE_PORT that may use either the http or https protocol.

partial blueprint devstack-https
Change-Id: I8ae081e9710c54396b765210336a7de331947086
Add explicit libkrb5-dev dependency for keystone

Our Trusty test nodes do not include libkrb5-dev by default, and it is
needed to install some of the python libraries keystone uses (kerberos,
brought in by requests-kerberos).

Partial bug: #1334326

Change-Id: I1fdaa46c4590e69da82365dee578c1aa0ec95e80
Merge "Build retry loop for screen sessions"
soft-qemu handling with F20 could image

When the qume used with Linux image without
a para-virtualized timer, various timing issues can happen,
if the qemu process preempted in the wrong time, for example
at timer test.

The issues less like happens on low load, high core number
host system, but it can happen.

For soft qemu (TCG) generally recommended to explicitly disable the
timer check.

Pre-caching the Fedora `gate edition` image, which contains the
the no_timers_check option.

Related-Bug: #1297560
Partial-Bug: #1312199

Change-Id: Id5cd01a92a047b7859914e5bb017c15ee443b4d5
Merge "Add explicit libkrb5-dev dependency for keystone"
Merge "Always check keystone using http"
Add missing config option os_auth_url

Without this option will appear as an error:
Skip interval_task because Keystone error:
Authorization Failed: Unable to establish connection to
http://localhost:5000/v2.0/tokens

Closes-Bug: #1325383

Change-Id: I42fe92596d9d475f2c5b2a6aa6b49d2b7b821c54
Merge "soft-qemu handling with F20 could image"
Merge "Don't install openvswitch-datapath-dkms on newer kernels"
Add rhel7 as supported distro

rhel7 testing has been fairly stable with redhatci bot testing beta
and RC builds for some time.  Centos7 testing is now coming online
with the nightly builds.  Thus no need to require the unsupported flag
any more.

Change-Id: Iceab5c1d8b713f1f96b5751cf988fe060cfeff58
Stud is available in new distributions

Stud was marked as precise-only. In reality it's only not available in
lucid. All supported distributions are ok now.

partial blueprint devstack-https
Change-Id: Ie86f345102cfddcca5387be514b67641ef750313
Merge "Add rhel7 as supported distro"
Comment fix - correct function names

Change-Id: Idecc6cd9bc255ab20d3bc8f4b3a3e7f248b585f0
Revert "Build retry loop for screen sessions"

This reverts commit 0afa912e99dc9bad8b490960beb8f0cf85750dcc.

This possibly made things worse, though it times in with the
trusty add, so it's hard to tell. Revert to see if grenade gets
better.

Change-Id: Ic399957fc9d4a7da28b030cdf895df061b2567c8
Related-Bug: #1331274