)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9562,"name":"Ildiko Vancsa","email":"ildiko.vancsa@gmail.com","username":"ildikov"},"change_message_id":"46fa9c6c6de629e41b773a53c181735976a5bfda","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     lijian \u003cjian.li@easystack.cn\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-04-14 19:41:08 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Rcord the attachmented volume read and write metering sample"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If attach a volume to a instance, then record the every volume"},{"line_number":10,"context_line":"read and write metering data.My implement like collect the disk"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"AAAAW3%2F%2Fcas%3D","line":7,"updated":"2014-04-14 15:49:26.000000000","message":"s/Rcord/Record/\n\ns/attachmented/attached/","commit_id":"8b9890a81debadd8b999e158c8ce642cab00dc79"},{"author":{"_account_id":9360,"name":"li jian","email":"blacker1981@163.com","username":"lijian"},"change_message_id":"fe6311df98168c55d7f4249e2974da13fd89d1b5","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     lijian \u003cjian.li@easystack.cn\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-04-14 19:41:08 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Rcord the attachmented volume read and write metering sample"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If attach a volume to a instance, then record the every volume"},{"line_number":10,"context_line":"read and write metering data.My implement like collect the disk"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"AAAAW3%2F%2FYS4%3D","line":7,"in_reply_to":"AAAAW3%2F%2Fcas%3D","updated":"2014-04-15 01:31:42.000000000","message":"thanks for check the spelling and grammatical mistakes","commit_id":"8b9890a81debadd8b999e158c8ce642cab00dc79"},{"author":{"_account_id":9562,"name":"Ildiko Vancsa","email":"ildiko.vancsa@gmail.com","username":"ildikov"},"change_message_id":"46fa9c6c6de629e41b773a53c181735976a5bfda","unresolved":false,"context_lines":[{"line_number":9,"context_line":"If attach a volume to a instance, then record the every volume"},{"line_number":10,"context_line":"read and write metering data.My implement like collect the disk"},{"line_number":11,"context_line":"data, just need to get the volume full information form the cinder"},{"line_number":12,"context_line":"client."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: Ieb628f6714de9c4fbdee5c906cb5c37ee1d2cf74"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"AAAAW3%2F%2Fb5I%3D","line":12,"updated":"2014-04-14 15:49:26.000000000","message":"Does this paragraph mean that you gather the volume information from cinder and then you use it for collecting data/disk from libvirt?","commit_id":"8b9890a81debadd8b999e158c8ce642cab00dc79"},{"author":{"_account_id":9360,"name":"li jian","email":"blacker1981@163.com","username":"lijian"},"change_message_id":"fe6311df98168c55d7f4249e2974da13fd89d1b5","unresolved":false,"context_lines":[{"line_number":9,"context_line":"If attach a volume to a instance, then record the every volume"},{"line_number":10,"context_line":"read and write metering data.My implement like collect the disk"},{"line_number":11,"context_line":"data, just need to get the volume full information form the cinder"},{"line_number":12,"context_line":"client."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: Ieb628f6714de9c4fbdee5c906cb5c37ee1d2cf74"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"AAAAW3%2F%2FYTE%3D","line":12,"in_reply_to":"AAAAW3%2F%2Fb5I%3D","updated":"2014-04-15 01:31:42.000000000","message":"Correct!\nFirstly, get the attachment volume from the instance, and then retrieve the disk device path from the cinder, at the last use the libvirt to collect the data","commit_id":"8b9890a81debadd8b999e158c8ce642cab00dc79"}],"ceilometer/agent.py":[{"author":{"_account_id":9562,"name":"Ildiko Vancsa","email":"ildiko.vancsa@gmail.com","username":"ildikov"},"change_message_id":"46fa9c6c6de629e41b773a53c181735976a5bfda","unresolved":false,"context_lines":[{"line_number":89,"context_line":"                        cache,"},{"line_number":90,"context_line":"                        resources\u003dsource_resources or agent_resources,"},{"line_number":91,"context_line":"                    ))"},{"line_number":92,"context_line":"                    if None in samples:"},{"line_number":93,"context_line":"                        continue"},{"line_number":94,"context_line":"                    publisher(samples)"},{"line_number":95,"context_line":"                except Exception as err:"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAW3%2F%2FcC8%3D","line":92,"updated":"2014-04-14 15:49:26.000000000","message":"Isn\u0027t it rather \u0027if samples is None\u0027?","commit_id":"8b9890a81debadd8b999e158c8ce642cab00dc79"},{"author":{"_account_id":9360,"name":"li jian","email":"blacker1981@163.com","username":"lijian"},"change_message_id":"408549d120f3a505fd904c2efe9dff8f3a647a9f","unresolved":false,"context_lines":[{"line_number":89,"context_line":"                        cache,"},{"line_number":90,"context_line":"                        resources\u003dsource_resources or agent_resources,"},{"line_number":91,"context_line":"                    ))"},{"line_number":92,"context_line":"                    if None in samples:"},{"line_number":93,"context_line":"                        continue"},{"line_number":94,"context_line":"                    publisher(samples)"},{"line_number":95,"context_line":"                except Exception as err:"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAW3%2F%2FYAI%3D","line":92,"in_reply_to":"AAAAW3%2F%2FcC8%3D","updated":"2014-04-15 02:47:14.000000000","message":"if the instance does not have any attached volumes, then the get_samples return \u0027None\u0027\nAs the \u0027pollster.obj\u0027 is a generator obj and get_samples using the \u0027yield\u0027, so the value of \u0027samples\u0027 \u003d [None],so I use the  \u0027if None in samples\u0027","commit_id":"8b9890a81debadd8b999e158c8ce642cab00dc79"}]}
