Add screen_stop()

Change-Id: Iac84231cfda960c4197de5b6e8ba6eb19225169a
Update USB boot tools

* update tools/get_uec_image.sh for precise and proxy operation
* add cleanup to tools/warm_apts_and_pips_for_uec.sh, remove pip download
* run tools/warm_apts_and_pips_for_uec.sh as root
* update tools/build_ues_ramdisk.sh for precise; add exec sudo
* update tools/build_usb_boot.sh to use $DEST

Change-Id: If3cc0a8973805f0376dfce2bcbb75082f2e039d3
Cleanup shocco errors

Change-Id: I39372a96d3ca0880c4f8d51e2d68607a7b643432
Update tempest test sample in devstack/README.md

As part of bp:tempest-repo-restructure, the scenario directory is added and
scenario tests are moved there. The tempest test sample should be updated
in README.md.

Fixes bug #1207109

Change-Id: I25067e4b42697985e8f4b808fad5eb801c805f9f
Don't add bulk middleware.

- The bulk middleware is already in the sample.
- Fixes bug 1207108

Change-Id: I569ecb734ac2e59716e5f24fa96e97d216cdc1a3
Ensures cross compatibility for zsh and bash.

Fixes bug #1207853

Change-Id: I8ab3959ac8dbb5bb199e325bfdfdc513b4327410
Update projects to global requirements before setup

We've agreed that we should be using global requirements, so
force projects to be updated to global requirements before we
test them.

Co-Authored-With: Monty Taylor <mordred@inaugust.com>

Change-Id: I0652f639673e600fd7508a9869ec85f8d5ce4518
Convert Nova's virt driver to hypervisor plugins

This moves all of Nova's hypervisor (VIRT_DRIVER) configuation from
stack.sh to individual plugin files in lib/nova_plugins/hypervisor-*.
Adding support for a new hypervisor is now as simple as adding a new
plugin file.

The hypervisor image name and URL configuration in stackrc has been moved
into the plugin files; the variable names are changed around a bit to
set the defaults properly if nothing is set in the users localrc.
The names in localrc have not changed so this is all backward-compatible.

Rebased to support NUMBER_FAKE_NOVA_COMPUTE from https://review.openstack.org/39851

Change-Id: I83cfb620b1afb1ed7596827c2392bcd6c38b9f06
Add support for Docker in Nova

Adds lib/nova_plugins/hypervisor-docker to use Docker as a Nova
hypervisor.  This assumes that the Docker daemon is already running
before stack.sh starts and aborts if the daemon is not found.

Change-Id: I9e7065b562dce2ce853def583ab1165886612227
Add exercises/image-share

Change-Id: Ib8ab42b829b568897308f43c95173e7d224e3863
Run Neutron migrations after creating schema

Partial-Bug 1207402

This patch executes Neutron DB migrations (based on alembic)
before starting the Neutron services, similar to what happens
for most of other openstack projects managed by devstack.
This will ensure devstack always creates correctly version-stamped
Neutron databases.

Change-Id: Ia941c426a1563bcc4cb5eae64ea30c0bf7677220
Some bash versions don't support negative lengths

Fix to make the service string work on these versions of bash too

Change-Id: Ibb9868ea7bf44480be76a8ea9d7d9fbc278a8ef3
Re-enble pip -e in setup_develop

We had a bad merge somewhere along the way which reverted the pip -e
part of things. Replace it.

Change-Id: I620bea80eac7ad53b5bfb79dd2b21c29ad1b2267
Merge "Don't add bulk middleware."
Merge "Ensures cross compatibility for zsh and bash."
Merge "Re-enble pip -e in setup_develop"
Merge "Update tempest test sample in devstack/README.md"
Merge "Run Neutron migrations after creating schema"
Merge "Some bash versions don't support negative lengths"
Add tools/install_pip.sh

Install a known working recent version of pip that handles
installation dependencies correctly.  Extracted to a separate script
so it can be used apart from stack.sh.

* Install system setuptools if it not already present
* Install pip from source tarball as get-pip.py proved to be unreliable
* Remove python-distribute and python-pip from all prereq files,
  move python-setuptools to 'general'

Tested on Precise, F18 and CentOS6.
* Fedora and RHEL allow pip to install packages ON TOP OF RPM-installed
  pacakges.  THIS IS BROKEN.  Preventing RPM from re-breaking things by
  installing on top of the pip-installed packages is being studied using
  a meta-rpm in another commit.

Known improvements:
* improve the pip version checking

Change-Id: Ibb4b42119dc2e51577c77bbbbffb110863e5324d