)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"8759735cbe398db51cd6cf3b841b464f77cbaef8","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Drop rootwrap from quobyte driver"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Now that we have privsep support in cinder, we can start using privsep in"},{"line_number":10,"context_line":"various drivers so we can drop rootwrap support."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I682786ea50a141a9d6a6b65e28f5acf194765507"},{"line_number":13,"context_line":"Signed-off-by: Chuck Short \u003cchucks@redhat.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"5f7c97a3_cb52b068","line":10,"range":{"start_line":10,"start_character":16,"end_line":10,"end_character":48},"updated":"2018-07-05 18:33:45.000000000","message":"We need to be pretty careful about saying this -- it\u0027s premature to try to drop rootwrap as of now.\n\nSwitching to privsep has huge performance implications, since it single-threads operations that were previously multi-threaded.\n\nDo we know what happens to the rest of Cinder if one of these mount calls hangs for minutes?","commit_id":"4f9ca844e65f7c23d27da9954e386fd5ce79aced"},{"author":{"_account_id":24,"name":"Chuck Short","email":"charles.short@windriver.com","username":"zulcss"},"change_message_id":"1c69242c2c861a06566fda94a9b6f209c066b4d6","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Drop rootwrap from quobyte driver"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Now that we have privsep support in cinder, we can start using privsep in"},{"line_number":10,"context_line":"various drivers so we can drop rootwrap support."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Change-Id: I682786ea50a141a9d6a6b65e28f5acf194765507"},{"line_number":13,"context_line":"Signed-off-by: Chuck Short \u003cchucks@redhat.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"5f7c97a3_2b448472","line":10,"range":{"start_line":10,"start_character":16,"end_line":10,"end_character":48},"in_reply_to":"5f7c97a3_cb52b068","updated":"2018-07-05 18:41:58.000000000","message":"I have updated the commit message to reflect this. I dont know what would happen to the rest of cinder if one of the calls hangs.","commit_id":"4f9ca844e65f7c23d27da9954e386fd5ce79aced"}],"cinder/privsep/fs.py":[{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"89603e7bb9fcb619b0fb1d9e721a09def5ef1456","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    if fstype:"},{"line_number":30,"context_line":"        mount_cmd.extend([\u0027-t\u0027, fstype])"},{"line_number":31,"context_line":"    if options is not None:"},{"line_number":32,"context_line":"        mount_cmd.extend([options])"},{"line_number":33,"context_line":"    mount_cmd.extend([volume, mount_path])"},{"line_number":34,"context_line":"    processutils.execute(*mount_cmd)"},{"line_number":35,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_8b4038a5","line":32,"updated":"2018-07-18 10:11:19.000000000","message":"options should be added via \u0027-o \u003ccomma-separated-option-list\u003e\u0027 otherwise the options are not handed through (see mount manpage).","commit_id":"4f9ca844e65f7c23d27da9954e386fd5ce79aced"}],"cinder/privsep/utils.py":[{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"0df2c46923bcd20ca1550dae31473cad3334690a","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"@cinder.privsep.sys_admin_pctxt.entrypoint"},{"line_number":27,"context_line":"def mount_quobyte(volume, mount_path, options):"},{"line_number":28,"context_line":"    mount_cmd \u003d [\u0027mount.quobyte\u0027, \u0027--disable-xattrs\u0027]"},{"line_number":29,"context_line":"    if options is not None:"},{"line_number":30,"context_line":"        mount_cmd.extend([\u0027-c\u0027, options])"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_b5947742","line":27,"range":{"start_line":27,"start_character":4,"end_line":27,"end_character":16},"updated":"2018-07-05 16:51:54.000000000","message":"I am not sure that this is the best way to do this?  Do we really want a different mount command for each driver?  Wouldn\u0027t we want this to be more like the mount command is actually used where it takes the type as an option?","commit_id":"f1c72800d3542421374812e1eac4f88e4d5c94d0"},{"author":{"_account_id":24,"name":"Chuck Short","email":"charles.short@windriver.com","username":"zulcss"},"change_message_id":"9c9a6d5d7eab04ed1c208e05c651995fa0b57476","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"@cinder.privsep.sys_admin_pctxt.entrypoint"},{"line_number":27,"context_line":"def mount_quobyte(volume, mount_path, options):"},{"line_number":28,"context_line":"    mount_cmd \u003d [\u0027mount.quobyte\u0027, \u0027--disable-xattrs\u0027]"},{"line_number":29,"context_line":"    if options is not None:"},{"line_number":30,"context_line":"        mount_cmd.extend([\u0027-c\u0027, options])"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_a8a2da95","line":27,"range":{"start_line":27,"start_character":4,"end_line":27,"end_character":16},"in_reply_to":"5f7c97a3_b5947742","updated":"2018-07-05 17:31:24.000000000","message":"Good point,\n\nI think we would want to take the type as an option. I think it would get too messy if we do an mount for every driver.","commit_id":"f1c72800d3542421374812e1eac4f88e4d5c94d0"},{"author":{"_account_id":7198,"name":"Jay Bryant","email":"jungleboyj@electronicjungle.net","username":"jsbryant"},"change_message_id":"0df2c46923bcd20ca1550dae31473cad3334690a","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"@cinder.privsep.sys_admin_pctxt.entrypoint"},{"line_number":36,"context_line":"def umount_quobyte(mount_path):"},{"line_number":37,"context_line":"    processutils.execute(\u0027umount\u0027, mount_path)"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_75bedfd4","line":36,"range":{"start_line":36,"start_character":4,"end_line":36,"end_character":18},"updated":"2018-07-05 16:51:54.000000000","message":"Why is this not just unmount?","commit_id":"f1c72800d3542421374812e1eac4f88e4d5c94d0"}],"cinder/volume/drivers/quobyte.py":[{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"89603e7bb9fcb619b0fb1d9e721a09def5ef1456","unresolved":false,"context_lines":[{"line_number":567,"context_line":"            if not os.path.isdir(mount_path):"},{"line_number":568,"context_line":"                self._execute(\u0027mkdir\u0027, \u0027-p\u0027, mount_path)"},{"line_number":569,"context_line":""},{"line_number":570,"context_line":"            options \u003d [\u0027--disable-xattrs\u0027]"},{"line_number":571,"context_line":"            if self.configuration.quobyte_client_cfg:"},{"line_number":572,"context_line":"                options.extend([\u0027-c\u0027, self.configuration.quobyte_client_cfg])"},{"line_number":573,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_cb239005","line":570,"updated":"2018-07-18 10:11:19.000000000","message":"In order to be used with the -o flag (see privsep/fs file comment) this needs to be \u0027disable-xattrs\u0027, omit the double dash.","commit_id":"4f9ca844e65f7c23d27da9954e386fd5ce79aced"},{"author":{"_account_id":13915,"name":"Silvan Kaiser","email":"silvan@quobyte.com","username":"kaisers"},"change_message_id":"89603e7bb9fcb619b0fb1d9e721a09def5ef1456","unresolved":false,"context_lines":[{"line_number":569,"context_line":""},{"line_number":570,"context_line":"            options \u003d [\u0027--disable-xattrs\u0027]"},{"line_number":571,"context_line":"            if self.configuration.quobyte_client_cfg:"},{"line_number":572,"context_line":"                options.extend([\u0027-c\u0027, self.configuration.quobyte_client_cfg])"},{"line_number":573,"context_line":""},{"line_number":574,"context_line":"            try:"},{"line_number":575,"context_line":"                LOG.info(\u0027Mounting volume: %s ...\u0027, quobyte_volume)"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_2b6a44eb","line":572,"updated":"2018-07-18 10:11:19.000000000","message":"This option needs to be \u0027cfg\u003dself.configuration...\u0027 in order to be passed via -o .","commit_id":"4f9ca844e65f7c23d27da9954e386fd5ce79aced"}]}
