Handle correctly QuotaError in EC2 API
Handle correctly QuotaError in EC2 API

Without this patch, EC2 API returns UnknownError when quota is exceeded, see bug #853381

This patch fixes that by handling the exception. Now euca-run-instances returns useful information:

$ euca-run-instances --instance-count 10 --instance-type m1.8gb.2cpus.diskless ami-00000012
QuotaError: Quota exceeded: code=InstanceLimitExceeded

Change-Id: I1f7b381b34d2f538b7cc2d9582a40fd8bf88fbc3
Signed-off-by: Julien Danjou <5c682c2d1ec4073e277f9ba9f4bdf07e5794dabe@danjou.info>

eneabio/nova,eneabio/nova,yrobla/nova,sileht/deb-openstack-nova,sileht/deb-openstack-nova,eneabio/nova,yrobla/nova,sileht/deb-openstack-nova,yrobla/nova