)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"5bcb2041a9838c27e5805667f95b07f07028f66f","unresolved":false,"context_lines":[{"line_number":10,"context_line":"to set quotas for volume attributes on a per volume-type basis."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"for example:"},{"line_number":13,"context_line":"  openstack quota set admin --volume-type myvol --volumes 12"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: I3ce9cf82a65d4f012b339f0e0dedb752cb132c33"},{"line_number":16,"context_line":"Closes-Bug: 1438377"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9aa53dc9_921dfd11","line":13,"updated":"2015-04-06 17:37:11.000000000","message":"what is \"admin\" used for?","commit_id":"e1c7c431baf31a8110b7ed48549473863bccbe91"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"cb8bd6f6831a7885c4ca6c82af38f296ba85b8cf","unresolved":false,"context_lines":[{"line_number":10,"context_line":"to set quotas for volume attributes on a per volume-type basis."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"for example:"},{"line_number":13,"context_line":"  openstack quota set admin --volume-type myvol --volumes 12"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: I3ce9cf82a65d4f012b339f0e0dedb752cb132c33"},{"line_number":16,"context_line":"Closes-Bug: 1438377"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9aa53dc9_1412f862","line":13,"in_reply_to":"9aa53dc9_72771903","updated":"2015-04-06 19:21:57.000000000","message":"ah, I got used to having the project name/ID at the end of the command.\n\nEither way, I tested using: openstack quota set  --volume-type myvol --volumes 12 \u003cproject_id\u003e\n\nMaybe change the sample to more obvious or \u003cproject\u003e?","commit_id":"e1c7c431baf31a8110b7ed48549473863bccbe91"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"63b9b24ea79eb5b3c4096da4f11426d59ea490a9","unresolved":false,"context_lines":[{"line_number":10,"context_line":"to set quotas for volume attributes on a per volume-type basis."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"for example:"},{"line_number":13,"context_line":"  openstack quota set admin --volume-type myvol --volumes 12"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: I3ce9cf82a65d4f012b339f0e0dedb752cb132c33"},{"line_number":16,"context_line":"Closes-Bug: 1438377"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9aa53dc9_72771903","line":13,"in_reply_to":"9aa53dc9_921dfd11","updated":"2015-04-06 17:42:11.000000000","message":"\u0027admin\u0027 if the project name\n\nthe bug report has this as:\n\n  # cinder quota-update --volume-type my-type --volumes 2 $PROJECTID","commit_id":"e1c7c431baf31a8110b7ed48549473863bccbe91"}],"openstackclient/common/quota.py":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"5bcb2041a9838c27e5805667f95b07f07028f66f","unresolved":false,"context_lines":[{"line_number":103,"context_line":"        volume_kwargs \u003d {}"},{"line_number":104,"context_line":"        for k, v in VOLUME_QUOTAS.items():"},{"line_number":105,"context_line":"            value \u003d getattr(parsed_args, v, None)"},{"line_number":106,"context_line":"            if value:"},{"line_number":107,"context_line":"                if parsed_args.volume_type:"},{"line_number":108,"context_line":"                    k \u003d k + \u0027_%s\u0027 % parsed_args.volume_type"},{"line_number":109,"context_line":"                volume_kwargs[k] \u003d value"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_3204f17c","line":106,"updated":"2015-04-06 17:37:11.000000000","message":"Using this condition, I cannot set the quota now to \"0\u0027.  \n\nWe might need to revert back to the old check: \"if v in parsed_args:\" for determining if we want to pass the new quota property.","commit_id":"e1c7c431baf31a8110b7ed48549473863bccbe91"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"63b9b24ea79eb5b3c4096da4f11426d59ea490a9","unresolved":false,"context_lines":[{"line_number":103,"context_line":"        volume_kwargs \u003d {}"},{"line_number":104,"context_line":"        for k, v in VOLUME_QUOTAS.items():"},{"line_number":105,"context_line":"            value \u003d getattr(parsed_args, v, None)"},{"line_number":106,"context_line":"            if value:"},{"line_number":107,"context_line":"                if parsed_args.volume_type:"},{"line_number":108,"context_line":"                    k \u003d k + \u0027_%s\u0027 % parsed_args.volume_type"},{"line_number":109,"context_line":"                volume_kwargs[k] \u003d value"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_529095ec","line":106,"in_reply_to":"9aa53dc9_3204f17c","updated":"2015-04-06 17:42:11.000000000","message":"when debugging: \"if v in parsed_args:\" was pretty pointless, which is why i changed it. whats the error you see when you set it to 0? can you set it to 0 with the old cinder CLI?","commit_id":"e1c7c431baf31a8110b7ed48549473863bccbe91"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"cb8bd6f6831a7885c4ca6c82af38f296ba85b8cf","unresolved":false,"context_lines":[{"line_number":103,"context_line":"        volume_kwargs \u003d {}"},{"line_number":104,"context_line":"        for k, v in VOLUME_QUOTAS.items():"},{"line_number":105,"context_line":"            value \u003d getattr(parsed_args, v, None)"},{"line_number":106,"context_line":"            if value:"},{"line_number":107,"context_line":"                if parsed_args.volume_type:"},{"line_number":108,"context_line":"                    k \u003d k + \u0027_%s\u0027 % parsed_args.volume_type"},{"line_number":109,"context_line":"                volume_kwargs[k] \u003d value"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aa53dc9_572642bb","line":106,"in_reply_to":"9aa53dc9_529095ec","updated":"2015-04-06 19:21:57.000000000","message":"I didn\u0027t get any error, I see that old data when I view the quota. I assume it is not passing any quota properties. \n\nUsing the Cinder CLI (not OSC), I can set to 0.  Maybe change this to \"value is not None\"?","commit_id":"e1c7c431baf31a8110b7ed48549473863bccbe91"},{"author":{"_account_id":6482,"name":"Steve Martinelli","email":"s.martinelli@gmail.com","username":"stevemar"},"change_message_id":"24e39f059e9f36c4dec6b9e00034cd717354b71c","unresolved":false,"context_lines":[{"line_number":103,"context_line":"        volume_kwargs \u003d {}"},{"line_number":104,"context_line":"        for k, v in VOLUME_QUOTAS.items():"},{"line_number":105,"context_line":"            value \u003d getattr(parsed_args, v, None)"},{"line_number":106,"context_line":"            if value:"},{"line_number":107,"context_line":"                if parsed_args.volume_type:"},{"line_number":108,"context_line":"                    k \u003d k + \u0027_%s\u0027 % parsed_args.volume_type"},{"line_number":109,"context_line":"                volume_kwargs[k] \u003d value"}],"source_content_type":"text/x-python","patch_set":1,"id":"7aaa499b_9c893329","line":106,"in_reply_to":"9aa53dc9_572642bb","updated":"2015-04-15 05:42:12.000000000","message":"Done","commit_id":"e1c7c431baf31a8110b7ed48549473863bccbe91"}]}
