)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"b1dd7e1fe3c199b7770cf4f72a600192c90d89cf","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     liushi \u003cliu.shi@navercorp.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2018-06-05 09:38:07 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add the configuration item of cephfs driver"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Add the configuration item of cephfs driver so that cephfs can be"},{"line_number":10,"context_line":"configured. These include the prefix of the cephfs volume and the"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"5f7c97a3_424dacc2","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":43},"updated":"2018-06-05 10:13:55.000000000","message":"We need a more specific commit header.  How about:\n\nConfig for cephfs volume and namespace prefixes\n\nFor the body of the commit message it would be quite helpful to explain what these prefixes are used for, in which ceph release they were introduced, and why it is useful to have them for manila.","commit_id":"15ec1431ae443c369cb36a2a5a296c1c518abeb2"},{"author":{"_account_id":8056,"name":"Ramana Raja","email":"rraja@redhat.com","username":"Ram_Raja"},"change_message_id":"8d0cf3e19d1e10c4a2e2a868c5c1992ecad58383","unresolved":false,"context_lines":[{"line_number":9,"context_line":"The cloud administrator needs to use the volume prefix to"},{"line_number":10,"context_line":"layout multiple manila backends. When cephfs has multiple"},{"line_number":11,"context_line":"data pools, manila can configure different `cephfs_volume_prefix`"},{"line_number":12,"context_line":"to store different volume data in different data pools."},{"line_number":13,"context_line":"This is very helpful for planning different data storage"},{"line_number":14,"context_line":"to different ceph OSDs."},{"line_number":15,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"5f7c97a3_a6a02f44","line":12,"updated":"2018-06-06 15:23:30.000000000","message":"The \u0027cephfs_volume_prefix\u0027 sets the name of the CephFS directory, within which the manila shares (CephFS volumes) reside in the CephFS directory hierarchy [1] . The storage or ceph admin would have to, out of band, set the RADOS pool layout of the directory, right?\n\n[1] https://github.com/ceph/ceph/blob/luminous/src/pybind/ceph_volume_client.py#L428","commit_id":"0704e43c757de2a411abc9eed3dfc5964e192258"},{"author":{"_account_id":28320,"name":"liushi","email":"liu.shi@navercorp.com","username":"liushi"},"change_message_id":"f4151b009a715d37759b0d72c53aa869f9843a2a","unresolved":false,"context_lines":[{"line_number":9,"context_line":"The cloud administrator needs to use the volume prefix to"},{"line_number":10,"context_line":"layout multiple manila backends. When cephfs has multiple"},{"line_number":11,"context_line":"data pools, manila can configure different `cephfs_volume_prefix`"},{"line_number":12,"context_line":"to store different volume data in different data pools."},{"line_number":13,"context_line":"This is very helpful for planning different data storage"},{"line_number":14,"context_line":"to different ceph OSDs."},{"line_number":15,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"5f7c97a3_68473079","line":12,"in_reply_to":"5f7c97a3_28c93878","updated":"2018-06-08 09:05:57.000000000","message":"yes, I will handle this patch as soon as possible","commit_id":"0704e43c757de2a411abc9eed3dfc5964e192258"},{"author":{"_account_id":8056,"name":"Ramana Raja","email":"rraja@redhat.com","username":"Ram_Raja"},"change_message_id":"168643a21486fc465c20cda74a9b7da14c5b1804","unresolved":false,"context_lines":[{"line_number":9,"context_line":"The cloud administrator needs to use the volume prefix to"},{"line_number":10,"context_line":"layout multiple manila backends. When cephfs has multiple"},{"line_number":11,"context_line":"data pools, manila can configure different `cephfs_volume_prefix`"},{"line_number":12,"context_line":"to store different volume data in different data pools."},{"line_number":13,"context_line":"This is very helpful for planning different data storage"},{"line_number":14,"context_line":"to different ceph OSDs."},{"line_number":15,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"5f7c97a3_28c93878","line":12,"in_reply_to":"5f7c97a3_9a20e49d","updated":"2018-06-07 09:00:36.000000000","message":"Makes sense to allow the ceph_volume_client to set the pool layout. \n\n\u0027cephfs_volume_path_prefix\u0027 is much more intuitive. Can you make that name change, Liushi?","commit_id":"0704e43c757de2a411abc9eed3dfc5964e192258"},{"author":{"_account_id":28408,"name":"Patrick Donnelly","email":"pdonnell@redhat.com","username":"pdonnell"},"change_message_id":"fa8812e4c417cf4fd91bbef24643dd8c6dfdc483","unresolved":false,"context_lines":[{"line_number":9,"context_line":"The cloud administrator needs to use the volume prefix to"},{"line_number":10,"context_line":"layout multiple manila backends. When cephfs has multiple"},{"line_number":11,"context_line":"data pools, manila can configure different `cephfs_volume_prefix`"},{"line_number":12,"context_line":"to store different volume data in different data pools."},{"line_number":13,"context_line":"This is very helpful for planning different data storage"},{"line_number":14,"context_line":"to different ceph OSDs."},{"line_number":15,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"5f7c97a3_9a20e49d","line":12,"in_reply_to":"5f7c97a3_a6a02f44","updated":"2018-06-06 16:57:07.000000000","message":"It\u0027d be nice to set the pool layout in the volume client but that would require an update to the volume client too.\n\nThe patchset makes sense to me. However, I think \u0027cephfs_volume_path_prefix\u0027 would be a better config name.","commit_id":"0704e43c757de2a411abc9eed3dfc5964e192258"},{"author":{"_account_id":8056,"name":"Ramana Raja","email":"rraja@redhat.com","username":"Ram_Raja"},"change_message_id":"8d0cf3e19d1e10c4a2e2a868c5c1992ecad58383","unresolved":false,"context_lines":[{"line_number":13,"context_line":"This is very helpful for planning different data storage"},{"line_number":14,"context_line":"to different ceph OSDs."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"And also make `cephfs_pool_namespace_prefix` configurable also"},{"line_number":17,"context_line":"in order to support multiple backend."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: I19e3dd55f1fded339cb17222b3333c0c0f8835e9"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"5f7c97a3_a929e037","line":16,"updated":"2018-06-06 15:23:30.000000000","message":"The \u0027cephfs_pool_namespace_prefix\u0027 sets the prefix of the RADOS namespace [1] to which the CephFS volumes belong. The ceph_volume_client sets unique RADOS namespace for each CephFS volume. The namespace is constructed as \u0027namespace_prefix\u0027 + \u0027manila-share-id\u0027 [2]. \n\nI don\u0027t get how changing the RADOS namespace prefix gives you the benefit of supporting multiple CephFS driver instances pointed at the same Ceph filesystem? \n\n[1] https://tracker.ceph.com/projects/ceph/wiki/Rados_namespaces\n\n[2] https://github.com/ceph/ceph/blob/luminous/src/pybind/ceph_volume_client.py#L634","commit_id":"0704e43c757de2a411abc9eed3dfc5964e192258"},{"author":{"_account_id":8056,"name":"Ramana Raja","email":"rraja@redhat.com","username":"Ram_Raja"},"change_message_id":"0ee361ab0eb34ae3cd862b48c4728bcb15408826","unresolved":false,"context_lines":[{"line_number":13,"context_line":"This is very helpful for planning different data storage"},{"line_number":14,"context_line":"to different ceph OSDs."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"And also make `cephfs_pool_namespace_prefix` configurable also"},{"line_number":17,"context_line":"in order to support multiple backend."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: I19e3dd55f1fded339cb17222b3333c0c0f8835e9"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"5f7c97a3_49a12c95","line":16,"in_reply_to":"5f7c97a3_a929e037","updated":"2018-06-06 15:26:06.000000000","message":"Shouldn\u0027t just changing the \u0027volume_prefix\u0027 give you ability to have multiple manila backends?","commit_id":"0704e43c757de2a411abc9eed3dfc5964e192258"}],"manila/share/drivers/cephfs/driver.py":[{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"b1dd7e1fe3c199b7770cf4f72a600192c90d89cf","unresolved":false,"context_lines":[{"line_number":31,"context_line":""},{"line_number":32,"context_line":"try:"},{"line_number":33,"context_line":"    import ceph_volume_client"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    ceph_module_found \u003d True"},{"line_number":36,"context_line":"except ImportError as e:"},{"line_number":37,"context_line":"    ceph_volume_client \u003d None"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_62df88d6","line":34,"updated":"2018-06-05 10:13:55.000000000","message":"Let\u0027s not change the original author\u0027s whitespace whitespace placement.  That\u0027s a stylistic change that has nothing to do with your patch.","commit_id":"15ec1431ae443c369cb36a2a5a296c1c518abeb2"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"b1dd7e1fe3c199b7770cf4f72a600192c90d89cf","unresolved":false,"context_lines":[{"line_number":36,"context_line":"except ImportError as e:"},{"line_number":37,"context_line":"    ceph_volume_client \u003d None"},{"line_number":38,"context_line":"    ceph_module_found \u003d False"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"CEPHX_ACCESS_TYPE \u003d \"cephx\""},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"# The default Ceph administrative identity"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_02eed48a","line":39,"updated":"2018-06-05 10:13:55.000000000","message":"ditto","commit_id":"15ec1431ae443c369cb36a2a5a296c1c518abeb2"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"b1dd7e1fe3c199b7770cf4f72a600192c90d89cf","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"# The default Ceph administrative identity"},{"line_number":43,"context_line":"CEPH_DEFAULT_AUTH_ID \u003d \"admin\""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"cephfs_opts \u003d ["}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_c2e77cac","line":44,"updated":"2018-06-05 10:13:55.000000000","message":"ditto","commit_id":"15ec1431ae443c369cb36a2a5a296c1c518abeb2"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"b1dd7e1fe3c199b7770cf4f72a600192c90d89cf","unresolved":false,"context_lines":[{"line_number":93,"context_line":"                    \"Ganesha server host. This is not required if \""},{"line_number":94,"context_line":"                    \"\u0027cephfs_ganesha_path_to_private_key\u0027 is configured.\"),"},{"line_number":95,"context_line":"]"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"CONF \u003d cfg.CONF"},{"line_number":98,"context_line":"CONF.register_opts(cephfs_opts)"},{"line_number":99,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_22c190e5","line":96,"updated":"2018-06-05 10:13:55.000000000","message":"ditto","commit_id":"15ec1431ae443c369cb36a2a5a296c1c518abeb2"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"b1dd7e1fe3c199b7770cf4f72a600192c90d89cf","unresolved":false,"context_lines":[{"line_number":105,"context_line":""},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"class CephFSDriver(driver.ExecuteMixin, driver.GaneshaMixin,"},{"line_number":108,"context_line":"                   driver.ShareDriver, ):"},{"line_number":109,"context_line":"    \"\"\"Driver for the Ceph Filesystem.\"\"\""},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"    def __init__(self, *args, **kwargs):"}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_82af442a","line":108,"range":{"start_line":108,"start_character":35,"end_line":108,"end_character":41},"updated":"2018-06-05 10:13:55.000000000","message":"ditto","commit_id":"15ec1431ae443c369cb36a2a5a296c1c518abeb2"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"b1dd7e1fe3c199b7770cf4f72a600192c90d89cf","unresolved":false,"context_lines":[{"line_number":446,"context_line":"        return access_keys"},{"line_number":447,"context_line":""},{"line_number":448,"context_line":""},{"line_number":449,"context_line":"class NFSProtocolHelper(ganesha.GaneshaNASHelper2):"},{"line_number":450,"context_line":"    shared_data \u003d {}"},{"line_number":451,"context_line":"    supported_protocols \u003d (\u0027NFS\u0027,)"},{"line_number":452,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"5f7c97a3_42a92c22","line":449,"updated":"2018-06-05 10:13:55.000000000","message":"ditto","commit_id":"15ec1431ae443c369cb36a2a5a296c1c518abeb2"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"b8b3cf81c75d34ccc190fdee05d1085ca8ea9687","unresolved":false,"context_lines":[{"line_number":57,"context_line":"               default\u003d\"manila\","},{"line_number":58,"context_line":"               help\u003d\"The name of the ceph auth identity to use.\""},{"line_number":59,"context_line":"               ),"},{"line_number":60,"context_line":"    cfg.StrOpt(\u0027volume_prefix\u0027,"},{"line_number":61,"context_line":"               default\u003d\"/volumes\","},{"line_number":62,"context_line":"               help\u003d\"The prefix of the cephfs volume.\""},{"line_number":63,"context_line":"               ),"}],"source_content_type":"text/x-python","patch_set":7,"id":"5f7c97a3_6342dcad","line":60,"range":{"start_line":60,"start_character":16,"end_line":60,"end_character":29},"updated":"2018-06-08 02:26:05.000000000","message":"Ramana and Patrick are asking that this config parameter be called \u0027cephfs_volume_path_prefix.\u0027","commit_id":"1188a56984e1bfe8c2cc0e6b246020d4e06bb3e0"},{"author":{"_account_id":28320,"name":"liushi","email":"liu.shi@navercorp.com","username":"liushi"},"change_message_id":"f4151b009a715d37759b0d72c53aa869f9843a2a","unresolved":false,"context_lines":[{"line_number":57,"context_line":"               default\u003d\"manila\","},{"line_number":58,"context_line":"               help\u003d\"The name of the ceph auth identity to use.\""},{"line_number":59,"context_line":"               ),"},{"line_number":60,"context_line":"    cfg.StrOpt(\u0027volume_prefix\u0027,"},{"line_number":61,"context_line":"               default\u003d\"/volumes\","},{"line_number":62,"context_line":"               help\u003d\"The prefix of the cephfs volume.\""},{"line_number":63,"context_line":"               ),"}],"source_content_type":"text/x-python","patch_set":7,"id":"5f7c97a3_1e301f9e","line":60,"range":{"start_line":60,"start_character":16,"end_line":60,"end_character":29},"in_reply_to":"5f7c97a3_6342dcad","updated":"2018-06-08 09:05:57.000000000","message":"Okay","commit_id":"1188a56984e1bfe8c2cc0e6b246020d4e06bb3e0"}],"releasenotes/notes/config-for-cephfs-volume-prefix-67f2513f603cb614.yaml":[{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"1daa82b79932e3eada296834aca68f1ff3494079","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - cephfs volume prefix configurable for multiple backends"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"5f7c97a3_a38d862b","line":3,"range":{"start_line":3,"start_character":4,"end_line":3,"end_character":59},"updated":"2018-06-06 10:52:28.000000000","message":"How about:\n\n  - cephfs volume prefix and pool namespace prefix are now\n    configurable in order to enable support for multiple\n    cephfs back ends.","commit_id":"0704e43c757de2a411abc9eed3dfc5964e192258"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"b8b3cf81c75d34ccc190fdee05d1085ca8ea9687","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - cephfs volume prefix are now configurable in order to "},{"line_number":4,"context_line":"    enable support for multiple cephfs back ends."}],"source_content_type":"text/x-yaml","patch_set":7,"id":"5f7c97a3_c30c1096","line":3,"range":{"start_line":3,"start_character":57,"end_line":3,"end_character":58},"updated":"2018-06-08 02:26:05.000000000","message":"avoid trailing whitespace","commit_id":"1188a56984e1bfe8c2cc0e6b246020d4e06bb3e0"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"b8b3cf81c75d34ccc190fdee05d1085ca8ea9687","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - cephfs volume prefix are now configurable in order to "},{"line_number":4,"context_line":"    enable support for multiple cephfs back ends."}],"source_content_type":"text/x-yaml","patch_set":7,"id":"5f7c97a3_a321d4fe","line":3,"range":{"start_line":3,"start_character":4,"end_line":3,"end_character":28},"updated":"2018-06-08 02:26:05.000000000","message":"cephfs volume path prefix is now ...","commit_id":"1188a56984e1bfe8c2cc0e6b246020d4e06bb3e0"},{"author":{"_account_id":28320,"name":"liushi","email":"liu.shi@navercorp.com","username":"liushi"},"change_message_id":"f4151b009a715d37759b0d72c53aa869f9843a2a","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - cephfs volume prefix are now configurable in order to "},{"line_number":4,"context_line":"    enable support for multiple cephfs back ends."}],"source_content_type":"text/x-yaml","patch_set":7,"id":"5f7c97a3_3e539be4","line":3,"range":{"start_line":3,"start_character":4,"end_line":3,"end_character":28},"in_reply_to":"5f7c97a3_a321d4fe","updated":"2018-06-08 09:05:57.000000000","message":"T_T","commit_id":"1188a56984e1bfe8c2cc0e6b246020d4e06bb3e0"},{"author":{"_account_id":28320,"name":"liushi","email":"liu.shi@navercorp.com","username":"liushi"},"change_message_id":"f4151b009a715d37759b0d72c53aa869f9843a2a","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"features:"},{"line_number":3,"context_line":"  - cephfs volume prefix are now configurable in order to "},{"line_number":4,"context_line":"    enable support for multiple cephfs back ends."}],"source_content_type":"text/x-yaml","patch_set":7,"id":"5f7c97a3_9e442f1b","line":3,"range":{"start_line":3,"start_character":57,"end_line":3,"end_character":58},"in_reply_to":"5f7c97a3_c30c1096","updated":"2018-06-08 09:05:57.000000000","message":"emmm. i\u0027m sorry.","commit_id":"1188a56984e1bfe8c2cc0e6b246020d4e06bb3e0"}]}
