Enable swift by default.

- Set by default SWIFT_REPLICAS to 1 since this is the most common use
  case when using it in devstack.
- If we have swift_replicas to 1 launch the object container account and
  proxy servers in foreground in screen.
- Allow any s- services if we have just 'swift' in service enabled
  instead of having to specify all s- services to enable swift. This will be
  removed in the future.
- Set object server starting at 6013 instead of 6010 to not conflict
  with remote ssh x11 forwarding.

Change-Id: I890b6953b70283bfa0927fff0cf5e92f3c08455b
Add RUN_EXERCISES to exercise.sh.

The exercise.sh accepted a SKIP_EXERCISES var for limiting which
exercises run.  Sometimes I only want to run one of this.  This new
variable make that much easier than having to list every other exercise
as one that should be skipped.

Change-Id: I21d3cc6ead677d25f7697c6cc1fd690cbbbfbdd7
Deprecate use of fixed_range flag in nova conf

Since a3786b4b8aa47cf19b9dc2babb4df85f578a1280 merged into nova we
now can default to setting fixed_range in nova.conf to "". This will
cause nova to do automatic NAT set up based on the networks
configured rather than relying on the user to set fixed_range to the
largest subnet that includes the networks they've configured.

Leave the stack.sh default value of $FIXED_RANGE alone because it is
used for creating the networks, etc.

Change-Id: Iad13588af3dcf22ce81823de301b73b05cf2aae9
Extract HOST_IP default process to a function

This process is required by Grenade also...

Change-Id: I263a4351e70b9cfb0965e57e518fe5fd377f4b43
Multi-node setup: Fix keystone host

Fixes bug 1154587.

Use KEYSTONE_AUTH_HOST instead of SERVICE_HOST when setting nova auth
parameters. Also use KEYSTONE_AUTH_PROTOCOL instead of SERVICE_PROTOCOL.

Change-Id: I54f7f31f6b795833b38968f6beea68e429f01d55
Merge "Add RUN_EXERCISES to exercise.sh."
Merge "Extract HOST_IP default process to a function"
Merge "Deprecate use of fixed_range flag in nova conf"
Merge "Enable swift by default."
Add clean.sh

clean.sh gets rid of all residue of running DevStack except installed
packages and pip modules.

And it eradicates rabbitmq-server and ts erlang dependencies as well as
the other RPC backends and databases.

Change-Id: I2b9a251a0a151c012bae85a5a2f9c2f72e7700be
Fix Swift config dir variable name

Change SWIFT_CONFIG_DIR to SWIFT_CONF_DIR to be consistent with all other projects.

Change-Id: I52b7d08f038c28a16caa669d7d1aa5248fbe7789
turn off swift by default

swift port selection is still really suboptimal. 6011 is often used
by ssh x-forwarding, so if you are sshed into the box with
x-forwarding, then one of the swift services doesn't start.

disable this until we figure out a better path to port selection.

Change-Id: I62b9f96f24118ddfc962715e55b34c05dbe03a1b
Merge "Fix Swift config dir variable name"
Use default swift pipeline and add extras.

- By default use the default pipeline as shipped with swift.
- Add option SWIFT_EXTRAS_MIDDLEWARE which by default include tempurl
  formpost staticweb bulk to enable extra featuress.
- Clean pids in cleanup_swift Fix bug 1140364.

Rebased

Change-Id: Ida537ae8d3e319a5b84546f82ebf00615f070be1
Merge "turn off swift by default"
Mova nova configuration initialization

* Move shared volume configuration from stack.sh to stackrc
* Move Nova network and vnc/spice configuration settings from stack.sh
  into lib/nova
* Rename NET_MAN to NETOWRK_MANAGER to match nova.conf attribute name

Change-Id: I9bd2955def553499aa832eda1f0959afe494206a
Accept Quantums rootwrap.conf in etc/quantum/rootwrap.conf

As part of the review request
https://review.openstack.org/#/c/24615/
the Quantum rootwrap.conf is moving to etc/quantum subdir.
Prefer the new location.

Change-Id: I2a893c7b21e252543372854ba511f61cd1fde02f
Fix typo in baremetal header comment.

Change-Id: I553c37581c92dcdc13e0d8dcdb9c8be7309deaa1
Explicitly add cosine and inetorgperson schemas on Fedora

Fixes Bug1156651

Change-Id: I957a8cdc562a887b0def7bc07c6bb434ce0a0437
Force Quantum processes to run in a subshell

Force bash to evaluate the command line passed to screen_it so the
commands are executed in a subshell.  This seems to make a difference
when using run_service() when the server process is owned by init.

These Quantum services were the only ones in all of DevStack being
spawned in this manner.  This will allow the run_service() patch
https://review.openstack.org/#/c/23148/ to succesfully be merged
and the number of test failures due to screen should be reduced to 0.

Change-Id: I97d562adda51d39a5e7fa1dc4d945d4a396201cd