Fix "resource" length in project_user_quotas table
"nova quota-update --injected-file-content-bytes 1024 --user <user> <tenant>"
is executed, the result is like the following:
$ nova quota-update --injected-file-content-bytes 1024 --user [..]
ERROR: The resource could not be found. (HTTP 404)
$
This is due to invalid length of resource in project_user_quotas table.
Current length is 25 and "injected_file_content_bytes" is shortened to
"injected_file_content_byt":
The resource of project_user_quotas table has been changed to invalid
length(25) since I56ad98d3702f53fe8cfa94093fea89074f7a5e90. The change
does not seem intention, that would be just a bug.
This patch fixes the problem.
Reviewed: https:/ /review. openstack. org/47299 github. com/openstack/ nova/commit/ 16c9054ce3973eb 2fe2f26180a6278 659961ac52
Committed: http://
Submitter: Jenkins
Branch: master
commit 16c9054ce3973eb 2fe2f26180a6278 659961ac52
Author: Ken'ichi Ohmichi <email address hidden>
Date: Wed Oct 9 15:30:40 2013 +0900
Fix "resource" length in project_user_quotas table
"nova quota-update --injected- file-content- bytes 1024 --user <user> <tenant>"
is executed, the result is like the following:
$ nova quota-update --injected- file-content- bytes 1024 --user [..]
ERROR: The resource could not be found. (HTTP 404)
$
This is due to invalid length of resource in project_user_quotas table. file_content_ bytes" is shortened to file_content_ byt":
Current length is 25 and "injected_
"injected_
mysql> select resource from project_ user_quotas; ------- ------- ------- ----+ ------- ------- ------- ----+ file_content_ byt | ------- ------- ------- ----+
+--
| resource |
+--
| injected_
+--
The resource of project_user_quotas table has been changed to invalid fe8cfa94093fea8 9074f7a5e90. The change
length(25) since I56ad98d3702f53
does not seem intention, that would be just a bug.
This patch fixes the problem.
Closes-Bug: 1227434
Change-Id: I3e080c30698dde 62625eb477a85e1 816191ff1e5