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.

Change-Id: I496f79e14f99bd7e9f2c7deee12a4b6e935c3a5b
Devstack support for nicira plugin

Bug 1116847

Includes slight refactoring of L3 logic in main lib/quantum as previous
logic treated l3-agent as only way to do L3, whereas NVP has its own L3
support.

Change-Id: Ifd8c6864add5939432b544285cf027e52329dea2
Set state_path to quantum.conf

This change is required to make quantum security groups support of
OVS/LinuxBridge plugins work.

Previously state_path was configured in each agent config files in
Quantum, but it is moved to quantum.conf. This change follows it.

Change-Id: I290dc98878661375cf8a31a53d857433de0e5462
package: consolidate get_packages logic

Refactor get_package logic.
With this refactoring, code like
"if is_ubuntu; then install_package xxx elif is_fedora..."
can be simplified later.

Change-Id: I489bfd4cc12cc6b0b8201837f2bfb78c6881c82c
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Add cinder multi backend support to devstack

* add CINDER_MULTI_LVM_BACKEND parameter
* if CINDER_MULTI_LVM_BACKEND = True, creates 2 LVM volumes
    - Name : stack-volumes and stack-volumes2
    - Size : 5GB for each of them

Change-Id: I6e03b96e6b2aed0f0c166472300139fba9eaa68b
Ensure that openvswitch is installed for Fedora

Fixes bug 1053537

Change-Id: I901aa5adf34f69f2bc0eee18dc426615240f273e
move sysstat earlier (but not too early)

sysstat was starting too late to understand the state of the system
when services didn't start. Move it to earlier.

Change-Id: Iaf8e72c441dbdf943f7f25ea3f0fc568138a178f
Change the openvz driver compute_driver entry to match
all other compute drivers in nova.

Change-Id: Ic9ce4dae930d46a8ce0e64a984880d5603f84f85
Fixes: bug #1133397
Remove duplicate package

Remove duplicate kvm

Change-Id: I2cb367a123f47179b7b64ecfe9b61d2a4247d9ff
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Merge "Set state_path to quantum.conf"
Merge "Remove duplicate package"
Add genisoimage to package dependencies:

This package is required to boot instances with config_drive.

bug #1053304

Change-Id: Ib85220d17a73563d0af813d95b7de8fa95445ded
Merge "package: consolidate get_packages logic"
Merge "Add cinder multi backend support to devstack"
Merge "Add genisoimage to package dependencies:"
ryu: minor updates for Ryu upstream change

Since Ryu upstream changed configuration format, which is user visible.
Plus minor updates.

Fixes bug #1132992
Change-Id: I531360f3e0470916144d2c409066f1a8c75ec26f
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Merge "Ensure that openvswitch is installed for Fedora"
Refactor error logging

It is hard to grep errors in current log. so in this patch,
I'm updating die function which also writes log for
screen_log_dir/error.log.
In future, we may categolize negative fault by using
this error.log.

Change-Id: I70a8cfe67ed408284f5c88c762c6bb8acb8ecdb2
Ignore autogenerated .prereqs.

Change-Id: I593d6bc7776d73e8dff6b9791242fdc3b18db338
add quantum_available flag to tempest

this ensures that if we setup quantum, we are explicit about it
in tempest. This is important so that nova tests which require
quantum features have any idea if they should function.

Change-Id: I5e6be9ff325676f25b2c391430dd66ff64a7a833