glance_store/glance_store
Kairat Kushaev caf646af81 Catch InvalidURL when requesting store size
If location URL looks like scp address:
http://some_address:~/some_image then glance accepts this address
and creates a malformed image.
The problem here is because python http_client lib is trying to
recognize '~' as port but it is not acceptable port name.
The lib generates an InvalidURL exception but this exception is
hidden in one of universal catchers(except Exception).
We need to validate port name (is present before passing it to
http_client lib.

Change-Id: I36dddf7059711fb15ecb1fec4e438daf2bffcb60
Closes-bug: #1485792
2015-08-27 01:29:24 +03:00
..
_drivers Catch InvalidURL when requesting store size 2015-08-27 01:29:24 +03:00
common Use six.moves to fix imports on Python 3 2015-06-10 11:31:44 +02:00
locale Imported Translations from Transifex 2015-08-05 06:18:57 +00:00
tests Catch InvalidURL when requesting store size 2015-08-27 01:29:24 +03:00
__init__.py Rename glance.store to glance_store 2014-08-28 10:09:36 +02:00
backend.py Fix Python 3 issues 2015-05-20 12:47:02 -07:00
capabilities.py Merge "Move to hacking 0.10" 2015-03-02 20:17:02 +00:00
driver.py Propagate BadStoreConfiguration to library user 2015-03-28 19:34:15 +01:00
exceptions.py Use six.moves to fix imports on Python 3 2015-06-10 11:31:44 +02:00
i18n.py Update oslo libraries 2015-03-19 11:43:42 -05:00
location.py Use six.moves to fix imports on Python 3 2015-06-10 11:31:44 +02:00