)]}'
{"specs/stein/manage-unmanage-with-share-servers.rst":[{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/manila/+spec/manage-unmanage-with-share-servers"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Importing existing shares in manila has been limited to a configuration mode"},{"line_number":14,"context_line":"that does not guarantee secure multi-tenancy isolation, while some existing"},{"line_number":15,"context_line":"drivers would be able to accomplish this for the configuration mode that"},{"line_number":16,"context_line":"guarantees secure multi-tenancy isolation if the functionality was allowed."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"This spec proposes enhancements to the Manage functionality in manila necessary"},{"line_number":19,"context_line":"to allow drivers to import existing shares in secure multi-tenancy isolation"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_4d1028f5","line":16,"range":{"start_line":13,"start_character":0,"end_line":16,"end_character":75},"updated":"2018-11-05 21:29:54.000000000","message":"I think these lines can be dropped.  They are redundant with your \"Problem description\" section.","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/manila/+spec/manage-unmanage-with-share-servers"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Importing existing shares in manila has been limited to a configuration mode"},{"line_number":14,"context_line":"that does not guarantee secure multi-tenancy isolation, while some existing"},{"line_number":15,"context_line":"drivers would be able to accomplish this for the configuration mode that"},{"line_number":16,"context_line":"guarantees secure multi-tenancy isolation if the functionality was allowed."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"This spec proposes enhancements to the Manage functionality in manila necessary"},{"line_number":19,"context_line":"to allow drivers to import existing shares in secure multi-tenancy isolation"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_ff00a86b","line":16,"range":{"start_line":13,"start_character":0,"end_line":16,"end_character":75},"in_reply_to":"3f79a3b5_4d1028f5","updated":"2018-11-06 16:43:20.000000000","message":"Done","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":15,"context_line":"drivers would be able to accomplish this for the configuration mode that"},{"line_number":16,"context_line":"guarantees secure multi-tenancy isolation if the functionality was allowed."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"This spec proposes enhancements to the Manage functionality in manila necessary"},{"line_number":19,"context_line":"to allow drivers to import existing shares in secure multi-tenancy isolation"},{"line_number":20,"context_line":"mode, such as APIs that allow managing share servers."},{"line_number":21,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_adaf7c9b","line":18,"range":{"start_line":18,"start_character":39,"end_line":18,"end_character":45},"updated":"2018-11-05 21:29:54.000000000","message":"This spec proposes enhancement to manila\u0027s Manage/Unmanage functionality so that drivers running in DHSS\u003dTrue mode can import existing shares and snapshots and bring them under OpenStack management and so that they can release shares and their snapshots from OpenStack management without destroying them.","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":15,"context_line":"drivers would be able to accomplish this for the configuration mode that"},{"line_number":16,"context_line":"guarantees secure multi-tenancy isolation if the functionality was allowed."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"This spec proposes enhancements to the Manage functionality in manila necessary"},{"line_number":19,"context_line":"to allow drivers to import existing shares in secure multi-tenancy isolation"},{"line_number":20,"context_line":"mode, such as APIs that allow managing share servers."},{"line_number":21,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_df304c57","line":18,"range":{"start_line":18,"start_character":39,"end_line":18,"end_character":45},"in_reply_to":"3f79a3b5_adaf7c9b","updated":"2018-11-06 16:43:20.000000000","message":"Done, thanks! much better wording \u003d)","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":23,"context_line":"Problem description"},{"line_number":24,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Manila has a secure multi-tenancy isolation mode (``DHSS \u003d True`` mode) of"},{"line_number":27,"context_line":"operation which currently needs to be set up and used from scratch so shares"},{"line_number":28,"context_line":"are created and managed by manila. If a cloud user has existing shares outside"},{"line_number":29,"context_line":"of manila and would like to import them, that user has no choice other than"},{"line_number":30,"context_line":"using the Manage functionality manila in a mode that does not guarantee secure"},{"line_number":31,"context_line":"multi-tenancy isolation."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"The reasons behind the Manage functionality being available only to the mode"},{"line_number":34,"context_line":"that uses a pre-configured share server (``DHSS \u003d False`` mode) relate mostly"},{"line_number":35,"context_line":"to the added technical complexity associated with the changes required to make"},{"line_number":36,"context_line":"it work in ``DHSS \u003d True`` mode. Some key aspects that revolve that complexity"},{"line_number":37,"context_line":"are:"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* **Share server setup and networking:** In ``DHSS \u003d False`` mode, manila only"},{"line_number":40,"context_line":"  interacts with a single, pre-existing share server, that is expected to be"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_6d59645a","line":37,"range":{"start_line":26,"start_character":0,"end_line":37,"end_character":4},"updated":"2018-11-05 21:29:54.000000000","message":"Today cloud-users who have pre-existing shares on a manila back end (e.g. they were created by a storage administrator outside of manila) cannot bring them under OpenStack management using the ``manila manage`` command when using a driver running in DHSS\u003dTrue mode the way they can when running a driver in DHSS\u003dFalse mode.  Since DHSS\u003dTrue is the mode in which manila guarantees secure multi-tenant isolation. so cloud-users have to make an unfortunate tradeoff.\n\nWe lack manage/unmanage for DHSS mode drivers today because of the following complexities:","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":23,"context_line":"Problem description"},{"line_number":24,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Manila has a secure multi-tenancy isolation mode (``DHSS \u003d True`` mode) of"},{"line_number":27,"context_line":"operation which currently needs to be set up and used from scratch so shares"},{"line_number":28,"context_line":"are created and managed by manila. If a cloud user has existing shares outside"},{"line_number":29,"context_line":"of manila and would like to import them, that user has no choice other than"},{"line_number":30,"context_line":"using the Manage functionality manila in a mode that does not guarantee secure"},{"line_number":31,"context_line":"multi-tenancy isolation."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"The reasons behind the Manage functionality being available only to the mode"},{"line_number":34,"context_line":"that uses a pre-configured share server (``DHSS \u003d False`` mode) relate mostly"},{"line_number":35,"context_line":"to the added technical complexity associated with the changes required to make"},{"line_number":36,"context_line":"it work in ``DHSS \u003d True`` mode. Some key aspects that revolve that complexity"},{"line_number":37,"context_line":"are:"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"* **Share server setup and networking:** In ``DHSS \u003d False`` mode, manila only"},{"line_number":40,"context_line":"  interacts with a single, pre-existing share server, that is expected to be"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_7f501860","line":37,"range":{"start_line":26,"start_character":0,"end_line":37,"end_character":4},"in_reply_to":"3f79a3b5_6d59645a","updated":"2018-11-06 16:43:20.000000000","message":"Thanks!","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  ``DHSS \u003d False``, manila accesses the one and only pre-existing share server"},{"line_number":49,"context_line":"  configured in the driver, therefore it can find any pre-existing share once"},{"line_number":50,"context_line":"  its export location is given at the API call. In ``DHSS \u003d True``, to manage"},{"line_number":51,"context_line":"  a share, one would have to manage a share server first, to then manage a"},{"line_number":52,"context_line":"  share within."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"* **Lifecycle of a share server:** In ``DHSS \u003d False`` mode, manila only"},{"line_number":55,"context_line":"  manages the lifecycle of shares in the only pre-existing share server. It"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_c85666ce","line":52,"range":{"start_line":51,"start_character":11,"end_line":52,"end_character":15},"updated":"2018-11-05 21:29:54.000000000","message":"one would have to manage a share server first and then manage a share within the share server.","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  ``DHSS \u003d False``, manila accesses the one and only pre-existing share server"},{"line_number":49,"context_line":"  configured in the driver, therefore it can find any pre-existing share once"},{"line_number":50,"context_line":"  its export location is given at the API call. In ``DHSS \u003d True``, to manage"},{"line_number":51,"context_line":"  a share, one would have to manage a share server first, to then manage a"},{"line_number":52,"context_line":"  share within."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"* **Lifecycle of a share server:** In ``DHSS \u003d False`` mode, manila only"},{"line_number":55,"context_line":"  manages the lifecycle of shares in the only pre-existing share server. It"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_bfc79010","line":52,"range":{"start_line":51,"start_character":11,"end_line":52,"end_character":15},"in_reply_to":"3f79a3b5_c85666ce","updated":"2018-11-06 16:43:20.000000000","message":"thanks!","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":56,"context_line":"  never seeks to delete the share server, as it does not own it."},{"line_number":57,"context_line":"  In ``DHSS \u003d True`` mode, manila manages the lifecycle of share servers and"},{"line_number":58,"context_line":"  shares within, as it owns all share servers it creates. If one share server"},{"line_number":59,"context_line":"  is to be managed by manila, it should be deletable by it as well."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"As per the aspects mentioned previously, it becomes clear that to manage a"},{"line_number":62,"context_line":"share in ``DHSS \u003d True`` mode, one needs an API to manage a share server first."}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_5e444c1a","line":59,"range":{"start_line":59,"start_character":30,"end_line":59,"end_character":67},"updated":"2018-11-05 21:29:54.000000000","message":"Hmm, can we delete the share server, or just unmanage it if we took it into manila management?  It could still have non-manila-managed shares that we don\u0027t know about.","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":56,"context_line":"  never seeks to delete the share server, as it does not own it."},{"line_number":57,"context_line":"  In ``DHSS \u003d True`` mode, manila manages the lifecycle of share servers and"},{"line_number":58,"context_line":"  shares within, as it owns all share servers it creates. If one share server"},{"line_number":59,"context_line":"  is to be managed by manila, it should be deletable by it as well."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"As per the aspects mentioned previously, it becomes clear that to manage a"},{"line_number":62,"context_line":"share in ``DHSS \u003d True`` mode, one needs an API to manage a share server first."}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_bfe0f094","line":59,"range":{"start_line":59,"start_character":30,"end_line":59,"end_character":67},"in_reply_to":"3f79a3b5_5e444c1a","updated":"2018-11-06 16:43:20.000000000","message":"We agreed at the PTG to allow them to be deleted, I\u0027ll add a paragraph about it in the proposed change section. Thanks.","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"a0349e51ac6bd82b489817246b25d7e1ae006bf4","unresolved":false,"context_lines":[{"line_number":56,"context_line":"  never seeks to delete the share server, as it does not own it."},{"line_number":57,"context_line":"  In ``DHSS \u003d True`` mode, manila manages the lifecycle of share servers and"},{"line_number":58,"context_line":"  shares within, as it owns all share servers it creates. If one share server"},{"line_number":59,"context_line":"  is to be managed by manila, it should be deletable by it as well."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"As per the aspects mentioned previously, it becomes clear that to manage a"},{"line_number":62,"context_line":"share in ``DHSS \u003d True`` mode, one needs an API to manage a share server first."}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_02673254","line":59,"range":{"start_line":59,"start_character":30,"end_line":59,"end_character":67},"in_reply_to":"3f79a3b5_bfe0f094","updated":"2018-11-07 11:17:12.000000000","message":"I think I read this as indicating that the share server would be deleted from the back end but an unmanage operation should IMO just delete it from the database and manila, not from the back end itself.  Just as when we unmanage a share or a snapshot we remove it from manila but not the back end itself.\n\nSo I\u0027d say something like \"If share servers can managed by manila, then they can be unmanaged by manila as well.\"\n\nAm I missing something here?","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":58,"context_line":"  shares within, as it owns all share servers it creates. If one share server"},{"line_number":59,"context_line":"  is to be managed by manila, it should be deletable by it as well."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"As per the aspects mentioned previously, it becomes clear that to manage a"},{"line_number":62,"context_line":"share in ``DHSS \u003d True`` mode, one needs an API to manage a share server first."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"Use Cases"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_fee5183e","line":62,"range":{"start_line":61,"start_character":0,"end_line":62,"end_character":79},"updated":"2018-11-05 21:29:54.000000000","message":"Here it would be good to explain (and correct me if any of this is wrong) that when a share server is under manila management it can still have shares that are not yet or that will never be under manila management.  Also that as long as there are shares in the share server that are under manila management the share server cannot be unmanaged.","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":58,"context_line":"  shares within, as it owns all share servers it creates. If one share server"},{"line_number":59,"context_line":"  is to be managed by manila, it should be deletable by it as well."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"As per the aspects mentioned previously, it becomes clear that to manage a"},{"line_number":62,"context_line":"share in ``DHSS \u003d True`` mode, one needs an API to manage a share server first."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"Use Cases"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_ba747e8b","line":62,"range":{"start_line":61,"start_character":0,"end_line":62,"end_character":79},"in_reply_to":"3f79a3b5_fee5183e","updated":"2018-11-06 16:43:20.000000000","message":"Thanks. I will add it to the proposed change section (actually merged with the comment above). The parf of \"as there are shares in the share server that are under manila management the share server cannot be unmanaged\" is covered in the REST API error messages of Unmanage Share Server API","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":79,"context_line":"API to manage share servers."},{"line_number":80,"context_line":""},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"Proposed change"},{"line_number":83,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"The following changes are proposed:"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_082e9ea9","line":82,"range":{"start_line":82,"start_character":0,"end_line":82,"end_character":15},"updated":"2018-11-05 21:29:54.000000000","message":"This section needs more work. It really doesn\u0027t tell what happens between the new or modified APIs and the manager (any RPC changes?).  Nor how the manager interacts with the DB or what the new DB model is.  Nor how the manager calls into the drivers - though some of this is covered later in driver impact, this is the place for general statements about flow.  When you a share server does the flow go into the driver or just stay in the manager, just updating the database?  When is network allocation validation for share servers done?  This high level narrative is missing, instead we have a laundry list of changes without a story around them.\n\nIt introduces snapshots almost as an aside.\n\nI can infer some of this stuff","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":79,"context_line":"API to manage share servers."},{"line_number":80,"context_line":""},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"Proposed change"},{"line_number":83,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"The following changes are proposed:"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_5f4675aa","line":82,"range":{"start_line":82,"start_character":0,"end_line":82,"end_character":15},"in_reply_to":"3f79a3b5_082e9ea9","updated":"2018-11-06 16:43:20.000000000","message":"Tom, AFAIK RPC changes are details that we don\u0027t usually include in the spec. The DB model changes is detailed in the DB model impact section, and it is so simple I don\u0027t think it requires further detailing. The flow is described in \"Implementation\" bullet item below, which I will add some more detail. Snapshots are very briefly mentioned because they are not part of the flow, their internal behavior is not changed, just a detail in the API to allow managing/unmanaging snapshots in DHSS\u003dTrue, which is also covered below.","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":93,"context_line":"  * **Host:** backend name (\"\u003cnode_hostname\u003e@\u003cbackend_stanza\u003e\");"},{"line_number":94,"context_line":"  * **Share Network:** share network associated with the neutron network the"},{"line_number":95,"context_line":"    share server is connected to;"},{"line_number":96,"context_line":"  * **Backend Details:** indefinite list of driver-specific key-value pairs"},{"line_number":97,"context_line":"    required to successfully manage the share server."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * **Pre-requisites:** Since connectivity is expected between an existing"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_68c95278","line":96,"range":{"start_line":96,"start_character":25,"end_line":96,"end_character":36},"updated":"2018-11-05 21:29:54.000000000","message":"Drop the word \u0027indefinite\u0027.  Though undefined from manila\u0027s standpoint it should be quite definite as to what is needed for any particular driver.  Calling the k-v pairs driver-specific is clear enough.","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":93,"context_line":"  * **Host:** backend name (\"\u003cnode_hostname\u003e@\u003cbackend_stanza\u003e\");"},{"line_number":94,"context_line":"  * **Share Network:** share network associated with the neutron network the"},{"line_number":95,"context_line":"    share server is connected to;"},{"line_number":96,"context_line":"  * **Backend Details:** indefinite list of driver-specific key-value pairs"},{"line_number":97,"context_line":"    required to successfully manage the share server."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * **Pre-requisites:** Since connectivity is expected between an existing"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_5ab9aac2","line":96,"range":{"start_line":96,"start_character":25,"end_line":96,"end_character":36},"in_reply_to":"3f79a3b5_68c95278","updated":"2018-11-06 16:43:20.000000000","message":"Done","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":97,"context_line":"    required to successfully manage the share server."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * **Pre-requisites:** Since connectivity is expected between an existing"},{"line_number":100,"context_line":"    share server and the client hosts, the share server will already have"},{"line_number":101,"context_line":"    network allocations, but unknown to Neutron. Since those allocations could"},{"line_number":102,"context_line":"    conflict with Neutron, it is up to the admin to create the allocations and"},{"line_number":103,"context_line":"    define the port ``device_owner`` as ``manila:share``. When managing the"},{"line_number":104,"context_line":"    share server, the share server IP addresses will be requested to the driver"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_68f392a1","line":101,"range":{"start_line":100,"start_character":39,"end_line":101,"end_character":49},"updated":"2018-11-05 21:29:54.000000000","message":"the share server will already have interfaces with mac addresses and IP addresses but Neutron and OpenStack know nothing of them.  Before taking the share server into OpenStack management, the cloud administrator must create Neutron ports corresponding to these share-server interfaces, allocate the proper addresses to these ports, and set the port ``device-owner`` to ``manila-share``. ...","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":97,"context_line":"    required to successfully manage the share server."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * **Pre-requisites:** Since connectivity is expected between an existing"},{"line_number":100,"context_line":"    share server and the client hosts, the share server will already have"},{"line_number":101,"context_line":"    network allocations, but unknown to Neutron. Since those allocations could"},{"line_number":102,"context_line":"    conflict with Neutron, it is up to the admin to create the allocations and"},{"line_number":103,"context_line":"    define the port ``device_owner`` as ``manila:share``. When managing the"},{"line_number":104,"context_line":"    share server, the share server IP addresses will be requested to the driver"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_fa00b66b","line":101,"range":{"start_line":100,"start_character":39,"end_line":101,"end_character":49},"in_reply_to":"3f79a3b5_68f392a1","updated":"2018-11-06 16:43:20.000000000","message":"Thanks! updated","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":107,"context_line":"    configured network plugin. If not all allocations are found, the operation"},{"line_number":108,"context_line":"    is aborted with an error. When using the Standalone Network Plugin, this"},{"line_number":109,"context_line":"    step is not required;"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"  * **Implementation:** A share server model is created with the backend"},{"line_number":112,"context_line":"    details parameters. A new driver method is invoked to obtain the network"},{"line_number":113,"context_line":"    information of this new share server, which will be used by the configured"},{"line_number":114,"context_line":"    network plugins to validate the network allocations previously created by"},{"line_number":115,"context_line":"    the admin."},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"* **Add a Unmanage Share Server API:** Through this API, share servers shall be"},{"line_number":118,"context_line":"  unmanaged. There are no parameters required. The share server specified is"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_a8344afb","line":115,"range":{"start_line":110,"start_character":0,"end_line":115,"end_character":14},"updated":"2018-11-05 21:29:54.000000000","message":"This is pretty sketchy.  Normally specs show the fields in the data model, and explain more clearly how the manager updates the model, retrieves it, and passes it to the driver.","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":107,"context_line":"    configured network plugin. If not all allocations are found, the operation"},{"line_number":108,"context_line":"    is aborted with an error. When using the Standalone Network Plugin, this"},{"line_number":109,"context_line":"    step is not required;"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"  * **Implementation:** A share server model is created with the backend"},{"line_number":112,"context_line":"    details parameters. A new driver method is invoked to obtain the network"},{"line_number":113,"context_line":"    information of this new share server, which will be used by the configured"},{"line_number":114,"context_line":"    network plugins to validate the network allocations previously created by"},{"line_number":115,"context_line":"    the admin."},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"* **Add a Unmanage Share Server API:** Through this API, share servers shall be"},{"line_number":118,"context_line":"  unmanaged. There are no parameters required. The share server specified is"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_8ac60d4a","line":115,"range":{"start_line":110,"start_character":0,"end_line":115,"end_character":14},"in_reply_to":"3f79a3b5_a8344afb","updated":"2018-11-06 16:43:20.000000000","message":"I updated it with more detail.","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":115,"context_line":"    the admin."},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"* **Add a Unmanage Share Server API:** Through this API, share servers shall be"},{"line_number":118,"context_line":"  unmanaged. There are no parameters required. The share server specified is"},{"line_number":119,"context_line":"  removed from manila database. We are not going to remove the allocations, as"},{"line_number":120,"context_line":"  for any existing untracked resource in a network, it will be bound to result"},{"line_number":121,"context_line":"  in conflicts in the future if the ports are de-allocated. It will be up to"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_e8132267","line":118,"range":{"start_line":118,"start_character":13,"end_line":118,"end_character":45},"updated":"2018-11-05 21:29:54.000000000","message":"Maybe just to avoid confustion say \"No parameters are required beyond the ID of the share server to be unmanaged.\"","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":115,"context_line":"    the admin."},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"* **Add a Unmanage Share Server API:** Through this API, share servers shall be"},{"line_number":118,"context_line":"  unmanaged. There are no parameters required. The share server specified is"},{"line_number":119,"context_line":"  removed from manila database. We are not going to remove the allocations, as"},{"line_number":120,"context_line":"  for any existing untracked resource in a network, it will be bound to result"},{"line_number":121,"context_line":"  in conflicts in the future if the ports are de-allocated. It will be up to"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_7f6b3153","line":118,"range":{"start_line":118,"start_character":13,"end_line":118,"end_character":45},"in_reply_to":"3f79a3b5_e8132267","updated":"2018-11-06 16:43:20.000000000","message":"Done","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":129,"context_line":"  set to ``True``, the parameter share_server_id will be required, else the API"},{"line_number":130,"context_line":"  will return ``400 BadRequest``;"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"* **Allow unmanaging of shares and snapshots in ``DHSS \u003d True`` mode:**"},{"line_number":133,"context_line":"  Currently it is not allowed to unmanage shares and snapshots in this mode."},{"line_number":134,"context_line":"  We will change the API to allow it."},{"line_number":135,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_68d4f2bc","line":132,"range":{"start_line":132,"start_character":35,"end_line":132,"end_character":45},"updated":"2018-11-05 21:29:54.000000000","message":"This is the first you have mentioned snapshots in this spec!","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"a0349e51ac6bd82b489817246b25d7e1ae006bf4","unresolved":false,"context_lines":[{"line_number":129,"context_line":"  set to ``True``, the parameter share_server_id will be required, else the API"},{"line_number":130,"context_line":"  will return ``400 BadRequest``;"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"* **Allow unmanaging of shares and snapshots in ``DHSS \u003d True`` mode:**"},{"line_number":133,"context_line":"  Currently it is not allowed to unmanage shares and snapshots in this mode."},{"line_number":134,"context_line":"  We will change the API to allow it."},{"line_number":135,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_8200226b","line":132,"range":{"start_line":132,"start_character":35,"end_line":132,"end_character":45},"in_reply_to":"3f79a3b5_5afbea14","updated":"2018-11-07 11:17:12.000000000","message":"I get the point that the changes to the API for managing shares and snapshots are minor and the main changes are for managing/unmanaging share servers.   I just think that you should use phrases like \"managing shares and their snapshots\" from the start, consistently, instead of just \"managing shares.\"  I think otherwise it can be confusing to get all the way to this point and hear snapshots mentioned for the first time.","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":129,"context_line":"  set to ``True``, the parameter share_server_id will be required, else the API"},{"line_number":130,"context_line":"  will return ``400 BadRequest``;"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"* **Allow unmanaging of shares and snapshots in ``DHSS \u003d True`` mode:**"},{"line_number":133,"context_line":"  Currently it is not allowed to unmanage shares and snapshots in this mode."},{"line_number":134,"context_line":"  We will change the API to allow it."},{"line_number":135,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_5afbea14","line":132,"range":{"start_line":132,"start_character":35,"end_line":132,"end_character":45},"in_reply_to":"3f79a3b5_68d4f2bc","updated":"2018-11-06 16:43:20.000000000","message":"I do not consider that the design of manage/unmanage snapshot is affected by this spec (no need to change the internal behavior, or add new API parameters), but the API as is needs to accept requests related to shares/snapshots created in DHSS\u003dTrue. So it is a minor API adjustment, that\u0027s why it is only mentioned in this section","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":184,"context_line":"Data model impact"},{"line_number":185,"context_line":"-----------------"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"Since there is the need to differ share servers created by manila from managed"},{"line_number":188,"context_line":"ones, it is proposed the creation of a boolean column in the ``ShareServer``"},{"line_number":189,"context_line":"table named ``is_managed`` defaulting to ``False``. The database schema upgrade"},{"line_number":190,"context_line":"will add the column with the value ``False`` for all existing share servers,"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_6391739b","line":187,"range":{"start_line":187,"start_character":24,"end_line":187,"end_character":33},"updated":"2018-11-05 21:29:54.000000000","message":"\"to distinguish\"","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":184,"context_line":"Data model impact"},{"line_number":185,"context_line":"-----------------"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":"Since there is the need to differ share servers created by manila from managed"},{"line_number":188,"context_line":"ones, it is proposed the creation of a boolean column in the ``ShareServer``"},{"line_number":189,"context_line":"table named ``is_managed`` defaulting to ``False``. The database schema upgrade"},{"line_number":190,"context_line":"will add the column with the value ``False`` for all existing share servers,"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_daccda34","line":187,"range":{"start_line":187,"start_character":24,"end_line":187,"end_character":33},"in_reply_to":"3f79a3b5_6391739b","updated":"2018-11-06 16:43:20.000000000","message":"thanks!","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":186,"context_line":""},{"line_number":187,"context_line":"Since there is the need to differ share servers created by manila from managed"},{"line_number":188,"context_line":"ones, it is proposed the creation of a boolean column in the ``ShareServer``"},{"line_number":189,"context_line":"table named ``is_managed`` defaulting to ``False``. The database schema upgrade"},{"line_number":190,"context_line":"will add the column with the value ``False`` for all existing share servers,"},{"line_number":191,"context_line":"while the database schema downgrade will remove the column."},{"line_number":192,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_23e05b27","line":189,"range":{"start_line":189,"start_character":12,"end_line":189,"end_character":26},"updated":"2018-11-05 21:29:54.000000000","message":"This column should have a different name.  Conceptually all the share-servers in the table are under manila management, it\u0027s just that some came into manila management via the \u0027manila manage\u0027 command.  Perhaps \u0027imported\u0027 would be a better name for this column.","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":186,"context_line":""},{"line_number":187,"context_line":"Since there is the need to differ share servers created by manila from managed"},{"line_number":188,"context_line":"ones, it is proposed the creation of a boolean column in the ``ShareServer``"},{"line_number":189,"context_line":"table named ``is_managed`` defaulting to ``False``. The database schema upgrade"},{"line_number":190,"context_line":"will add the column with the value ``False`` for all existing share servers,"},{"line_number":191,"context_line":"while the database schema downgrade will remove the column."},{"line_number":192,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_1af01266","line":189,"range":{"start_line":189,"start_character":12,"end_line":189,"end_character":26},"in_reply_to":"3f79a3b5_23e05b27","updated":"2018-11-06 16:43:20.000000000","message":"agreed. changed to \"is_imported\".","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":195,"context_line":"---------------"},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"There are a couple of new APIs introduced and a few others changed. The policy"},{"line_number":198,"context_line":"for both new APIs are admin-only. There are no changes for the existing"},{"line_number":199,"context_line":"policies. The API microversion will be bumped to the next one for the listed"},{"line_number":200,"context_line":"changes."},{"line_number":201,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_03cf5fb2","line":198,"range":{"start_line":198,"start_character":22,"end_line":198,"end_character":33},"updated":"2018-11-05 21:29:54.000000000","message":"\"admin-only like the existing manage/unmanage APIs.\"","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":195,"context_line":"---------------"},{"line_number":196,"context_line":""},{"line_number":197,"context_line":"There are a couple of new APIs introduced and a few others changed. The policy"},{"line_number":198,"context_line":"for both new APIs are admin-only. There are no changes for the existing"},{"line_number":199,"context_line":"policies. The API microversion will be bumped to the next one for the listed"},{"line_number":200,"context_line":"changes."},{"line_number":201,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_ba631e18","line":198,"range":{"start_line":198,"start_character":22,"end_line":198,"end_character":33},"in_reply_to":"3f79a3b5_03cf5fb2","updated":"2018-11-06 16:43:20.000000000","message":"Done","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":219,"context_line":""},{"line_number":220,"context_line":"Parameter ``backend_details`` is optional. If any of the other parameters"},{"line_number":221,"context_line":"is missing or invalid, the API will return ``400 BadRequest``. If a share"},{"line_number":222,"context_line":"server for the given share network already exists and is active, then the API"},{"line_number":223,"context_line":"will return ``409 Conflict``."},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"Response::"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_6344131b","line":222,"range":{"start_line":222,"start_character":35,"end_line":222,"end_character":49},"updated":"2018-11-05 21:29:54.000000000","message":"Well it does already exist!  I think you mean something like \"if there is already a share-server under manila management for the given share-network\" ?","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":219,"context_line":""},{"line_number":220,"context_line":"Parameter ``backend_details`` is optional. If any of the other parameters"},{"line_number":221,"context_line":"is missing or invalid, the API will return ``400 BadRequest``. If a share"},{"line_number":222,"context_line":"server for the given share network already exists and is active, then the API"},{"line_number":223,"context_line":"will return ``409 Conflict``."},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"Response::"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_9aa98226","line":222,"range":{"start_line":222,"start_character":35,"end_line":222,"end_character":49},"in_reply_to":"3f79a3b5_6344131b","updated":"2018-11-06 16:43:20.000000000","message":"haha nice one! updated. Thanks!","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":272,"context_line":""},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"After the microversion bump, the share server view will include the field"},{"line_number":275,"context_line":"``is_managed`` whenever a newer microversion is used."},{"line_number":276,"context_line":""},{"line_number":277,"context_line":""},{"line_number":278,"context_line":"**Managing a share**::"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_43beb7ce","line":275,"range":{"start_line":275,"start_character":0,"end_line":275,"end_character":14},"updated":"2018-11-05 21:29:54.000000000","message":"Again, this field should have a different name.","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":272,"context_line":""},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"After the microversion bump, the share server view will include the field"},{"line_number":275,"context_line":"``is_managed`` whenever a newer microversion is used."},{"line_number":276,"context_line":""},{"line_number":277,"context_line":""},{"line_number":278,"context_line":"**Managing a share**::"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_fa8f56d0","line":275,"range":{"start_line":275,"start_character":0,"end_line":275,"end_character":14},"in_reply_to":"3f79a3b5_43beb7ce","updated":"2018-11-06 16:43:20.000000000","message":"Done","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":358,"context_line":"A new driver interface is introduced in order to get share server network"},{"line_number":359,"context_line":"allocation data. This data shall be used to validate the network allocations"},{"line_number":360,"context_line":"previously created by the admin. Drivers that support ``DHSS \u003d True`` mode"},{"line_number":361,"context_line":"shall choose to implement this interface to support the Manage Share Servers"},{"line_number":362,"context_line":"functionality::"},{"line_number":363,"context_line":""},{"line_number":364,"context_line":"    def get_share_server_network_info(self, context, share_server):"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_a3078b70","line":361,"range":{"start_line":361,"start_character":0,"end_line":361,"end_character":25},"updated":"2018-11-05 21:29:54.000000000","message":"must implement?","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":358,"context_line":"A new driver interface is introduced in order to get share server network"},{"line_number":359,"context_line":"allocation data. This data shall be used to validate the network allocations"},{"line_number":360,"context_line":"previously created by the admin. Drivers that support ``DHSS \u003d True`` mode"},{"line_number":361,"context_line":"shall choose to implement this interface to support the Manage Share Servers"},{"line_number":362,"context_line":"functionality::"},{"line_number":363,"context_line":""},{"line_number":364,"context_line":"    def get_share_server_network_info(self, context, share_server):"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_9a4d02c7","line":361,"range":{"start_line":361,"start_character":0,"end_line":361,"end_character":25},"in_reply_to":"3f79a3b5_a3078b70","updated":"2018-11-06 16:43:20.000000000","message":"right, before I was thinking about making this optional, but it wouldn\u0027t work. Updated","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"3bccc6d1ed5f37fc0448dc2356f48e0c3312c5b6","unresolved":false,"context_lines":[{"line_number":523,"context_line":"Developer impact"},{"line_number":524,"context_line":"----------------"},{"line_number":525,"context_line":""},{"line_number":526,"context_line":"The work proposed by this spec is impacted by [2]. The ``share_network_id``"},{"line_number":527,"context_line":"parameter for the Manage Share Server will need to be replaced in favor of"},{"line_number":528,"context_line":"``share_network_subnet_id_ipv4`` and ``share_network_subnet_id_ipv6``."},{"line_number":529,"context_line":""},{"line_number":530,"context_line":"Implementation"},{"line_number":531,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_a366ab27","line":528,"range":{"start_line":526,"start_character":0,"end_line":528,"end_character":70},"updated":"2018-11-05 21:29:54.000000000","message":"But not if you defer the multi-address-family work for replication as we discussed on irc, right?","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"a0349e51ac6bd82b489817246b25d7e1ae006bf4","unresolved":false,"context_lines":[{"line_number":523,"context_line":"Developer impact"},{"line_number":524,"context_line":"----------------"},{"line_number":525,"context_line":""},{"line_number":526,"context_line":"The work proposed by this spec is impacted by [2]. The ``share_network_id``"},{"line_number":527,"context_line":"parameter for the Manage Share Server will need to be replaced in favor of"},{"line_number":528,"context_line":"``share_network_subnet_id_ipv4`` and ``share_network_subnet_id_ipv6``."},{"line_number":529,"context_line":""},{"line_number":530,"context_line":"Implementation"},{"line_number":531,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_3df60f94","line":528,"range":{"start_line":526,"start_character":0,"end_line":528,"end_character":70},"in_reply_to":"3f79a3b5_7a67c653","updated":"2018-11-07 11:17:12.000000000","message":"OK, makes sense.","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"91e4c76101b217513888a0588fd62444816f13c6","unresolved":false,"context_lines":[{"line_number":523,"context_line":"Developer impact"},{"line_number":524,"context_line":"----------------"},{"line_number":525,"context_line":""},{"line_number":526,"context_line":"The work proposed by this spec is impacted by [2]. The ``share_network_id``"},{"line_number":527,"context_line":"parameter for the Manage Share Server will need to be replaced in favor of"},{"line_number":528,"context_line":"``share_network_subnet_id_ipv4`` and ``share_network_subnet_id_ipv6``."},{"line_number":529,"context_line":""},{"line_number":530,"context_line":"Implementation"},{"line_number":531,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":11,"id":"3f79a3b5_7a67c653","line":528,"range":{"start_line":526,"start_character":0,"end_line":528,"end_character":70},"in_reply_to":"3f79a3b5_a366ab27","updated":"2018-11-06 16:43:20.000000000","message":"Almost, since there are multiple subnets associated with a share network, but just one per AZ, then there will be multiple share servers. In order to pick the correct one, the \"share_network_subnet_id\" parameter will have to be supplied. I updated the text","commit_id":"786fbb78fd5317dc1d72a8ef0c593c403895d579"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"a0349e51ac6bd82b489817246b25d7e1ae006bf4","unresolved":false,"context_lines":[{"line_number":20,"context_line":"Problem description"},{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Today cloud-users who have pre-existing shares on a manila back end (e.g. they"},{"line_number":24,"context_line":"were created by a storage administrator outside of manila) cannot bring them"},{"line_number":25,"context_line":"under OpenStack management using the ``manila manage`` command when using a"},{"line_number":26,"context_line":"driver running in ``DHSS\u003dTrue`` mode the way they can when running a driver in"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_82ea6274","line":23,"range":{"start_line":23,"start_character":40,"end_line":23,"end_character":47},"updated":"2018-11-07 11:17:12.000000000","message":"shares and snapshots","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"6bf9289e2388e86f983bc0e024f0c7aae02a2ceb","unresolved":false,"context_lines":[{"line_number":20,"context_line":"Problem description"},{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Today cloud-users who have pre-existing shares on a manila back end (e.g. they"},{"line_number":24,"context_line":"were created by a storage administrator outside of manila) cannot bring them"},{"line_number":25,"context_line":"under OpenStack management using the ``manila manage`` command when using a"},{"line_number":26,"context_line":"driver running in ``DHSS\u003dTrue`` mode the way they can when running a driver in"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_feef2af7","line":23,"range":{"start_line":23,"start_character":40,"end_line":23,"end_character":47},"in_reply_to":"3f79a3b5_82ea6274","updated":"2018-11-07 15:57:25.000000000","message":"Done","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"a0349e51ac6bd82b489817246b25d7e1ae006bf4","unresolved":false,"context_lines":[{"line_number":50,"context_line":"  manages the lifecycle of shares in the only pre-existing share server. It"},{"line_number":51,"context_line":"  never seeks to delete the share server, as it does not own it."},{"line_number":52,"context_line":"  In ``DHSS \u003d True`` mode, manila manages the lifecycle of share servers and"},{"line_number":53,"context_line":"  shares within, as it owns all share servers it creates. If one share server"},{"line_number":54,"context_line":"  is to be managed by manila, it should be deletable by it as well."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"As per the aspects mentioned previously, it becomes clear that to manage a"},{"line_number":57,"context_line":"share in ``DHSS \u003d True`` mode, one needs an API to manage a share server first."}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_82c10200","line":54,"range":{"start_line":53,"start_character":58,"end_line":54,"end_character":67},"updated":"2018-11-07 11:17:12.000000000","message":"This sentence still bothers me since I\u0027m thinking that unmanaging an object doesn\u0027t delete it from the back end, it just removes the DB entry tracking the object from manila.","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ffbadc1d1830a240953a00625a7cfade1f34ee95","unresolved":false,"context_lines":[{"line_number":50,"context_line":"  manages the lifecycle of shares in the only pre-existing share server. It"},{"line_number":51,"context_line":"  never seeks to delete the share server, as it does not own it."},{"line_number":52,"context_line":"  In ``DHSS \u003d True`` mode, manila manages the lifecycle of share servers and"},{"line_number":53,"context_line":"  shares within, as it owns all share servers it creates. If one share server"},{"line_number":54,"context_line":"  is to be managed by manila, it should be deletable by it as well."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"As per the aspects mentioned previously, it becomes clear that to manage a"},{"line_number":57,"context_line":"share in ``DHSS \u003d True`` mode, one needs an API to manage a share server first."}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_8cf59f86","line":54,"range":{"start_line":53,"start_character":58,"end_line":54,"end_character":67},"in_reply_to":"3f79a3b5_800570c2","updated":"2018-11-08 10:48:52.000000000","message":"This has already been addressed in Line 161 of this patchset. I will remove this line over here to avoid confusion.","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"6bf9289e2388e86f983bc0e024f0c7aae02a2ceb","unresolved":false,"context_lines":[{"line_number":50,"context_line":"  manages the lifecycle of shares in the only pre-existing share server. It"},{"line_number":51,"context_line":"  never seeks to delete the share server, as it does not own it."},{"line_number":52,"context_line":"  In ``DHSS \u003d True`` mode, manila manages the lifecycle of share servers and"},{"line_number":53,"context_line":"  shares within, as it owns all share servers it creates. If one share server"},{"line_number":54,"context_line":"  is to be managed by manila, it should be deletable by it as well."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"As per the aspects mentioned previously, it becomes clear that to manage a"},{"line_number":57,"context_line":"share in ``DHSS \u003d True`` mode, one needs an API to manage a share server first."}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_dee02efc","line":54,"range":{"start_line":53,"start_character":58,"end_line":54,"end_character":67},"in_reply_to":"3f79a3b5_82c10200","updated":"2018-11-07 15:57:25.000000000","message":"actually I am not talking about unmanage here, I am talking about delete operation. Once a share/server/snapshot is managed by manila, it should be deletable by it. What this is saying is that we shouldn\u0027t disallow the \"delete\" operation because it is an imported resource. We agreed to this at the PTG. \n\nI saw your comment response in the previous patchset, to clarify: unmanage operations will be always allowed.","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"cb6a18a6104e92cc84f275f9d865eb4ae1d1f2b3","unresolved":false,"context_lines":[{"line_number":50,"context_line":"  manages the lifecycle of shares in the only pre-existing share server. It"},{"line_number":51,"context_line":"  never seeks to delete the share server, as it does not own it."},{"line_number":52,"context_line":"  In ``DHSS \u003d True`` mode, manila manages the lifecycle of share servers and"},{"line_number":53,"context_line":"  shares within, as it owns all share servers it creates. If one share server"},{"line_number":54,"context_line":"  is to be managed by manila, it should be deletable by it as well."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"As per the aspects mentioned previously, it becomes clear that to manage a"},{"line_number":57,"context_line":"share in ``DHSS \u003d True`` mode, one needs an API to manage a share server first."}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_800570c2","line":54,"range":{"start_line":53,"start_character":58,"end_line":54,"end_character":67},"in_reply_to":"3f79a3b5_dee02efc","updated":"2018-11-07 19:36:20.000000000","message":"OK but readers won\u0027t necessarily have been at the PTG and I was there and still don\u0027t remember/get it so I think the spec should explain why we don\u0027t need to worry about manila deleting a share server in the back end itself even if the share server still has shares/snapshots that it it serving but that are not managed by manila.  Why aren\u0027t we treating this like the network allocations that manila doesn\u0027t clean up itself because it doesn\u0027t have enough knowledge to consider that it\u0027s safe to do the removal?","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"a0349e51ac6bd82b489817246b25d7e1ae006bf4","unresolved":false,"context_lines":[{"line_number":54,"context_line":"  is to be managed by manila, it should be deletable by it as well."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"As per the aspects mentioned previously, it becomes clear that to manage a"},{"line_number":57,"context_line":"share in ``DHSS \u003d True`` mode, one needs an API to manage a share server first."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Use Cases"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_22802e9c","line":57,"range":{"start_line":57,"start_character":0,"end_line":57,"end_character":6},"updated":"2018-11-07 11:17:12.000000000","message":"share or snapshots","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"6bf9289e2388e86f983bc0e024f0c7aae02a2ceb","unresolved":false,"context_lines":[{"line_number":54,"context_line":"  is to be managed by manila, it should be deletable by it as well."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"As per the aspects mentioned previously, it becomes clear that to manage a"},{"line_number":57,"context_line":"share in ``DHSS \u003d True`` mode, one needs an API to manage a share server first."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Use Cases"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_1ea1c6a7","line":57,"range":{"start_line":57,"start_character":0,"end_line":57,"end_character":6},"in_reply_to":"3f79a3b5_22802e9c","updated":"2018-11-07 15:57:25.000000000","message":"Done","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"a0349e51ac6bd82b489817246b25d7e1ae006bf4","unresolved":false,"context_lines":[{"line_number":60,"context_line":"Use Cases"},{"line_number":61,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Users that have been using storage devices to provision shares are presented"},{"line_number":64,"context_line":"with two distinct modes of operation when migration over to manila, each with"},{"line_number":65,"context_line":"its benefits and drawbacks. If the storage device has a compatible driver in"},{"line_number":66,"context_line":"manila that supports ``DHSS \u003d True`` driver mode, it is possible the user would"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_62b3869a","line":63,"range":{"start_line":63,"start_character":56,"end_line":63,"end_character":63},"updated":"2018-11-07 11:17:12.000000000","message":"shares and their snapshots","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"6bf9289e2388e86f983bc0e024f0c7aae02a2ceb","unresolved":false,"context_lines":[{"line_number":60,"context_line":"Use Cases"},{"line_number":61,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Users that have been using storage devices to provision shares are presented"},{"line_number":64,"context_line":"with two distinct modes of operation when migration over to manila, each with"},{"line_number":65,"context_line":"its benefits and drawbacks. If the storage device has a compatible driver in"},{"line_number":66,"context_line":"manila that supports ``DHSS \u003d True`` driver mode, it is possible the user would"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_fe8baa1e","line":63,"range":{"start_line":63,"start_character":56,"end_line":63,"end_character":63},"in_reply_to":"3f79a3b5_62b3869a","updated":"2018-11-07 15:57:25.000000000","message":"Done","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"a0349e51ac6bd82b489817246b25d7e1ae006bf4","unresolved":false,"context_lines":[{"line_number":68,"context_line":"isolation."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"However, even if the user has successfully established connectivity between the"},{"line_number":71,"context_line":"client hosts in an OpenStack network and the existing shares, it is not"},{"line_number":72,"context_line":"possible to import the user\u0027s existing shares in such case because the Manage"},{"line_number":73,"context_line":"functionality currently does not work in ``DHSS \u003d True`` due to the lack of an"},{"line_number":74,"context_line":"API to manage share servers."}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_7de3273b","line":71,"range":{"start_line":71,"start_character":54,"end_line":71,"end_character":59},"updated":"2018-11-07 11:17:12.000000000","message":"shares and snapshots","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"6bf9289e2388e86f983bc0e024f0c7aae02a2ceb","unresolved":false,"context_lines":[{"line_number":68,"context_line":"isolation."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"However, even if the user has successfully established connectivity between the"},{"line_number":71,"context_line":"client hosts in an OpenStack network and the existing shares, it is not"},{"line_number":72,"context_line":"possible to import the user\u0027s existing shares in such case because the Manage"},{"line_number":73,"context_line":"functionality currently does not work in ``DHSS \u003d True`` due to the lack of an"},{"line_number":74,"context_line":"API to manage share servers."}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_fec2ca34","line":71,"range":{"start_line":71,"start_character":54,"end_line":71,"end_character":59},"in_reply_to":"3f79a3b5_7de3273b","updated":"2018-11-07 15:57:25.000000000","message":"Done","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"a0349e51ac6bd82b489817246b25d7e1ae006bf4","unresolved":false,"context_lines":[{"line_number":69,"context_line":""},{"line_number":70,"context_line":"However, even if the user has successfully established connectivity between the"},{"line_number":71,"context_line":"client hosts in an OpenStack network and the existing shares, it is not"},{"line_number":72,"context_line":"possible to import the user\u0027s existing shares in such case because the Manage"},{"line_number":73,"context_line":"functionality currently does not work in ``DHSS \u003d True`` due to the lack of an"},{"line_number":74,"context_line":"API to manage share servers."},{"line_number":75,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_5dee6b20","line":72,"range":{"start_line":72,"start_character":39,"end_line":72,"end_character":45},"updated":"2018-11-07 11:17:12.000000000","message":"shares and snapshots","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"6bf9289e2388e86f983bc0e024f0c7aae02a2ceb","unresolved":false,"context_lines":[{"line_number":69,"context_line":""},{"line_number":70,"context_line":"However, even if the user has successfully established connectivity between the"},{"line_number":71,"context_line":"client hosts in an OpenStack network and the existing shares, it is not"},{"line_number":72,"context_line":"possible to import the user\u0027s existing shares in such case because the Manage"},{"line_number":73,"context_line":"functionality currently does not work in ``DHSS \u003d True`` due to the lack of an"},{"line_number":74,"context_line":"API to manage share servers."},{"line_number":75,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_9ebb96bd","line":72,"range":{"start_line":72,"start_character":39,"end_line":72,"end_character":45},"in_reply_to":"3f79a3b5_5dee6b20","updated":"2018-11-07 15:57:25.000000000","message":"Done","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"a0349e51ac6bd82b489817246b25d7e1ae006bf4","unresolved":false,"context_lines":[{"line_number":85,"context_line":"  transition either to ``available`` in case of success or to ``manage_error``"},{"line_number":86,"context_line":"  otherwise. The following parameters are expected to be supplied:"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"  * **Host:** backend name (\"\u003cnode_hostname\u003e@\u003cbackend_stanza\u003e\");"},{"line_number":89,"context_line":"  * **Share Network:** share network associated with the neutron network the"},{"line_number":90,"context_line":"    share server is connected to;"},{"line_number":91,"context_line":"  * **Backend Details:** list of driver-specific key-value pairs"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_1df0f3d9","line":88,"range":{"start_line":88,"start_character":63,"end_line":88,"end_character":64},"updated":"2018-11-07 11:17:12.000000000","message":"nit: use a period instead of semi-colon to be consistent with the way you end the other bullets.","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"6bf9289e2388e86f983bc0e024f0c7aae02a2ceb","unresolved":false,"context_lines":[{"line_number":85,"context_line":"  transition either to ``available`` in case of success or to ``manage_error``"},{"line_number":86,"context_line":"  otherwise. The following parameters are expected to be supplied:"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"  * **Host:** backend name (\"\u003cnode_hostname\u003e@\u003cbackend_stanza\u003e\");"},{"line_number":89,"context_line":"  * **Share Network:** share network associated with the neutron network the"},{"line_number":90,"context_line":"    share server is connected to;"},{"line_number":91,"context_line":"  * **Backend Details:** list of driver-specific key-value pairs"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_5e009e69","line":88,"range":{"start_line":88,"start_character":63,"end_line":88,"end_character":64},"in_reply_to":"3f79a3b5_1df0f3d9","updated":"2018-11-07 15:57:25.000000000","message":"I thought it was a grammar rule to use semi-colon on bullet items and then use bullet in the last item to end the list. Maybe this is a rule in portuguese but not in english.","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"a0349e51ac6bd82b489817246b25d7e1ae006bf4","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"  * **Host:** backend name (\"\u003cnode_hostname\u003e@\u003cbackend_stanza\u003e\");"},{"line_number":89,"context_line":"  * **Share Network:** share network associated with the neutron network the"},{"line_number":90,"context_line":"    share server is connected to;"},{"line_number":91,"context_line":"  * **Backend Details:** list of driver-specific key-value pairs"},{"line_number":92,"context_line":"    required to successfully manage the share server."},{"line_number":93,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_7d280735","line":90,"range":{"start_line":90,"start_character":32,"end_line":90,"end_character":33},"updated":"2018-11-07 11:17:12.000000000","message":"nit: use a period instead of semi-colon to be consistent with the way you end the other bullets.","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"6bf9289e2388e86f983bc0e024f0c7aae02a2ceb","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"  * **Host:** backend name (\"\u003cnode_hostname\u003e@\u003cbackend_stanza\u003e\");"},{"line_number":89,"context_line":"  * **Share Network:** share network associated with the neutron network the"},{"line_number":90,"context_line":"    share server is connected to;"},{"line_number":91,"context_line":"  * **Backend Details:** list of driver-specific key-value pairs"},{"line_number":92,"context_line":"    required to successfully manage the share server."},{"line_number":93,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_1ef6a693","line":90,"range":{"start_line":90,"start_character":32,"end_line":90,"end_character":33},"in_reply_to":"3f79a3b5_7d280735","updated":"2018-11-07 15:57:25.000000000","message":"same as above","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"a0349e51ac6bd82b489817246b25d7e1ae006bf4","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    the neutron subnet associated with the share network provided or configured"},{"line_number":104,"context_line":"    network plugin. If not all allocations are found, the operation is aborted"},{"line_number":105,"context_line":"    with an error. When using the Standalone Network Plugin, this step is not"},{"line_number":106,"context_line":"    required;"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"  * **Implementation:** When a request to manage a share server is received,"},{"line_number":109,"context_line":"    the API parameters are validated and then a share server model with the"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_3d05afc0","line":106,"range":{"start_line":106,"start_character":12,"end_line":106,"end_character":13},"updated":"2018-11-07 11:17:12.000000000","message":"nit: use a period instead of semi-colon to be consistent with the way you end the other bullets.","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"6bf9289e2388e86f983bc0e024f0c7aae02a2ceb","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    the neutron subnet associated with the share network provided or configured"},{"line_number":104,"context_line":"    network plugin. If not all allocations are found, the operation is aborted"},{"line_number":105,"context_line":"    with an error. When using the Standalone Network Plugin, this step is not"},{"line_number":106,"context_line":"    required;"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"  * **Implementation:** When a request to manage a share server is received,"},{"line_number":109,"context_line":"    the API parameters are validated and then a share server model with the"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_bee692da","line":106,"range":{"start_line":106,"start_character":12,"end_line":106,"end_character":13},"in_reply_to":"3f79a3b5_3d05afc0","updated":"2018-11-07 15:57:25.000000000","message":"same as above","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"a0349e51ac6bd82b489817246b25d7e1ae006bf4","unresolved":false,"context_lines":[{"line_number":134,"context_line":"    and finally the network allocations are deleted from manila\u0027s"},{"line_number":135,"context_line":"    ``network_allocations`` database table."},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"* **Add share_server_id parameter to Manage Share API:** Whenever managing a"},{"line_number":138,"context_line":"  share and passing a share type defined with ``driver_handles_share_servers``"},{"line_number":139,"context_line":"  set to ``True``, the parameter share_server_id will be required, else the API"},{"line_number":140,"context_line":"  will return ``400 BadRequest``;"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_fdc97779","line":137,"range":{"start_line":137,"start_character":34,"end_line":137,"end_character":54},"updated":"2018-11-07 11:17:12.000000000","message":"to Manage Share and Manage Snapshot APIs ?","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"ffbadc1d1830a240953a00625a7cfade1f34ee95","unresolved":false,"context_lines":[{"line_number":134,"context_line":"    and finally the network allocations are deleted from manila\u0027s"},{"line_number":135,"context_line":"    ``network_allocations`` database table."},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"* **Add share_server_id parameter to Manage Share API:** Whenever managing a"},{"line_number":138,"context_line":"  share and passing a share type defined with ``driver_handles_share_servers``"},{"line_number":139,"context_line":"  set to ``True``, the parameter share_server_id will be required, else the API"},{"line_number":140,"context_line":"  will return ``400 BadRequest``;"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_acf09b93","line":137,"range":{"start_line":137,"start_character":34,"end_line":137,"end_character":54},"in_reply_to":"3f79a3b5_e036a4b3","updated":"2018-11-08 10:48:52.000000000","message":"Done","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"6bf9289e2388e86f983bc0e024f0c7aae02a2ceb","unresolved":false,"context_lines":[{"line_number":134,"context_line":"    and finally the network allocations are deleted from manila\u0027s"},{"line_number":135,"context_line":"    ``network_allocations`` database table."},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"* **Add share_server_id parameter to Manage Share API:** Whenever managing a"},{"line_number":138,"context_line":"  share and passing a share type defined with ``driver_handles_share_servers``"},{"line_number":139,"context_line":"  set to ``True``, the parameter share_server_id will be required, else the API"},{"line_number":140,"context_line":"  will return ``400 BadRequest``;"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_fe35ea43","line":137,"range":{"start_line":137,"start_character":34,"end_line":137,"end_character":54},"in_reply_to":"3f79a3b5_fdc97779","updated":"2018-11-07 15:57:25.000000000","message":"Manage Snapshot API doesn\u0027t need the share-server-id parameter because it reads from the associated share.","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"cb6a18a6104e92cc84f275f9d865eb4ae1d1f2b3","unresolved":false,"context_lines":[{"line_number":134,"context_line":"    and finally the network allocations are deleted from manila\u0027s"},{"line_number":135,"context_line":"    ``network_allocations`` database table."},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"* **Add share_server_id parameter to Manage Share API:** Whenever managing a"},{"line_number":138,"context_line":"  share and passing a share type defined with ``driver_handles_share_servers``"},{"line_number":139,"context_line":"  set to ``True``, the parameter share_server_id will be required, else the API"},{"line_number":140,"context_line":"  will return ``400 BadRequest``;"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_e036a4b3","line":137,"range":{"start_line":137,"start_character":34,"end_line":137,"end_character":54},"in_reply_to":"3f79a3b5_fe35ea43","updated":"2018-11-07 19:36:20.000000000","message":"Makes sense.  If you are in a generous mood, please add a note to this effect since I think it\u0027s a natural thing for the reader to wonder about.","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"a0349e51ac6bd82b489817246b25d7e1ae006bf4","unresolved":false,"context_lines":[{"line_number":212,"context_line":"-----------------"},{"line_number":213,"context_line":""},{"line_number":214,"context_line":"Since there is the need to distinguish share servers created by manila from"},{"line_number":215,"context_line":"managed ones, it is proposed the creation of a boolean column in the"},{"line_number":216,"context_line":"``ShareServer`` table named ``is_imported`` defaulting to ``False``. The"},{"line_number":217,"context_line":"database schema upgrade will add the column with the value ``False`` for all"},{"line_number":218,"context_line":"existing share servers, while the database schema downgrade will remove the"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_5dad0b81","line":215,"range":{"start_line":215,"start_character":14,"end_line":215,"end_character":44},"updated":"2018-11-07 11:17:12.000000000","message":"nit: we propose the addition of ...","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"6bf9289e2388e86f983bc0e024f0c7aae02a2ceb","unresolved":false,"context_lines":[{"line_number":212,"context_line":"-----------------"},{"line_number":213,"context_line":""},{"line_number":214,"context_line":"Since there is the need to distinguish share servers created by manila from"},{"line_number":215,"context_line":"managed ones, it is proposed the creation of a boolean column in the"},{"line_number":216,"context_line":"``ShareServer`` table named ``is_imported`` defaulting to ``False``. The"},{"line_number":217,"context_line":"database schema upgrade will add the column with the value ``False`` for all"},{"line_number":218,"context_line":"existing share servers, while the database schema downgrade will remove the"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_3e092282","line":215,"range":{"start_line":215,"start_character":14,"end_line":215,"end_character":44},"in_reply_to":"3f79a3b5_5dad0b81","updated":"2018-11-07 15:57:25.000000000","message":"Done","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"a0349e51ac6bd82b489817246b25d7e1ae006bf4","unresolved":false,"context_lines":[{"line_number":386,"context_line":"A new driver interface is introduced in order to get share server network"},{"line_number":387,"context_line":"allocation data. This data shall be used to validate the network allocations"},{"line_number":388,"context_line":"previously created by the admin. Drivers that support ``DHSS \u003d True`` mode"},{"line_number":389,"context_line":"must to implement this interface to support the Manage Share Servers"},{"line_number":390,"context_line":"functionality::"},{"line_number":391,"context_line":""},{"line_number":392,"context_line":"    def get_share_server_network_info(self, context, share_server):"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_bdd0dff6","line":389,"range":{"start_line":389,"start_character":0,"end_line":389,"end_character":17},"updated":"2018-11-07 11:17:12.000000000","message":"nit: must implement","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"6bf9289e2388e86f983bc0e024f0c7aae02a2ceb","unresolved":false,"context_lines":[{"line_number":386,"context_line":"A new driver interface is introduced in order to get share server network"},{"line_number":387,"context_line":"allocation data. This data shall be used to validate the network allocations"},{"line_number":388,"context_line":"previously created by the admin. Drivers that support ``DHSS \u003d True`` mode"},{"line_number":389,"context_line":"must to implement this interface to support the Manage Share Servers"},{"line_number":390,"context_line":"functionality::"},{"line_number":391,"context_line":""},{"line_number":392,"context_line":"    def get_share_server_network_info(self, context, share_server):"}],"source_content_type":"text/x-rst","patch_set":12,"id":"3f79a3b5_9e17169f","line":389,"range":{"start_line":389,"start_character":0,"end_line":389,"end_character":17},"in_reply_to":"3f79a3b5_bdd0dff6","updated":"2018-11-07 15:57:25.000000000","message":"Thanks!","commit_id":"5c7b7d97c729b7b73ff6c55bb13a765ca700bb85"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":11,"context_line":"https://blueprints.launchpad.net/manila/+spec/manage-unmanage-with-share-servers"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This spec proposes enhancement to manila\u0027s Manage/Unmanage functionality so"},{"line_number":14,"context_line":"that drivers running in ``DHSS\u003dTrue`` mode can import existing shares and"},{"line_number":15,"context_line":"snapshots and bring them under OpenStack management and so that they can"},{"line_number":16,"context_line":"release shares and their snapshots from OpenStack management without destroying"},{"line_number":17,"context_line":"them."},{"line_number":18,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_ba10894e","line":15,"range":{"start_line":14,"start_character":70,"end_line":15,"end_character":9},"updated":"2018-11-13 01:42:11.000000000","message":"Somewhere up here you should state that snapshots suffer from the lack-of-implementation because a snapshot cannot be managed without a share being managed.\n\nXing Yang was just concerned that ALL DHSS\u003dTrue drivers don\u0027t support manage/unmanage of any kind, so she generically turned off manage for DHSS\u003dTrue with this: \nhttps://github.com/openstack/manila/blob/84105eb/manila/share/manager.py#L2433\n\n \n\nBUT, there should be no issues deleting that check and you\u0027ll be fine if the driver wants to add support for manage_snapshot - we\u0027ll just need to pass the share server to the driver.","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This spec proposes enhancement to manila\u0027s Manage/Unmanage functionality so"},{"line_number":14,"context_line":"that drivers running in ``DHSS\u003dTrue`` mode can import existing shares and"},{"line_number":15,"context_line":"snapshots and bring them under OpenStack management and so that they can"},{"line_number":16,"context_line":"release shares and their snapshots from OpenStack management without destroying"},{"line_number":17,"context_line":"them."},{"line_number":18,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_3a055910","line":15,"range":{"start_line":15,"start_character":31,"end_line":15,"end_character":40},"updated":"2018-11-13 01:42:11.000000000","message":"manila\u0027s or OpenStack/Manila\u0027s","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This spec proposes enhancement to manila\u0027s Manage/Unmanage functionality so"},{"line_number":14,"context_line":"that drivers running in ``DHSS\u003dTrue`` mode can import existing shares and"},{"line_number":15,"context_line":"snapshots and bring them under OpenStack management and so that they can"},{"line_number":16,"context_line":"release shares and their snapshots from OpenStack management without destroying"},{"line_number":17,"context_line":"them."},{"line_number":18,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_f8cd545b","line":15,"range":{"start_line":15,"start_character":31,"end_line":15,"end_character":40},"in_reply_to":"3f79a3b5_3a055910","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":11,"context_line":"https://blueprints.launchpad.net/manila/+spec/manage-unmanage-with-share-servers"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"This spec proposes enhancement to manila\u0027s Manage/Unmanage functionality so"},{"line_number":14,"context_line":"that drivers running in ``DHSS\u003dTrue`` mode can import existing shares and"},{"line_number":15,"context_line":"snapshots and bring them under OpenStack management and so that they can"},{"line_number":16,"context_line":"release shares and their snapshots from OpenStack management without destroying"},{"line_number":17,"context_line":"them."},{"line_number":18,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_38498cb8","line":15,"range":{"start_line":14,"start_character":70,"end_line":15,"end_character":9},"in_reply_to":"3f79a3b5_ba10894e","updated":"2018-11-19 19:11:36.000000000","message":"I don\u0027t think that needs to be stated right here. The functionality is considered to not exist or to not be supported because of the current checks. After the implementation is completed, the functionality will exist (as all the changes will allow for that) and be supported. The section below should highlight why it does not work today.","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":13,"context_line":"This spec proposes enhancement to manila\u0027s Manage/Unmanage functionality so"},{"line_number":14,"context_line":"that drivers running in ``DHSS\u003dTrue`` mode can import existing shares and"},{"line_number":15,"context_line":"snapshots and bring them under OpenStack management and so that they can"},{"line_number":16,"context_line":"release shares and their snapshots from OpenStack management without destroying"},{"line_number":17,"context_line":"them."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_5a1ff55c","line":16,"range":{"start_line":16,"start_character":40,"end_line":16,"end_character":49},"updated":"2018-11-13 01:42:11.000000000","message":"manila\u0027s or OpenStack/Manila\u0027s","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":13,"context_line":"This spec proposes enhancement to manila\u0027s Manage/Unmanage functionality so"},{"line_number":14,"context_line":"that drivers running in ``DHSS\u003dTrue`` mode can import existing shares and"},{"line_number":15,"context_line":"snapshots and bring them under OpenStack management and so that they can"},{"line_number":16,"context_line":"release shares and their snapshots from OpenStack management without destroying"},{"line_number":17,"context_line":"them."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_18f2909d","line":16,"range":{"start_line":16,"start_character":40,"end_line":16,"end_character":49},"in_reply_to":"3f79a3b5_5a1ff55c","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Today cloud-users who have pre-existing shares and snapshots on a manila"},{"line_number":24,"context_line":"back end (e.g. they were created by a storage administrator outside of manila)"},{"line_number":25,"context_line":"cannot bring them under OpenStack management using the ``manila manage``"},{"line_number":26,"context_line":"command when using a driver running in ``DHSS\u003dTrue`` mode the way they can when"},{"line_number":27,"context_line":"running a driver in ``DHSS\u003dFalse mode``.  Since ``DHSS\u003dTrue`` is the mode in"},{"line_number":28,"context_line":"which manila guarantees secure multi-tenant isolation, cloud-users end up"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_1a197d75","line":25,"range":{"start_line":25,"start_character":24,"end_line":25,"end_character":33},"updated":"2018-11-13 01:42:11.000000000","message":"manila\u0027s or OpenStack/Manila\u0027s","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Today cloud-users who have pre-existing shares and snapshots on a manila"},{"line_number":24,"context_line":"back end (e.g. they were created by a storage administrator outside of manila)"},{"line_number":25,"context_line":"cannot bring them under OpenStack management using the ``manila manage``"},{"line_number":26,"context_line":"command when using a driver running in ``DHSS\u003dTrue`` mode the way they can when"},{"line_number":27,"context_line":"running a driver in ``DHSS\u003dFalse mode``.  Since ``DHSS\u003dTrue`` is the mode in"},{"line_number":28,"context_line":"which manila guarantees secure multi-tenant isolation, cloud-users end up"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_cb4c4442","line":25,"range":{"start_line":25,"start_character":24,"end_line":25,"end_character":33},"in_reply_to":"3f79a3b5_1a197d75","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":24,"context_line":"back end (e.g. they were created by a storage administrator outside of manila)"},{"line_number":25,"context_line":"cannot bring them under OpenStack management using the ``manila manage``"},{"line_number":26,"context_line":"command when using a driver running in ``DHSS\u003dTrue`` mode the way they can when"},{"line_number":27,"context_line":"running a driver in ``DHSS\u003dFalse mode``.  Since ``DHSS\u003dTrue`` is the mode in"},{"line_number":28,"context_line":"which manila guarantees secure multi-tenant isolation, cloud-users end up"},{"line_number":29,"context_line":"having to make an unfortunate tradeoff."},{"line_number":30,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_6142843e","line":27,"range":{"start_line":27,"start_character":33,"end_line":27,"end_character":37},"updated":"2018-11-13 01:42:11.000000000","message":"nit: take mode out of emphasis, and also the first time you use the abbreviation, please expand","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":24,"context_line":"back end (e.g. they were created by a storage administrator outside of manila)"},{"line_number":25,"context_line":"cannot bring them under OpenStack management using the ``manila manage``"},{"line_number":26,"context_line":"command when using a driver running in ``DHSS\u003dTrue`` mode the way they can when"},{"line_number":27,"context_line":"running a driver in ``DHSS\u003dFalse mode``.  Since ``DHSS\u003dTrue`` is the mode in"},{"line_number":28,"context_line":"which manila guarantees secure multi-tenant isolation, cloud-users end up"},{"line_number":29,"context_line":"having to make an unfortunate tradeoff."},{"line_number":30,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_cbebe4a2","line":27,"range":{"start_line":27,"start_character":33,"end_line":27,"end_character":37},"in_reply_to":"3f79a3b5_6142843e","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":25,"context_line":"cannot bring them under OpenStack management using the ``manila manage``"},{"line_number":26,"context_line":"command when using a driver running in ``DHSS\u003dTrue`` mode the way they can when"},{"line_number":27,"context_line":"running a driver in ``DHSS\u003dFalse mode``.  Since ``DHSS\u003dTrue`` is the mode in"},{"line_number":28,"context_line":"which manila guarantees secure multi-tenant isolation, cloud-users end up"},{"line_number":29,"context_line":"having to make an unfortunate tradeoff."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"We lack manage/unmanage for ``DHSS\u003dTrue`` mode drivers today because of the"},{"line_number":32,"context_line":"following complexities:"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_ba296984","line":29,"range":{"start_line":28,"start_character":55,"end_line":29,"end_character":38},"updated":"2018-11-13 01:42:11.000000000","message":"Not really, cloud users don\u0027t care - manage/unmanage is meant to only concern operators/administrators who have access to this external storage system as well.","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":25,"context_line":"cannot bring them under OpenStack management using the ``manila manage``"},{"line_number":26,"context_line":"command when using a driver running in ``DHSS\u003dTrue`` mode the way they can when"},{"line_number":27,"context_line":"running a driver in ``DHSS\u003dFalse mode``.  Since ``DHSS\u003dTrue`` is the mode in"},{"line_number":28,"context_line":"which manila guarantees secure multi-tenant isolation, cloud-users end up"},{"line_number":29,"context_line":"having to make an unfortunate tradeoff."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"We lack manage/unmanage for ``DHSS\u003dTrue`` mode drivers today because of the"},{"line_number":32,"context_line":"following complexities:"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_0b4ebcc2","line":29,"range":{"start_line":28,"start_character":55,"end_line":29,"end_character":38},"in_reply_to":"3f79a3b5_ba296984","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":32,"context_line":"following complexities:"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"* **Share server setup and networking:** In ``DHSS \u003d False`` mode, manila only"},{"line_number":35,"context_line":"  interacts with a single, pre-existing share server, that is expected to be"},{"line_number":36,"context_line":"  appropriately set up and accessible from the client hosts, as manila will not"},{"line_number":37,"context_line":"  handle the network configuration. However, in the ``DHSS \u003d True`` mode,"},{"line_number":38,"context_line":"  manila creates and deletes share servers for each of the tenant\u0027s networks."}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_1a673def","line":35,"range":{"start_line":35,"start_character":19,"end_line":35,"end_character":53},"updated":"2018-11-13 01:42:11.000000000","message":"This isn\u0027t true. Please see note below\n\n\nFor drivers with ``DHSS\u003dTrue``, share servers are expected to be spawned within tenant networks and manila stores all the network information required to spawn these servers. When drivers operate in ``DHSS\u003dFalse`` mode, manila does not control share servers and the driver may do whatever it is configured to do to create exports that are reachable on the tenant networks or wherever the shares will be consumed.","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":32,"context_line":"following complexities:"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"* **Share server setup and networking:** In ``DHSS \u003d False`` mode, manila only"},{"line_number":35,"context_line":"  interacts with a single, pre-existing share server, that is expected to be"},{"line_number":36,"context_line":"  appropriately set up and accessible from the client hosts, as manila will not"},{"line_number":37,"context_line":"  handle the network configuration. However, in the ``DHSS \u003d True`` mode,"},{"line_number":38,"context_line":"  manila creates and deletes share servers for each of the tenant\u0027s networks."}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_096244db","line":35,"range":{"start_line":35,"start_character":19,"end_line":35,"end_character":53},"in_reply_to":"3f79a3b5_1a673def","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":35,"context_line":"  interacts with a single, pre-existing share server, that is expected to be"},{"line_number":36,"context_line":"  appropriately set up and accessible from the client hosts, as manila will not"},{"line_number":37,"context_line":"  handle the network configuration. However, in the ``DHSS \u003d True`` mode,"},{"line_number":38,"context_line":"  manila creates and deletes share servers for each of the tenant\u0027s networks."},{"line_number":39,"context_line":"  When creating the share servers, manila has to allocate network ports (and"},{"line_number":40,"context_line":"  later de-allocate them when share servers are deleted);"},{"line_number":41,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_fa34c1d9","line":38,"range":{"start_line":38,"start_character":9,"end_line":38,"end_character":42},"updated":"2018-11-13 01:42:11.000000000","message":"provisions and manages the lifecycle of share servers","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":35,"context_line":"  interacts with a single, pre-existing share server, that is expected to be"},{"line_number":36,"context_line":"  appropriately set up and accessible from the client hosts, as manila will not"},{"line_number":37,"context_line":"  handle the network configuration. However, in the ``DHSS \u003d True`` mode,"},{"line_number":38,"context_line":"  manila creates and deletes share servers for each of the tenant\u0027s networks."},{"line_number":39,"context_line":"  When creating the share servers, manila has to allocate network ports (and"},{"line_number":40,"context_line":"  later de-allocate them when share servers are deleted);"},{"line_number":41,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_295dc016","line":38,"range":{"start_line":38,"start_character":9,"end_line":38,"end_character":42},"in_reply_to":"3f79a3b5_fa34c1d9","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":40,"context_line":"  later de-allocate them when share servers are deleted);"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"* **Managing shares:** Any existing share would be in a share server. In"},{"line_number":43,"context_line":"  ``DHSS \u003d False``, manila accesses the one and only pre-existing share server"},{"line_number":44,"context_line":"  configured in the driver, therefore it can find any pre-existing share once"},{"line_number":45,"context_line":"  its export location is given at the API call. In ``DHSS \u003d True``, to manage"},{"line_number":46,"context_line":"  a share, one would have to manage a share server first and then manage a"},{"line_number":47,"context_line":"  share within the share server;"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_7a72f1b1","line":44,"range":{"start_line":43,"start_character":36,"end_line":44,"end_character":26},"updated":"2018-11-13 01:42:11.000000000","message":"This isn\u0027t necessarily true, I suppose we don\u0027t want to document it like this to make it sound like it is True. How a driver does \"share servers\" is inconsequential to manila if operating in DHSS\u003dFalse. It can be one or twenty..","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":40,"context_line":"  later de-allocate them when share servers are deleted);"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"* **Managing shares:** Any existing share would be in a share server. In"},{"line_number":43,"context_line":"  ``DHSS \u003d False``, manila accesses the one and only pre-existing share server"},{"line_number":44,"context_line":"  configured in the driver, therefore it can find any pre-existing share once"},{"line_number":45,"context_line":"  its export location is given at the API call. In ``DHSS \u003d True``, to manage"},{"line_number":46,"context_line":"  a share, one would have to manage a share server first and then manage a"},{"line_number":47,"context_line":"  share within the share server;"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_e9cd885b","line":44,"range":{"start_line":43,"start_character":36,"end_line":44,"end_character":26},"in_reply_to":"3f79a3b5_100cce42","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"14b481e4ece6fc5c99e92ff1b468b67423a7756a","unresolved":false,"context_lines":[{"line_number":40,"context_line":"  later de-allocate them when share servers are deleted);"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"* **Managing shares:** Any existing share would be in a share server. In"},{"line_number":43,"context_line":"  ``DHSS \u003d False``, manila accesses the one and only pre-existing share server"},{"line_number":44,"context_line":"  configured in the driver, therefore it can find any pre-existing share once"},{"line_number":45,"context_line":"  its export location is given at the API call. In ``DHSS \u003d True``, to manage"},{"line_number":46,"context_line":"  a share, one would have to manage a share server first and then manage a"},{"line_number":47,"context_line":"  share within the share server;"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_100cce42","line":44,"range":{"start_line":43,"start_character":36,"end_line":44,"end_character":26},"in_reply_to":"3f79a3b5_7a72f1b1","updated":"2018-11-15 14:50:34.000000000","message":"From the user POV there is a single server handling shares with DHSS\u003dFalse, irrespective of how the driver actually implements this, right?","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"* **Lifecycle of a share server:** In ``DHSS \u003d False`` mode, manila only"},{"line_number":50,"context_line":"  manages the lifecycle of shares in the only pre-existing share server. It"},{"line_number":51,"context_line":"  never seeks to delete the share server, as it does not own it."},{"line_number":52,"context_line":"  In ``DHSS \u003d True`` mode, manila manages the lifecycle of share servers and"},{"line_number":53,"context_line":"  shares within, as it owns all share servers it creates."},{"line_number":54,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_faa281f9","line":51,"range":{"start_line":51,"start_character":17,"end_line":51,"end_character":40},"updated":"2018-11-13 01:42:11.000000000","message":"Same concern as above. We don\u0027t expect \"share servers\" to be limited to 1 if using a DHSS\u003dFalse driver. There is no such limit, and the problems you\u0027re highlighting just boil down to one afaict - \n\n \n\nNetworking into a tenant network is hard, and usually done just-in-time, i.e, on-demand from a tenant - which makes \"managing\" existing resources a harder problem. We need a solution for a cloud administrator who wants to \"manage\" pre-existing shares on share servers that exist on tenant networks. The share servers may have been created within manila and then \"unmanaged\" or they could be created out-of-band of manila. Either case, the administrator has made the share server in question available within a given tenant network.","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":48,"context_line":""},{"line_number":49,"context_line":"* **Lifecycle of a share server:** In ``DHSS \u003d False`` mode, manila only"},{"line_number":50,"context_line":"  manages the lifecycle of shares in the only pre-existing share server. It"},{"line_number":51,"context_line":"  never seeks to delete the share server, as it does not own it."},{"line_number":52,"context_line":"  In ``DHSS \u003d True`` mode, manila manages the lifecycle of share servers and"},{"line_number":53,"context_line":"  shares within, as it owns all share servers it creates."},{"line_number":54,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_a95eb04d","line":51,"range":{"start_line":51,"start_character":17,"end_line":51,"end_character":40},"in_reply_to":"3f79a3b5_faa281f9","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":60,"context_line":"Use Cases"},{"line_number":61,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Users that have been using storage devices to provision shares and their"},{"line_number":64,"context_line":"snapshots are presented with two distinct modes of operation when migration"},{"line_number":65,"context_line":"over to manila, each with its benefits and drawbacks. If the storage device has"},{"line_number":66,"context_line":"a compatible driver in manila that supports ``DHSS \u003d True`` driver mode, it is"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_dabc650a","line":63,"range":{"start_line":63,"start_character":0,"end_line":63,"end_character":5},"updated":"2018-11-13 01:42:11.000000000","message":"Cloud Administrators","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":60,"context_line":"Use Cases"},{"line_number":61,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Users that have been using storage devices to provision shares and their"},{"line_number":64,"context_line":"snapshots are presented with two distinct modes of operation when migration"},{"line_number":65,"context_line":"over to manila, each with its benefits and drawbacks. If the storage device has"},{"line_number":66,"context_line":"a compatible driver in manila that supports ``DHSS \u003d True`` driver mode, it is"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_09900497","line":63,"range":{"start_line":63,"start_character":0,"end_line":63,"end_character":5},"in_reply_to":"3f79a3b5_d30ae01d","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"14b481e4ece6fc5c99e92ff1b468b67423a7756a","unresolved":false,"context_lines":[{"line_number":60,"context_line":"Use Cases"},{"line_number":61,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Users that have been using storage devices to provision shares and their"},{"line_number":64,"context_line":"snapshots are presented with two distinct modes of operation when migration"},{"line_number":65,"context_line":"over to manila, each with its benefits and drawbacks. If the storage device has"},{"line_number":66,"context_line":"a compatible driver in manila that supports ``DHSS \u003d True`` driver mode, it is"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_d30ae01d","line":63,"range":{"start_line":63,"start_character":0,"end_line":63,"end_character":5},"in_reply_to":"3f79a3b5_dabc650a","updated":"2018-11-15 14:50:34.000000000","message":"+1","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":61,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Users that have been using storage devices to provision shares and their"},{"line_number":64,"context_line":"snapshots are presented with two distinct modes of operation when migration"},{"line_number":65,"context_line":"over to manila, each with its benefits and drawbacks. If the storage device has"},{"line_number":66,"context_line":"a compatible driver in manila that supports ``DHSS \u003d True`` driver mode, it is"},{"line_number":67,"context_line":"possible the user would like to use the existing shares with the benefits of"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_3ac8f9a5","line":64,"range":{"start_line":64,"start_character":66,"end_line":64,"end_character":75},"updated":"2018-11-13 01:42:11.000000000","message":"migrating","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":61,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Users that have been using storage devices to provision shares and their"},{"line_number":64,"context_line":"snapshots are presented with two distinct modes of operation when migration"},{"line_number":65,"context_line":"over to manila, each with its benefits and drawbacks. If the storage device has"},{"line_number":66,"context_line":"a compatible driver in manila that supports ``DHSS \u003d True`` driver mode, it is"},{"line_number":67,"context_line":"possible the user would like to use the existing shares with the benefits of"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_298b806a","line":64,"range":{"start_line":64,"start_character":66,"end_line":64,"end_character":75},"in_reply_to":"3f79a3b5_3ac8f9a5","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":67,"context_line":"possible the user would like to use the existing shares with the benefits of"},{"line_number":68,"context_line":"secure multi-tenancy isolation."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"However, even if the user has successfully established connectivity between the"},{"line_number":71,"context_line":"client hosts in an OpenStack network and the existing shares and snapshots, it"},{"line_number":72,"context_line":"is not possible to import the user\u0027s existing shares and snapshots in such case"},{"line_number":73,"context_line":"because the Manage functionality currently does not work in ``DHSS \u003d True`` due"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_1a389d9c","line":70,"range":{"start_line":70,"start_character":21,"end_line":70,"end_character":25},"updated":"2018-11-13 01:42:11.000000000","message":"can we change the language here and everywhere to say \"cloud administrator\" or operator. In a small cloud they could be the same - but in most clouds, we (manila team) have defined that an \"administrator\" is a persona who configures and manages manila\u0027s back-end storage and service, and is possibly the only persona with awareness of or access to back-end storage to be concerned with \"pre-existing\" resources.","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"14b481e4ece6fc5c99e92ff1b468b67423a7756a","unresolved":false,"context_lines":[{"line_number":67,"context_line":"possible the user would like to use the existing shares with the benefits of"},{"line_number":68,"context_line":"secure multi-tenancy isolation."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"However, even if the user has successfully established connectivity between the"},{"line_number":71,"context_line":"client hosts in an OpenStack network and the existing shares and snapshots, it"},{"line_number":72,"context_line":"is not possible to import the user\u0027s existing shares and snapshots in such case"},{"line_number":73,"context_line":"because the Manage functionality currently does not work in ``DHSS \u003d True`` due"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_5320109e","line":70,"range":{"start_line":70,"start_character":21,"end_line":70,"end_character":25},"in_reply_to":"3f79a3b5_1a389d9c","updated":"2018-11-15 14:50:34.000000000","message":"+1","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":67,"context_line":"possible the user would like to use the existing shares with the benefits of"},{"line_number":68,"context_line":"secure multi-tenancy isolation."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"However, even if the user has successfully established connectivity between the"},{"line_number":71,"context_line":"client hosts in an OpenStack network and the existing shares and snapshots, it"},{"line_number":72,"context_line":"is not possible to import the user\u0027s existing shares and snapshots in such case"},{"line_number":73,"context_line":"because the Manage functionality currently does not work in ``DHSS \u003d True`` due"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_849399b0","line":70,"range":{"start_line":70,"start_character":21,"end_line":70,"end_character":25},"in_reply_to":"3f79a3b5_1a389d9c","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":70,"context_line":"However, even if the user has successfully established connectivity between the"},{"line_number":71,"context_line":"client hosts in an OpenStack network and the existing shares and snapshots, it"},{"line_number":72,"context_line":"is not possible to import the user\u0027s existing shares and snapshots in such case"},{"line_number":73,"context_line":"because the Manage functionality currently does not work in ``DHSS \u003d True`` due"},{"line_number":74,"context_line":"to the lack of an API to manage share servers."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_1a517dd6","line":73,"range":{"start_line":73,"start_character":12,"end_line":73,"end_character":18},"updated":"2018-11-13 01:42:11.000000000","message":"nit:manage","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":70,"context_line":"However, even if the user has successfully established connectivity between the"},{"line_number":71,"context_line":"client hosts in an OpenStack network and the existing shares and snapshots, it"},{"line_number":72,"context_line":"is not possible to import the user\u0027s existing shares and snapshots in such case"},{"line_number":73,"context_line":"because the Manage functionality currently does not work in ``DHSS \u003d True`` due"},{"line_number":74,"context_line":"to the lack of an API to manage share servers."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_449d81b8","line":73,"range":{"start_line":73,"start_character":12,"end_line":73,"end_character":18},"in_reply_to":"3f79a3b5_1a517dd6","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":88,"context_line":"  * **Host:** backend name (\"\u003cnode_hostname\u003e@\u003cbackend_stanza\u003e\");"},{"line_number":89,"context_line":"  * **Share Network:** share network associated with the neutron network the"},{"line_number":90,"context_line":"    share server is connected to;"},{"line_number":91,"context_line":"  * **Backend Details:** list of driver-specific key-value pairs"},{"line_number":92,"context_line":"    required to successfully manage the share server."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"  * **Pre-requisites:** Since connectivity is expected between an existing"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_3a56b9cf","line":91,"range":{"start_line":91,"start_character":6,"end_line":91,"end_character":21},"updated":"2018-11-13 01:42:11.000000000","message":"The manage APIs (share/snapshot) have \"driver_options\", lets use the same name. If these details don\u0027t make sense to manila - and are \"driver-specific\" they should be called so.","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":88,"context_line":"  * **Host:** backend name (\"\u003cnode_hostname\u003e@\u003cbackend_stanza\u003e\");"},{"line_number":89,"context_line":"  * **Share Network:** share network associated with the neutron network the"},{"line_number":90,"context_line":"    share server is connected to;"},{"line_number":91,"context_line":"  * **Backend Details:** list of driver-specific key-value pairs"},{"line_number":92,"context_line":"    required to successfully manage the share server."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"  * **Pre-requisites:** Since connectivity is expected between an existing"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_a47fb566","line":91,"range":{"start_line":91,"start_character":6,"end_line":91,"end_character":21},"in_reply_to":"3f79a3b5_3a56b9cf","updated":"2018-11-19 19:11:36.000000000","message":"I disagree to this because the key-value pairs specified will map directly to the \"Backend_details\" field of the share server model. Driver options imply that anything could be specified to aid the driver to manage a share server, but may not be saved to the \"backend_details\" field.","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d3a6ae29403d2dc43e3da3cf4086358cc677f5b7","unresolved":false,"context_lines":[{"line_number":88,"context_line":"  * **Host:** backend name (\"\u003cnode_hostname\u003e@\u003cbackend_stanza\u003e\");"},{"line_number":89,"context_line":"  * **Share Network:** share network associated with the neutron network the"},{"line_number":90,"context_line":"    share server is connected to;"},{"line_number":91,"context_line":"  * **Backend Details:** list of driver-specific key-value pairs"},{"line_number":92,"context_line":"    required to successfully manage the share server."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"  * **Pre-requisites:** Since connectivity is expected between an existing"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_6d04fd19","line":91,"range":{"start_line":91,"start_character":6,"end_line":91,"end_character":21},"in_reply_to":"3f79a3b5_54d688fa","updated":"2018-11-21 13:37:17.000000000","message":"Sorry, what do you mean by \"see the schema\" ?\n\nWhat do you mean by driver independent? Anything the user specifies in the command line will be added to the database before invoking the driver, so I guess we could call it \"driver independent\"?\n\nI changed the language now, please take a look","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"d5ade011325d30d2e16a36c87298fec45b2ed8c5","unresolved":false,"context_lines":[{"line_number":88,"context_line":"  * **Host:** backend name (\"\u003cnode_hostname\u003e@\u003cbackend_stanza\u003e\");"},{"line_number":89,"context_line":"  * **Share Network:** share network associated with the neutron network the"},{"line_number":90,"context_line":"    share server is connected to;"},{"line_number":91,"context_line":"  * **Backend Details:** list of driver-specific key-value pairs"},{"line_number":92,"context_line":"    required to successfully manage the share server."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"  * **Pre-requisites:** Since connectivity is expected between an existing"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_54d688fa","line":91,"range":{"start_line":91,"start_character":6,"end_line":91,"end_character":21},"in_reply_to":"3f79a3b5_a47fb566","updated":"2018-11-21 01:22:43.000000000","message":"Can we see the schema of this then?\n\nAre these driver independent? If yes, then can you change the \"driver-specific key-value pairs\" language?","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":93,"context_line":""},{"line_number":94,"context_line":"  * **Pre-requisites:** Since connectivity is expected between an existing"},{"line_number":95,"context_line":"    share server and the client hosts, the share server will already have"},{"line_number":96,"context_line":"    interfaces with MAC and IP addresses but Neutron and OpenStack know nothing"},{"line_number":97,"context_line":"    of them. Before taking the share server into OpenStack management, the"},{"line_number":98,"context_line":"    cloud admin must create Neutron ports corresponding to these share server"},{"line_number":99,"context_line":"    interfaces, allocate the proper addresses to these ports, and set the port"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_9a64adb6","line":96,"range":{"start_line":96,"start_character":57,"end_line":96,"end_character":66},"updated":"2018-11-13 01:42:11.000000000","message":"OpenStack?","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":93,"context_line":""},{"line_number":94,"context_line":"  * **Pre-requisites:** Since connectivity is expected between an existing"},{"line_number":95,"context_line":"    share server and the client hosts, the share server will already have"},{"line_number":96,"context_line":"    interfaces with MAC and IP addresses but Neutron and OpenStack know nothing"},{"line_number":97,"context_line":"    of them. Before taking the share server into OpenStack management, the"},{"line_number":98,"context_line":"    cloud admin must create Neutron ports corresponding to these share server"},{"line_number":99,"context_line":"    interfaces, allocate the proper addresses to these ports, and set the port"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_fa67e1b8","line":96,"range":{"start_line":96,"start_character":45,"end_line":96,"end_character":52},"updated":"2018-11-13 01:42:11.000000000","message":"neutron","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":93,"context_line":""},{"line_number":94,"context_line":"  * **Pre-requisites:** Since connectivity is expected between an existing"},{"line_number":95,"context_line":"    share server and the client hosts, the share server will already have"},{"line_number":96,"context_line":"    interfaces with MAC and IP addresses but Neutron and OpenStack know nothing"},{"line_number":97,"context_line":"    of them. Before taking the share server into OpenStack management, the"},{"line_number":98,"context_line":"    cloud admin must create Neutron ports corresponding to these share server"},{"line_number":99,"context_line":"    interfaces, allocate the proper addresses to these ports, and set the port"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_4476e194","line":96,"range":{"start_line":96,"start_character":57,"end_line":96,"end_character":66},"in_reply_to":"3f79a3b5_9a64adb6","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":93,"context_line":""},{"line_number":94,"context_line":"  * **Pre-requisites:** Since connectivity is expected between an existing"},{"line_number":95,"context_line":"    share server and the client hosts, the share server will already have"},{"line_number":96,"context_line":"    interfaces with MAC and IP addresses but Neutron and OpenStack know nothing"},{"line_number":97,"context_line":"    of them. Before taking the share server into OpenStack management, the"},{"line_number":98,"context_line":"    cloud admin must create Neutron ports corresponding to these share server"},{"line_number":99,"context_line":"    interfaces, allocate the proper addresses to these ports, and set the port"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_a4e49542","line":96,"range":{"start_line":96,"start_character":45,"end_line":96,"end_character":52},"in_reply_to":"3f79a3b5_fa67e1b8","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":94,"context_line":"  * **Pre-requisites:** Since connectivity is expected between an existing"},{"line_number":95,"context_line":"    share server and the client hosts, the share server will already have"},{"line_number":96,"context_line":"    interfaces with MAC and IP addresses but Neutron and OpenStack know nothing"},{"line_number":97,"context_line":"    of them. Before taking the share server into OpenStack management, the"},{"line_number":98,"context_line":"    cloud admin must create Neutron ports corresponding to these share server"},{"line_number":99,"context_line":"    interfaces, allocate the proper addresses to these ports, and set the port"},{"line_number":100,"context_line":"    ``device_owner`` to ``manila:share``. When managing the share server, the"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_5afcd5bb","line":97,"range":{"start_line":97,"start_character":49,"end_line":97,"end_character":59},"updated":"2018-11-13 01:42:11.000000000","message":"manila\u0027s","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":94,"context_line":"  * **Pre-requisites:** Since connectivity is expected between an existing"},{"line_number":95,"context_line":"    share server and the client hosts, the share server will already have"},{"line_number":96,"context_line":"    interfaces with MAC and IP addresses but Neutron and OpenStack know nothing"},{"line_number":97,"context_line":"    of them. Before taking the share server into OpenStack management, the"},{"line_number":98,"context_line":"    cloud admin must create Neutron ports corresponding to these share server"},{"line_number":99,"context_line":"    interfaces, allocate the proper addresses to these ports, and set the port"},{"line_number":100,"context_line":"    ``device_owner`` to ``manila:share``. When managing the share server, the"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_e484cd59","line":97,"range":{"start_line":97,"start_character":49,"end_line":97,"end_character":59},"in_reply_to":"3f79a3b5_5afcd5bb","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"14b481e4ece6fc5c99e92ff1b468b67423a7756a","unresolved":false,"context_lines":[{"line_number":94,"context_line":"  * **Pre-requisites:** Since connectivity is expected between an existing"},{"line_number":95,"context_line":"    share server and the client hosts, the share server will already have"},{"line_number":96,"context_line":"    interfaces with MAC and IP addresses but Neutron and OpenStack know nothing"},{"line_number":97,"context_line":"    of them. Before taking the share server into OpenStack management, the"},{"line_number":98,"context_line":"    cloud admin must create Neutron ports corresponding to these share server"},{"line_number":99,"context_line":"    interfaces, allocate the proper addresses to these ports, and set the port"},{"line_number":100,"context_line":"    ``device_owner`` to ``manila:share``. When managing the share server, the"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_d338a0cd","line":97,"range":{"start_line":97,"start_character":49,"end_line":97,"end_character":59},"in_reply_to":"3f79a3b5_5afcd5bb","updated":"2018-11-15 14:50:34.000000000","message":"I think I suggested the language that led Rodrigo to say \u0027OpenStack\u0027 in these instances but I agree we should just say \u0027manila\u0027.  manila can manage/unmanage resources even if it is standalone, decoupled from the rest of OpenStack.","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    share server and the client hosts, the share server will already have"},{"line_number":96,"context_line":"    interfaces with MAC and IP addresses but Neutron and OpenStack know nothing"},{"line_number":97,"context_line":"    of them. Before taking the share server into OpenStack management, the"},{"line_number":98,"context_line":"    cloud admin must create Neutron ports corresponding to these share server"},{"line_number":99,"context_line":"    interfaces, allocate the proper addresses to these ports, and set the port"},{"line_number":100,"context_line":"    ``device_owner`` to ``manila:share``. When managing the share server, the"},{"line_number":101,"context_line":"    share server IP addresses will be requested to the driver and once"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_7a0191b4","line":98,"range":{"start_line":98,"start_character":10,"end_line":98,"end_character":15},"updated":"2018-11-13 01:42:11.000000000","message":"administrator","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    share server and the client hosts, the share server will already have"},{"line_number":96,"context_line":"    interfaces with MAC and IP addresses but Neutron and OpenStack know nothing"},{"line_number":97,"context_line":"    of them. Before taking the share server into OpenStack management, the"},{"line_number":98,"context_line":"    cloud admin must create Neutron ports corresponding to these share server"},{"line_number":99,"context_line":"    interfaces, allocate the proper addresses to these ports, and set the port"},{"line_number":100,"context_line":"    ``device_owner`` to ``manila:share``. When managing the share server, the"},{"line_number":101,"context_line":"    share server IP addresses will be requested to the driver and once"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_1a065dce","line":98,"range":{"start_line":98,"start_character":28,"end_line":98,"end_character":35},"updated":"2018-11-13 01:42:11.000000000","message":"neutron","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    share server and the client hosts, the share server will already have"},{"line_number":96,"context_line":"    interfaces with MAC and IP addresses but Neutron and OpenStack know nothing"},{"line_number":97,"context_line":"    of them. Before taking the share server into OpenStack management, the"},{"line_number":98,"context_line":"    cloud admin must create Neutron ports corresponding to these share server"},{"line_number":99,"context_line":"    interfaces, allocate the proper addresses to these ports, and set the port"},{"line_number":100,"context_line":"    ``device_owner`` to ``manila:share``. When managing the share server, the"},{"line_number":101,"context_line":"    share server IP addresses will be requested to the driver and once"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_04d54948","line":98,"range":{"start_line":98,"start_character":28,"end_line":98,"end_character":35},"in_reply_to":"3f79a3b5_1a065dce","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    share server and the client hosts, the share server will already have"},{"line_number":96,"context_line":"    interfaces with MAC and IP addresses but Neutron and OpenStack know nothing"},{"line_number":97,"context_line":"    of them. Before taking the share server into OpenStack management, the"},{"line_number":98,"context_line":"    cloud admin must create Neutron ports corresponding to these share server"},{"line_number":99,"context_line":"    interfaces, allocate the proper addresses to these ports, and set the port"},{"line_number":100,"context_line":"    ``device_owner`` to ``manila:share``. When managing the share server, the"},{"line_number":101,"context_line":"    share server IP addresses will be requested to the driver and once"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_24d08556","line":98,"range":{"start_line":98,"start_character":10,"end_line":98,"end_character":15},"in_reply_to":"3f79a3b5_7a0191b4","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":96,"context_line":"    interfaces with MAC and IP addresses but Neutron and OpenStack know nothing"},{"line_number":97,"context_line":"    of them. Before taking the share server into OpenStack management, the"},{"line_number":98,"context_line":"    cloud admin must create Neutron ports corresponding to these share server"},{"line_number":99,"context_line":"    interfaces, allocate the proper addresses to these ports, and set the port"},{"line_number":100,"context_line":"    ``device_owner`` to ``manila:share``. When managing the share server, the"},{"line_number":101,"context_line":"    share server IP addresses will be requested to the driver and once"},{"line_number":102,"context_line":"    retrieved, matched with neutron ports owned by ``manila:share`` present in"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_3a0b19d5","line":99,"range":{"start_line":99,"start_character":74,"end_line":99,"end_character":78},"updated":"2018-11-13 01:42:11.000000000","message":"port\u0027s","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":96,"context_line":"    interfaces with MAC and IP addresses but Neutron and OpenStack know nothing"},{"line_number":97,"context_line":"    of them. Before taking the share server into OpenStack management, the"},{"line_number":98,"context_line":"    cloud admin must create Neutron ports corresponding to these share server"},{"line_number":99,"context_line":"    interfaces, allocate the proper addresses to these ports, and set the port"},{"line_number":100,"context_line":"    ``device_owner`` to ``manila:share``. When managing the share server, the"},{"line_number":101,"context_line":"    share server IP addresses will be requested to the driver and once"},{"line_number":102,"context_line":"    retrieved, matched with neutron ports owned by ``manila:share`` present in"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_44c4a194","line":99,"range":{"start_line":99,"start_character":74,"end_line":99,"end_character":78},"in_reply_to":"3f79a3b5_3a0b19d5","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":98,"context_line":"    cloud admin must create Neutron ports corresponding to these share server"},{"line_number":99,"context_line":"    interfaces, allocate the proper addresses to these ports, and set the port"},{"line_number":100,"context_line":"    ``device_owner`` to ``manila:share``. When managing the share server, the"},{"line_number":101,"context_line":"    share server IP addresses will be requested to the driver and once"},{"line_number":102,"context_line":"    retrieved, matched with neutron ports owned by ``manila:share`` present in"},{"line_number":103,"context_line":"    the neutron subnet associated with the share network provided or configured"},{"line_number":104,"context_line":"    network plugin. If not all allocations are found, the operation is aborted"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_daef85f9","line":101,"range":{"start_line":101,"start_character":48,"end_line":101,"end_character":61},"updated":"2018-11-13 01:42:11.000000000","message":"by the driver?","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":98,"context_line":"    cloud admin must create Neutron ports corresponding to these share server"},{"line_number":99,"context_line":"    interfaces, allocate the proper addresses to these ports, and set the port"},{"line_number":100,"context_line":"    ``device_owner`` to ``manila:share``. When managing the share server, the"},{"line_number":101,"context_line":"    share server IP addresses will be requested to the driver and once"},{"line_number":102,"context_line":"    retrieved, matched with neutron ports owned by ``manila:share`` present in"},{"line_number":103,"context_line":"    the neutron subnet associated with the share network provided or configured"},{"line_number":104,"context_line":"    network plugin. If not all allocations are found, the operation is aborted"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_c4b75122","line":101,"range":{"start_line":101,"start_character":48,"end_line":101,"end_character":61},"in_reply_to":"3f79a3b5_daef85f9","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":102,"context_line":"    retrieved, matched with neutron ports owned by ``manila:share`` present in"},{"line_number":103,"context_line":"    the neutron subnet associated with the share network provided or configured"},{"line_number":104,"context_line":"    network plugin. If not all allocations are found, the operation is aborted"},{"line_number":105,"context_line":"    with an error. When using the Standalone Network Plugin, this step is not"},{"line_number":106,"context_line":"    required;"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"  * **Implementation:** When a request to manage a share server is received,"},{"line_number":109,"context_line":"    the API parameters are validated and then a share server model with the"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_9af90dc8","line":106,"range":{"start_line":105,"start_character":61,"end_line":106,"end_character":13},"updated":"2018-11-13 01:42:11.000000000","message":"meaning that IP addresses will be freshly allocated from the pool available to manila? Or do you want admins to pass IP addresses via driver_options for this case?","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":102,"context_line":"    retrieved, matched with neutron ports owned by ``manila:share`` present in"},{"line_number":103,"context_line":"    the neutron subnet associated with the share network provided or configured"},{"line_number":104,"context_line":"    network plugin. If not all allocations are found, the operation is aborted"},{"line_number":105,"context_line":"    with an error. When using the Standalone Network Plugin, this step is not"},{"line_number":106,"context_line":"    required;"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"  * **Implementation:** When a request to manage a share server is received,"},{"line_number":109,"context_line":"    the API parameters are validated and then a share server model with the"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_c44c3142","line":106,"range":{"start_line":105,"start_character":61,"end_line":106,"end_character":13},"in_reply_to":"3f79a3b5_9af90dc8","updated":"2018-11-19 19:11:36.000000000","message":"Neutron is not involved in this case, so Manila will just take the IPs, check if they are in the same CIDR, and save in the allocation database.","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":104,"context_line":"    network plugin. If not all allocations are found, the operation is aborted"},{"line_number":105,"context_line":"    with an error. When using the Standalone Network Plugin, this step is not"},{"line_number":106,"context_line":"    required;"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"  * **Implementation:** When a request to manage a share server is received,"},{"line_number":109,"context_line":"    the API parameters are validated and then a share server model with the"},{"line_number":110,"context_line":"    ``is_imported`` field set is created with the backend details parameters"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_fa32815b","line":107,"range":{"start_line":107,"start_character":0,"end_line":107,"end_character":0},"updated":"2018-11-13 01:42:11.000000000","message":"Add a pre-requisite:\n\nAny pre-existing authentication services must be configured as security services associated with the share network before managing a share server. There is no \ncapability to update security services on existing manila provisioned share servers today. This specification does not add an ability to update security services on managed share servers.","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"14b481e4ece6fc5c99e92ff1b468b67423a7756a","unresolved":false,"context_lines":[{"line_number":104,"context_line":"    network plugin. If not all allocations are found, the operation is aborted"},{"line_number":105,"context_line":"    with an error. When using the Standalone Network Plugin, this step is not"},{"line_number":106,"context_line":"    required;"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"  * **Implementation:** When a request to manage a share server is received,"},{"line_number":109,"context_line":"    the API parameters are validated and then a share server model with the"},{"line_number":110,"context_line":"    ``is_imported`` field set is created with the backend details parameters"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_f35efc12","line":107,"range":{"start_line":107,"start_character":0,"end_line":107,"end_character":0},"in_reply_to":"3f79a3b5_fa32815b","updated":"2018-11-15 14:50:34.000000000","message":"+1","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":104,"context_line":"    network plugin. If not all allocations are found, the operation is aborted"},{"line_number":105,"context_line":"    with an error. When using the Standalone Network Plugin, this step is not"},{"line_number":106,"context_line":"    required;"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"  * **Implementation:** When a request to manage a share server is received,"},{"line_number":109,"context_line":"    the API parameters are validated and then a share server model with the"},{"line_number":110,"context_line":"    ``is_imported`` field set is created with the backend details parameters"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_bf5b3e21","line":107,"range":{"start_line":107,"start_character":0,"end_line":107,"end_character":0},"in_reply_to":"3f79a3b5_fa32815b","updated":"2018-11-19 19:11:36.000000000","message":"Thanks!","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":124,"context_line":"  ports are de-allocated. It will be up to the administrator to de-allocate the"},{"line_number":125,"context_line":"  ports if desired. The state transitions will be similar to unmanaging a"},{"line_number":126,"context_line":"  share, thus it would transition from ``available`` to ``unmanage_starting``,"},{"line_number":127,"context_line":"  then either to ``unmanaged`` in case of success or to ``unmanage_error``"},{"line_number":128,"context_line":"  otherwise;"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"  * **Implementation:** When a request to unmanage a share server is received,"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_bae4090d","line":127,"range":{"start_line":127,"start_character":19,"end_line":127,"end_character":28},"updated":"2018-11-13 01:42:11.000000000","message":"deleted","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":124,"context_line":"  ports are de-allocated. It will be up to the administrator to de-allocate the"},{"line_number":125,"context_line":"  ports if desired. The state transitions will be similar to unmanaging a"},{"line_number":126,"context_line":"  share, thus it would transition from ``available`` to ``unmanage_starting``,"},{"line_number":127,"context_line":"  then either to ``unmanaged`` in case of success or to ``unmanage_error``"},{"line_number":128,"context_line":"  otherwise;"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"  * **Implementation:** When a request to unmanage a share server is received,"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_8426396a","line":127,"range":{"start_line":127,"start_character":19,"end_line":127,"end_character":28},"in_reply_to":"3f79a3b5_bae4090d","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":150,"context_line":"  the share server:** Since the existing implementation has never expected to"},{"line_number":151,"context_line":"  work in ``DHSS \u003d True`` driver mode, the driver interfaces do not include a"},{"line_number":152,"context_line":"  share server parameter. The driver interfaces will be updated to receive the"},{"line_number":153,"context_line":"  share server model to perform for Manage and Unmanage operations of shares"},{"line_number":154,"context_line":"  and snapshots. The parameter is optional, so it will not affect existing"},{"line_number":155,"context_line":"  drivers in any way."},{"line_number":156,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_ba92c954","line":153,"range":{"start_line":153,"start_character":36,"end_line":153,"end_character":55},"updated":"2018-11-13 01:42:11.000000000","message":"manage and unmanage","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":150,"context_line":"  the share server:** Since the existing implementation has never expected to"},{"line_number":151,"context_line":"  work in ``DHSS \u003d True`` driver mode, the driver interfaces do not include a"},{"line_number":152,"context_line":"  share server parameter. The driver interfaces will be updated to receive the"},{"line_number":153,"context_line":"  share server model to perform for Manage and Unmanage operations of shares"},{"line_number":154,"context_line":"  and snapshots. The parameter is optional, so it will not affect existing"},{"line_number":155,"context_line":"  drivers in any way."},{"line_number":156,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_a429f539","line":153,"range":{"start_line":153,"start_character":36,"end_line":153,"end_character":55},"in_reply_to":"3f79a3b5_ba92c954","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":152,"context_line":"  share server parameter. The driver interfaces will be updated to receive the"},{"line_number":153,"context_line":"  share server model to perform for Manage and Unmanage operations of shares"},{"line_number":154,"context_line":"  and snapshots. The parameter is optional, so it will not affect existing"},{"line_number":155,"context_line":"  drivers in any way."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"* **Prevent automatic deletion of managed share servers:** As opposed to share"},{"line_number":158,"context_line":"  servers created by manila, it should not be attempted to automatically delete"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_9a958d41","line":155,"range":{"start_line":155,"start_character":2,"end_line":155,"end_character":9},"updated":"2018-11-13 01:42:11.000000000","message":"DHSS\u003dFalse driver implementations","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":152,"context_line":"  share server parameter. The driver interfaces will be updated to receive the"},{"line_number":153,"context_line":"  share server model to perform for Manage and Unmanage operations of shares"},{"line_number":154,"context_line":"  and snapshots. The parameter is optional, so it will not affect existing"},{"line_number":155,"context_line":"  drivers in any way."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"* **Prevent automatic deletion of managed share servers:** As opposed to share"},{"line_number":158,"context_line":"  servers created by manila, it should not be attempted to automatically delete"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_2415e5e7","line":155,"range":{"start_line":155,"start_character":2,"end_line":155,"end_character":9},"in_reply_to":"3f79a3b5_9a958d41","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":155,"context_line":"  drivers in any way."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"* **Prevent automatic deletion of managed share servers:** As opposed to share"},{"line_number":158,"context_line":"  servers created by manila, it should not be attempted to automatically delete"},{"line_number":159,"context_line":"  managed share servers, as there may be existing shares unknown to manila"},{"line_number":160,"context_line":"  within it."},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"* **Manual deletion of managed share servers:** Share servers managed by manila"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_7a867118","line":159,"range":{"start_line":158,"start_character":29,"end_line":159,"end_character":23},"updated":"2018-11-13 01:42:11.000000000","message":"nit, restructure: \n\nwe will not attempt to automatically delete managed share servers that have no manila shares","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"14b481e4ece6fc5c99e92ff1b468b67423a7756a","unresolved":false,"context_lines":[{"line_number":155,"context_line":"  drivers in any way."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"* **Prevent automatic deletion of managed share servers:** As opposed to share"},{"line_number":158,"context_line":"  servers created by manila, it should not be attempted to automatically delete"},{"line_number":159,"context_line":"  managed share servers, as there may be existing shares unknown to manila"},{"line_number":160,"context_line":"  within it."},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"* **Manual deletion of managed share servers:** Share servers managed by manila"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_d3a6600f","line":159,"range":{"start_line":158,"start_character":29,"end_line":159,"end_character":23},"in_reply_to":"3f79a3b5_7a867118","updated":"2018-11-15 14:50:34.000000000","message":"+1","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":155,"context_line":"  drivers in any way."},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"* **Prevent automatic deletion of managed share servers:** As opposed to share"},{"line_number":158,"context_line":"  servers created by manila, it should not be attempted to automatically delete"},{"line_number":159,"context_line":"  managed share servers, as there may be existing shares unknown to manila"},{"line_number":160,"context_line":"  within it."},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"* **Manual deletion of managed share servers:** Share servers managed by manila"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_04df8939","line":159,"range":{"start_line":158,"start_character":29,"end_line":159,"end_character":23},"in_reply_to":"3f79a3b5_7a867118","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":247,"context_line":"        }"},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"Parameter ``backend_details`` is optional. If any of the other parameters"},{"line_number":250,"context_line":"is missing or invalid, the API will return ``400 BadRequest``. If a share"},{"line_number":251,"context_line":"server for the given share network already exists in manila and has the status"},{"line_number":252,"context_line":"``active``, then the API will return ``409 Conflict``."},{"line_number":253,"context_line":""},{"line_number":254,"context_line":"Response::"},{"line_number":255,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_9abcadb7","line":252,"range":{"start_line":250,"start_character":63,"end_line":252,"end_character":54},"updated":"2018-11-13 01:42:11.000000000","message":"? \n\nA share network can have more than one share server. Why would we fail this?","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":247,"context_line":"        }"},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"Parameter ``backend_details`` is optional. If any of the other parameters"},{"line_number":250,"context_line":"is missing or invalid, the API will return ``400 BadRequest``. If a share"},{"line_number":251,"context_line":"server for the given share network already exists in manila and has the status"},{"line_number":252,"context_line":"``active``, then the API will return ``409 Conflict``."},{"line_number":253,"context_line":""},{"line_number":254,"context_line":"Response::"},{"line_number":255,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_a4749504","line":252,"range":{"start_line":250,"start_character":63,"end_line":252,"end_character":54},"in_reply_to":"3f79a3b5_9abcadb7","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":259,"context_line":"            \"share_server\":"},{"line_number":260,"context_line":"                \"status\": \"manage_starting\","},{"line_number":261,"context_line":"                \"created_at\": 2018-09-17T18:05:34.000000,"},{"line_number":262,"context_line":"                \"updated_at\": 2018-09-18T19:26:11.000000,"},{"line_number":263,"context_line":"                \"share_network_id\": \"e76be4e9-4054-4df3-9e5c-178e68fb0949\","},{"line_number":264,"context_line":"                \"share_network_name\": \"my_share_net\","},{"line_number":265,"context_line":"                \"host\": \"host@backend\","}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_5ad4d5f0","line":262,"range":{"start_line":262,"start_character":30,"end_line":262,"end_character":56},"updated":"2018-11-13 01:42:11.000000000","message":"nit: match this with above","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":259,"context_line":"            \"share_server\":"},{"line_number":260,"context_line":"                \"status\": \"manage_starting\","},{"line_number":261,"context_line":"                \"created_at\": 2018-09-17T18:05:34.000000,"},{"line_number":262,"context_line":"                \"updated_at\": 2018-09-18T19:26:11.000000,"},{"line_number":263,"context_line":"                \"share_network_id\": \"e76be4e9-4054-4df3-9e5c-178e68fb0949\","},{"line_number":264,"context_line":"                \"share_network_name\": \"my_share_net\","},{"line_number":265,"context_line":"                \"host\": \"host@backend\","}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_64a67dc2","line":262,"range":{"start_line":262,"start_character":30,"end_line":262,"end_character":56},"in_reply_to":"3f79a3b5_5ad4d5f0","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":292,"context_line":"* If the share server does not exist the API will return ``404 NotFound``;"},{"line_number":293,"context_line":"* If the share server status is not in ``error``, ``active``, ``inactive``,"},{"line_number":294,"context_line":"  ``manage_error`` or ``unmanage_error``, the API will return"},{"line_number":295,"context_line":"  ``403 Forbidden``;"},{"line_number":296,"context_line":"* If the share server has shares registered in manila, it will return"},{"line_number":297,"context_line":"  ``409 Conflict``."},{"line_number":298,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_3afc7970","line":295,"range":{"start_line":295,"start_character":2,"end_line":295,"end_character":19},"updated":"2018-11-13 01:42:11.000000000","message":"403 Forbidden means the requesting user cannot perform a specific action, but someone else can. Since a cloud administrator is the most privileged user in our context, we can\u0027t/shouldn\u0027t respond with HTTP 403. Please change to HTTP 400.","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":292,"context_line":"* If the share server does not exist the API will return ``404 NotFound``;"},{"line_number":293,"context_line":"* If the share server status is not in ``error``, ``active``, ``inactive``,"},{"line_number":294,"context_line":"  ``manage_error`` or ``unmanage_error``, the API will return"},{"line_number":295,"context_line":"  ``403 Forbidden``;"},{"line_number":296,"context_line":"* If the share server has shares registered in manila, it will return"},{"line_number":297,"context_line":"  ``409 Conflict``."},{"line_number":298,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_845ab982","line":295,"range":{"start_line":295,"start_character":2,"end_line":295,"end_character":19},"in_reply_to":"3f79a3b5_3afc7970","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":357,"context_line":"**Managing a snapshot**:"},{"line_number":358,"context_line":""},{"line_number":359,"context_line":""},{"line_number":360,"context_line":"No API changes are required. It currently does not validate if the snapshot"},{"line_number":361,"context_line":"being managed is associated with a share that was created in ``DHSS \u003d True``"},{"line_number":362,"context_line":"mode."},{"line_number":363,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_ba3c092e","line":360,"range":{"start_line":360,"start_character":29,"end_line":360,"end_character":31},"updated":"2018-11-13 01:42:11.000000000","message":"nit: The API","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":357,"context_line":"**Managing a snapshot**:"},{"line_number":358,"context_line":""},{"line_number":359,"context_line":""},{"line_number":360,"context_line":"No API changes are required. It currently does not validate if the snapshot"},{"line_number":361,"context_line":"being managed is associated with a share that was created in ``DHSS \u003d True``"},{"line_number":362,"context_line":"mode."},{"line_number":363,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_4454a156","line":360,"range":{"start_line":360,"start_character":29,"end_line":360,"end_character":31},"in_reply_to":"3f79a3b5_ba3c092e","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":384,"context_line":"Driver impact"},{"line_number":385,"context_line":"-------------"},{"line_number":386,"context_line":""},{"line_number":387,"context_line":"A new driver interface is introduced in order to get share server network"},{"line_number":388,"context_line":"allocation data. This data shall be used to validate the network allocations"},{"line_number":389,"context_line":"previously created by the admin. Drivers that support ``DHSS \u003d True`` mode"},{"line_number":390,"context_line":"must implement this interface to support the Manage Share Servers"},{"line_number":391,"context_line":"functionality::"},{"line_number":392,"context_line":""},{"line_number":393,"context_line":"    def get_share_server_network_info(self, context, share_server):"},{"line_number":394,"context_line":"        \"\"\"Obtain network allocations used by share server."},{"line_number":395,"context_line":""},{"line_number":396,"context_line":"        :param context: Current context."},{"line_number":397,"context_line":"        :param share_server: Share server model."},{"line_number":398,"context_line":"        :return A list containing IP addresses allocated in the backend."},{"line_number":399,"context_line":""},{"line_number":400,"context_line":"        Example::"},{"line_number":401,"context_line":""},{"line_number":402,"context_line":"            [\u0027192.168.10.10\u0027, \u0027fd11::2000\u0027]"},{"line_number":403,"context_line":""},{"line_number":404,"context_line":"        \"\"\""},{"line_number":405,"context_line":"        raise NotImplementedError()"},{"line_number":406,"context_line":""},{"line_number":407,"context_line":"If such interface is not implemented in the driver, an exception will be raised"},{"line_number":408,"context_line":"and the operation will be aborted."},{"line_number":409,"context_line":""},{"line_number":410,"context_line":"The driver interfaces **manage_existing**, **unmanage**,"},{"line_number":411,"context_line":"**manage_existing_snapshot** and **unmanage_snapshot** will be updated to"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_da1ea5bc","line":408,"range":{"start_line":387,"start_character":0,"end_line":408,"end_character":34},"updated":"2018-11-13 01:42:11.000000000","message":"Can\u0027t this information be obtained from the administrator/neutron ports?","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"a888118cbaabab52684a705785a96d9ec905d2d6","unresolved":false,"context_lines":[{"line_number":384,"context_line":"Driver impact"},{"line_number":385,"context_line":"-------------"},{"line_number":386,"context_line":""},{"line_number":387,"context_line":"A new driver interface is introduced in order to get share server network"},{"line_number":388,"context_line":"allocation data. This data shall be used to validate the network allocations"},{"line_number":389,"context_line":"previously created by the admin. Drivers that support ``DHSS \u003d True`` mode"},{"line_number":390,"context_line":"must implement this interface to support the Manage Share Servers"},{"line_number":391,"context_line":"functionality::"},{"line_number":392,"context_line":""},{"line_number":393,"context_line":"    def get_share_server_network_info(self, context, share_server):"},{"line_number":394,"context_line":"        \"\"\"Obtain network allocations used by share server."},{"line_number":395,"context_line":""},{"line_number":396,"context_line":"        :param context: Current context."},{"line_number":397,"context_line":"        :param share_server: Share server model."},{"line_number":398,"context_line":"        :return A list containing IP addresses allocated in the backend."},{"line_number":399,"context_line":""},{"line_number":400,"context_line":"        Example::"},{"line_number":401,"context_line":""},{"line_number":402,"context_line":"            [\u0027192.168.10.10\u0027, \u0027fd11::2000\u0027]"},{"line_number":403,"context_line":""},{"line_number":404,"context_line":"        \"\"\""},{"line_number":405,"context_line":"        raise NotImplementedError()"},{"line_number":406,"context_line":""},{"line_number":407,"context_line":"If such interface is not implemented in the driver, an exception will be raised"},{"line_number":408,"context_line":"and the operation will be aborted."},{"line_number":409,"context_line":""},{"line_number":410,"context_line":"The driver interfaces **manage_existing**, **unmanage**,"},{"line_number":411,"context_line":"**manage_existing_snapshot** and **unmanage_snapshot** will be updated to"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_bfa92527","line":408,"range":{"start_line":387,"start_character":0,"end_line":408,"end_character":34},"in_reply_to":"3f79a3b5_93dea869","updated":"2018-11-15 19:54:31.000000000","message":"Yes, I think when an admin creates a port and assigns a fixed_ip to it, the manila neutron plugin can grab that information and store it in the database, I don\u0027t think there\u0027s a need for the share driver to query the backend for these IPs.","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":384,"context_line":"Driver impact"},{"line_number":385,"context_line":"-------------"},{"line_number":386,"context_line":""},{"line_number":387,"context_line":"A new driver interface is introduced in order to get share server network"},{"line_number":388,"context_line":"allocation data. This data shall be used to validate the network allocations"},{"line_number":389,"context_line":"previously created by the admin. Drivers that support ``DHSS \u003d True`` mode"},{"line_number":390,"context_line":"must implement this interface to support the Manage Share Servers"},{"line_number":391,"context_line":"functionality::"},{"line_number":392,"context_line":""},{"line_number":393,"context_line":"    def get_share_server_network_info(self, context, share_server):"},{"line_number":394,"context_line":"        \"\"\"Obtain network allocations used by share server."},{"line_number":395,"context_line":""},{"line_number":396,"context_line":"        :param context: Current context."},{"line_number":397,"context_line":"        :param share_server: Share server model."},{"line_number":398,"context_line":"        :return A list containing IP addresses allocated in the backend."},{"line_number":399,"context_line":""},{"line_number":400,"context_line":"        Example::"},{"line_number":401,"context_line":""},{"line_number":402,"context_line":"            [\u0027192.168.10.10\u0027, \u0027fd11::2000\u0027]"},{"line_number":403,"context_line":""},{"line_number":404,"context_line":"        \"\"\""},{"line_number":405,"context_line":"        raise NotImplementedError()"},{"line_number":406,"context_line":""},{"line_number":407,"context_line":"If such interface is not implemented in the driver, an exception will be raised"},{"line_number":408,"context_line":"and the operation will be aborted."},{"line_number":409,"context_line":""},{"line_number":410,"context_line":"The driver interfaces **manage_existing**, **unmanage**,"},{"line_number":411,"context_line":"**manage_existing_snapshot** and **unmanage_snapshot** will be updated to"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_649afd12","line":408,"range":{"start_line":387,"start_character":0,"end_line":408,"end_character":34},"in_reply_to":"3f79a3b5_bfa92527","updated":"2018-11-19 19:11:36.000000000","message":"we wouldn\u0027t need it if there wasn\u0027t a case where there are other ports in the neutron subnet that have manila:share owner but are not related to the share server being managed. You said yourself that could be more than a share server in a given share network, so this driver interface is the only way we can find out which ports relate to the share server being managed.","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"14b481e4ece6fc5c99e92ff1b468b67423a7756a","unresolved":false,"context_lines":[{"line_number":384,"context_line":"Driver impact"},{"line_number":385,"context_line":"-------------"},{"line_number":386,"context_line":""},{"line_number":387,"context_line":"A new driver interface is introduced in order to get share server network"},{"line_number":388,"context_line":"allocation data. This data shall be used to validate the network allocations"},{"line_number":389,"context_line":"previously created by the admin. Drivers that support ``DHSS \u003d True`` mode"},{"line_number":390,"context_line":"must implement this interface to support the Manage Share Servers"},{"line_number":391,"context_line":"functionality::"},{"line_number":392,"context_line":""},{"line_number":393,"context_line":"    def get_share_server_network_info(self, context, share_server):"},{"line_number":394,"context_line":"        \"\"\"Obtain network allocations used by share server."},{"line_number":395,"context_line":""},{"line_number":396,"context_line":"        :param context: Current context."},{"line_number":397,"context_line":"        :param share_server: Share server model."},{"line_number":398,"context_line":"        :return A list containing IP addresses allocated in the backend."},{"line_number":399,"context_line":""},{"line_number":400,"context_line":"        Example::"},{"line_number":401,"context_line":""},{"line_number":402,"context_line":"            [\u0027192.168.10.10\u0027, \u0027fd11::2000\u0027]"},{"line_number":403,"context_line":""},{"line_number":404,"context_line":"        \"\"\""},{"line_number":405,"context_line":"        raise NotImplementedError()"},{"line_number":406,"context_line":""},{"line_number":407,"context_line":"If such interface is not implemented in the driver, an exception will be raised"},{"line_number":408,"context_line":"and the operation will be aborted."},{"line_number":409,"context_line":""},{"line_number":410,"context_line":"The driver interfaces **manage_existing**, **unmanage**,"},{"line_number":411,"context_line":"**manage_existing_snapshot** and **unmanage_snapshot** will be updated to"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_93dea869","line":408,"range":{"start_line":387,"start_character":0,"end_line":408,"end_character":34},"in_reply_to":"3f79a3b5_da1ea5bc","updated":"2018-11-15 14:50:34.000000000","message":"Goutham, are you suggesting that we don\u0027t need this driver api/method?  Or that when a driver cannot implement it that we fall back to getting the info by port inspection?","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":507,"context_line":"---------------"},{"line_number":508,"context_line":""},{"line_number":509,"context_line":"As admin-only APIs, all the information necessary for managing share servers"},{"line_number":510,"context_line":"and the shares within is restricted to the admin."},{"line_number":511,"context_line":""},{"line_number":512,"context_line":"Notifications impact"},{"line_number":513,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_9a182dcf","line":510,"range":{"start_line":510,"start_character":48,"end_line":510,"end_character":49},"updated":"2018-11-13 01:42:11.000000000","message":"by virtue of default policy.","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":507,"context_line":"---------------"},{"line_number":508,"context_line":""},{"line_number":509,"context_line":"As admin-only APIs, all the information necessary for managing share servers"},{"line_number":510,"context_line":"and the shares within is restricted to the admin."},{"line_number":511,"context_line":""},{"line_number":512,"context_line":"Notifications impact"},{"line_number":513,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_044ea9c2","line":510,"range":{"start_line":510,"start_character":48,"end_line":510,"end_character":49},"in_reply_to":"3f79a3b5_9a182dcf","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":536,"context_line":""},{"line_number":537,"context_line":""},{"line_number":538,"context_line":"As for manila-ui, there will be a new button \"Manage Share Server\" and a"},{"line_number":539,"context_line":"context option \"Unmanage Share Server\"."},{"line_number":540,"context_line":""},{"line_number":541,"context_line":""},{"line_number":542,"context_line":"Performance Impact"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_1a7addee","line":539,"range":{"start_line":539,"start_character":38,"end_line":539,"end_character":39},"updated":"2018-11-13 01:42:11.000000000","message":"which will only be displayed if there are no shares that manila knows about?","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":536,"context_line":""},{"line_number":537,"context_line":""},{"line_number":538,"context_line":"As for manila-ui, there will be a new button \"Manage Share Server\" and a"},{"line_number":539,"context_line":"context option \"Unmanage Share Server\"."},{"line_number":540,"context_line":""},{"line_number":541,"context_line":""},{"line_number":542,"context_line":"Performance Impact"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_c44751a4","line":539,"range":{"start_line":539,"start_character":38,"end_line":539,"end_character":39},"in_reply_to":"3f79a3b5_1a7addee","updated":"2018-11-19 19:11:36.000000000","message":"Done","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f86b1a54be763558385b13ba1843e559a933dba8","unresolved":false,"context_lines":[{"line_number":594,"context_line":"Dependencies"},{"line_number":595,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":596,"context_line":""},{"line_number":597,"context_line":"None."},{"line_number":598,"context_line":""},{"line_number":599,"context_line":"Testing"},{"line_number":600,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_1a53bd70","line":597,"range":{"start_line":597,"start_character":0,"end_line":597,"end_character":5},"updated":"2018-11-13 01:42:11.000000000","message":"I would list the share networks improvements spec here. Although the work is vertically sliceable, we should be aware that implementation details in this spec will change if that code lands first.","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"b558242061706ad4f8de662c84b8f114c1673e7d","unresolved":false,"context_lines":[{"line_number":594,"context_line":"Dependencies"},{"line_number":595,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":596,"context_line":""},{"line_number":597,"context_line":"None."},{"line_number":598,"context_line":""},{"line_number":599,"context_line":"Testing"},{"line_number":600,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":15,"id":"3f79a3b5_84e8797e","line":597,"range":{"start_line":597,"start_character":0,"end_line":597,"end_character":5},"in_reply_to":"3f79a3b5_1a53bd70","updated":"2018-11-19 19:11:36.000000000","message":"not a direct dependency, that\u0027s why it is listed in \"Developer impact\" section.","commit_id":"7c4297881b720bdb6360e3b0070e5498341af6a1"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"d5ade011325d30d2e16a36c87298fec45b2ed8c5","unresolved":false,"context_lines":[{"line_number":21,"context_line":"Problem description"},{"line_number":22,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Today clouds with users who have pre-existing shares and snapshots on a manila"},{"line_number":25,"context_line":"back end (e.g. they were created by a storage administrator outside of manila)"},{"line_number":26,"context_line":"cannot bring them under manila\u0027s management using the ``manila manage``"},{"line_number":27,"context_line":"command when using a driver running in ``DHSS\u003dTrue`` mode (``DHSS`` is short"},{"line_number":28,"context_line":"for ``driver_handles_share_servers``[1]) the way they can when running a driver"},{"line_number":29,"context_line":"in ``DHSS\u003dFalse``.  Since ``DHSS\u003dTrue`` is the mode in which manila guarantees"},{"line_number":30,"context_line":"secure multi-tenant isolation, administrators end up having to make an"},{"line_number":31,"context_line":"unfortunate tradeoff if users have existing shares."},{"line_number":32,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_34b2ec06","line":29,"range":{"start_line":24,"start_character":0,"end_line":29,"end_character":19},"updated":"2018-11-21 01:22:43.000000000","message":"nit: prefer short sentences to long sentences. By the end of reading the sentence, the user may not recall what you said at the beginning. \n\nCloud administrators cannot bring pre-existing shares under manila\u0027s management when those shares pertain to a back end driver operating in ``driver_handles_share_servers \u003d True`` mode. For brevity, we will refer to this mode as ``DHSS\u003dTrue`` mode in this document. See [1]_ for more details.","commit_id":"e220403f8dcbba61050dd7edbbefd01dc702e43a"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d3a6ae29403d2dc43e3da3cf4086358cc677f5b7","unresolved":false,"context_lines":[{"line_number":21,"context_line":"Problem description"},{"line_number":22,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"Today clouds with users who have pre-existing shares and snapshots on a manila"},{"line_number":25,"context_line":"back end (e.g. they were created by a storage administrator outside of manila)"},{"line_number":26,"context_line":"cannot bring them under manila\u0027s management using the ``manila manage``"},{"line_number":27,"context_line":"command when using a driver running in ``DHSS\u003dTrue`` mode (``DHSS`` is short"},{"line_number":28,"context_line":"for ``driver_handles_share_servers``[1]) the way they can when running a driver"},{"line_number":29,"context_line":"in ``DHSS\u003dFalse``.  Since ``DHSS\u003dTrue`` is the mode in which manila guarantees"},{"line_number":30,"context_line":"secure multi-tenant isolation, administrators end up having to make an"},{"line_number":31,"context_line":"unfortunate tradeoff if users have existing shares."},{"line_number":32,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_788ef97a","line":29,"range":{"start_line":24,"start_character":0,"end_line":29,"end_character":19},"in_reply_to":"3f79a3b5_34b2ec06","updated":"2018-11-21 13:37:17.000000000","message":"Done","commit_id":"e220403f8dcbba61050dd7edbbefd01dc702e43a"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"d5ade011325d30d2e16a36c87298fec45b2ed8c5","unresolved":false,"context_lines":[{"line_number":27,"context_line":"command when using a driver running in ``DHSS\u003dTrue`` mode (``DHSS`` is short"},{"line_number":28,"context_line":"for ``driver_handles_share_servers``[1]) the way they can when running a driver"},{"line_number":29,"context_line":"in ``DHSS\u003dFalse``.  Since ``DHSS\u003dTrue`` is the mode in which manila guarantees"},{"line_number":30,"context_line":"secure multi-tenant isolation, administrators end up having to make an"},{"line_number":31,"context_line":"unfortunate tradeoff if users have existing shares."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"We lack manage/unmanage for ``DHSS\u003dTrue`` mode drivers today because of the"},{"line_number":34,"context_line":"following complexities:"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_f488f425","line":31,"range":{"start_line":30,"start_character":31,"end_line":31,"end_character":51},"updated":"2018-11-21 01:22:43.000000000","message":"You said \"Done\" in PS#15, but didn\u0027t address this comment. Are you aware of administrators that don\u0027t use DHSS\u003dTrue because manage/unmanage is not present?\n\n\nThere is a workaround - administrators can configure the DHSS\u003dTrue backend (and share server) as a DHSS\u003dFalse backend in manila and manage all the shares and revert to running with DHSS\u003dTrue.","commit_id":"e220403f8dcbba61050dd7edbbefd01dc702e43a"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d3a6ae29403d2dc43e3da3cf4086358cc677f5b7","unresolved":false,"context_lines":[{"line_number":27,"context_line":"command when using a driver running in ``DHSS\u003dTrue`` mode (``DHSS`` is short"},{"line_number":28,"context_line":"for ``driver_handles_share_servers``[1]) the way they can when running a driver"},{"line_number":29,"context_line":"in ``DHSS\u003dFalse``.  Since ``DHSS\u003dTrue`` is the mode in which manila guarantees"},{"line_number":30,"context_line":"secure multi-tenant isolation, administrators end up having to make an"},{"line_number":31,"context_line":"unfortunate tradeoff if users have existing shares."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"We lack manage/unmanage for ``DHSS\u003dTrue`` mode drivers today because of the"},{"line_number":34,"context_line":"following complexities:"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_18f825c0","line":31,"range":{"start_line":30,"start_character":31,"end_line":31,"end_character":51},"in_reply_to":"3f79a3b5_f488f425","updated":"2018-11-21 13:37:17.000000000","message":"I had changed it to administrators. Actually, it should be end users. The reason why is that the workaround includes a compromise, and this is not what end users would not like.","commit_id":"e220403f8dcbba61050dd7edbbefd01dc702e43a"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"d5ade011325d30d2e16a36c87298fec45b2ed8c5","unresolved":false,"context_lines":[{"line_number":38,"context_line":"  tenant\u0027s networks. When creating the share servers, manila has to allocate"},{"line_number":39,"context_line":"  network ports (and later de-allocate them when share servers are deleted)."},{"line_number":40,"context_line":"  However, in ``DHSS \u003d False`` mode the concept of share servers do not apply,"},{"line_number":41,"context_line":"  it is up to the administrator and the driver to do whatever it is necessary"},{"line_number":42,"context_line":"  for the back end\u0027s export locations to be accessible from the client hosts;"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"* **Managing shares:** In ``DHSS \u003d False``, manila requests the driver to find"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_f471d447","line":41,"range":{"start_line":41,"start_character":62,"end_line":41,"end_character":65},"updated":"2018-11-21 01:22:43.000000000","message":"nit: remove","commit_id":"e220403f8dcbba61050dd7edbbefd01dc702e43a"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d3a6ae29403d2dc43e3da3cf4086358cc677f5b7","unresolved":false,"context_lines":[{"line_number":38,"context_line":"  tenant\u0027s networks. When creating the share servers, manila has to allocate"},{"line_number":39,"context_line":"  network ports (and later de-allocate them when share servers are deleted)."},{"line_number":40,"context_line":"  However, in ``DHSS \u003d False`` mode the concept of share servers do not apply,"},{"line_number":41,"context_line":"  it is up to the administrator and the driver to do whatever it is necessary"},{"line_number":42,"context_line":"  for the back end\u0027s export locations to be accessible from the client hosts;"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"* **Managing shares:** In ``DHSS \u003d False``, manila requests the driver to find"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_b8225152","line":41,"range":{"start_line":41,"start_character":62,"end_line":41,"end_character":65},"in_reply_to":"3f79a3b5_f471d447","updated":"2018-11-21 13:37:17.000000000","message":"Done","commit_id":"e220403f8dcbba61050dd7edbbefd01dc702e43a"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"d5ade011325d30d2e16a36c87298fec45b2ed8c5","unresolved":false,"context_lines":[{"line_number":52,"context_line":"* **Managing snapshots:** It is expected to be able to manage a snapshot from"},{"line_number":53,"context_line":"  a pre-existing (and therefore managed) share, unless the snapshot intended to"},{"line_number":54,"context_line":"  be managed was created by manila and unmanaged. Since currently there are no"},{"line_number":55,"context_line":"  means to manage a share in manila, all shares are created empty without"},{"line_number":56,"context_line":"  snapshots, while unmanaging of snapshots is currently disallowed."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"* **Lifecycle of a share server:** In ``DHSS \u003d False`` mode, manila only"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_f496b43b","line":55,"range":{"start_line":55,"start_character":35,"end_line":55,"end_character":36},"updated":"2018-11-21 01:22:43.000000000","message":"with ``DHSS \u003d True``","commit_id":"e220403f8dcbba61050dd7edbbefd01dc702e43a"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d3a6ae29403d2dc43e3da3cf4086358cc677f5b7","unresolved":false,"context_lines":[{"line_number":52,"context_line":"* **Managing snapshots:** It is expected to be able to manage a snapshot from"},{"line_number":53,"context_line":"  a pre-existing (and therefore managed) share, unless the snapshot intended to"},{"line_number":54,"context_line":"  be managed was created by manila and unmanaged. Since currently there are no"},{"line_number":55,"context_line":"  means to manage a share in manila, all shares are created empty without"},{"line_number":56,"context_line":"  snapshots, while unmanaging of snapshots is currently disallowed."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"* **Lifecycle of a share server:** In ``DHSS \u003d False`` mode, manila only"}],"source_content_type":"text/x-rst","patch_set":17,"id":"3f79a3b5_181105fa","line":55,"range":{"start_line":55,"start_character":35,"end_line":55,"end_character":36},"in_reply_to":"3f79a3b5_f496b43b","updated":"2018-11-21 13:37:17.000000000","message":"Done","commit_id":"e220403f8dcbba61050dd7edbbefd01dc702e43a"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"d5ade011325d30d2e16a36c87298fec45b2ed8c5","unresolved":false,"context_lines":[{"line_number":26,"context_line":"back end (e.g. they were created by a storage administrator outside of manila)"},{"line_number":27,"context_line":"cannot bring them under manila\u0027s management using the ``manila manage``"},{"line_number":28,"context_line":"command when using a driver running in ``DHSS\u003dTrue`` mode (``DHSS`` is short"},{"line_number":29,"context_line":"for ``driver_handles_share_servers``[1]) the way they can when running a driver"},{"line_number":30,"context_line":"in ``DHSS\u003dFalse``.  Since ``DHSS\u003dTrue`` is the mode in which manila guarantees"},{"line_number":31,"context_line":"secure multi-tenant isolation, administrators end up having to make an"},{"line_number":32,"context_line":"unfortunate tradeoff if users have existing shares."},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"3f79a3b5_afc9b424","line":30,"range":{"start_line":29,"start_character":40,"end_line":30,"end_character":19},"updated":"2018-11-21 01:22:43.000000000","message":"redundant, remove to shorten sentence.. \n\ngeneric remark: please use shorter sentences wherever possible. Long sentences are hard to comprehend even to those that are fluent in English.","commit_id":"9f1987d8c2b4297a7d9a5ddd95307c687c05c5a0"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d3a6ae29403d2dc43e3da3cf4086358cc677f5b7","unresolved":false,"context_lines":[{"line_number":26,"context_line":"back end (e.g. they were created by a storage administrator outside of manila)"},{"line_number":27,"context_line":"cannot bring them under manila\u0027s management using the ``manila manage``"},{"line_number":28,"context_line":"command when using a driver running in ``DHSS\u003dTrue`` mode (``DHSS`` is short"},{"line_number":29,"context_line":"for ``driver_handles_share_servers``[1]) the way they can when running a driver"},{"line_number":30,"context_line":"in ``DHSS\u003dFalse``.  Since ``DHSS\u003dTrue`` is the mode in which manila guarantees"},{"line_number":31,"context_line":"secure multi-tenant isolation, administrators end up having to make an"},{"line_number":32,"context_line":"unfortunate tradeoff if users have existing shares."},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"3f79a3b5_6dc71d3f","line":30,"range":{"start_line":29,"start_character":40,"end_line":30,"end_character":19},"in_reply_to":"3f79a3b5_afc9b424","updated":"2018-11-21 13:37:17.000000000","message":"Done","commit_id":"9f1987d8c2b4297a7d9a5ddd95307c687c05c5a0"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"d5ade011325d30d2e16a36c87298fec45b2ed8c5","unresolved":false,"context_lines":[{"line_number":51,"context_line":"  share within the share server."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"* **Managing snapshots:** It is expected to be able to manage a snapshot from"},{"line_number":54,"context_line":"  a pre-existing (and therefore managed) share, unless the snapshot intended to"},{"line_number":55,"context_line":"  be managed was created by manila and unmanaged. Since currently there are no"},{"line_number":56,"context_line":"  means to manage a share in manila, all shares are created empty without"},{"line_number":57,"context_line":"  snapshots, while unmanaging of snapshots is currently disallowed."},{"line_number":58,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"3f79a3b5_efb6cc8c","line":55,"range":{"start_line":54,"start_character":46,"end_line":55,"end_character":48},"updated":"2018-11-21 01:22:43.000000000","message":"remove, redundant. Once \"managed\", a share is no different from a share that originated in manila..","commit_id":"9f1987d8c2b4297a7d9a5ddd95307c687c05c5a0"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d3a6ae29403d2dc43e3da3cf4086358cc677f5b7","unresolved":false,"context_lines":[{"line_number":51,"context_line":"  share within the share server."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"* **Managing snapshots:** It is expected to be able to manage a snapshot from"},{"line_number":54,"context_line":"  a pre-existing (and therefore managed) share, unless the snapshot intended to"},{"line_number":55,"context_line":"  be managed was created by manila and unmanaged. Since currently there are no"},{"line_number":56,"context_line":"  means to manage a share in manila, all shares are created empty without"},{"line_number":57,"context_line":"  snapshots, while unmanaging of snapshots is currently disallowed."},{"line_number":58,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"3f79a3b5_98799533","line":55,"range":{"start_line":54,"start_character":46,"end_line":55,"end_character":48},"in_reply_to":"3f79a3b5_efb6cc8c","updated":"2018-11-21 13:37:17.000000000","message":"In practice, a share managed could have existing snapshots, while a share created in manila cannot.","commit_id":"9f1987d8c2b4297a7d9a5ddd95307c687c05c5a0"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"d5ade011325d30d2e16a36c87298fec45b2ed8c5","unresolved":false,"context_lines":[{"line_number":53,"context_line":"* **Managing snapshots:** It is expected to be able to manage a snapshot from"},{"line_number":54,"context_line":"  a pre-existing (and therefore managed) share, unless the snapshot intended to"},{"line_number":55,"context_line":"  be managed was created by manila and unmanaged. Since currently there are no"},{"line_number":56,"context_line":"  means to manage a share in manila, all shares are created empty without"},{"line_number":57,"context_line":"  snapshots, while unmanaging of snapshots is currently disallowed."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"* **Lifecycle of a share server:** In ``DHSS \u003d False`` mode, manila only"},{"line_number":60,"context_line":"  manages the lifecycle of shares in the only pre-existing share server. It"}],"source_content_type":"text/x-rst","patch_set":18,"id":"3f79a3b5_6faabc1b","line":57,"range":{"start_line":56,"start_character":35,"end_line":57,"end_character":67},"updated":"2018-11-21 01:22:43.000000000","message":"with ``DHSS \u003d True``, snapshots cannot be managed or unmanaged as well.","commit_id":"9f1987d8c2b4297a7d9a5ddd95307c687c05c5a0"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d3a6ae29403d2dc43e3da3cf4086358cc677f5b7","unresolved":false,"context_lines":[{"line_number":53,"context_line":"* **Managing snapshots:** It is expected to be able to manage a snapshot from"},{"line_number":54,"context_line":"  a pre-existing (and therefore managed) share, unless the snapshot intended to"},{"line_number":55,"context_line":"  be managed was created by manila and unmanaged. Since currently there are no"},{"line_number":56,"context_line":"  means to manage a share in manila, all shares are created empty without"},{"line_number":57,"context_line":"  snapshots, while unmanaging of snapshots is currently disallowed."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"* **Lifecycle of a share server:** In ``DHSS \u003d False`` mode, manila only"},{"line_number":60,"context_line":"  manages the lifecycle of shares in the only pre-existing share server. It"}],"source_content_type":"text/x-rst","patch_set":18,"id":"3f79a3b5_ca24171d","line":57,"range":{"start_line":56,"start_character":35,"end_line":57,"end_character":67},"in_reply_to":"3f79a3b5_6faabc1b","updated":"2018-11-21 13:37:17.000000000","message":"you previously asked to add the reason why snapshots cannot be unmanaged, so this is the only place that it is mentioned.","commit_id":"9f1987d8c2b4297a7d9a5ddd95307c687c05c5a0"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"d5ade011325d30d2e16a36c87298fec45b2ed8c5","unresolved":false,"context_lines":[{"line_number":76,"context_line":"Use Cases"},{"line_number":77,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Cloud administrators that have been using storage devices to provision shares"},{"line_number":80,"context_line":"and their snapshots are presented with two distinct modes of operation when"},{"line_number":81,"context_line":"migrating over to manila, each with its benefits and drawbacks. If the storage"},{"line_number":82,"context_line":"device has a compatible driver in manila that supports ``DHSS \u003d True`` mode, it"},{"line_number":83,"context_line":"is possible the user would like to use the existing shares with the benefits of"},{"line_number":84,"context_line":"secure multi-tenancy isolation."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"However, even if the administrator has successfully established connectivity"},{"line_number":87,"context_line":"between the client hosts in an OpenStack network and the existing shares and"},{"line_number":88,"context_line":"snapshots, it is not possible to import the user\u0027s existing shares and"},{"line_number":89,"context_line":"snapshots in such case because the manage functionality currently does not work"},{"line_number":90,"context_line":"in ``DHSS \u003d True`` due to the lack of an API to manage share servers."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":18,"id":"3f79a3b5_0f16a858","line":90,"range":{"start_line":79,"start_character":0,"end_line":90,"end_character":69},"updated":"2018-11-21 01:22:43.000000000","message":"This repeats what\u0027s already been stated in the \"problem\" section. I think you can highlight the use cases simply as:\n\n- Cloud administrators will be able to bring shares and snapshots created outside manila into manila\u0027s management with ``DHSS \u003d True`` drivers.\n- Cloud administrators will be able to remove shares and snapshots from manila\u0027s management with ``DHSS \u003d True`` drivers\n- Cloud administrators can perform control plane migrations easily with the newly introduced manage/unmanage functionality for ``DHSS \u003d True`` deployments. \n- Cloud administrators can perform maintenance on manila shares by unmanaging them and manage them again on ``DHSS \u003d True`` deployments.","commit_id":"9f1987d8c2b4297a7d9a5ddd95307c687c05c5a0"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d3a6ae29403d2dc43e3da3cf4086358cc677f5b7","unresolved":false,"context_lines":[{"line_number":76,"context_line":"Use Cases"},{"line_number":77,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Cloud administrators that have been using storage devices to provision shares"},{"line_number":80,"context_line":"and their snapshots are presented with two distinct modes of operation when"},{"line_number":81,"context_line":"migrating over to manila, each with its benefits and drawbacks. If the storage"},{"line_number":82,"context_line":"device has a compatible driver in manila that supports ``DHSS \u003d True`` mode, it"},{"line_number":83,"context_line":"is possible the user would like to use the existing shares with the benefits of"},{"line_number":84,"context_line":"secure multi-tenancy isolation."},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"However, even if the administrator has successfully established connectivity"},{"line_number":87,"context_line":"between the client hosts in an OpenStack network and the existing shares and"},{"line_number":88,"context_line":"snapshots, it is not possible to import the user\u0027s existing shares and"},{"line_number":89,"context_line":"snapshots in such case because the manage functionality currently does not work"},{"line_number":90,"context_line":"in ``DHSS \u003d True`` due to the lack of an API to manage share servers."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":18,"id":"3f79a3b5_f8c5290a","line":90,"range":{"start_line":79,"start_character":0,"end_line":90,"end_character":69},"in_reply_to":"3f79a3b5_0f16a858","updated":"2018-11-21 13:37:17.000000000","message":"According to the template:\n\n\"What use cases does this address? What impact on actors does this change have?\nEnsure you\u0027re clear about the actors in each use case: Developer, end user,\ndeployer, etc.\"\n\nSo here it should be listed use cases that motivates this proposal. It shouldn\u0027t just list use cases that the proposal enables. The only difference is how it is explained.","commit_id":"9f1987d8c2b4297a7d9a5ddd95307c687c05c5a0"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"d5ade011325d30d2e16a36c87298fec45b2ed8c5","unresolved":false,"context_lines":[{"line_number":104,"context_line":"  * **Host:** backend name (\"\u003cnode_hostname\u003e@\u003cbackend_stanza\u003e\");"},{"line_number":105,"context_line":"  * **Share Network:** share network associated with the neutron network the"},{"line_number":106,"context_line":"    share server is connected to;"},{"line_number":107,"context_line":"  * **Backend Details:** list of driver-specific key-value pairs"},{"line_number":108,"context_line":"    required to successfully manage the share server."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"  * **Network allocations pre-requisites:** Since connectivity is expected"}],"source_content_type":"text/x-rst","patch_set":18,"id":"3f79a3b5_922f3b89","line":107,"range":{"start_line":107,"start_character":33,"end_line":107,"end_character":48},"updated":"2018-11-21 01:22:43.000000000","message":"I am still confused by this \"driver-specific\" language and the incongruent naming of the API parameter. Yes, the share server APIs provide a \"backend_details\" field - but it is whatever data the driver wants to store in that database field. For a \"manage\" operation, drivers may require different data and may decide to store different things in the \"backend_details\" field. \n\nSee the manage API for shares: https://developer.openstack.org/api-ref/shared-file-system/?expanded\u003did385-detail#id385\n\nAnd for snapshots: https://developer.openstack.org/api-ref/shared-file-system/?expanded\u003dmanage-share-snapshot-detail#manage-share-snapshot\n\nand note the \"driver_options\" field.","commit_id":"9f1987d8c2b4297a7d9a5ddd95307c687c05c5a0"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d3a6ae29403d2dc43e3da3cf4086358cc677f5b7","unresolved":false,"context_lines":[{"line_number":104,"context_line":"  * **Host:** backend name (\"\u003cnode_hostname\u003e@\u003cbackend_stanza\u003e\");"},{"line_number":105,"context_line":"  * **Share Network:** share network associated with the neutron network the"},{"line_number":106,"context_line":"    share server is connected to;"},{"line_number":107,"context_line":"  * **Backend Details:** list of driver-specific key-value pairs"},{"line_number":108,"context_line":"    required to successfully manage the share server."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"  * **Network allocations pre-requisites:** Since connectivity is expected"}],"source_content_type":"text/x-rst","patch_set":18,"id":"3f79a3b5_188825c2","line":107,"range":{"start_line":107,"start_character":33,"end_line":107,"end_character":48},"in_reply_to":"3f79a3b5_922f3b89","updated":"2018-11-21 13:37:17.000000000","message":"Done","commit_id":"9f1987d8c2b4297a7d9a5ddd95307c687c05c5a0"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"d5ade011325d30d2e16a36c87298fec45b2ed8c5","unresolved":false,"context_lines":[{"line_number":125,"context_line":"  * **Security services pre-requisites:** Any pre-existing authentication"},{"line_number":126,"context_line":"    services set up with share servers to be managed must be configured as"},{"line_number":127,"context_line":"    security services associated with the share network before managing a share"},{"line_number":128,"context_line":"    server, as there is no capability to update security services on existing"},{"line_number":129,"context_line":"    manila provisioned share servers today. This specification does not add an"},{"line_number":130,"context_line":"    ability to update security services on managed share servers."},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"3f79a3b5_b24fd767","line":128,"range":{"start_line":128,"start_character":10,"end_line":128,"end_character":14},"updated":"2018-11-21 01:22:43.000000000","message":"same comment as above. Cut sentence here please, and split into smaller sentences.","commit_id":"9f1987d8c2b4297a7d9a5ddd95307c687c05c5a0"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d3a6ae29403d2dc43e3da3cf4086358cc677f5b7","unresolved":false,"context_lines":[{"line_number":125,"context_line":"  * **Security services pre-requisites:** Any pre-existing authentication"},{"line_number":126,"context_line":"    services set up with share servers to be managed must be configured as"},{"line_number":127,"context_line":"    security services associated with the share network before managing a share"},{"line_number":128,"context_line":"    server, as there is no capability to update security services on existing"},{"line_number":129,"context_line":"    manila provisioned share servers today. This specification does not add an"},{"line_number":130,"context_line":"    ability to update security services on managed share servers."},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"3f79a3b5_78a83920","line":128,"range":{"start_line":128,"start_character":10,"end_line":128,"end_character":14},"in_reply_to":"3f79a3b5_b24fd767","updated":"2018-11-21 13:37:17.000000000","message":"Done","commit_id":"9f1987d8c2b4297a7d9a5ddd95307c687c05c5a0"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"d5ade011325d30d2e16a36c87298fec45b2ed8c5","unresolved":false,"context_lines":[{"line_number":426,"context_line":"        \"\"\""},{"line_number":427,"context_line":"        raise NotImplementedError()"},{"line_number":428,"context_line":""},{"line_number":429,"context_line":"If such interface is not implemented in the driver, an exception will be raised"},{"line_number":430,"context_line":"and the operation will be aborted."},{"line_number":431,"context_line":""},{"line_number":432,"context_line":"The driver interfaces **manage_existing**, **unmanage**,"},{"line_number":433,"context_line":"**manage_existing_snapshot** and **unmanage_snapshot** will be updated to"}],"source_content_type":"text/x-rst","patch_set":18,"id":"3f79a3b5_525763f6","line":430,"range":{"start_line":429,"start_character":0,"end_line":430,"end_character":34},"updated":"2018-11-21 01:22:43.000000000","message":"Rehashing comments from https://review.openstack.org/#/c/607342/15/specs/stein/manage-unmanage-with-share-servers.rst@387\n\nWhen a share server manage request comes in, can\u0027t we have the administrator tell us what IPs are used? Or give us the specific neutron ports for the share server?","commit_id":"9f1987d8c2b4297a7d9a5ddd95307c687c05c5a0"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"d3a6ae29403d2dc43e3da3cf4086358cc677f5b7","unresolved":false,"context_lines":[{"line_number":426,"context_line":"        \"\"\""},{"line_number":427,"context_line":"        raise NotImplementedError()"},{"line_number":428,"context_line":""},{"line_number":429,"context_line":"If such interface is not implemented in the driver, an exception will be raised"},{"line_number":430,"context_line":"and the operation will be aborted."},{"line_number":431,"context_line":""},{"line_number":432,"context_line":"The driver interfaces **manage_existing**, **unmanage**,"},{"line_number":433,"context_line":"**manage_existing_snapshot** and **unmanage_snapshot** will be updated to"}],"source_content_type":"text/x-rst","patch_set":18,"id":"3f79a3b5_b8401160","line":430,"range":{"start_line":429,"start_character":0,"end_line":430,"end_character":34},"in_reply_to":"3f79a3b5_525763f6","updated":"2018-11-21 13:37:17.000000000","message":"Here we could decide one of 2 things:\n\n1) as proposed, every driver would need to implement this interface, otherwise it wouldn\u0027t work for the given backend. The advantage here is that it is simpler to input the command, backends that support this API should work. Disadvantage is that requires every driver maintainer to add code.\n\n2) Add one more parameter to the API, like a list of IPs or port-IDs. This would makes the command more complicated (not a very big deal since this is an admin-only API). The main advantage is that it requires no new driver code. Is this what you\u0027re suggesting (through the API)?","commit_id":"9f1987d8c2b4297a7d9a5ddd95307c687c05c5a0"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"6520533ad3e4c67f80676df9a4178a5e928cb246","unresolved":false,"context_lines":[{"line_number":49,"context_line":"  share, one would have to manage its share server first and then manage the"},{"line_number":50,"context_line":"  share within the share server."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"* **Managing snapshots:** It is expected to be able to manage a snapshot from"},{"line_number":53,"context_line":"  a pre-existing (and therefore managed) share, and previously unmanaged"},{"line_number":54,"context_line":"  snapshots. Since currently there are no means to manage a share in manila"},{"line_number":55,"context_line":"  with ``DHSS \u003d True``, all shares are created empty without snapshots, while"},{"line_number":56,"context_line":"  unmanaging of snapshots is currently disallowed."},{"line_number":57,"context_line":""}],"source_content_type":"text/x-rst","patch_set":21,"id":"3f79a3b5_ca927a49","line":54,"range":{"start_line":52,"start_character":26,"end_line":54,"end_character":12},"updated":"2018-11-27 17:38:14.000000000","message":"I still can\u0027t understand this sentence :)","commit_id":"f538f664e7e81db7c8640d346a1627753c61792b"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"a61d75d64a0a35702c1f9bf8198fc83852f6f6f1","unresolved":false,"context_lines":[{"line_number":49,"context_line":"  share, one would have to manage its share server first and then manage the"},{"line_number":50,"context_line":"  share within the share server."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"* **Managing snapshots:** It is expected to be able to manage a snapshot from"},{"line_number":53,"context_line":"  a pre-existing (and therefore managed) share, and previously unmanaged"},{"line_number":54,"context_line":"  snapshots. Since currently there are no means to manage a share in manila"},{"line_number":55,"context_line":"  with ``DHSS \u003d True``, all shares are created empty without snapshots, while"},{"line_number":56,"context_line":"  unmanaging of snapshots is currently disallowed."},{"line_number":57,"context_line":""}],"source_content_type":"text/x-rst","patch_set":21,"id":"3f79a3b5_a2b5d4d0","line":54,"range":{"start_line":52,"start_character":26,"end_line":54,"end_character":12},"in_reply_to":"3f79a3b5_ca927a49","updated":"2018-11-28 11:09:40.000000000","message":"After rewriting this so many times I noticed that what I was trying to say was out of context of what these bullet points are supposed to be about. Hopefully this is fixed now.","commit_id":"f538f664e7e81db7c8640d346a1627753c61792b"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"6520533ad3e4c67f80676df9a4178a5e928cb246","unresolved":false,"context_lines":[{"line_number":123,"context_line":"    services set up with share servers to be managed must be configured as"},{"line_number":124,"context_line":"    security services associated with the share network before managing a share"},{"line_number":125,"context_line":"    server. Manila offers no capability to update security services on existing"},{"line_number":126,"context_line":"    manila provisioned share servers today and this specification does not add"},{"line_number":127,"context_line":"    an ability to update security services on managed share servers."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"  * **Implementation:** When a request to manage a share server is received,"}],"source_content_type":"text/x-rst","patch_set":21,"id":"3f79a3b5_6acb264a","line":126,"range":{"start_line":126,"start_character":37,"end_line":126,"end_character":52},"updated":"2018-11-27 17:38:14.000000000","message":"today.  This specification ...\n\n\n:)","commit_id":"f538f664e7e81db7c8640d346a1627753c61792b"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"a61d75d64a0a35702c1f9bf8198fc83852f6f6f1","unresolved":false,"context_lines":[{"line_number":123,"context_line":"    services set up with share servers to be managed must be configured as"},{"line_number":124,"context_line":"    security services associated with the share network before managing a share"},{"line_number":125,"context_line":"    server. Manila offers no capability to update security services on existing"},{"line_number":126,"context_line":"    manila provisioned share servers today and this specification does not add"},{"line_number":127,"context_line":"    an ability to update security services on managed share servers."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"  * **Implementation:** When a request to manage a share server is received,"}],"source_content_type":"text/x-rst","patch_set":21,"id":"3f79a3b5_e2a98cda","line":126,"range":{"start_line":126,"start_character":37,"end_line":126,"end_character":52},"in_reply_to":"3f79a3b5_6acb264a","updated":"2018-11-28 11:09:40.000000000","message":"Done","commit_id":"f538f664e7e81db7c8640d346a1627753c61792b"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"6520533ad3e4c67f80676df9a4178a5e928cb246","unresolved":false,"context_lines":[{"line_number":430,"context_line":"        \"\"\""},{"line_number":431,"context_line":"        raise NotImplementedError()"},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"If such interface is not implemented in the driver, an exception will be raised"},{"line_number":434,"context_line":"and the operation will be aborted."},{"line_number":435,"context_line":""},{"line_number":436,"context_line":"The driver interfaces **manage_existing**, **unmanage**,"}],"source_content_type":"text/x-rst","patch_set":21,"id":"3f79a3b5_ca2efaf6","line":433,"range":{"start_line":433,"start_character":0,"end_line":433,"end_character":50},"updated":"2018-11-27 17:38:14.000000000","message":"If the driver does not implement this interface,","commit_id":"f538f664e7e81db7c8640d346a1627753c61792b"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"a61d75d64a0a35702c1f9bf8198fc83852f6f6f1","unresolved":false,"context_lines":[{"line_number":430,"context_line":"        \"\"\""},{"line_number":431,"context_line":"        raise NotImplementedError()"},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"If such interface is not implemented in the driver, an exception will be raised"},{"line_number":434,"context_line":"and the operation will be aborted."},{"line_number":435,"context_line":""},{"line_number":436,"context_line":"The driver interfaces **manage_existing**, **unmanage**,"}],"source_content_type":"text/x-rst","patch_set":21,"id":"3f79a3b5_029288a0","line":433,"range":{"start_line":433,"start_character":0,"end_line":433,"end_character":50},"in_reply_to":"3f79a3b5_ca2efaf6","updated":"2018-11-28 11:09:40.000000000","message":"Done","commit_id":"f538f664e7e81db7c8640d346a1627753c61792b"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"2b6f71374d04c53468fd0ff40dcc66063118cd7b","unresolved":false,"context_lines":[{"line_number":49,"context_line":"  share, one would have to manage its share server first and then manage the"},{"line_number":50,"context_line":"  share within the share server."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"* **Managing snapshots:** Since currently there are no means to manage a share"},{"line_number":53,"context_line":"  in manila in ``DHSS \u003d True`` mode, there are no means to manage snapshots as"},{"line_number":54,"context_line":"  well. Additionally, unmanaging of snapshots is currently disallowed."},{"line_number":55,"context_line":""}],"source_content_type":"text/x-rst","patch_set":22,"id":"3f79a3b5_050db234","line":52,"range":{"start_line":52,"start_character":42,"end_line":52,"end_character":60},"updated":"2018-11-28 11:28:42.000000000","message":"\"there is no means\" In this context \"means\" is singular even though it ends with an \u0027s\u0027.  You can see this because it is a synonym of \"method\" or \"way\" and these wouldn\u0027t be plural.\n\nSo I suggest: \"Since currently there is no way ...\"","commit_id":"90aaea27ffe12e5448ff34b92f04d68623a20431"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"499f99ccc7ee8f9723cb0d6bdce05b91d049e977","unresolved":false,"context_lines":[{"line_number":49,"context_line":"  share, one would have to manage its share server first and then manage the"},{"line_number":50,"context_line":"  share within the share server."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"* **Managing snapshots:** Since currently there are no means to manage a share"},{"line_number":53,"context_line":"  in manila in ``DHSS \u003d True`` mode, there are no means to manage snapshots as"},{"line_number":54,"context_line":"  well. Additionally, unmanaging of snapshots is currently disallowed."},{"line_number":55,"context_line":""}],"source_content_type":"text/x-rst","patch_set":22,"id":"3f79a3b5_690ebc8f","line":52,"range":{"start_line":52,"start_character":42,"end_line":52,"end_character":60},"in_reply_to":"3f79a3b5_050db234","updated":"2018-11-28 16:51:38.000000000","message":"Done","commit_id":"90aaea27ffe12e5448ff34b92f04d68623a20431"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"2b6f71374d04c53468fd0ff40dcc66063118cd7b","unresolved":false,"context_lines":[{"line_number":50,"context_line":"  share within the share server."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"* **Managing snapshots:** Since currently there are no means to manage a share"},{"line_number":53,"context_line":"  in manila in ``DHSS \u003d True`` mode, there are no means to manage snapshots as"},{"line_number":54,"context_line":"  well. Additionally, unmanaging of snapshots is currently disallowed."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"* **Lifecycle of a share server:** In ``DHSS \u003d True`` mode, manila provisions"}],"source_content_type":"text/x-rst","patch_set":22,"id":"3f79a3b5_2508ee22","line":53,"range":{"start_line":53,"start_character":37,"end_line":53,"end_character":56},"updated":"2018-11-28 11:28:42.000000000","message":"ditto","commit_id":"90aaea27ffe12e5448ff34b92f04d68623a20431"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"499f99ccc7ee8f9723cb0d6bdce05b91d049e977","unresolved":false,"context_lines":[{"line_number":50,"context_line":"  share within the share server."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"* **Managing snapshots:** Since currently there are no means to manage a share"},{"line_number":53,"context_line":"  in manila in ``DHSS \u003d True`` mode, there are no means to manage snapshots as"},{"line_number":54,"context_line":"  well. Additionally, unmanaging of snapshots is currently disallowed."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"* **Lifecycle of a share server:** In ``DHSS \u003d True`` mode, manila provisions"}],"source_content_type":"text/x-rst","patch_set":22,"id":"3f79a3b5_8911d8b0","line":53,"range":{"start_line":53,"start_character":37,"end_line":53,"end_character":56},"in_reply_to":"3f79a3b5_2508ee22","updated":"2018-11-28 16:51:38.000000000","message":"Done","commit_id":"90aaea27ffe12e5448ff34b92f04d68623a20431"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"3385bd7ca79b757ec1109f1d1208ea9dea10be96","unresolved":false,"context_lines":[{"line_number":403,"context_line":"must implement this interface to support the Manage Share Servers"},{"line_number":404,"context_line":"functionality::"},{"line_number":405,"context_line":""},{"line_number":406,"context_line":"    def get_share_server_manage_details(self, context, share_server,"},{"line_number":407,"context_line":"                                        identifier, driver_options):"},{"line_number":408,"context_line":"        \"\"\"Return compiled back end details and network allocations."},{"line_number":409,"context_line":""},{"line_number":410,"context_line":"        :param context: Current context."},{"line_number":411,"context_line":"        :param share_server: Share server model."},{"line_number":412,"context_line":"        :param identifier: A driver-specific share server identifier"},{"line_number":413,"context_line":"        :param driver-options: Dictionary of driver options to assist managing"},{"line_number":414,"context_line":"            the share server"},{"line_number":415,"context_line":"        :return Dictionary with back end details to be saved in the database"},{"line_number":416,"context_line":"            and a list containing IP addresses allocated in the back end."},{"line_number":417,"context_line":""},{"line_number":418,"context_line":"        Example::"},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"            {\u0027server_name\u0027: \u0027my_old_server\u0027},[\u0027192.168.10.10\u0027, \u0027fd11::2000\u0027]"},{"line_number":421,"context_line":""},{"line_number":422,"context_line":"        \"\"\""},{"line_number":423,"context_line":"        raise NotImplementedError()"},{"line_number":424,"context_line":""},{"line_number":425,"context_line":"If the driver does not implement this interface, an exception will be raised"},{"line_number":426,"context_line":"and the operation will be aborted."}],"source_content_type":"text/x-rst","patch_set":23,"id":"3f79a3b5_78ed208b","line":423,"range":{"start_line":406,"start_character":0,"end_line":423,"end_character":35},"updated":"2018-11-28 21:17:18.000000000","message":"Does this mean this is where the share server object is \"managed\"? I assumed this was a prior step to get network allocations validated - i.e, the first part of the handshake between the share manager (that is talking to neutron) and the share driver (that is talking to the backend).\n\nIf it is indeed the interface where the driver has to \"manage\" the existing share server:\n- It should be called \"manage_server\" (like \"setup_server\" is for creating a new server)\n- It needs a \"network_info\" model as well, which specifies, along with tenant network allocations - allocations for the administrator network as well, which are specified in the config file and parsed by the admin network plugin in the share manager.","commit_id":"261a2c03bccf612da67a55bda05e1756979e976a"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"b4bbf78e462c9b28123fe8de4bad98828d9d5b4f","unresolved":false,"context_lines":[{"line_number":403,"context_line":"must implement this interface to support the Manage Share Servers"},{"line_number":404,"context_line":"functionality::"},{"line_number":405,"context_line":""},{"line_number":406,"context_line":"    def get_share_server_manage_details(self, context, share_server,"},{"line_number":407,"context_line":"                                        identifier, driver_options):"},{"line_number":408,"context_line":"        \"\"\"Return compiled back end details and network allocations."},{"line_number":409,"context_line":""},{"line_number":410,"context_line":"        :param context: Current context."},{"line_number":411,"context_line":"        :param share_server: Share server model."},{"line_number":412,"context_line":"        :param identifier: A driver-specific share server identifier"},{"line_number":413,"context_line":"        :param driver-options: Dictionary of driver options to assist managing"},{"line_number":414,"context_line":"            the share server"},{"line_number":415,"context_line":"        :return Dictionary with back end details to be saved in the database"},{"line_number":416,"context_line":"            and a list containing IP addresses allocated in the back end."},{"line_number":417,"context_line":""},{"line_number":418,"context_line":"        Example::"},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"            {\u0027server_name\u0027: \u0027my_old_server\u0027},[\u0027192.168.10.10\u0027, \u0027fd11::2000\u0027]"},{"line_number":421,"context_line":""},{"line_number":422,"context_line":"        \"\"\""},{"line_number":423,"context_line":"        raise NotImplementedError()"},{"line_number":424,"context_line":""},{"line_number":425,"context_line":"If the driver does not implement this interface, an exception will be raised"},{"line_number":426,"context_line":"and the operation will be aborted."}],"source_content_type":"text/x-rst","patch_set":23,"id":"3f79a3b5_c6b9e47b","line":423,"range":{"start_line":406,"start_character":0,"end_line":423,"end_character":35},"in_reply_to":"3f79a3b5_05c6f56b","updated":"2018-11-29 17:21:41.000000000","message":"Okay, we discussed this point on a call and concluded that the driver should present all IPs to the share manager  which will separate the IPs as necessary to the tenant network and admin network ports and save the necessary information in the database. \n\nThat said, since the driver interface can commit modifications on the back end, we will be calling this interface \"manage_server\" instead of \"get_share_server_manage_details\" (which could be understood to NEVER make any changes on the backend and only retrieve necessary details). Conceivably, the driver may want to rename the share server to match the ID chosen by manila when creating the resource in the manila database.","commit_id":"261a2c03bccf612da67a55bda05e1756979e976a"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"f72d932b8d02d1bb2f10a9b7e77bfded2ce7c0f9","unresolved":false,"context_lines":[{"line_number":403,"context_line":"must implement this interface to support the Manage Share Servers"},{"line_number":404,"context_line":"functionality::"},{"line_number":405,"context_line":""},{"line_number":406,"context_line":"    def get_share_server_manage_details(self, context, share_server,"},{"line_number":407,"context_line":"                                        identifier, driver_options):"},{"line_number":408,"context_line":"        \"\"\"Return compiled back end details and network allocations."},{"line_number":409,"context_line":""},{"line_number":410,"context_line":"        :param context: Current context."},{"line_number":411,"context_line":"        :param share_server: Share server model."},{"line_number":412,"context_line":"        :param identifier: A driver-specific share server identifier"},{"line_number":413,"context_line":"        :param driver-options: Dictionary of driver options to assist managing"},{"line_number":414,"context_line":"            the share server"},{"line_number":415,"context_line":"        :return Dictionary with back end details to be saved in the database"},{"line_number":416,"context_line":"            and a list containing IP addresses allocated in the back end."},{"line_number":417,"context_line":""},{"line_number":418,"context_line":"        Example::"},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"            {\u0027server_name\u0027: \u0027my_old_server\u0027},[\u0027192.168.10.10\u0027, \u0027fd11::2000\u0027]"},{"line_number":421,"context_line":""},{"line_number":422,"context_line":"        \"\"\""},{"line_number":423,"context_line":"        raise NotImplementedError()"},{"line_number":424,"context_line":""},{"line_number":425,"context_line":"If the driver does not implement this interface, an exception will be raised"},{"line_number":426,"context_line":"and the operation will be aborted."}],"source_content_type":"text/x-rst","patch_set":23,"id":"3f79a3b5_05c6f56b","line":423,"range":{"start_line":406,"start_character":0,"end_line":423,"end_character":35},"in_reply_to":"3f79a3b5_29ac35a7","updated":"2018-11-29 15:25:02.000000000","message":"OKay, what provides the admin network allocations to reconcile with the managed share server?","commit_id":"261a2c03bccf612da67a55bda05e1756979e976a"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"20d77cb2f10d83bbbdae37a66d7cf4fac99fe798","unresolved":false,"context_lines":[{"line_number":403,"context_line":"must implement this interface to support the Manage Share Servers"},{"line_number":404,"context_line":"functionality::"},{"line_number":405,"context_line":""},{"line_number":406,"context_line":"    def get_share_server_manage_details(self, context, share_server,"},{"line_number":407,"context_line":"                                        identifier, driver_options):"},{"line_number":408,"context_line":"        \"\"\"Return compiled back end details and network allocations."},{"line_number":409,"context_line":""},{"line_number":410,"context_line":"        :param context: Current context."},{"line_number":411,"context_line":"        :param share_server: Share server model."},{"line_number":412,"context_line":"        :param identifier: A driver-specific share server identifier"},{"line_number":413,"context_line":"        :param driver-options: Dictionary of driver options to assist managing"},{"line_number":414,"context_line":"            the share server"},{"line_number":415,"context_line":"        :return Dictionary with back end details to be saved in the database"},{"line_number":416,"context_line":"            and a list containing IP addresses allocated in the back end."},{"line_number":417,"context_line":""},{"line_number":418,"context_line":"        Example::"},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"            {\u0027server_name\u0027: \u0027my_old_server\u0027},[\u0027192.168.10.10\u0027, \u0027fd11::2000\u0027]"},{"line_number":421,"context_line":""},{"line_number":422,"context_line":"        \"\"\""},{"line_number":423,"context_line":"        raise NotImplementedError()"},{"line_number":424,"context_line":""},{"line_number":425,"context_line":"If the driver does not implement this interface, an exception will be raised"},{"line_number":426,"context_line":"and the operation will be aborted."}],"source_content_type":"text/x-rst","patch_set":23,"id":"3f79a3b5_29ac35a7","line":423,"range":{"start_line":406,"start_character":0,"end_line":423,"end_character":35},"in_reply_to":"3f79a3b5_78ed208b","updated":"2018-11-29 09:39:06.000000000","message":"It is not. The network information is validated after this step (see line 146). Sure it could be called \"manage_share_server\", but the driver really should have to do nothing other than return the network allocations and compile the backend_details from the driver_options. Since the focus is on the returned values, I decided to start this method with \"get_...\".\n\nIt cannot have a \"network_info\" model, as it is the driver that will provide the network information, manila has no way to do it.","commit_id":"261a2c03bccf612da67a55bda05e1756979e976a"}]}
