Restore SIGPIPE default action for subprocesses

Python ignores SIGPIPE on startup, because it prefers to check every
write and raise an IOError exception rather than taking the signal. Most
Unix subprocesses don't expect to work this way. This patch (adapted
from Colin Watson's post at http://tinyurl.com/2a7mzh5) sets SIGPIPE
back to the default action for cinder.utils.execute and cinder-rootwrap
created subprocesses.

Fixes bug 1053364

Change-Id: I4b3307bd2f0f5d0da529d8b7d80fabae28c57732
Set defaultbranch in .gitreview to stable/folsom

This allows people run git-review without any arguments.

Change-Id: I2b2488ffffd783b64e5c760324e7d4a00d5a39db
Merge "Restore SIGPIPE default action for subprocesses" into stable/folsom
pin sqlalchemy to the 0.7.x series

sqlalchemy 0.8beta is now out and has internal changes
which means it's not an in place seemless upgrade. This pins
sqlalchemy to the 0.7.x series to avoid those breaks.

Fixes bug #1073569

Change-Id: If204690569eb92b9077833a5da121fc072c6dcfa
Detect and fix issues caused by vol ID migration

The migration from volume ID to UUID neglected to update the provider_location
field on the volume.  As a result the iqn and volume name no long match and
existing volumes are no longer able to be attached after an upgrade
(essex -> folsom and then nova-vol->cinder).

This patch adds a method to the volume driver that will check for the
mismatch of volume name in the iqn during service start up.  If
detected it will update the provider_location field in the database
to include the new ID.  Also it will create a symlink to the device backing
file that also has the correct naming convention.

Note: We don't disturb an connections that are currently attached.
For this case we add a check in manager.detach and do any provider_location
cleanup that's needed at that time.  This ensures that connections
persist on restarts of tgtd and reboot.

Change-Id: I4683df4ef489972752dc58cb4e91d458a79a8ef2
Fixes: bug 1065702enter the commit message for your changes. Lines starting
Improve provider_location cleanup code for RBD.

The RBD driver does not make use of the 'provider_location' field
but the current cleanup code assumes it does.  Ensure the field
is in use before testing whether or not it needs fixing.

Fixes bug 1083818.

Change-Id: Id6ff85101f85e70575ba244c2df7aca0196cf224
(cherry picked from commit d030c5b10e9e8d73d967562259e7db6146347108)
Remove unused python-daemon dependency

python-daemon is listed as a dependency, but it is not needed.

Change-Id: I4d6eadfef5d60cd277ff7395a12f5ad255db7155
(cherry picked from commit 6217a3df0a34b1d0ac6fad8e9ea5044d2056c45d)
Final versioning for 2012.2.1

Change-Id: I74e485f7fde8d34fa5e6e8852e06d522b2ccc1d1
Bump next version to 2012.2.2

Change-Id: Ic4df5e9888a70f39d80cc1070157f87649947b9a
Bump next version to 2012.2.3

2012.2.2 has been released without Cinder, so prepare for 2012.2.3.

Change-Id: Icfb5a30036c7ea0845135c686939015c320013cc
Add commands used by NFS volume driver to rootwrap

Fixes bug 1087282

Change-Id: Ib873c334633b4d586c2e53bac5d1cae0dcf65be7
(cherry picked from commit 65b3421f4b66b1e26be54f4bcb93fd3f6c7fb6f8)
Final versioning for 2012.2.3

Change-Id: Ic83a1c1617ad74b931f54f1755bc9dcecfe2c527
Merge tag 'tags/2012.2.3' into folsom

2012.2.3