Cleanup allocating networks when InstanceNotFound is raised

Allocated networks were not being cleaned up if InstanceNotFound was
raised after the allocation request was made.  This ensures that the
cleanup happens for this case.

Also bypasses exception logging that should not occur in this case.

Conflicts:
	nova/tests/compute/test_compute_mgr.py

NOTE(mriedem): The conflict is due to commit b1994711 which is on
master but not stable/icehouse. It's part of a blueprint so that
will not be backported.

Change-Id: Icd544752444415812714d91971e45b3ae2fb68ee
Closes-Bug: 1324934
(cherry picked from commit 5a364cb00a39b31a9d5ddb30b5cc24af54e89f4a)
Save connection info in libvirt after volume connect

The libvirt driver will connect volumes for BFV while processing
the guest configuration, but not save the connection_info into
the database. This adds a save there to make sure that any
storage driver details get persisted.

Change-Id: Ia99e04ad80a2823a6852debf0919e72b2f93bd26
Related-bug: #1328245
(cherry picked from commit a1a2d0605b555f149846eb7e74f7d1760e55ed75)
Use default rpc_response_timeout in unit tests

During running of tox the system can timeout on slower systems.
We have seen this occur in our internal tests and have seen
better results when we increased the api timeout from 15 to 60
seconds.  This can be used until faster hardware is availale
or a better fix is proposed.  Andrew Laski first proposed
this fix.

Closes-Bug: 1311778

Change-Id: I33da328e7bea8fbdde3f01ee0147b4c5a3a278d2
(cherry picked from commit dead965a4398d5093426cf21d2875b55a451e671)
Fix the wrong dest of 'vlan' option and add new 'vlan_start' option

* Allow to specify vlan tag when create nova network, the dest of vlan
option should be 'vlan' instead of 'vlan_start'
* Provide new option 'vlan_start' when create nova network
* test case is updated.

DocImpact
Closes-Bug: #1288609
Change-Id: I8dd858e4cf17d8f689613554d1fbc3e56f220886
(cherry picked from commit e251535eaa7c6a564eddb9218de177c9bea656bb)
Merge "Cleanup allocating networks when InstanceNotFound is raised" into stable/icehouse
Merge "Fix the wrong dest of 'vlan' option and add new 'vlan_start' option" into stable/icehouse
Merge "Use default rpc_response_timeout in unit tests" into stable/icehouse
Instance groups: add method get_by_hint

In order to support backward compatibility a new method
'get_by_hint' has been added. This method will check if the
hint is a uuid and if no it will return get_by_uuid else it
will return get_by_name.

Change-Id: I728bf3454dc5a5367e21f242281719c1a967269a
Partial-bug: #1303360
(cherry picked from commit bff8604fd27fee588facbd429aaedcf227cd5871)
Scheduler: enable scheduler hint to pass the group name

Commit ea6d8403bdc3c1d3ede87a2ed1c8740420c32080 partially
dealt with the problem. The actual scheduling would fail when
the group name was passed.

Change-Id: I668621770e59504164af9a2e861a59e900300bba
Closes-bug: #1303360
(cherry picked from commit a2059b67b207d908b1c65c78dd806b1f5e79582d)
Merge "Save connection info in libvirt after volume connect" into stable/icehouse