)]}'
{"specs/mitaka/swift-multi-tenant-store-service-token-support.rst":[{"author":{"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},"change_message_id":"8ae322dbe99e4cd290ead86bdf0f102d99bda135","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"* *Single-tenant*. Objects are stored in a single dedicated Swift account"},{"line_number":36,"context_line":"  (i.e., all data belonging to all users is stored in the same account)."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"* *Multi-tenant*. Objects are stored in the end-user\u0027s Swift account (project)."},{"line_number":39,"context_line":"  Typically, dedicated container(s) are created to hold the objects."},{"line_number":40,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"da85f559_bef057ff","line":37,"updated":"2015-11-11 05:23:23.000000000","message":"1.5 Multiple Single tenant accounts specified using the glance-swift.conf file.","commit_id":"00cf3eb64a1d88466895a2eab6d13c850cfd5ce6"},{"author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"change_message_id":"263d1f446c3fa33331dbb0f71b6660acd4072e87","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"* *Single-tenant*. Objects are stored in a single dedicated Swift account"},{"line_number":36,"context_line":"  (i.e., all data belonging to all users is stored in the same account)."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"* *Multi-tenant*. Objects are stored in the end-user\u0027s Swift account (project)."},{"line_number":39,"context_line":"  Typically, dedicated container(s) are created to hold the objects."},{"line_number":40,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a8ffd7b_21a3f59e","line":37,"in_reply_to":"da85f559_bef057ff","updated":"2015-11-26 13:00:49.000000000","message":"I see what you\u0027re saying, but I\u0027m not sure adding it in would be of much benefit here.","commit_id":"00cf3eb64a1d88466895a2eab6d13c850cfd5ce6"},{"author":{"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},"change_message_id":"8ae322dbe99e4cd290ead86bdf0f102d99bda135","unresolved":false,"context_lines":[{"line_number":46,"context_line":"                                                 Tenant        Tenant"},{"line_number":47,"context_line":"---- ------------------------------------------  ----------    --------"},{"line_number":48,"context_line":"1    Fragile to password leak (CVE-2013-1840)    Yes           No"},{"line_number":49,"context_line":"2    Fragile to token leak                       Yes           No"},{"line_number":50,"context_line":"3    Fragile to container deletion               Yes           No"},{"line_number":51,"context_line":"4    Fragile to service user deletion            Yes           No"},{"line_number":52,"context_line":"5    \"Noise\" in Swift account                    No            Yes"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da85f559_9ed2335b","line":49,"updated":"2015-11-11 05:23:23.000000000","message":"I am curious why you think token leak isn\u0027t possible with Multi-tenant setup, May be I am on a different page here but a leaked user token outside of Glance can potentially have data loss in Multi-tenant setup.","commit_id":"00cf3eb64a1d88466895a2eab6d13c850cfd5ce6"},{"author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"change_message_id":"263d1f446c3fa33331dbb0f71b6660acd4072e87","unresolved":false,"context_lines":[{"line_number":46,"context_line":"                                                 Tenant        Tenant"},{"line_number":47,"context_line":"---- ------------------------------------------  ----------    --------"},{"line_number":48,"context_line":"1    Fragile to password leak (CVE-2013-1840)    Yes           No"},{"line_number":49,"context_line":"2    Fragile to token leak                       Yes           No"},{"line_number":50,"context_line":"3    Fragile to container deletion               Yes           No"},{"line_number":51,"context_line":"4    Fragile to service user deletion            Yes           No"},{"line_number":52,"context_line":"5    \"Noise\" in Swift account                    No            Yes"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a8ffd7b_c1fa2943","line":49,"in_reply_to":"da85f559_9ed2335b","updated":"2015-11-26 13:00:49.000000000","message":"Yeah, this may not be as clear is it should be.\n\nWhat I\u0027m trying to say is:\n\nIf the single tenant token leaks out (someone Tweet\u0027s it, say), all users\u0027 backend data is compromised.\n\nIn the multi-tenant case, if user X\u0027s token is leaked, then it\u0027s bad luck for him, but not a problem for anyone else.\n\nSo I\u0027m trying to highlight how bad the effect of a leaks is, rather than saying it can\u0027t happen in one case.\n\nI\u0027ll update this part of the spec.","commit_id":"00cf3eb64a1d88466895a2eab6d13c850cfd5ce6"},{"author":{"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},"change_message_id":"8ae322dbe99e4cd290ead86bdf0f102d99bda135","unresolved":false,"context_lines":[{"line_number":52,"context_line":"5    \"Noise\" in Swift account                    No            Yes"},{"line_number":53,"context_line":"6    Namespace collisions (user and service      No            Yes"},{"line_number":54,"context_line":"     picking same name)"},{"line_number":55,"context_line":"7    Guarantee of consistency (Glance            Yes           No"},{"line_number":56,"context_line":"     database vs swift account)"},{"line_number":57,"context_line":"8    Policy enforcement (e.g., Image Download)   Yes           No"},{"line_number":58,"context_line":"9    Fair Swift rate limiting (users unaffected"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da85f559_3e4b072c","line":55,"updated":"2015-11-11 05:23:23.000000000","message":"Do you know if the delayed delete/scrubbing operation would be affected by Multi-tenant? I think we may need admin user for scrubber?","commit_id":"00cf3eb64a1d88466895a2eab6d13c850cfd5ce6"},{"author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"change_message_id":"263d1f446c3fa33331dbb0f71b6660acd4072e87","unresolved":false,"context_lines":[{"line_number":52,"context_line":"5    \"Noise\" in Swift account                    No            Yes"},{"line_number":53,"context_line":"6    Namespace collisions (user and service      No            Yes"},{"line_number":54,"context_line":"     picking same name)"},{"line_number":55,"context_line":"7    Guarantee of consistency (Glance            Yes           No"},{"line_number":56,"context_line":"     database vs swift account)"},{"line_number":57,"context_line":"8    Policy enforcement (e.g., Image Download)   Yes           No"},{"line_number":58,"context_line":"9    Fair Swift rate limiting (users unaffected"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a8ffd7b_814c219f","line":55,"in_reply_to":"da85f559_3e4b072c","updated":"2015-11-26 13:00:49.000000000","message":"I\u0027m trying to remember what the story is here. In multi-tenant Glance can add ACLs to the swift container to allow access by other tenants. I guess that must be how delayed-delete works with multi-tenant. If so, the scrubber would need to be updated to have the second set of creds.\n\nI might just add a note on this and say it\u0027s out of scope for now.","commit_id":"00cf3eb64a1d88466895a2eab6d13c850cfd5ce6"},{"author":{"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},"change_message_id":"8ae322dbe99e4cd290ead86bdf0f102d99bda135","unresolved":false,"context_lines":[{"line_number":57,"context_line":"8    Policy enforcement (e.g., Image Download)   Yes           No"},{"line_number":58,"context_line":"9    Fair Swift rate limiting (users unaffected"},{"line_number":59,"context_line":"     by others\u0027 Swift use)                       No            Yes"},{"line_number":60,"context_line":"\u003d\u003d\u003d\u003d \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d  \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d    \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da85f559_1eeac3db","line":60,"updated":"2015-11-11 05:23:23.000000000","message":"Non-availability of image replication done by admins behind the scenes can be a potential drawback added to the list above. Though, I am not 100% certain if admins won\u0027t be able to replicate but it might just become difficult. \n\nThe scenario I am thinking about is if images are stored in single tenant approach, operator can potentially issue a container sync or may be even add a manual sync job behind the scenes and add a image location to the image. That sort of performance/reliability enhancement won\u0027t be possible in case of MT.","commit_id":"00cf3eb64a1d88466895a2eab6d13c850cfd5ce6"},{"author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"change_message_id":"263d1f446c3fa33331dbb0f71b6660acd4072e87","unresolved":false,"context_lines":[{"line_number":57,"context_line":"8    Policy enforcement (e.g., Image Download)   Yes           No"},{"line_number":58,"context_line":"9    Fair Swift rate limiting (users unaffected"},{"line_number":59,"context_line":"     by others\u0027 Swift use)                       No            Yes"},{"line_number":60,"context_line":"\u003d\u003d\u003d\u003d \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d  \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d    \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a8ffd7b_210c5540","line":60,"in_reply_to":"da85f559_1eeac3db","updated":"2015-11-26 13:00:49.000000000","message":"\u003e won\u0027t be possible in case of MT\n\nIs it possible with the current MT approach? Or is this a new restriction that this spec introduces?","commit_id":"00cf3eb64a1d88466895a2eab6d13c850cfd5ce6"},{"author":{"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},"change_message_id":"8ae322dbe99e4cd290ead86bdf0f102d99bda135","unresolved":false,"context_lines":[{"line_number":241,"context_line":"Swift data is accessed.  This should have minimal impact.  The token"},{"line_number":242,"context_line":"can be cached so will only impact a minority of requests which access"},{"line_number":243,"context_line":"Swift. Requests which do not access Swift (eg listing images) will not"},{"line_number":244,"context_line":"require a service token."},{"line_number":245,"context_line":""},{"line_number":246,"context_line":"Other deployer impact"},{"line_number":247,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"da85f559_9e91d349","line":244,"updated":"2015-11-11 05:23:23.000000000","message":"I believe we may face issue of added re-downloads and failed uploads in case one of two the scoped tokens drops validity. I think that\u0027s a fair trade-off for the enhanced security though just needs to be documented.","commit_id":"00cf3eb64a1d88466895a2eab6d13c850cfd5ce6"},{"author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"change_message_id":"263d1f446c3fa33331dbb0f71b6660acd4072e87","unresolved":false,"context_lines":[{"line_number":241,"context_line":"Swift data is accessed.  This should have minimal impact.  The token"},{"line_number":242,"context_line":"can be cached so will only impact a minority of requests which access"},{"line_number":243,"context_line":"Swift. Requests which do not access Swift (eg listing images) will not"},{"line_number":244,"context_line":"require a service token."},{"line_number":245,"context_line":""},{"line_number":246,"context_line":"Other deployer impact"},{"line_number":247,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a8ffd7b_bc2dc896","line":244,"in_reply_to":"da85f559_9e91d349","updated":"2015-11-26 13:00:49.000000000","message":"Sure, I can add something.\n\n(Hopefully some of the work Mike is doing can help here.)","commit_id":"00cf3eb64a1d88466895a2eab6d13c850cfd5ce6"},{"author":{"_account_id":2537,"name":"Nikhil Komawar","email":"nik.komawar@gmail.com","username":"nikhil-komawar"},"change_message_id":"8ae322dbe99e4cd290ead86bdf0f102d99bda135","unresolved":false,"context_lines":[{"line_number":271,"context_line":"Reviewers"},{"line_number":272,"context_line":"---------"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"Core reviewer(s): TBD"},{"line_number":275,"context_line":""},{"line_number":276,"context_line":"Other reviewer(s): TBD"},{"line_number":277,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"da85f559_7e9c2f5d","line":274,"updated":"2015-11-11 05:23:23.000000000","message":"I am available. LP id: nikhil-komawar","commit_id":"00cf3eb64a1d88466895a2eab6d13c850cfd5ce6"},{"author":{"_account_id":455,"name":"Stuart McLaren","email":"stuart.mclaren@hpe.com","username":"stuart-mclaren"},"change_message_id":"263d1f446c3fa33331dbb0f71b6660acd4072e87","unresolved":false,"context_lines":[{"line_number":271,"context_line":"Reviewers"},{"line_number":272,"context_line":"---------"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"Core reviewer(s): TBD"},{"line_number":275,"context_line":""},{"line_number":276,"context_line":"Other reviewer(s): TBD"},{"line_number":277,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"9a8ffd7b_5c1e1c60","line":274,"in_reply_to":"da85f559_7e9c2f5d","updated":"2015-11-26 13:00:49.000000000","message":"\\o/","commit_id":"00cf3eb64a1d88466895a2eab6d13c850cfd5ce6"}]}
