Use pip -e in setup_develop

We have some complex logic in here to try to do the right things with
the requirements before doing the install of the package which still
winds up being wrong in some cases. Since having written this code,
we've learned that the logic we're trying to achieve is actually what
pip install -e does. So just use that. We have to follow up with a chown
of the resulting egg-info directory, because the sudo command will cause
it to be written by root, which prevents subsequent commands from
operating without privilege in the directory.

Change-Id: I7454f0053c36b15051b616363a5fc04c0045b57c
add oslo and infra from git to the upgrade

to make grenade work like havana master we need to bring in infra
and oslo repositories from upstream git and apply global
requirements to all the repositories.

Update functions file from devstack.

Attempt to uninstall oslo.config first, to deal with weird pip
issues where 1.1.1 is still installed, but 1.2.x from git is in
the easy repo files, and nova-manage explodes.

Change-Id: I310d40a0adc9355eea91e79598bf867ad6818b79
Install new rootwrap filters during upgrade

New code might rely on the new rootwrap filters
being in place. Fixes https://review.openstack.org/#/c/35107/
gating failure.

Change-Id: I0ed69b91250ee55e4695948f3290955e92486ae2
add nova v3 api support in upgrade

We have created an endpoint for nova v3 api in devstack in
order to we can test nova v3 api without mangling v2 url.
But it still need add v3 support in grenade.

Partially implements blueprint nova-v3-api-tests

Change-Id: I237a8bf3b78c32efef5b3f11c8efbf996d1c8906
Preserve devstack/accrc files

The user rc files contains all environment variables and certificates
to act as the user. Preserving these files is required for configuring
the ec2 credentials for tempest.

Change-Id: I5d94c26328e7c305ece061a7d2a441223a025be4
Merge "Preserve devstack/accrc files"
Update Cinder's policy.json file for migration

Add necessary policies to support Cinder's volume migration, using a
new policy_add function which can be re-used.

Fixes: bug 1214569

Change-Id: I9baad5f933e14c5d3647786478992462d190f53e
Merge "Update Cinder's policy.json file for migration"