)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9453,"name":"James Polley","email":"jp@jamezpolley.com","username":"tchaypo"},"change_message_id":"f4ba7e80c30b09f31b87ee9bdd4503a9a781697b","unresolved":false,"context_lines":[{"line_number":9,"context_line":"This spec details adding a local datasource collector to"},{"line_number":10,"context_line":"os-collect-config. The collector will collect configuration data from"},{"line_number":11,"context_line":"well known directories, allowing multiple elements to install and apply"},{"line_number":12,"context_line":"configuration data to an instance in the same image build."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I221a38dff2064ff0df0628140d80498949c6d16d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"baada198_4470a440","line":12,"updated":"2014-07-22 14:14:03.000000000","message":"*pedantry*\n\nThis message details what the change intends to do, but not what the original problem was. I\u0027d like to see a sentence or two explaining what we currently can\u0027t do.\n\nI wouldn\u0027t block the spec on this - but if there\u0027s a new revision I\u0027d like to see it added.","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"44f8771353ebe8862a15778edfbf5d94144034cc","unresolved":false,"context_lines":[{"line_number":9,"context_line":"This spec details adding a local datasource collector to"},{"line_number":10,"context_line":"os-collect-config. The collector will collect configuration data from"},{"line_number":11,"context_line":"well known directories, allowing multiple elements to install and apply"},{"line_number":12,"context_line":"configuration data to an instance in the same image build."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I221a38dff2064ff0df0628140d80498949c6d16d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"baada198_c79cb311","line":12,"in_reply_to":"baada198_4470a440","updated":"2014-07-22 16:23:10.000000000","message":"Done","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"}],"specs/juno/tripleo-juno-occ-localdatasource.rst":[{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"2121c60bddf26c618f0cd852fcd18a39691d890d","unresolved":false,"context_lines":[{"line_number":12,"context_line":"https://blueprints.launchpad.net/tripleo-juno-occ-local-datasource"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"os-collect-config needs a local data source collector for configuration data."},{"line_number":15,"context_line":"This will allow individual elements to drop files into a will known location to"},{"line_number":16,"context_line":"set the initial configuration data of an instance."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"There is already a heat_local collector, but that uses a single hardcoded path"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1ae5cdf2_1c93f65c","line":15,"updated":"2014-06-25 21:10:40.000000000","message":"*well-known","commit_id":"03de8c2e38814a0e0add853f29dc5cf8e1577df7"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"de6e64eec9174c5b6e16697324e7e04b615d4ce1","unresolved":false,"context_lines":[{"line_number":12,"context_line":"https://blueprints.launchpad.net/tripleo-juno-occ-local-datasource"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"os-collect-config needs a local data source collector for configuration data."},{"line_number":15,"context_line":"This will allow individual elements to drop files into a will known location to"},{"line_number":16,"context_line":"set the initial configuration data of an instance."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"There is already a heat_local collector, but that uses a single hardcoded path"}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_91262acd","line":15,"in_reply_to":"1ae5cdf2_1c93f65c","updated":"2014-07-02 19:39:57.000000000","message":"Done","commit_id":"03de8c2e38814a0e0add853f29dc5cf8e1577df7"},{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"a38b9ba2a553e61205e66a26c93515b44628787b","unresolved":false,"context_lines":[{"line_number":24,"context_line":"* Individual elements can not influence the configuration available to"},{"line_number":25,"context_line":"  os-apply-config for an instance without overwriting each other currently."},{"line_number":26,"context_line":"* An initial use case is the ability of different element to a define a"},{"line_number":27,"context_line":"  different value for /mnt/state."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Proposed Change"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1ae5cdf2_cf91b153","line":27,"updated":"2014-06-19 00:51:35.000000000","message":"Mmmm, since that spec is still up in the air, how about we pick something like e.g. \u0027dynamically sizing mysql settings based on machine resources\u0027 which I think is also valid. Tied into that, I think we should consider how local code might run to populate local data sources at runtime (e.g. for that mysql issue).","commit_id":"03de8c2e38814a0e0add853f29dc5cf8e1577df7"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"11589fa615c00d4fa415dc77026b08e9e39d01de","unresolved":false,"context_lines":[{"line_number":24,"context_line":"* Individual elements can not influence the configuration available to"},{"line_number":25,"context_line":"  os-apply-config for an instance without overwriting each other currently."},{"line_number":26,"context_line":"* An initial use case is the ability of different element to a define a"},{"line_number":27,"context_line":"  different value for /mnt/state."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Proposed Change"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1ae5cdf2_7b9f2402","line":27,"in_reply_to":"1ae5cdf2_cf91b153","updated":"2014-06-22 21:01:15.000000000","message":"I wonder if we should also use this system for cases like https://review.openstack.org/#/c/101305/ ? Basically, where we have values which we can configure via o-c-c but do not need to be cluster-aware, so we have been making one-off scripts.","commit_id":"03de8c2e38814a0e0add853f29dc5cf8e1577df7"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"de6e64eec9174c5b6e16697324e7e04b615d4ce1","unresolved":false,"context_lines":[{"line_number":24,"context_line":"* Individual elements can not influence the configuration available to"},{"line_number":25,"context_line":"  os-apply-config for an instance without overwriting each other currently."},{"line_number":26,"context_line":"* An initial use case is the ability of different element to a define a"},{"line_number":27,"context_line":"  different value for /mnt/state."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Proposed Change"}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_7140b656","line":27,"in_reply_to":"1ae5cdf2_cf91b153","updated":"2014-07-02 19:39:57.000000000","message":"heh, so i filed this b/c you said that the /mnt/state change i\u0027m proposing was a use case. and this spec is therefore a requirement for the /mnt/state one.\n\nAnd, progress on the /mnt/state spec is blocking on *you*. it\u0027s \"up in the air\" b/c you won\u0027t review it.\n\nif there are other use cases, please file specs for those, and I can add them here. i don\u0027t understand how \"dynamically sizing mysql settings based on machine resources\" is directly related here, so i\u0027d love to see some more details about that in a spec.","commit_id":"03de8c2e38814a0e0add853f29dc5cf8e1577df7"},{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"a38b9ba2a553e61205e66a26c93515b44628787b","unresolved":false,"context_lines":[{"line_number":33,"context_line":"A new collector class will be added to os-collect-config that collects"},{"line_number":34,"context_line":"configuration data from json files in a well known list of directories. The"},{"line_number":35,"context_line":"list of directories will be configurable, but will default to a 1 item list of"},{"line_number":36,"context_line":"/var/lib/os-collect-config-local-data."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The collect method of this class will examine each json file in each directory"},{"line_number":39,"context_line":"and return the merged collected configuration data."}],"source_content_type":"text/x-rst","patch_set":2,"id":"1ae5cdf2_ef9aed6d","line":36,"updated":"2014-06-19 00:51:35.000000000","message":"I think /var/lib/os-collect-config/local-data/ is more FHS following.","commit_id":"03de8c2e38814a0e0add853f29dc5cf8e1577df7"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"de6e64eec9174c5b6e16697324e7e04b615d4ce1","unresolved":false,"context_lines":[{"line_number":33,"context_line":"A new collector class will be added to os-collect-config that collects"},{"line_number":34,"context_line":"configuration data from json files in a well known list of directories. The"},{"line_number":35,"context_line":"list of directories will be configurable, but will default to a 1 item list of"},{"line_number":36,"context_line":"/var/lib/os-collect-config-local-data."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The collect method of this class will examine each json file in each directory"},{"line_number":39,"context_line":"and return the merged collected configuration data."}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_f12be691","line":36,"in_reply_to":"1ae5cdf2_ef9aed6d","updated":"2014-07-02 19:39:57.000000000","message":"Done","commit_id":"03de8c2e38814a0e0add853f29dc5cf8e1577df7"},{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"a38b9ba2a553e61205e66a26c93515b44628787b","unresolved":false,"context_lines":[{"line_number":36,"context_line":"/var/lib/os-collect-config-local-data."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The collect method of this class will examine each json file in each directory"},{"line_number":39,"context_line":"and return the merged collected configuration data."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"When multiple files provide the same configuration key, if the they are in the"},{"line_number":42,"context_line":"same directory, files are sorted alphabetically and later files will override"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1ae5cdf2_0f98f973","line":39,"updated":"2014-06-19 00:51:35.000000000","message":"Is this needed? OCC already understands one collector returns many configs; just return many configs.","commit_id":"03de8c2e38814a0e0add853f29dc5cf8e1577df7"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"de6e64eec9174c5b6e16697324e7e04b615d4ce1","unresolved":false,"context_lines":[{"line_number":36,"context_line":"/var/lib/os-collect-config-local-data."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The collect method of this class will examine each json file in each directory"},{"line_number":39,"context_line":"and return the merged collected configuration data."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"When multiple files provide the same configuration key, if the they are in the"},{"line_number":42,"context_line":"same directory, files are sorted alphabetically and later files will override"}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_a31e8561","line":39,"in_reply_to":"1ae5cdf2_0f98f973","updated":"2014-07-02 19:39:57.000000000","message":"good point, i don\u0027t believe so","commit_id":"03de8c2e38814a0e0add853f29dc5cf8e1577df7"},{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"a38b9ba2a553e61205e66a26c93515b44628787b","unresolved":false,"context_lines":[{"line_number":42,"context_line":"same directory, files are sorted alphabetically and later files will override"},{"line_number":43,"context_line":"earlier files.  If the files are not in the same directory, files from later"},{"line_number":44,"context_line":"directories in the configured list will override shared configuration keys from"},{"line_number":45,"context_line":"files in earlier directories."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"This new collector will be configured first in DEFAULT_COLLECTORS in"},{"line_number":48,"context_line":"os-collect-config. This means all later configured collectors will override any"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1ae5cdf2_2f885521","line":45,"updated":"2014-06-19 00:51:35.000000000","message":"This is needed, but I think there is a layering issue - so it should just define the order separate JSON files are returned. Also since alpha is locale specific lets specify C collation order.","commit_id":"03de8c2e38814a0e0add853f29dc5cf8e1577df7"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"de6e64eec9174c5b6e16697324e7e04b615d4ce1","unresolved":false,"context_lines":[{"line_number":42,"context_line":"same directory, files are sorted alphabetically and later files will override"},{"line_number":43,"context_line":"earlier files.  If the files are not in the same directory, files from later"},{"line_number":44,"context_line":"directories in the configured list will override shared configuration keys from"},{"line_number":45,"context_line":"files in earlier directories."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"This new collector will be configured first in DEFAULT_COLLECTORS in"},{"line_number":48,"context_line":"os-collect-config. This means all later configured collectors will override any"}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_432be92f","line":45,"in_reply_to":"1ae5cdf2_2f885521","updated":"2014-07-02 19:39:57.000000000","message":"updated to address","commit_id":"03de8c2e38814a0e0add853f29dc5cf8e1577df7"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"2121c60bddf26c618f0cd852fcd18a39691d890d","unresolved":false,"context_lines":[{"line_number":113,"context_line":"-----------"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"Primary assignee:"},{"line_number":116,"context_line":"    james.slagle@gmail.com"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"Work Items"},{"line_number":119,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1ae5cdf2_fc5baa83","line":116,"updated":"2014-06-25 21:10:40.000000000","message":"Any reason this is not a launchpad id?","commit_id":"03de8c2e38814a0e0add853f29dc5cf8e1577df7"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"de6e64eec9174c5b6e16697324e7e04b615d4ce1","unresolved":false,"context_lines":[{"line_number":113,"context_line":"-----------"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"Primary assignee:"},{"line_number":116,"context_line":"    james.slagle@gmail.com"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"Work Items"},{"line_number":119,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_e3d4fd21","line":116,"in_reply_to":"1ae5cdf2_fc5baa83","updated":"2014-07-02 19:39:57.000000000","message":"yes, b/c i can never remember what my actual launchpad is...but apparently it is \"james-slagle\"","commit_id":"03de8c2e38814a0e0add853f29dc5cf8e1577df7"},{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"063644acf3fab89654ebea0b24abd53a1b7676c5","unresolved":false,"context_lines":[{"line_number":76,"context_line":"* Harmful elements could drop bad configuration data into the well known"},{"line_number":77,"context_line":"  location. This is mitigated somewhat by the fact that we already claim that"},{"line_number":78,"context_line":"  our inputs are trusted. As a deployer, you should know and trust what"},{"line_number":79,"context_line":"  elements you\u0027re using."},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"Other End User Impact"},{"line_number":82,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_12d5b542","line":79,"updated":"2014-07-02 22:14:41.000000000","message":"We don\u0027t fully trust those inputs. That is why we have --type for os-apply-config. We fully expect some compromised machine to try and inject \"BOBBY; rm -rf /\" into metadata via signals.\n\nWe do however need to trust that it came from an intended source, but we remain suspicious about the content.\n\nI think what we need to state here is that extra care must be taken to validate the permissions on the local data files. We should verify that it is not world writable, and that it is in a directory that is root owned.","commit_id":"580dd5c28c53fcf6c74cd17efe5a98c260d26223"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"e8357cd761be8652043766a70897821c11d05dff","unresolved":false,"context_lines":[{"line_number":76,"context_line":"* Harmful elements could drop bad configuration data into the well known"},{"line_number":77,"context_line":"  location. This is mitigated somewhat by the fact that we already claim that"},{"line_number":78,"context_line":"  our inputs are trusted. As a deployer, you should know and trust what"},{"line_number":79,"context_line":"  elements you\u0027re using."},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"Other End User Impact"},{"line_number":82,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_49c67f9b","line":79,"in_reply_to":"baada198_12d5b542","updated":"2014-07-03 18:13:38.000000000","message":"k, mentioned that there, and added new work items to add the checks.","commit_id":"580dd5c28c53fcf6c74cd17efe5a98c260d26223"},{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"063644acf3fab89654ebea0b24abd53a1b7676c5","unresolved":false,"context_lines":[{"line_number":86,"context_line":"Performance Impact"},{"line_number":87,"context_line":"------------------"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"An additional collector will be running as part of os-collect-config, but it\u0027s"},{"line_number":90,"context_line":"execution time should be minimal."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"Other Deployer Impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_72b1918e","line":89,"updated":"2014-07-02 22:14:41.000000000","message":"s/it\u0027s/its/","commit_id":"580dd5c28c53fcf6c74cd17efe5a98c260d26223"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"e8357cd761be8652043766a70897821c11d05dff","unresolved":false,"context_lines":[{"line_number":86,"context_line":"Performance Impact"},{"line_number":87,"context_line":"------------------"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"An additional collector will be running as part of os-collect-config, but it\u0027s"},{"line_number":90,"context_line":"execution time should be minimal."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"Other Deployer Impact"}],"source_content_type":"text/x-rst","patch_set":3,"id":"baada198_494d9f3d","line":89,"in_reply_to":"baada198_72b1918e","updated":"2014-07-03 18:13:38.000000000","message":"Done","commit_id":"580dd5c28c53fcf6c74cd17efe5a98c260d26223"},{"author":{"_account_id":9453,"name":"James Polley","email":"jp@jamezpolley.com","username":"tchaypo"},"change_message_id":"f4ba7e80c30b09f31b87ee9bdd4503a9a781697b","unresolved":false,"context_lines":[{"line_number":11,"context_line":""},{"line_number":12,"context_line":"https://blueprints.launchpad.net/tripleo-juno-occ-local-datasource"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"os-collect-config needs a local data source collector for configuration data."},{"line_number":15,"context_line":"This will allow individual elements to drop files into a well-known location to"},{"line_number":16,"context_line":"set the initial configuration data of an instance."},{"line_number":17,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_648cc82f","line":14,"updated":"2014-07-22 14:14:03.000000000","message":"*nit* Why does it need this? I\u0027d like to see some explanation of what is being blocked by not having this.","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"44f8771353ebe8862a15778edfbf5d94144034cc","unresolved":false,"context_lines":[{"line_number":11,"context_line":""},{"line_number":12,"context_line":"https://blueprints.launchpad.net/tripleo-juno-occ-local-datasource"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"os-collect-config needs a local data source collector for configuration data."},{"line_number":15,"context_line":"This will allow individual elements to drop files into a well-known location to"},{"line_number":16,"context_line":"set the initial configuration data of an instance."},{"line_number":17,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_a5917748","line":14,"in_reply_to":"baada198_648cc82f","updated":"2014-07-22 16:23:10.000000000","message":"i added some general use cases in the problem description. a specific use case is to make the /mnt/state path configurable, and that\u0027s listed as depending on this spec being implemented.","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":9453,"name":"James Polley","email":"jp@jamezpolley.com","username":"tchaypo"},"change_message_id":"143a53cf7ef61e88459d2776f5c29123709b1a20","unresolved":false,"context_lines":[{"line_number":11,"context_line":""},{"line_number":12,"context_line":"https://blueprints.launchpad.net/tripleo-juno-occ-local-datasource"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"os-collect-config needs a local data source collector for configuration data."},{"line_number":15,"context_line":"This will allow individual elements to drop files into a well-known location to"},{"line_number":16,"context_line":"set the initial configuration data of an instance."},{"line_number":17,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_c92e7dab","line":14,"in_reply_to":"baada198_a5917748","updated":"2014-07-22 18:46:17.000000000","message":"+1","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"674ff446212f012d57dff2e105f0d070cfe79ab6","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"* Individual elements can not influence the configuration available to"},{"line_number":25,"context_line":"  os-apply-config for an instance without overwriting each other currently."},{"line_number":26,"context_line":"* An initial use case is the ability of different element to a define a"},{"line_number":27,"context_line":"  different value for /mnt/state."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_0d1c1713","line":26,"updated":"2014-07-08 17:50:29.000000000","message":"Different to which element?\n\nAlso, your determiners (\u0027a\u0027s) are squiffy","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"53b937fc234800b6a482842a4b403ca5bf357d15","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"* Individual elements can not influence the configuration available to"},{"line_number":25,"context_line":"  os-apply-config for an instance without overwriting each other currently."},{"line_number":26,"context_line":"* An initial use case is the ability of different element to a define a"},{"line_number":27,"context_line":"  different value for /mnt/state."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_3c78672a","line":26,"in_reply_to":"baada198_0d1c1713","updated":"2014-07-21 18:15:18.000000000","message":"should have been \"elements\", but i just went ahead and removed the line.","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":9453,"name":"James Polley","email":"jp@jamezpolley.com","username":"tchaypo"},"change_message_id":"f4ba7e80c30b09f31b87ee9bdd4503a9a781697b","unresolved":false,"context_lines":[{"line_number":24,"context_line":"* Individual elements can not influence the configuration available to"},{"line_number":25,"context_line":"  os-apply-config for an instance without overwriting each other currently."},{"line_number":26,"context_line":"* An initial use case is the ability of different element to a define a"},{"line_number":27,"context_line":"  different value for /mnt/state."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Proposed Change"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_8491dc48","line":27,"updated":"2014-07-22 14:14:03.000000000","message":"Not clear what you mean by this - /mnt/state is a string, it\u0027s always going to be /mnt/state. I\u0027m guessing you either mean \"set the target for the bind mount at /mnt/state\" or \"set the path for the persistent storage directory to be something other than /mnt/state\"","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"44f8771353ebe8862a15778edfbf5d94144034cc","unresolved":false,"context_lines":[{"line_number":24,"context_line":"* Individual elements can not influence the configuration available to"},{"line_number":25,"context_line":"  os-apply-config for an instance without overwriting each other currently."},{"line_number":26,"context_line":"* An initial use case is the ability of different element to a define a"},{"line_number":27,"context_line":"  different value for /mnt/state."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Proposed Change"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_85b393eb","line":27,"in_reply_to":"baada198_8491dc48","updated":"2014-07-22 16:23:10.000000000","message":"i\u0027ve actually removed this bullet item here based on earlier feedback","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"674ff446212f012d57dff2e105f0d070cfe79ab6","unresolved":false,"context_lines":[{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"A new collector class will be added to os-collect-config that collects"},{"line_number":34,"context_line":"configuration data from json files in a well known list of directories. The"},{"line_number":35,"context_line":"list of directories will be configurable, but will default to a 1 item list of"},{"line_number":36,"context_line":"/var/lib/os-collect-config/local-data."},{"line_number":37,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_6da033a6","line":34,"updated":"2014-07-08 17:50:29.000000000","message":"JSON\n\nWhat do you mean by well-known, especially in the context of the list being configurable? Seems to be a contradiction in terms.","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"6a59364be7a8ce0dc2d1e74fe96c1e20087d330c","unresolved":false,"context_lines":[{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"A new collector class will be added to os-collect-config that collects"},{"line_number":34,"context_line":"configuration data from json files in a well known list of directories. The"},{"line_number":35,"context_line":"list of directories will be configurable, but will default to a 1 item list of"},{"line_number":36,"context_line":"/var/lib/os-collect-config/local-data."},{"line_number":37,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_a2fc3b73","line":34,"in_reply_to":"baada198_4601baad","updated":"2014-07-15 09:41:23.000000000","message":"I wasn\u0027t very clear. This is a nit, it should say \"in a configurable list of directories with a well-known default of /var/lib/...\". Something cannot both be well-known and configurable, but a configurable thing can have a well-known default.","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"dc5491cae3b0c47f5183ca9d42ca6d5ea794b5de","unresolved":false,"context_lines":[{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"A new collector class will be added to os-collect-config that collects"},{"line_number":34,"context_line":"configuration data from json files in a well known list of directories. The"},{"line_number":35,"context_line":"list of directories will be configurable, but will default to a 1 item list of"},{"line_number":36,"context_line":"/var/lib/os-collect-config/local-data."},{"line_number":37,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_4601baad","line":34,"in_reply_to":"baada198_6da033a6","updated":"2014-07-15 04:48:43.000000000","message":"Well known locations are the defaults. Right now we have heat_local which checks /var/lib/heat-cfntools/cfn-init-data. We\u0027d have something more like /var/lib/os-collect-config/local-data.","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"53b937fc234800b6a482842a4b403ca5bf357d15","unresolved":false,"context_lines":[{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"A new collector class will be added to os-collect-config that collects"},{"line_number":34,"context_line":"configuration data from json files in a well known list of directories. The"},{"line_number":35,"context_line":"list of directories will be configurable, but will default to a 1 item list of"},{"line_number":36,"context_line":"/var/lib/os-collect-config/local-data."},{"line_number":37,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_dce4cbe1","line":34,"in_reply_to":"baada198_a2fc3b73","updated":"2014-07-21 18:15:18.000000000","message":"Done","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"674ff446212f012d57dff2e105f0d070cfe79ab6","unresolved":false,"context_lines":[{"line_number":33,"context_line":"A new collector class will be added to os-collect-config that collects"},{"line_number":34,"context_line":"configuration data from json files in a well known list of directories. The"},{"line_number":35,"context_line":"list of directories will be configurable, but will default to a 1 item list of"},{"line_number":36,"context_line":"/var/lib/os-collect-config/local-data."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The collector will return a list of pairs of json files and their content,"},{"line_number":39,"context_line":"sorted in by the json filename in traditional C collation.  For example if"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_0d3b3739","line":36,"updated":"2014-07-08 17:50:29.000000000","message":"What DIB support will be offered for writing JSON here?","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"dc5491cae3b0c47f5183ca9d42ca6d5ea794b5de","unresolved":false,"context_lines":[{"line_number":33,"context_line":"A new collector class will be added to os-collect-config that collects"},{"line_number":34,"context_line":"configuration data from json files in a well known list of directories. The"},{"line_number":35,"context_line":"list of directories will be configurable, but will default to a 1 item list of"},{"line_number":36,"context_line":"/var/lib/os-collect-config/local-data."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The collector will return a list of pairs of json files and their content,"},{"line_number":39,"context_line":"sorted in by the json filename in traditional C collation.  For example if"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_c624ea61","line":36,"in_reply_to":"baada198_0d3b3739","updated":"2014-07-15 04:48:43.000000000","message":"DIB changes are sugar, and just a tiny bit out of scope for this spec IMO.","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"6a59364be7a8ce0dc2d1e74fe96c1e20087d330c","unresolved":false,"context_lines":[{"line_number":33,"context_line":"A new collector class will be added to os-collect-config that collects"},{"line_number":34,"context_line":"configuration data from json files in a well known list of directories. The"},{"line_number":35,"context_line":"list of directories will be configurable, but will default to a 1 item list of"},{"line_number":36,"context_line":"/var/lib/os-collect-config/local-data."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The collector will return a list of pairs of json files and their content,"},{"line_number":39,"context_line":"sorted in by the json filename in traditional C collation.  For example if"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_1d49c85f","line":36,"in_reply_to":"baada198_c624ea61","updated":"2014-07-15 09:41:23.000000000","message":"OK","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"674ff446212f012d57dff2e105f0d070cfe79ab6","unresolved":false,"context_lines":[{"line_number":36,"context_line":"/var/lib/os-collect-config/local-data."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The collector will return a list of pairs of json files and their content,"},{"line_number":39,"context_line":"sorted in by the json filename in traditional C collation.  For example if"},{"line_number":40,"context_line":"/var/lib/os-collect-config/local-data contains bar.json and foo.json:"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    [ (\u0027bar.json\u0027, bar_content),"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_eda1a396","line":39,"updated":"2014-07-08 17:50:29.000000000","message":"lexically? IE 9-boo \u003e 10-boo ?\n\nComma after \"for example\".","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"7b360fdd0c28ab893c7d688168c58f3f2678d85e","unresolved":false,"context_lines":[{"line_number":36,"context_line":"/var/lib/os-collect-config/local-data."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The collector will return a list of pairs of json files and their content,"},{"line_number":39,"context_line":"sorted in by the json filename in traditional C collation.  For example if"},{"line_number":40,"context_line":"/var/lib/os-collect-config/local-data contains bar.json and foo.json:"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    [ (\u0027bar.json\u0027, bar_content),"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_9864f5e7","line":39,"in_reply_to":"baada198_dc320b5d","updated":"2014-07-22 08:27:32.000000000","message":"Right, missed C collation somehow. That\u0027s precise.\n\nI\u0027m a bit unsure on the precise meaning, but aiui alphabetical is undefined on numbers whereas lexical means 12 \u003c 2 (because characters are compared left to right).","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"53b937fc234800b6a482842a4b403ca5bf357d15","unresolved":false,"context_lines":[{"line_number":36,"context_line":"/var/lib/os-collect-config/local-data."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"The collector will return a list of pairs of json files and their content,"},{"line_number":39,"context_line":"sorted in by the json filename in traditional C collation.  For example if"},{"line_number":40,"context_line":"/var/lib/os-collect-config/local-data contains bar.json and foo.json:"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    [ (\u0027bar.json\u0027, bar_content),"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_dc320b5d","line":39,"in_reply_to":"baada198_eda1a396","updated":"2014-07-21 18:15:18.000000000","message":"i was asked in a previous iteration to specify C collation. I had said alphabetically before, which is what I you mean by lexically?","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":9453,"name":"James Polley","email":"jp@jamezpolley.com","username":"tchaypo"},"change_message_id":"f4ba7e80c30b09f31b87ee9bdd4503a9a781697b","unresolved":false,"context_lines":[{"line_number":40,"context_line":"/var/lib/os-collect-config/local-data contains bar.json and foo.json:"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    [ (\u0027bar.json\u0027, bar_content),"},{"line_number":43,"context_line":"      (\u0027foo.json\u0027, foo_content) ]"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"This new collector will be configured first in DEFAULT_COLLECTORS in"},{"line_number":46,"context_line":"os-collect-config. This means all later configured collectors will override any"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_a496e03c","line":43,"updated":"2014-07-22 14:14:03.000000000","message":"*nit* I have a very weak preference for making this a mapping ( [ {filename: \u0027bar.json\u0027. content: \u0027blah\u0027}, ...) rather than a list, purely to avoid having to avoid having to guess which item is the filename and which is the content.\n\nIt\u0027s a very weak preference though, I wouldn\u0027t block on this unless other people have the same preference.","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"44f8771353ebe8862a15778edfbf5d94144034cc","unresolved":false,"context_lines":[{"line_number":40,"context_line":"/var/lib/os-collect-config/local-data contains bar.json and foo.json:"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    [ (\u0027bar.json\u0027, bar_content),"},{"line_number":43,"context_line":"      (\u0027foo.json\u0027, foo_content) ]"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"This new collector will be configured first in DEFAULT_COLLECTORS in"},{"line_number":46,"context_line":"os-collect-config. This means all later configured collectors will override any"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_a506d783","line":43,"in_reply_to":"baada198_a496e03c","updated":"2014-07-22 16:23:10.000000000","message":"what\u0027s shown here matches the existing interface for what collector classes return in os-collect-config. i don\u0027t see a need to change that.","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":9453,"name":"James Polley","email":"jp@jamezpolley.com","username":"tchaypo"},"change_message_id":"143a53cf7ef61e88459d2776f5c29123709b1a20","unresolved":false,"context_lines":[{"line_number":40,"context_line":"/var/lib/os-collect-config/local-data contains bar.json and foo.json:"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    [ (\u0027bar.json\u0027, bar_content),"},{"line_number":43,"context_line":"      (\u0027foo.json\u0027, foo_content) ]"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"This new collector will be configured first in DEFAULT_COLLECTORS in"},{"line_number":46,"context_line":"os-collect-config. This means all later configured collectors will override any"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_c9159d4d","line":43,"in_reply_to":"baada198_a506d783","updated":"2014-07-22 18:46:17.000000000","message":"I can live with that :)","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"674ff446212f012d57dff2e105f0d070cfe79ab6","unresolved":false,"context_lines":[{"line_number":57,"context_line":"have to be prefaced with setting OS_CONFIG_FILES, or it would need to be set"},{"line_number":58,"context_line":"globally in the environment (via an environment.d script for instance). As an"},{"line_number":59,"context_line":"element developer, this is not clear. Having a robust and clear documented"},{"line_number":60,"context_line":"location to drop configuration data will be simpler."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"heat_local collector"},{"line_number":63,"context_line":"^^^^^^^^^^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_2d1f1bb9","line":60,"updated":"2014-07-08 17:50:29.000000000","message":"drop in ?","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"53b937fc234800b6a482842a4b403ca5bf357d15","unresolved":false,"context_lines":[{"line_number":57,"context_line":"have to be prefaced with setting OS_CONFIG_FILES, or it would need to be set"},{"line_number":58,"context_line":"globally in the environment (via an environment.d script for instance). As an"},{"line_number":59,"context_line":"element developer, this is not clear. Having a robust and clear documented"},{"line_number":60,"context_line":"location to drop configuration data will be simpler."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"heat_local collector"},{"line_number":63,"context_line":"^^^^^^^^^^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_5c743bfd","line":60,"in_reply_to":"baada198_2d1f1bb9","updated":"2014-07-21 18:15:18.000000000","message":"Done","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":9453,"name":"James Polley","email":"jp@jamezpolley.com","username":"tchaypo"},"change_message_id":"f4ba7e80c30b09f31b87ee9bdd4503a9a781697b","unresolved":false,"context_lines":[{"line_number":75,"context_line":""},{"line_number":76,"context_line":"* Harmful elements could drop bad configuration data into the well known"},{"line_number":77,"context_line":"  location. This is mitigated somewhat that as a deployer, you should know and"},{"line_number":78,"context_line":"  validate what elements you\u0027re using that may inject local configuration."},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"* We should verify that the local data source files are not world writable and"},{"line_number":81,"context_line":"  are in a directory that is root owned. Checks to dib-lint could be added to"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_c49bd464","line":78,"updated":"2014-07-22 14:14:03.000000000","message":"Not just harmful *elements*; any user of the machine with sufficient access could drop config data in the directory.\n\nNot just *harmful* elements; unless we\u0027re doing something to force the filename, an element could accidentally misspell the file name and end up with data being read by a different element.\n\nWhich makes me realise a bigger problem: this spec is quite detailed about reading data out of the files, but doesn\u0027t seem to mention how the data should get into the files. Are we thinking that elements should simply drop a file in the right place? Are we thinking that elements should provide the data in a particular filename inside the element, the dib will take care of putting that data in a file with the right name in the right directory?\n\nPerhaps this is covered in another spec? If so  I\u0027d like to see that spec referenced from this spec, as the two things seem related.","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":9453,"name":"James Polley","email":"jp@jamezpolley.com","username":"tchaypo"},"change_message_id":"143a53cf7ef61e88459d2776f5c29123709b1a20","unresolved":false,"context_lines":[{"line_number":75,"context_line":""},{"line_number":76,"context_line":"* Harmful elements could drop bad configuration data into the well known"},{"line_number":77,"context_line":"  location. This is mitigated somewhat that as a deployer, you should know and"},{"line_number":78,"context_line":"  validate what elements you\u0027re using that may inject local configuration."},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"* We should verify that the local data source files are not world writable and"},{"line_number":81,"context_line":"  are in a directory that is root owned. Checks to dib-lint could be added to"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_a9006903","line":78,"in_reply_to":"baada198_34c75448","updated":"2014-07-22 18:46:17.000000000","message":"offline discussion led me to realise that the name of the file doesn\u0027t matter at all, so the misspellings thing can be ignored.","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"44f8771353ebe8862a15778edfbf5d94144034cc","unresolved":false,"context_lines":[{"line_number":75,"context_line":""},{"line_number":76,"context_line":"* Harmful elements could drop bad configuration data into the well known"},{"line_number":77,"context_line":"  location. This is mitigated somewhat that as a deployer, you should know and"},{"line_number":78,"context_line":"  validate what elements you\u0027re using that may inject local configuration."},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"* We should verify that the local data source files are not world writable and"},{"line_number":81,"context_line":"  are in a directory that is root owned. Checks to dib-lint could be added to"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_34c75448","line":78,"in_reply_to":"baada198_c49bd464","updated":"2014-07-22 16:23:10.000000000","message":"re: harmful. I\u0027ll add a note that the directory should be created with 0755 permissions. If a user of the machine already has root access, then this feature shouldn\u0027t increase the attack vector.\n\nFor the point about misspellings, I\u0027m not sure I follow. Do you mean an element may intend to add a file to a given directory and accidentally install it under /var/lib/os-collect-config/local-data instead? And if that file were JSON that described a known configuration that os-apply-config used, it would get applied to the system? That seems a bit contrived, but I\u0027ll add it if you feel strongly about it. An element could also have a \"typo\" that added an ssh key, or ran \u0027rm /\u0027...it just seems like stretching things a bit.\n\nTo use the feature, an element just needs to install a json file into the directory /var/lib/os-collect-config/local-data directory. I added a point to that effect in proposed change.","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":9453,"name":"James Polley","email":"jp@jamezpolley.com","username":"tchaypo"},"change_message_id":"f4ba7e80c30b09f31b87ee9bdd4503a9a781697b","unresolved":false,"context_lines":[{"line_number":105,"context_line":"Developer Impact"},{"line_number":106,"context_line":"----------------"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"None. This change will only be visible if developers choose to use it."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_e49ff84f","line":108,"updated":"2014-07-22 14:14:03.000000000","message":"If developers *do* choose to use it, it\u0027s not clear to me how they should go about providing the data. I\u0027d like to see that detailed here.","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"674ff446212f012d57dff2e105f0d070cfe79ab6","unresolved":false,"context_lines":[{"line_number":105,"context_line":"Developer Impact"},{"line_number":106,"context_line":"----------------"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"None. This change will only be visible if developers choose to use it."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_100fca2f","line":108,"updated":"2014-07-08 17:50:29.000000000","message":"Some guidance must be produced over what to put in templates, what to use this mechanism for and what to provide via passthrough.\n\nOne difficulty I observe is that passthrough data will overwrite this data rather than merging with it (if keys are shared). Given:\n\n {\"nova\": {\"key1\": 1}, \"boo\": {}} from this\n {\"nova\": {\"key2\": 2}} from passthrough\n\nI\u0027d expect output\n\n {\"nova\": {\"key2\": 2}, \"boo\": {}}\n\nAm I wrong? If not, \"key1\" has been lost. If an operator attempts to overcome this by adding \"key1\" to their passthrough, a change to the JSON from a new version of the element will go unobserved.","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"dc5491cae3b0c47f5183ca9d42ca6d5ea794b5de","unresolved":false,"context_lines":[{"line_number":105,"context_line":"Developer Impact"},{"line_number":106,"context_line":"----------------"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"None. This change will only be visible if developers choose to use it."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_a6d8d653","line":108,"in_reply_to":"baada198_100fca2f","updated":"2014-07-15 04:48:43.000000000","message":"You are wrong. os-apply-config does a deep merge. Keys are never lost, only overwritten.","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"53b937fc234800b6a482842a4b403ca5bf357d15","unresolved":false,"context_lines":[{"line_number":105,"context_line":"Developer Impact"},{"line_number":106,"context_line":"----------------"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"None. This change will only be visible if developers choose to use it."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_3c85c7ac","line":108,"in_reply_to":"baada198_9d24f860","updated":"2014-07-21 18:15:18.000000000","message":"i added some clarity here","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"6a59364be7a8ce0dc2d1e74fe96c1e20087d330c","unresolved":false,"context_lines":[{"line_number":105,"context_line":"Developer Impact"},{"line_number":106,"context_line":"----------------"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"None. This change will only be visible if developers choose to use it."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_9d24f860","line":108,"in_reply_to":"baada198_a6d8d653","updated":"2014-07-15 09:41:23.000000000","message":"Good to know! I see lists overwrite and a late scalar can overwrite a dict, but I\u0027m not too worried about either.","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"44f8771353ebe8862a15778edfbf5d94144034cc","unresolved":false,"context_lines":[{"line_number":105,"context_line":"Developer Impact"},{"line_number":106,"context_line":"----------------"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"None. This change will only be visible if developers choose to use it."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":5,"id":"baada198_147090db","line":108,"in_reply_to":"baada198_e49ff84f","updated":"2014-07-22 16:23:10.000000000","message":"added","commit_id":"cfe8a38846ca02b23a79a0f49babd15e48ee8f0a"},{"author":{"_account_id":9453,"name":"James Polley","email":"jp@jamezpolley.com","username":"tchaypo"},"change_message_id":"23921beb73ef3c20cc1e58eff78393257cd2f8ae","unresolved":false,"context_lines":[{"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":"* Individual elements can not influence the configuration available to"},{"line_number":25,"context_line":"  os-apply-config for an instance without overwriting each other currently."},{"line_number":26,"context_line":""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Proposed Change"}],"source_content_type":"text/x-rst","patch_set":6,"id":"baada198_9f6be5b8","line":25,"updated":"2014-07-22 14:19:15.000000000","message":"*grammar pedantry* \"con not current influence\" is clearer than having the \"currently\" floating at the end of the sentence.","commit_id":"c1edf883ed2a91a3412f01175d9a0466cdfb2293"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"e4a7218aed382d162b53b3e378ea69449ab0f13b","unresolved":false,"context_lines":[{"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":"* Individual elements can not influence the configuration available to"},{"line_number":25,"context_line":"  os-apply-config for an instance without overwriting each other currently."},{"line_number":26,"context_line":""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Proposed Change"}],"source_content_type":"text/x-rst","patch_set":6,"id":"baada198_3422f4ba","line":25,"in_reply_to":"baada198_9f6be5b8","updated":"2014-07-22 16:26:14.000000000","message":"Done","commit_id":"c1edf883ed2a91a3412f01175d9a0466cdfb2293"},{"author":{"_account_id":9453,"name":"James Polley","email":"jp@jamezpolley.com","username":"tchaypo"},"change_message_id":"23921beb73ef3c20cc1e58eff78393257cd2f8ae","unresolved":false,"context_lines":[{"line_number":33,"context_line":"well known default of /var/lib/os-collect-config/local-data."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"The collector will return a list of pairs of JSON files and their content,"},{"line_number":36,"context_line":"sorted in by the JSON filename in traditional C collation.  For example, if"},{"line_number":37,"context_line":"/var/lib/os-collect-config/local-data contains bar.json and foo.json"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    [ (\u0027bar.json\u0027, bar_content),"}],"source_content_type":"text/x-rst","patch_set":6,"id":"baada198_bf70a9a5","line":36,"updated":"2014-07-22 14:19:15.000000000","message":"\u0027sorted in by the\u0027? Suspect that \u0027in\u0027 is superflous.","commit_id":"c1edf883ed2a91a3412f01175d9a0466cdfb2293"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"e4a7218aed382d162b53b3e378ea69449ab0f13b","unresolved":false,"context_lines":[{"line_number":33,"context_line":"well known default of /var/lib/os-collect-config/local-data."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"The collector will return a list of pairs of JSON files and their content,"},{"line_number":36,"context_line":"sorted in by the JSON filename in traditional C collation.  For example, if"},{"line_number":37,"context_line":"/var/lib/os-collect-config/local-data contains bar.json and foo.json"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    [ (\u0027bar.json\u0027, bar_content),"}],"source_content_type":"text/x-rst","patch_set":6,"id":"baada198_b415244e","line":36,"in_reply_to":"baada198_bf70a9a5","updated":"2014-07-22 16:26:14.000000000","message":"Done","commit_id":"c1edf883ed2a91a3412f01175d9a0466cdfb2293"},{"author":{"_account_id":9453,"name":"James Polley","email":"jp@jamezpolley.com","username":"tchaypo"},"change_message_id":"23921beb73ef3c20cc1e58eff78393257cd2f8ae","unresolved":false,"context_lines":[{"line_number":54,"context_line":"have to be prefaced with setting OS_CONFIG_FILES, or it would need to be set"},{"line_number":55,"context_line":"globally in the environment (via an environment.d script for instance). As an"},{"line_number":56,"context_line":"element developer, this is not clear. Having a robust and clear documented"},{"line_number":57,"context_line":"location to drop in configuration data will be simpler."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"heat_local collector"},{"line_number":60,"context_line":"^^^^^^^^^^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":6,"id":"baada198_df647de8","line":57,"updated":"2014-07-22 14:19:15.000000000","message":"*grammar pedantry* To me, \"location to drop configuration data in\" or \"location for configraution data to be dropped in\" seem clearer than \"location to drop in configuration data\" - that sounds to me like I want to drop the location into the data rather than the data into the location.\n\nBut I\u0027m still fairly sure I understand the meaning, and I\u0027m fairly sure that my preferred wordings are probably less clear to some people, so this isn\u0027t something I\u0027d let block the review","commit_id":"c1edf883ed2a91a3412f01175d9a0466cdfb2293"},{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"d53b1eb04983ed3b9b5f2705800a098e96cede58","unresolved":false,"context_lines":[{"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":"* Individual elements can not currently influence the configuration available"},{"line_number":25,"context_line":"  to os-apply-config for an instance without overwriting each other currently."},{"line_number":26,"context_line":"* Elements that rely on configuration values that must be set the same at both"},{"line_number":27,"context_line":"  image build time and instance run time currently have no way of propagating the"},{"line_number":28,"context_line":"  value used at build time to a run time value."}],"source_content_type":"text/x-rst","patch_set":7,"id":"baada198_d7d53a1c","line":25,"updated":"2014-07-22 16:32:47.000000000","message":"Oops, and now we have two currently\u0027s.","commit_id":"a623c363eb42b6e21734822ac916f9b35539c71e"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"a8b53b5b5a9980ecf9655758e05945da18eaeb0c","unresolved":false,"context_lines":[{"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":"* Individual elements can not currently influence the configuration available"},{"line_number":25,"context_line":"  to os-apply-config for an instance without overwriting each other currently."},{"line_number":26,"context_line":"* Elements that rely on configuration values that must be set the same at both"},{"line_number":27,"context_line":"  image build time and instance run time currently have no way of propagating the"},{"line_number":28,"context_line":"  value used at build time to a run time value."}],"source_content_type":"text/x-rst","patch_set":7,"id":"baada198_57cbea49","line":25,"in_reply_to":"baada198_d7d53a1c","updated":"2014-07-22 16:35:25.000000000","message":"Done","commit_id":"a623c363eb42b6e21734822ac916f9b35539c71e"}]}
