Quantumapi returns an empty network list

When nova retries network list and if the list is empty, quantumapi
should return a empty list instead of an empty dictionnary.

Fixes bug 1189976

Change-Id: I5b8c498a6c86e92d0de14d8de9e55722408c5669
Remove locals() from nova/virt/libvirt package

fixes bug 1171936

Change-Id: I81198d6bc74991b184b3de2f7977ff3a9a12ac28
Fix quota logging on exceptions

When exceptions committing or rolling back quota reservations occurs, we
log the failure.  However, the code also falls through to log a
succesful commit/rollback.  This adds the missing returns.

Change-Id: Ieccb4071c64dde740ec95a783533a8a3a1850481
Port missing bits from httplib2 to requests

This allows to drop the dependency on httplib2 altogether.

Change-Id: I18571e29d9f0d6527a93ed18becee9148e64e574
Fix KeyError exception when scheduling to child cell.

Fix typo 'security_group' and update related unit tests.

Fix bug #1193233

Change-Id: I6d92759b0d7e2ce81c2065a4eada35c559ccbcd7
Merge "Remove locals() from nova/virt/libvirt package"
Fix sys_meta access in prep for instance object

Fix various places that access instance['system_metadata'] as if it's a
list of sqlalchemy models.  A helper util method was created in a
previous patch set in nova/utils... so this patch converts things to
use it.

Left one use in _init_instance() in compute/manager.py because it's
being addressed with a different patch set.

Related to blueprint unified-object-model

Change-Id: I876a6c57f64d61d64069c884bf0414c3596e1aa0
Merge "Fix quota logging on exceptions"
Merge "Fix KeyError exception when scheduling to child cell."
Merge "Port missing bits from httplib2 to requests"
Merge "Fix sys_meta access in prep for instance object"
Fix xenstore-rm race condition

If an entry is already gone from xenstore, any other xenstore-rm will
raise.

When we make calls to nova-agent, we wait for the response in Xenstore.
After a timeout period, we attempt to remove it.  If the DomID has
changed (due to a Windows VM rebooting at the right time via sysprep,
etc)... or if the agent picked up the command and didn't respond in a
timely fashion, the removal attempt will fail.  It would be normal for
the entry to be gone in this case.

This fixes the plugin to ignore when the entry is already
deleted.

Fixes bug 1193720

Change-Id: I8585a9f147cad3c5abe531620872b475eb4128c9
Merge "Quantumapi returns an empty network list"
Merge "Fix xenstore-rm race condition"