Updated openstack/openstack
Project: openstack/heat  4f936e40290044fd11de608ce2136d19b74dcec1
null
Shorten physical resource name to custom limit

The default limit for resources is 255, which is
determined by the column size of the name columns in
other openstack project databases.

The limit for nova servers is 53 characters due to typical default
linux HOST_NAME_MAX of 64, minus the '.novalocal' appended to the name.

The reduced name will consist of the following:
* the first 2 characters of the name
* a hyphen
* the end of the name, truncated on the left to bring
  the name length within the limit

The validation fix from bug: #1238272 has been removed.
Closes-Bug: #1250291

Change-Id: Iccaf905b2e73433a671559c49223c2b635402853
Updated openstack/openstack
Project: openstack-infra/devstack-gate  bf104e1478a778aadd6c780a66cf98cea25b242e
null
Extract setup_project as a single function

Extract the setup_project logic into a single function for clarity
and reusability.

Change-Id: I7ac3dd3f25b05487bbafc6a18242aa6c61f227c8