Fixes Error message during image upload due to file filtering
When filtering supported file types in Glance, uploading a none supported
file gives a none informative/misleading error on Horizon -> Error:
Unable to create new image.
Uploading same image in Glance CLI returns a better warning: Invalid
disk format.
Reviewed: https:/ /review. openstack. org/131059 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=2e3294ec30f 3d6b07e1ce9b6e4 f2138fc98a26ef
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2e3294ec30f3d6b 07e1ce9b6e4f213 8fc98a26ef
Author: nikunj2512 <email address hidden>
Date: Mon Oct 27 14:42:20 2014 +0530
Fixes Error message during image upload due to file filtering
When filtering supported file types in Glance, uploading a none supported misleading error on Horizon -> Error:
file gives a none informative/
Unable to create new image.
Uploading same image in Glance CLI returns a better warning: Invalid
disk format.
Change-Id: I3dced3a1056bd5 bb4495881f246fc ab39fbc1bff
Closes-bug: #1296722