)]}'
{"specs/liberty/barbican-key-mgr.rst":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"8e1c1038335a70dd72b1e789f8b399773b2aa9ea","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Create an implementation of the key manager interface that will call"},{"line_number":35,"context_line":"python-barbicanclient, an interface to Barbican for Python programs, to support"},{"line_number":36,"context_line":"generating, storing, and presenting keys to Ironic from Barbican."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"A subclass that uses Barbican to manage keys will be implemented."},{"line_number":39,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afb71cf_99a44408","line":36,"updated":"2015-06-10 13:15:14.000000000","message":"I think that generating keys is not a case for Ironic right now?","commit_id":"7e6f594f0237975ae1409e414732d764965e05d5"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"74227e5ad9fd20e926eaff02a1202532b5508e02","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Create an implementation of the key manager interface that will call"},{"line_number":35,"context_line":"python-barbicanclient, an interface to Barbican for Python programs, to support"},{"line_number":36,"context_line":"generating, storing, and presenting keys to Ironic from Barbican."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"A subclass that uses Barbican to manage keys will be implemented."},{"line_number":39,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afb71cf_499b8518","line":36,"in_reply_to":"3afb71cf_99a44408","updated":"2015-06-10 22:23:05.000000000","message":"Right, changing in next patch set","commit_id":"7e6f594f0237975ae1409e414732d764965e05d5"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"8e1c1038335a70dd72b1e789f8b399773b2aa9ea","unresolved":false,"context_lines":[{"line_number":44,"context_line":"the same in their deployments if they wish to continue specifying secrets in"},{"line_number":45,"context_line":"configuration files."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"The key manager will look similar to Nova\u0027s in implementation, since Nova\u0027s key"},{"line_number":48,"context_line":"manager has both an implementation that pulls secrets from a configuration file"},{"line_number":49,"context_line":"and an implementation that uses Barbican."},{"line_number":50,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afb71cf_06011306","line":47,"updated":"2015-06-10 13:15:14.000000000","message":"It seems to me that use case of Nova is not similar to Ironic\u0027s, as in Nova secrets are volume encryption keys and are generated on the fly. Here we would have links to storage inside config file like rabbit_password\u003dhttp://... IIUC.","commit_id":"7e6f594f0237975ae1409e414732d764965e05d5"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"74227e5ad9fd20e926eaff02a1202532b5508e02","unresolved":false,"context_lines":[{"line_number":44,"context_line":"the same in their deployments if they wish to continue specifying secrets in"},{"line_number":45,"context_line":"configuration files."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"The key manager will look similar to Nova\u0027s in implementation, since Nova\u0027s key"},{"line_number":48,"context_line":"manager has both an implementation that pulls secrets from a configuration file"},{"line_number":49,"context_line":"and an implementation that uses Barbican."},{"line_number":50,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afb71cf_69bf6161","line":47,"in_reply_to":"3afb71cf_06011306","updated":"2015-06-10 22:23:05.000000000","message":"Yup, you\u0027re right. That\u0027s left over from when I was going to write the spec to include both your generic spec and the Barbican implementation. Changing in next patch set.","commit_id":"7e6f594f0237975ae1409e414732d764965e05d5"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"c91ea70da7c39bc52edf99bca54fd4a3a306c977","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://blueprints.launchpad.net/ironic/+spec/barbican-key-mgr"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Ironic will have a generic key manager interface soon, and it would be good to"},{"line_number":16,"context_line":"have multiple implementations of the interface. Integrating with Barbican in"},{"line_number":17,"context_line":"particular helps us meet the goals of secure secret storage and retrieval as"},{"line_number":18,"context_line":"well as keeping us in line with a major OpenStack project."}],"source_content_type":"text/x-rst","patch_set":5,"id":"3afb71cf_d20dce8f","line":15,"updated":"2015-06-11 07:07:13.000000000","message":"This spec patch should be based on top of that one (i.e. make explicit dependency in gerrit).","commit_id":"88e211dde39098f22fd78c3d62b9738bd4314136"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"c78448d78221aa9a48d3024ad3b09dd9744068b9","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://blueprints.launchpad.net/ironic/+spec/barbican-key-mgr"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Ironic will have a generic key manager interface soon, and it would be good to"},{"line_number":16,"context_line":"have multiple implementations of the interface. Integrating with Barbican in"},{"line_number":17,"context_line":"particular helps us meet the goals of secure secret storage and retrieval as"},{"line_number":18,"context_line":"well as keeping us in line with a major OpenStack project."}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_4a3b37ec","line":15,"in_reply_to":"3afb71cf_d20dce8f","updated":"2015-06-12 16:34:57.000000000","message":"Good catch, I didn\u0027t realize that I had to explicitly specify that. I added Depends-On: \u003cid\u003e to the commit message and did git review -d \u003cdependency\u003e \u0026\u0026 git review -x \u003cthis change id\u003e.\n\nIs that sufficient?","commit_id":"88e211dde39098f22fd78c3d62b9738bd4314136"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"c91ea70da7c39bc52edf99bca54fd4a3a306c977","unresolved":false,"context_lines":[{"line_number":26,"context_line":"to manage and rotate secrets."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Use cases for deployers of Ironic include managing RabbitMQ passwords, IPMI,"},{"line_number":29,"context_line":"DRAC, and iLO passwords, and many other deployment-specific secrets."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Proposed change"},{"line_number":32,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3afb71cf_b22932e8","line":29,"updated":"2015-06-11 07:07:13.000000000","message":"The spec you mention proposed using Keystone as a reference implementation. Please describe why Barbican may be a better choice here.","commit_id":"88e211dde39098f22fd78c3d62b9738bd4314136"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"c78448d78221aa9a48d3024ad3b09dd9744068b9","unresolved":false,"context_lines":[{"line_number":26,"context_line":"to manage and rotate secrets."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Use cases for deployers of Ironic include managing RabbitMQ passwords, IPMI,"},{"line_number":29,"context_line":"DRAC, and iLO passwords, and many other deployment-specific secrets."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Proposed change"},{"line_number":32,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_0dcf9980","line":29,"in_reply_to":"3afb71cf_b22932e8","updated":"2015-06-12 16:34:57.000000000","message":"I think it\u0027s good if we have both implementations for flexibility, and added a paragraph about the benefits Barbican provides, including support for HSMs and secret expiration. Do you think there should be a config option for selecting a particular implementation to use for managing secrets? Then we could specify whether to use Barbican or Keystone somewhere. That may clarify the spec a bit.\n\nI wasn\u0027t sure exactly how to word the new patch given that the other spec hasn\u0027t merged yet. It might be good to revisit the exact wording after the other spec is merged, since then I can reference an actual existing system. Feedback about how to word this spec in the context of the in-progress spec would be appreciated.","commit_id":"88e211dde39098f22fd78c3d62b9738bd4314136"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"c91ea70da7c39bc52edf99bca54fd4a3a306c977","unresolved":false,"context_lines":[{"line_number":55,"context_line":"One alternative is to continue using static configuration files for secrets."},{"line_number":56,"context_line":"This isn\u0027t a viable long-term option because an enterprise-grade Ironic"},{"line_number":57,"context_line":"deployment needs to have ways to rotate keys in and out of use quickly in case"},{"line_number":58,"context_line":"of compromise."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Another alternative is to invoke python-barbicanclient directly, but this would"},{"line_number":61,"context_line":"lack the flexibility needed if certain deployments of Ironic wish to continue"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3afb71cf_9224f60c","line":58,"updated":"2015-06-11 07:07:13.000000000","message":"as above, IIUC using keystone is also an alternative.","commit_id":"88e211dde39098f22fd78c3d62b9738bd4314136"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"c78448d78221aa9a48d3024ad3b09dd9744068b9","unresolved":false,"context_lines":[{"line_number":55,"context_line":"One alternative is to continue using static configuration files for secrets."},{"line_number":56,"context_line":"This isn\u0027t a viable long-term option because an enterprise-grade Ironic"},{"line_number":57,"context_line":"deployment needs to have ways to rotate keys in and out of use quickly in case"},{"line_number":58,"context_line":"of compromise."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Another alternative is to invoke python-barbicanclient directly, but this would"},{"line_number":61,"context_line":"lack the flexibility needed if certain deployments of Ironic wish to continue"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_add8851e","line":58,"in_reply_to":"3afb71cf_9224f60c","updated":"2015-06-12 16:34:57.000000000","message":"Added this and removed the alternative about static config files, since that\u0027s covered in the original pluggable key manager spec.","commit_id":"88e211dde39098f22fd78c3d62b9738bd4314136"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"4f220af6f281ebd921fc3212b57b01492d1eaca7","unresolved":false,"context_lines":[{"line_number":148,"context_line":"configuration, there will be an optional sentinel value in the configuration"},{"line_number":149,"context_line":"for retrieving the key from the Barbican key manager implementation rather than"},{"line_number":150,"context_line":"from the config file itself. If the config value is not set to this sentinel"},{"line_number":151,"context_line":"value, the config value will be used."},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"Developer impact"},{"line_number":154,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3afb71cf_79495a30","line":151,"updated":"2015-06-11 10:34:49.000000000","message":"I am not sure I understand this. If e.g. rabbit_password config option is set to a sentinel_value, how is it going to know which secret to get from barbican?\n\nAlso, I\u0027ve tried to come up with some solution for config file credentials. All that we have at the moment are external, and used not by ironic. E.g. for messaging initialization, whole cfg.ConfigOpts instance is passed to messaging driver for initialization. So it seems to me that this possibility should be enabled in these external services. And there are no credentials stored in config file used by Ironic itself at the moment, they are all in nodes.\nWDYT?","commit_id":"88e211dde39098f22fd78c3d62b9738bd4314136"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"c78448d78221aa9a48d3024ad3b09dd9744068b9","unresolved":false,"context_lines":[{"line_number":148,"context_line":"configuration, there will be an optional sentinel value in the configuration"},{"line_number":149,"context_line":"for retrieving the key from the Barbican key manager implementation rather than"},{"line_number":150,"context_line":"from the config file itself. If the config value is not set to this sentinel"},{"line_number":151,"context_line":"value, the config value will be used."},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"Developer impact"},{"line_number":154,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_4d447173","line":151,"in_reply_to":"3afb71cf_79495a30","updated":"2015-06-12 16:34:57.000000000","message":"Actually, there are credentials that can be stored in the Ironic config file, they\u0027re just not enabled by default. For example, the Swift tempurl key is stored in the config: https://github.com/openstack/ironic/blob/master/etc/ironic/ironic.conf.sample#L765\n\nand used in the image service: https://github.com/openstack/ironic/blob/d1b586cbf673af3c05257bd16339aadc0f61d7f4/ironic/common/glance_service/v2/image_service.py#L35\n\nSo, we can\u0027t only use Barbican in conjunction with external services, because even if those external services are integrated with Barbican, we\u0027ll need Ironic to be able to look up the credentials so that the services can be kept in sync if a key is rotated, for example.\n\nI\u0027m not sure about the most elegant solution to tell the key manager where to get the config value from Barbican. I updated it with a potential solution (appending an ID to the sentinel) but would welcome another idea. Maybe allowing the sentinel value to be configured would be more flexible, but that could get hard to manage.","commit_id":"88e211dde39098f22fd78c3d62b9738bd4314136"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"080bd6e6f001b686531795997dcbad776f7e6bc7","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://blueprints.launchpad.net/ironic/+spec/barbican-key-mgr"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Ironic will have a generic key manager interface soon, and it would be good to"},{"line_number":16,"context_line":"have multiple implementations of the interface. Integrating with Barbican in"},{"line_number":17,"context_line":"particular helps us meet the goals of secure secret storage and retrieval as"},{"line_number":18,"context_line":"well as keeping us in line with a major OpenStack project."}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_97c2cc83","line":15,"updated":"2015-06-18 21:12:31.000000000","message":"\"Ironic will have\" ? This may be a translation issue, but it reads oddly. A proposal should not state that it assumes itself to be valid.","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"d0a84d1ed8bf007f2bfb2eb733c537c5c69d220f","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"https://blueprints.launchpad.net/ironic/+spec/barbican-key-mgr"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Ironic will have a generic key manager interface soon, and it would be good to"},{"line_number":16,"context_line":"have multiple implementations of the interface. Integrating with Barbican in"},{"line_number":17,"context_line":"particular helps us meet the goals of secure secret storage and retrieval as"},{"line_number":18,"context_line":"well as keeping us in line with a major OpenStack project."}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_97e7c8ab","line":15,"in_reply_to":"fa32b979_97c2cc83","updated":"2015-06-22 18:18:50.000000000","message":"It\u0027s not a translation issue; English is my first language.\n\nI was referring to the spec on which this spec depends (the generic key manager interface and Keystone implementation), not my spec.\n\nI modified this to be a little more clear and assume that the generic key management interface is implemented. Since this spec can\u0027t be merged until the generic key manager interface is approved, I think this is OK. What do you think? If it\u0027s still not OK, what would you like this changed to?","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"080bd6e6f001b686531795997dcbad776f7e6bc7","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":"Currently, secrets like passwords and authentication tokens are stored by"},{"line_number":24,"context_line":"default either statically in configuration files or a node\u0027s driver_info"},{"line_number":25,"context_line":"attribute. This makes it difficult to do things like managing and rotating"},{"line_number":26,"context_line":"secrets. An additional implementation of the generic key manager interface will"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_37bd0002","line":23,"updated":"2015-06-18 21:12:31.000000000","message":"You\u0027re conflating two completely different types of secrets here:\n- access to control plane services (whether mysql/rabbit or nova/glance/cinder) are CONF options\n- access to hardware controlled by ironic is stored in DB","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"d0a84d1ed8bf007f2bfb2eb733c537c5c69d220f","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":"Currently, secrets like passwords and authentication tokens are stored by"},{"line_number":24,"context_line":"default either statically in configuration files or a node\u0027s driver_info"},{"line_number":25,"context_line":"attribute. This makes it difficult to do things like managing and rotating"},{"line_number":26,"context_line":"secrets. An additional implementation of the generic key manager interface will"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_1793b8fb","line":23,"in_reply_to":"fa32b979_37bd0002","updated":"2015-06-22 18:18:50.000000000","message":"I\u0027m updating the spec to remove CONF options and simply be a separate implementation of the proposed key management interface for driver secrets.","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"080bd6e6f001b686531795997dcbad776f7e6bc7","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Currently, secrets like passwords and authentication tokens are stored by"},{"line_number":24,"context_line":"default either statically in configuration files or a node\u0027s driver_info"},{"line_number":25,"context_line":"attribute. This makes it difficult to do things like managing and rotating"},{"line_number":26,"context_line":"secrets. An additional implementation of the generic key manager interface will"},{"line_number":27,"context_line":"solve these problems."},{"line_number":28,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_57b8c410","line":25,"updated":"2015-06-18 21:12:31.000000000","message":"How does this make it difficult?","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"d0a84d1ed8bf007f2bfb2eb733c537c5c69d220f","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"Currently, secrets like passwords and authentication tokens are stored by"},{"line_number":24,"context_line":"default either statically in configuration files or a node\u0027s driver_info"},{"line_number":25,"context_line":"attribute. This makes it difficult to do things like managing and rotating"},{"line_number":26,"context_line":"secrets. An additional implementation of the generic key manager interface will"},{"line_number":27,"context_line":"solve these problems."},{"line_number":28,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_425dfc13","line":25,"in_reply_to":"fa32b979_57b8c410","updated":"2015-06-22 18:18:50.000000000","message":"I rewrote this whole paragraph. I think it\u0027s safer to update credentials in Barbican using its API rather than touching the DB directly.","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"080bd6e6f001b686531795997dcbad776f7e6bc7","unresolved":false,"context_lines":[{"line_number":24,"context_line":"default either statically in configuration files or a node\u0027s driver_info"},{"line_number":25,"context_line":"attribute. This makes it difficult to do things like managing and rotating"},{"line_number":26,"context_line":"secrets. An additional implementation of the generic key manager interface will"},{"line_number":27,"context_line":"solve these problems."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Integrating the generic key manager into Barbican in addition to the Keystone"},{"line_number":30,"context_line":"implementation will allow more flexibility in allowing operators to choose"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_f739d8a4","line":27,"updated":"2015-06-18 21:12:31.000000000","message":"What\u0027s the problem this solves?","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"d0a84d1ed8bf007f2bfb2eb733c537c5c69d220f","unresolved":false,"context_lines":[{"line_number":24,"context_line":"default either statically in configuration files or a node\u0027s driver_info"},{"line_number":25,"context_line":"attribute. This makes it difficult to do things like managing and rotating"},{"line_number":26,"context_line":"secrets. An additional implementation of the generic key manager interface will"},{"line_number":27,"context_line":"solve these problems."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Integrating the generic key manager into Barbican in addition to the Keystone"},{"line_number":30,"context_line":"implementation will allow more flexibility in allowing operators to choose"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_82aa24d1","line":27,"in_reply_to":"fa32b979_f739d8a4","updated":"2015-06-22 18:18:50.000000000","message":"I rewrote this paragraph. I now focus on the limitations of having only one implementation for the key manager instead.","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"841d03fcbfac89515fe71208a352a71772a25eab","unresolved":false,"context_lines":[{"line_number":31,"context_line":"their credentials storage backend. Specifically, Barbican has capabilities that"},{"line_number":32,"context_line":"Keystone does not have, such as integration with HSMs (hardware security"},{"line_number":33,"context_line":"modules), specifying expiration dates for secrets, and specifying various types"},{"line_number":34,"context_line":"of metadata about the secret."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Use cases for deployers of Ironic include managing RabbitMQ passwords, IPMI,"},{"line_number":37,"context_line":"DRAC, and iLO passwords, and many other deployment-specific secrets."}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_d445b26e","line":34,"updated":"2015-06-18 21:03:16.000000000","message":"None of those features are relevant to Ironic\u0027s storage of BMC credentials....","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"d0a84d1ed8bf007f2bfb2eb733c537c5c69d220f","unresolved":false,"context_lines":[{"line_number":31,"context_line":"their credentials storage backend. Specifically, Barbican has capabilities that"},{"line_number":32,"context_line":"Keystone does not have, such as integration with HSMs (hardware security"},{"line_number":33,"context_line":"modules), specifying expiration dates for secrets, and specifying various types"},{"line_number":34,"context_line":"of metadata about the secret."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Use cases for deployers of Ironic include managing RabbitMQ passwords, IPMI,"},{"line_number":37,"context_line":"DRAC, and iLO passwords, and many other deployment-specific secrets."}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_e2e8d018","line":34,"in_reply_to":"fa32b979_d445b26e","updated":"2015-06-22 18:18:50.000000000","message":"I think the ability to store the credentials in an HSM is a useful feature regardless of which type of credential is being stored. Metadata about the secret can be useful in a deployment that has multiple types of BMCs. I described another benefit regarding RBAC below, as well.","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"841d03fcbfac89515fe71208a352a71772a25eab","unresolved":false,"context_lines":[{"line_number":33,"context_line":"modules), specifying expiration dates for secrets, and specifying various types"},{"line_number":34,"context_line":"of metadata about the secret."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Use cases for deployers of Ironic include managing RabbitMQ passwords, IPMI,"},{"line_number":37,"context_line":"DRAC, and iLO passwords, and many other deployment-specific secrets."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_74614604","line":36,"updated":"2015-06-18 21:03:16.000000000","message":"Both the RabbitMQ and the Swift temp url keys are CONF objects. I don\u0027t see any benefit to moving either of these to barbican - and quite the opposite, it is needless complexity, IMO..","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"5723b0edf4a1d291719f1af1cb11f46f180ae3c2","unresolved":false,"context_lines":[{"line_number":33,"context_line":"modules), specifying expiration dates for secrets, and specifying various types"},{"line_number":34,"context_line":"of metadata about the secret."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Use cases for deployers of Ironic include managing RabbitMQ passwords, IPMI,"},{"line_number":37,"context_line":"DRAC, and iLO passwords, and many other deployment-specific secrets."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_206f02fd","line":36,"updated":"2015-06-18 17:37:02.000000000","message":"In case of RabbitMQ, CONF object is passed to oslo_messaging (https://github.com/openstack/ironic/blob/master/ironic/common/config.py#L30 and https://github.com/openstack/ironic/blob/master/ironic/common/rpc.py#L62-L64) and to change credentials you\u0027ll have to change values in global CONF object, is it correct? If so, this may not be a good idea. Maybe instead mention swift_temp_url as it is used by ironic as you mentioned on previous patch set?","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"d0a84d1ed8bf007f2bfb2eb733c537c5c69d220f","unresolved":false,"context_lines":[{"line_number":33,"context_line":"modules), specifying expiration dates for secrets, and specifying various types"},{"line_number":34,"context_line":"of metadata about the secret."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Use cases for deployers of Ironic include managing RabbitMQ passwords, IPMI,"},{"line_number":37,"context_line":"DRAC, and iLO passwords, and many other deployment-specific secrets."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_a2408808","line":36,"in_reply_to":"fa32b979_74614604","updated":"2015-06-22 18:18:50.000000000","message":"I agree. I\u0027m modifying the spec to be specific to hardware credentials and ignore configuration file management.","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"080bd6e6f001b686531795997dcbad776f7e6bc7","unresolved":false,"context_lines":[{"line_number":34,"context_line":"of metadata about the secret."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Use cases for deployers of Ironic include managing RabbitMQ passwords, IPMI,"},{"line_number":37,"context_line":"DRAC, and iLO passwords, and many other deployment-specific secrets."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_173d5c8e","line":37,"updated":"2015-06-18 21:12:31.000000000","message":"Again, you\u0027ve conflated two radically different types of data -- CONF settings and hardware credentials.","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"d0a84d1ed8bf007f2bfb2eb733c537c5c69d220f","unresolved":false,"context_lines":[{"line_number":34,"context_line":"of metadata about the secret."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Use cases for deployers of Ironic include managing RabbitMQ passwords, IPMI,"},{"line_number":37,"context_line":"DRAC, and iLO passwords, and many other deployment-specific secrets."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_d240fb09","line":37,"in_reply_to":"fa32b979_173d5c8e","updated":"2015-06-22 18:18:50.000000000","message":"I agree. I modified the spec to focus on hardware credentials.","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"841d03fcbfac89515fe71208a352a71772a25eab","unresolved":false,"context_lines":[{"line_number":119,"context_line":"cryptographic discoveries or security compromises. For example, if a particular"},{"line_number":120,"context_line":"cryptographic algorithm is known to be unacceptably vulnerable in the future,"},{"line_number":121,"context_line":"or if an attacker gains access to credentials used in Ironic,"},{"line_number":122,"context_line":"it will be easier to update the secret in Barbican than modify and deploy"},{"line_number":123,"context_line":"configuration changes across a large Ironic deployment."},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"This change would make deployments that choose to use Barbican dependent on the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_945c0a4c","line":122,"updated":"2015-06-18 21:03:16.000000000","message":"Changing a CONF option across a fleet is a very well known and understood problem -- folks have been orchestrating configuratoin changes for decades. Barbican is not solving this; Ironic still needs CONF options!","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"d0a84d1ed8bf007f2bfb2eb733c537c5c69d220f","unresolved":false,"context_lines":[{"line_number":119,"context_line":"cryptographic discoveries or security compromises. For example, if a particular"},{"line_number":120,"context_line":"cryptographic algorithm is known to be unacceptably vulnerable in the future,"},{"line_number":121,"context_line":"or if an attacker gains access to credentials used in Ironic,"},{"line_number":122,"context_line":"it will be easier to update the secret in Barbican than modify and deploy"},{"line_number":123,"context_line":"configuration changes across a large Ironic deployment."},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"This change would make deployments that choose to use Barbican dependent on the"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_12a183a9","line":122,"in_reply_to":"fa32b979_945c0a4c","updated":"2015-06-22 18:18:50.000000000","message":"Agreed, fixed.","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"841d03fcbfac89515fe71208a352a71772a25eab","unresolved":false,"context_lines":[{"line_number":123,"context_line":"configuration changes across a large Ironic deployment."},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"This change would make deployments that choose to use Barbican dependent on the"},{"line_number":126,"context_line":"security of Barbican for the secrets that are stored there."},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"It would be interesting in the future to be able to search for secrets by"},{"line_number":129,"context_line":"metadata about the secret like the cryptographic algorithm or length used, but"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_34573e27","line":126,"updated":"2015-06-18 21:03:16.000000000","message":"Please give some (more) concrete examples of the secrets that would be moved to Barbican and how that would benefit Ironic.","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"d0a84d1ed8bf007f2bfb2eb733c537c5c69d220f","unresolved":false,"context_lines":[{"line_number":123,"context_line":"configuration changes across a large Ironic deployment."},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"This change would make deployments that choose to use Barbican dependent on the"},{"line_number":126,"context_line":"security of Barbican for the secrets that are stored there."},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"It would be interesting in the future to be able to search for secrets by"},{"line_number":129,"context_line":"metadata about the secret like the cryptographic algorithm or length used, but"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_d2aa3b85","line":126,"in_reply_to":"fa32b979_34573e27","updated":"2015-06-22 18:18:50.000000000","message":"I added another benefit in the problem description section. Would you like me to add that here as well?","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"5723b0edf4a1d291719f1af1cb11f46f180ae3c2","unresolved":false,"context_lines":[{"line_number":161,"context_line":""},{"line_number":162,"context_line":"The sentinel value will be followed by an ID that can be used for retrieving"},{"line_number":163,"context_line":"the secret from Barbican. For example, one implementation can use the sentinel"},{"line_number":164,"context_line":"value BARBICAN_\u003ckey_id\u003e. When reading the config value, the value would be"},{"line_number":165,"context_line":"checked for the sentinel prefix. If the sentinel prefix exists, the secret will"},{"line_number":166,"context_line":"be pulled from Barbican using the key manager."},{"line_number":167,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_40e006cd","line":164,"updated":"2015-06-18 17:37:02.000000000","message":"What about using whole http link as the value for these config options? You could check that this link corresponds to storage endpoint from config file and if so download it from there?","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"},{"author":{"_account_id":13295,"name":"Mario Villaplana","email":"mario.villaplana@gmail.com","username":"mariojv"},"change_message_id":"d0a84d1ed8bf007f2bfb2eb733c537c5c69d220f","unresolved":false,"context_lines":[{"line_number":161,"context_line":""},{"line_number":162,"context_line":"The sentinel value will be followed by an ID that can be used for retrieving"},{"line_number":163,"context_line":"the secret from Barbican. For example, one implementation can use the sentinel"},{"line_number":164,"context_line":"value BARBICAN_\u003ckey_id\u003e. When reading the config value, the value would be"},{"line_number":165,"context_line":"checked for the sentinel prefix. If the sentinel prefix exists, the secret will"},{"line_number":166,"context_line":"be pulled from Barbican using the key manager."},{"line_number":167,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_c508332b","line":164,"in_reply_to":"fa32b979_40e006cd","updated":"2015-06-22 18:18:50.000000000","message":"I took Devananda\u0027s suggestion and removed the ability to store static configuration values in Barbican. That is probably better performed by other configuration management tools.","commit_id":"e808a6a964e3b8d53b2b320bc089acf982d00a80"}]}
