openstack-python-openstackc.../openstackclient
Jordan Pittier 52279b1b04 network.common.NetworkAndComputeShowOne: catch HttpException
Problem: if a user issue the cmd 'openstack floating ip create public'
and has already maxed his quota for FIP, OSC exits with a not so useful
message:

>jordan@jordan-XPS13-9333:~ $ openstack floating ip create public
>HttpException: Conflict

This patches catch the HttpException earlier and prints a more
verbose message:

> jordan@jordan-XPS13-9333:~ $ openstack floating ip create public
> Error while executing command: Quota exceeded for resources: ['floatingip']

Change-Id: I7c87524d871d230d92f007c32e06439b34c7194a
2016-11-10 16:30:23 +01:00
..
api Add option "--name" to command "openstack object create" 2016-09-26 22:42:10 -04:00
common Mask passwords in debug logs for auth_config_hook 2016-10-05 21:11:16 -04:00
compute Add --long option and more columns to the hypervisor list command 2016-10-27 04:33:47 -07:00
identity Warning for empty password set for user create/set 2016-10-19 03:07:54 +00:00
image osc-lib: shell 2016-08-05 13:48:55 -05:00
locale Imported Translations from Zanata 2016-06-04 06:18:46 +00:00
network network.common.NetworkAndComputeShowOne: catch HttpException 2016-11-10 16:30:23 +01:00
object Add translation markers for object commands 2016-09-26 22:52:14 -04:00
tests network.common.NetworkAndComputeShowOne: catch HttpException 2016-11-10 16:30:23 +01:00
volume Merge "Add "volume migrate" command" 2016-11-10 14:13:28 +00:00
__init__.py Change version reporting to use pbr 2013-08-02 12:11:49 -05:00
i18n.py Update translation setup 2016-01-29 08:18:50 +09:00
shell.py Improve output of supported API versions 2016-10-07 11:02:53 +00:00