glance/releasenotes/notes
Dinesh Bhor 2562da28c6 Fix 500 if user passes name with more than 80 characters
Following apis are returning 500 error if user passes name with more
than 80 characters:
* md-tag-create
* md-tag-update
* md-object-create
* md-object-update
* md-property-create
* md-property-update

This happens because there is a discrepancy in db column length and
glance-api length check in schema validation. In database the 'name'
field for these API's is defined as of maximum 80 characters and in
schema it is defined as of maximum 255 characters. So if user passes
name with more than 80 characters and less than 255 characters
database fails to store that value and shouts with following error
which leads to 500 error to API user:

(pymysql.err.DataError) (1406, u"Data too long for column 'name' at
row 1")

Fixed this issue by changing the maximum allowed length for 'name'
from 255 to 80 in schema validation.

APIImpact
DocImpact
Closes-Bug: #1719252
Change-Id: I4ae67457c3e4f5a6bfc3c1db2d305a9b7587395f
2017-10-05 10:24:22 +05:30
..
.placeholder Add reno for release notes management 2015-11-04 18:21:25 +00:00
add-cpu-thread-pinning-metadata-09b1866b875c4647.yaml Add CPU thread pinning to metadata defs 2016-08-17 16:45:39 +01:00
add-ploop-format-fdd583849504ab15.yaml Add ploop to supported disk_formats 2016-12-22 21:14:14 +03:00
add-processlimits-to-qemu-img-c215f5d90f741d8a.yaml Correct releasenote for Ib900bbc05cb9ccd90c6f56ccb4bf2006e30cdc80 2016-09-27 15:59:02 -04:00
add-vhdx-format-2be99354ad320cca.yaml Complete and update Newton release notes 2016-09-15 21:40:43 +00:00
alembic-migrations-902b31edae7a5d7d.yaml Alembic migrations/rolling upgrades release note 2017-02-02 14:00:56 -05:00
api-minor-ver-bump-2-6-aa3591fc58f08055.yaml Bump Images API to v2.6 2017-08-06 09:19:13 -04:00
api-minor-version-bump-bbd69dc457fc731c.yaml Correct 2.5 minor version bump release note 2017-01-31 11:28:32 -05:00
bug-1537903-54b2822eac6cfc09.yaml Change Metadefs OS::Nova::Instance to OS::Nova::Server 2016-02-02 15:05:22 -07:00
bug-1593177-8ef35458d29ec93c.yaml Change default policy to admin 2016-06-17 15:38:51 +00:00
bug-1719252-name-validation-443a2e2a36be2cec.yaml Fix 500 if user passes name with more than 80 characters 2017-10-05 10:24:22 +05:30
bump-api-2-4-efa266aef0928e04.yaml Complete and update Newton release notes 2016-09-15 21:40:43 +00:00
clean-up-acceptable-values-store_type_preference-39081e4045894731.yaml Clean up acceptable values for 'store_type_preference' 2017-04-26 15:06:33 +00:00
consistent-store-names-57374b9505d530d0.yaml Fixing inconsistency in Glance store names. 2016-09-23 16:11:18 +00:00
deprecate-glance-api-opts-23bdbd1ad7625999.yaml Deprecate use_user_token parameter 2016-03-07 17:06:04 +03:00
deprecate-show-multiple-location-9890a1e961def2f6.yaml Complete and update Newton release notes 2016-09-15 21:40:43 +00:00
deprecate-v1-api-6c7dbefb90fd8772.yaml Deprecate the Images (Glance) v1 API 2016-08-27 03:34:00 +00:00
exp-emc-mig-fix-a7e28d547ac38f9e.yaml Add release note for bug 1670409 2017-04-05 21:07:44 +00:00
glare-ectomy-72a1f80f306f2e3b.yaml Glare-ectomy 2017-03-01 21:46:52 +00:00
image-visibility-changes-fa5aa18dc67244c4.yaml Add release note for image visibility changes 2017-01-27 14:26:00 -05:00
improved-config-options-221c58a8c37602ba.yaml Complete and update Newton release notes 2016-09-15 21:40:43 +00:00
location-add-status-checks-b70db66100bc96b7.yaml Complete and update Newton release notes 2016-09-15 21:40:43 +00:00
lock_path_config_option-2771feaa649e4563.yaml Add external lock to image cache sqlite driver db init 2017-06-18 03:52:18 -04:00
make-task-api-admin-only-by-default-7def996262e18f7a.yaml Make the task's API admin only by default 2016-01-28 19:26:09 +00:00
new_image_filters-c888361e6ecf495c.yaml Added support new v2 API image filters 2016-02-20 09:41:19 +00:00
newton-1-release-065334d464f78fc5.yaml Complete and update Newton release notes 2016-09-15 21:40:43 +00:00
newton-bugs-06ed3727b973c271.yaml Complete and update Newton release notes 2016-09-15 21:40:43 +00:00
oslo-log-use-stderr-changes-07f5daf3e6abdcd6.yaml Correct releasenote "Prepare for oslo.log 3.17.0" 2016-11-29 22:31:00 -05:00
pike-metadefs-changes-95b54e0bf8bbefd6.yaml Add release note for RC-1 including metadefs changes 2017-08-10 11:20:52 -04:00
pike-rc-1-a5d3f6e8877b52c6.yaml Add release note for RC-1 including metadefs changes 2017-08-10 11:20:52 -04:00
pike-rc-2-acc173005045e16a.yaml Add release note for Glance Pike RC-2 2017-08-21 09:39:09 -04:00
Prevent-removing-last-image-location-d5ee3e00efe14f34.yaml Prevent user to remove last location of the image 2016-02-03 16:52:17 -05:00
range-header-request-83cf11eebf865fb1.yaml Accept Range requests and set appropriate response 2017-04-05 20:40:02 +00:00
remove-db-downgrade-0d1cc45b97605775.yaml Complete and update Newton release notes 2016-09-15 21:40:43 +00:00
remove-osprofiler-paste-ini-options-c620dedc8f9728ff.yaml Do not use api-paste.ini osprofiler options 2016-01-11 17:55:10 +03:00
remove-s3-driver-639c60b71761eb6f.yaml Complete and update Newton release notes 2016-09-15 21:40:43 +00:00
reordered-store-config-opts-newton-3a6575b5908c0e0f.yaml Complete and update Newton release notes 2016-09-15 21:40:43 +00:00
restrict_location_updates-05454bb765a8c92c.yaml Editing release note for location update patch 2016-12-08 18:14:27 +00:00
scrubber-exit-e5d77f6f1a38ffb7.yaml Handling scrubber's exit in non-daemon mode. 2017-01-31 20:06:47 +00:00
soft_delete-tasks-43ea983695faa565.yaml Complete and update Newton release notes 2016-09-15 21:40:43 +00:00
trust-support-registry-cfd17a6a9ab21d70.yaml Implement trust support for api v2 2016-01-14 12:37:37 +03:00
update-show_multiple_locations-helptext-7fa692642b6b6d52.yaml Update deprecated show_multiple_locations helptext 2017-01-27 14:34:22 -05:00
use-cursive-c6b15d94845232da.yaml Fix nits from commit that introduces cursive 2016-09-07 20:42:50 +00:00
virtuozzo-hypervisor-fada477b64ae829d.yaml Expand hypervisor_type meta data with Virtuozzo hypervisor 2016-12-20 09:53:44 +03:00
wsgi-containerization-369880238a5e793d.yaml Add release note for wsgi containerization 2017-07-21 20:44:46 +00:00