Iterates swift response earlier to get the correct status

We must iterate the next middleware app until we get a response
before asking for the headers and status.

Closes-bug: #1326250

Change-Id: I8947bc88754db93e3ebe01ea864c4b489d1bd870
(cherry picked from commit 163710cb1abc602b15d2a3b49aa52f3f7c84a65a)
ensure dispatcher service is configured before rpc

there is a rare race condition where when the mq contains
notifications, the rpc service is configured before dispatcher so
it may attempt to start sending messages to dispatcher before it
has been configured. this patch ensures the dispatcher
configuration is done before starting rpc service.

Closes-Bug: #1384364

Change-Id: If4c3a225e0bd5ae6eefad072b844af1ef5786f3f
(cherry picked from commit 5df14763a5a88b9549066da04dac13ae2ad73144)
Merge "ensure dispatcher service is configured before rpc" into stable/icehouse
Move oslo.vmware higher in requirements.txt

oslo.vmware's transitive dependency on eventlet >= 0.15.2 is only resolved
and enforced if it is listed before requirements.txt's >= 0.13.0.  This
moves it up in the list to avoid version conflicts when installing from
release in devstack.

Related-bug: #1395814
Change-Id: I7f06a030cd9f31f3741c1ea4c97a2be3b76b978c
Merge "Iterates swift response earlier to get the correct status" into stable/icehouse
Merge branch 'stable/icehouse' of https://github.com/openstack/ceilometer into stable/icehouse