Check Neutron port quota during validate_networks in API

Unless ports are passed into Nova it will create ports on the
requested networks as part of the network allocation in
the compute manager. However if the user exceeds their
port quota the instance will end up in an Error state, having
first been re-scheduled a number of times.

It would be much better if the quota failure was detected as
part of the network validation in the API server, so that an
error can be reported to the user and the creation failed.

A full fix would include reserving or creating the ports at
this stage, but there is no reservation mechanism in the
Neutron API, and port creation depends in some cases
on mac addresses only available on the compute manager.

Instead this change just validates the quota and adjusts the
max_count to be consistent with that quota, which doesn't
guarantee that the create will work, but does catch the
majority of cases.

Refs bug: 1172808

Change-Id: Iaaee059a6746fad68049712f94b2f8cfea6ab8dc
remove vmwareapi.vmops.get_console_output()

This code has been unused since commit
2ce3461595a490c9a02272ee4a1ab1eb55c27f60.

Change-Id: Ice72b0aba8af49b07528b30f46c012d69b712735
List NotImplementedError as a client exception for vnc

Not all drivers implement the get_vnc_console method.  In that case,
they will raise NotImplementedError.  List this exception as a client
exception so that the rpc layer does not log a traceback when this
happens.

Change-Id: Id30fd35b36cbd222b2d8787f00fa586d1ed4f11a
sync oslo service to fix SIGHUP handling

this is a sync of the oslo service code to fix a bug found in
the sighup handling. Previously it was not possible to use
devstack's unstack.sh because the service module would always
restart under a SIGHUP, not only when the process was running as
a service. SIGHUP on a non-detached process should act like
SIGTERM. This change fixes that.

Change-Id: Ib260d82519fde5c5cb24a2c0c8a7cccd0b96b84f
Related-Bug: #1263122
Merge "sync oslo service to fix SIGHUP handling"
Merge "remove vmwareapi.vmops.get_console_output()"
Merge "List NotImplementedError as a client exception for vnc"
Merge "Check Neutron port quota during validate_networks in API"