)]}'
{"nova/image/glance.py":[{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"5ba58f0b19e85ec9c91274ee4b8a824f9bd2b5c4","unresolved":false,"context_lines":[{"line_number":1015,"context_line":"        elif schema.is_base_property(name):"},{"line_number":1016,"context_line":"            output[name] \u003d value"},{"line_number":1017,"context_line":"        else:"},{"line_number":1018,"context_line":"            output[\u0027properties\u0027][name] \u003d value"},{"line_number":1019,"context_line":""},{"line_number":1020,"context_line":"    return output"},{"line_number":1021,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"dab17558_15be7864","line":1018,"updated":"2016-05-17 13:56:47.000000000","message":"do we make the correct API call so that we get all the extra properties when calling glance v2 and doing the list API?","commit_id":"a282a005e9c498a844a582823b7b3cdea387d772"},{"author":{"_account_id":11391,"name":"Mikhail Fedosin","email":"mfedosin@redhat.com","username":"fedosinme"},"change_message_id":"8d6e1f204646ee3ed071e4f2bb58d92b3750c2ea","unresolved":false,"context_lines":[{"line_number":1015,"context_line":"        elif schema.is_base_property(name):"},{"line_number":1016,"context_line":"            output[name] \u003d value"},{"line_number":1017,"context_line":"        else:"},{"line_number":1018,"context_line":"            output[\u0027properties\u0027][name] \u003d value"},{"line_number":1019,"context_line":""},{"line_number":1020,"context_line":"    return output"},{"line_number":1021,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"bab6814e_52db9e1b","line":1018,"in_reply_to":"dab17558_15be7864","updated":"2016-05-24 15:41:39.000000000","message":"The problem is that in v1 list all custom properties are included in image output, in v2 for performance reasons they\u0027re not. Unfortunately, it cannot be fixed without big api impact in v2. So, in v2 list output all \u0027properties\u0027 will be empty dictionaries.","commit_id":"a282a005e9c498a844a582823b7b3cdea387d772"},{"author":{"_account_id":9775,"name":"Sudipta Biswas","email":"sbiswas7@in.ibm.com","username":"sudswas"},"change_message_id":"d6628b21f375e9d690a97c90ae64744de9dac49b","unresolved":false,"context_lines":[{"line_number":1015,"context_line":"        elif schema.is_base_property(name):"},{"line_number":1016,"context_line":"            output[name] \u003d value"},{"line_number":1017,"context_line":"        else:"},{"line_number":1018,"context_line":"            output[\u0027properties\u0027][name] \u003d value"},{"line_number":1019,"context_line":""},{"line_number":1020,"context_line":"    return output"},{"line_number":1021,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"bab6814e_68f41987","line":1018,"in_reply_to":"dab17558_15be7864","updated":"2016-05-24 06:19:40.000000000","message":"We call the glance API with version\u003d2 and get the corresponding image with all the data as per the v2 schema. Then we use this method to convert it to the format that nova\u0027s proxy expects w.r.t getting it v1 like output. this is primarily used during the \u0027show\u0027 method call on the API. I am not sure if that answers your question though.","commit_id":"a282a005e9c498a844a582823b7b3cdea387d772"}]}
