)]}'
{"specs/9.0/serialized-facts-nailgun-api.rst":[{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"91b47de063d67b5d5d40eb5b921ba3fcfc2cbd9a","unresolved":false,"context_lines":[{"line_number":39,"context_line":"existing serialization functionality. New API handle shall respond"},{"line_number":40,"context_line":"to GET requests with the result of serialization of deployment"},{"line_number":41,"context_line":"facts from Fuel settings. The context of the serialization shall"},{"line_number":42,"context_line":"be provided with the parameter in GET request."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Web UI"},{"line_number":45,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"9aed3d3a_2b467723","line":42,"range":{"start_line":42,"start_character":34,"end_line":42,"end_character":37},"updated":"2016-02-25 23:43:39.000000000","message":"I\u0027d suggest to answer and reflect the following things in the spec:\n1) any plans to support overwrites of existing data; extension of data (add new key-value, for instance)\n2) What would be supported Puppet Master versions (we don\u0027t have puppet 4 on slave nodes, for instance)\n3) What data will be exposed - only deployment data, or provisioning metadata as well?\n4) what would happen, if data is requested for nodes which are: do not belong to any env; within an env - but in discover status, other states. Any issues expected?\n5) Please consider basic use case with Puppet Master, for instance enablement of some Neutron backend. It would involve: a) changes in deployment data, b) adding new key-values. How this would be done? How is the data will be overriden, extended? (this is the same as question #1). Major question here - if user wants to scale up (add controllers), or just reinstall controller as part of maintenace, after such a customized change in Neutron, how will it go? Any issues, imposed limitations?\n6) Any impact on plugins?","commit_id":"aad49f43303e9e7fc80620064e7d9c2ee6e43c5d"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"ac7c5faa27e9dfc417382c8aed7b65df3888756d","unresolved":false,"context_lines":[{"line_number":39,"context_line":"existing serialization functionality. New API handle shall respond"},{"line_number":40,"context_line":"to GET requests with the result of serialization of deployment"},{"line_number":41,"context_line":"facts from Fuel settings. The context of the serialization shall"},{"line_number":42,"context_line":"be provided with the parameter in GET request."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"Web UI"},{"line_number":45,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"9aed3d3a_e30c783d","line":42,"range":{"start_line":42,"start_character":34,"end_line":42,"end_character":37},"in_reply_to":"9aed3d3a_2b467723","updated":"2016-02-26 20:19:11.000000000","message":"1. It\u0027s going to support overwrites via specific data source. The same data source shall allow adding new parameters.\n2. This is good question. We expect to work off Hiera version 1. Maybe, Scott might give more specific answer here?\n3. In current solution focused on Puppet Master use case we\u0027re going to stick with providing deployment data only. In future we can extend the data set by providing new data sources (and corresponding data processors).\n4. It shall return HTTP error code (404, 400, 500 respectively). Will add this to API definition.\n5. Basically, on any major operation we will need to update all the configuration data based on the serialization made on particular nodes. The overall flow that we assume is as follows:\n- settings changed in Nailgun via API or UI (i.e. Neutron backend added)\n- Nailgun now provides the new version of serialised deployment data\n- Nailgun triggers execution of limited set of tasks: globals, override_configuration, plugins override tasks and hypothetical task that uploads all the data to the API\n- now Nailgun has all the required serialized data updated in the configuration service API, and actual changes are made by executing puppet agents\nThis whole flow shall be described in spec for this BP:\nhttps://blueprints.launchpad.net/fuel/+spec/upload-deployment-facts-to-configdb\n6. Not that I can foresee at the moment. We will reiterate on it.","commit_id":"aad49f43303e9e7fc80620064e7d9c2ee6e43c5d"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"91b47de063d67b5d5d40eb5b921ba3fcfc2cbd9a","unresolved":false,"context_lines":[{"line_number":61,"context_line":"REST API"},{"line_number":62,"context_line":"--------"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"* Download serialized deployment facts for a node by ID."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"* Method type: GET"},{"line_number":67,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"9aed3d3a_60c7fe45","line":64,"range":{"start_line":64,"start_character":53,"end_line":64,"end_character":55},"updated":"2016-02-25 23:43:39.000000000","message":"\"by ID\" - would it be Ok for Puppet Master use case? As far as I remember, it refers to nodes using hostnames. I\u0027d suggest to double check if just ID will be fine here, as we also have Configurable Hostnames feature, and need to ensure that all will work together.","commit_id":"aad49f43303e9e7fc80620064e7d9c2ee6e43c5d"},{"author":{"_account_id":17180,"name":"sryabin","email":"sryabin@mirantis.com","username":"sryabin"},"change_message_id":"e2cce745667aedd15454739e95a53cf093a34966","unresolved":false,"context_lines":[{"line_number":72,"context_line":"  * 404 Not Found"},{"line_number":73,"context_line":"    Cannot found a node with the given ID."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"* ``/api/v1/node/\u003c:id\u003e/facts``"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"* Parameters which can be passed via the URL"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"bae84128_bcf5a5cc","line":75,"range":{"start_line":75,"start_character":2,"end_line":75,"end_character":30},"updated":"2016-02-25 06:29:37.000000000","message":"We do not need get all facts for single key\n/api/v1/node/\u003c:id\u003e/facts/\u003c:key\u003e","commit_id":"aad49f43303e9e7fc80620064e7d9c2ee6e43c5d"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"91b47de063d67b5d5d40eb5b921ba3fcfc2cbd9a","unresolved":false,"context_lines":[{"line_number":72,"context_line":"  * 404 Not Found"},{"line_number":73,"context_line":"    Cannot found a node with the given ID."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"* ``/api/v1/node/\u003c:id\u003e/facts``"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"* Parameters which can be passed via the URL"},{"line_number":78,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"9aed3d3a_60f53e82","line":75,"range":{"start_line":75,"start_character":2,"end_line":75,"end_character":30},"in_reply_to":"bae84128_bcf5a5cc","updated":"2016-02-25 23:43:39.000000000","message":"I think there will be cases when the whole dump of all key-value pairs for the node will be required, at least from the debugging perspective.","commit_id":"aad49f43303e9e7fc80620064e7d9c2ee6e43c5d"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"91b47de063d67b5d5d40eb5b921ba3fcfc2cbd9a","unresolved":false,"context_lines":[{"line_number":121,"context_line":"None."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"------------"},{"line_number":124,"context_line":"Alternatives"},{"line_number":125,"context_line":"------------"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"What are other ways of achieving the same results? Why aren\u0027t they followed?"}],"source_content_type":"text/x-rst","patch_set":6,"id":"9aed3d3a_00c71213","line":124,"range":{"start_line":124,"start_character":0,"end_line":124,"end_character":12},"updated":"2016-02-25 23:43:39.000000000","message":"I have a crazy idea of having a lightweight Hiera backend or ENC connector, going to fuel-client instead of REST API of Nailgun. In this case, you\u0027d need really few lines of Ruby code to fetch the data, as all authz/Keystone logic will be reused from the fuel-client.\n\nOf course, this implies that stdout of fuel-client would need to be in a certain format.","commit_id":"aad49f43303e9e7fc80620064e7d9c2ee6e43c5d"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"ac7c5faa27e9dfc417382c8aed7b65df3888756d","unresolved":false,"context_lines":[{"line_number":121,"context_line":"None."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"------------"},{"line_number":124,"context_line":"Alternatives"},{"line_number":125,"context_line":"------------"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"What are other ways of achieving the same results? Why aren\u0027t they followed?"}],"source_content_type":"text/x-rst","patch_set":6,"id":"9aed3d3a_a39ef0b5","line":124,"range":{"start_line":124,"start_character":0,"end_line":124,"end_character":12},"in_reply_to":"9aed3d3a_00c71213","updated":"2016-02-26 20:19:11.000000000","message":"Auth logic actually is not that heavyweight at all. The main problem here is with the upload of data from nodes to the API, then we will need to pass Nailgun/ConfigDB credentials to the node for this to work correctly.","commit_id":"aad49f43303e9e7fc80620064e7d9c2ee6e43c5d"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":65,"context_line":"Nailgun"},{"line_number":66,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"New API calls and corresponding handlers shall be introduced to"},{"line_number":69,"context_line":"provide access to results of serialization of deployment facts"},{"line_number":70,"context_line":"for a node. These handlers shall be implemented as an extension"},{"line_number":71,"context_line":"in Nailgun [2]_."}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_11e36834","line":68,"range":{"start_line":68,"start_character":0,"end_line":68,"end_character":13},"updated":"2016-03-03 07:52:46.000000000","message":"We should emphasize here that this is a Nailgun extension that is supposed to be a separate entry in Keystone catalog.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"8e91179a2178e67f301944a6b766ad5cd70aeaea","unresolved":false,"context_lines":[{"line_number":65,"context_line":"Nailgun"},{"line_number":66,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"New API calls and corresponding handlers shall be introduced to"},{"line_number":69,"context_line":"provide access to results of serialization of deployment facts"},{"line_number":70,"context_line":"for a node. These handlers shall be implemented as an extension"},{"line_number":71,"context_line":"in Nailgun [2]_."}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_28a6ee52","line":68,"range":{"start_line":68,"start_character":0,"end_line":68,"end_character":13},"in_reply_to":"7af24918_11e36834","updated":"2016-03-03 10:11:23.000000000","message":"Hm.. I think we shouldn\u0027t overengineer here, and don\u0027t bother ourselves with separate entry in keystone catalog. Because otherwise some one needs to register such entry, and for built-in Nailgun it\u0027s done by puppet manifests that deploys fuel master node.\n\nI think having Nailgun API endpoint in keystone catalog + predefined extension url - is enough to flexible create a full endpoint url.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":70,"context_line":"for a node. These handlers shall be implemented as an extension"},{"line_number":71,"context_line":"in Nailgun [2]_."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"Data model"},{"line_number":74,"context_line":"----------"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"A new MySQL ``deployment_data`` table shall be created to store"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_31bdc402","line":73,"updated":"2016-03-03 07:52:46.000000000","message":"Since it\u0027s going to be an extension and we\u0027re going to import what\u0027s already done in tuning-box, we should either drop this part (all data model is contained in extension) or describe all models from it (which might be too much).","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"d2c29732ae480ab98b212827bc9cdf98bb39379c","unresolved":false,"context_lines":[{"line_number":90,"context_line":"* ``datasource``: id of the data source, ENUM with the following"},{"line_number":91,"context_line":"  values:"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"  * ``astute`` for facts uploaded as ``astute.yaml`` file"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"  * ``globals`` for facts generated locally on a node"},{"line_number":96,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_a0641222","line":93,"updated":"2016-03-02 15:25:14.000000000","message":"Do we really want to have that layered structure in backend? Won\u0027t it be easier to store there merged blob?","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":90,"context_line":"* ``datasource``: id of the data source, ENUM with the following"},{"line_number":91,"context_line":"  values:"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"  * ``astute`` for facts uploaded as ``astute.yaml`` file"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"  * ``globals`` for facts generated locally on a node"},{"line_number":96,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_d14aa025","line":93,"in_reply_to":"7af24918_a0641222","updated":"2016-03-03 07:52:46.000000000","message":"For Puppet Master usecase we need to present all data as it is stored on the node, including everything that is generated on the node.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":90,"context_line":"* ``datasource``: id of the data source, ENUM with the following"},{"line_number":91,"context_line":"  values:"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"  * ``astute`` for facts uploaded as ``astute.yaml`` file"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"  * ``globals`` for facts generated locally on a node"},{"line_number":96,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_15818ac3","line":93,"in_reply_to":"7af24918_d14aa025","updated":"2016-03-03 14:06:52.000000000","message":"AFAIU, Igor means that we can put single JSON with top-level objects representing specific datasources (in terms of Hiera).","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"8e91179a2178e67f301944a6b766ad5cd70aeaea","unresolved":false,"context_lines":[{"line_number":90,"context_line":"* ``datasource``: id of the data source, ENUM with the following"},{"line_number":91,"context_line":"  values:"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"  * ``astute`` for facts uploaded as ``astute.yaml`` file"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"  * ``globals`` for facts generated locally on a node"},{"line_number":96,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_b288ac72","line":93,"in_reply_to":"7af24918_d14aa025","updated":"2016-03-03 10:11:23.000000000","message":"I understand that. But why layered? We can resolve layering before pushing to some storage. Then, operator downloads that blog, change something, uploads and run puppet again. That\u0027s it. It\u0027s much simpler, though not so flexible. But taking into account that we have not so much time before release, I\u0027d prefer to go with MVP solution, and do not try to solve all the problems.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"    * Method type: GET"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:deployment_id\u003e/node/\u003c:id\u003e/resource/\u003c:datasource\u003e/values/\u003c:version\u003e``"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":118,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_b1a9d492","line":115,"range":{"start_line":115,"start_character":93,"end_line":115,"end_character":104},"updated":"2016-03-03 07:52:46.000000000","message":"Version of resource should be in query string, not in path. Like\n\n  ?version\u003d\u003c:version\u003e\n\nin this syntax.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"d2c29732ae480ab98b212827bc9cdf98bb39379c","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"    * Method type: GET"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:deployment_id\u003e/node/\u003c:id\u003e/resource/\u003c:datasource\u003e/values/\u003c:version\u003e``"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":118,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_c03f9ed4","line":115,"updated":"2016-03-02 15:25:14.000000000","message":"We use \"clusters\" resource in API endpoints instead of environment. Maybe use the same?","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"    * Method type: GET"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:deployment_id\u003e/node/\u003c:id\u003e/resource/\u003c:datasource\u003e/values/\u003c:version\u003e``"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":118,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_fb6faff9","line":115,"range":{"start_line":115,"start_character":93,"end_line":115,"end_character":104},"in_reply_to":"7af24918_726744b7","updated":"2016-03-03 14:06:52.000000000","message":"The reasons are:\n\n1. Deployment automation\n2. Testing infrastructure\n3. Release infrastructure\n\nWe want to reuse those from Nailgun in 9.0 for the sake of velocity.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"8e91179a2178e67f301944a6b766ad5cd70aeaea","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"    * Method type: GET"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:deployment_id\u003e/node/\u003c:id\u003e/resource/\u003c:datasource\u003e/values/\u003c:version\u003e``"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":118,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_726744b7","line":115,"range":{"start_line":115,"start_character":93,"end_line":115,"end_character":104},"in_reply_to":"7af24918_b1a9d492","updated":"2016-03-03 10:11:23.000000000","message":"If you\u0027re trying to do a separate service, why do you need Nailgun at the first place? I mean you\u0027re trying to do not extend Nailgun, but to write something on top of that, breaking resource paths and so on.\n\nThere\u0027s a plenty of ready storage services for JSON-like data. Why Nailgun then?","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"    * Method type: GET"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:deployment_id\u003e/node/\u003c:id\u003e/resource/\u003c:datasource\u003e/values/\u003c:version\u003e``"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":118,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_316b0487","line":115,"in_reply_to":"7af24918_c03f9ed4","updated":"2016-03-03 07:52:46.000000000","message":"From the Config Service point of view it\u0027s just some environment that holds configuration values, nothing more. It maps to cluster now, but that can change in the future.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":119,"context_line":"    * Expected error HTTP response code(s):"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"      * 400 Bad Request"},{"line_number":122,"context_line":"        Data source is not supported."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"      * 404 Not Found"},{"line_number":125,"context_line":"        Cannot found a node with the given identifier."}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_31f024c9","line":122,"updated":"2016-03-03 07:52:46.000000000","message":"This would still be 404 \"Resource not found\"","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":119,"context_line":"    * Expected error HTTP response code(s):"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"      * 400 Bad Request"},{"line_number":122,"context_line":"        Data source is not supported."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"      * 404 Not Found"},{"line_number":125,"context_line":"        Cannot found a node with the given identifier."}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_9b7f8baa","line":122,"in_reply_to":"7af24918_31f024c9","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":122,"context_line":"        Data source is not supported."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"      * 404 Not Found"},{"line_number":125,"context_line":"        Cannot found a node with the given identifier."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"      * 404 Not Found"},{"line_number":128,"context_line":"        Cannot found a given version of data for the given cluster, node and"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_9129383a","line":125,"range":{"start_line":125,"start_character":15,"end_line":125,"end_character":20},"updated":"2016-03-03 07:52:46.000000000","message":"find","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":122,"context_line":"        Data source is not supported."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"      * 404 Not Found"},{"line_number":125,"context_line":"        Cannot found a node with the given identifier."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"      * 404 Not Found"},{"line_number":128,"context_line":"        Cannot found a given version of data for the given cluster, node and"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_7b7c3fb5","line":125,"range":{"start_line":125,"start_character":15,"end_line":125,"end_character":20},"in_reply_to":"7af24918_9129383a","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":125,"context_line":"        Cannot found a node with the given identifier."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"      * 404 Not Found"},{"line_number":128,"context_line":"        Cannot found a given version of data for the given cluster, node and"},{"line_number":129,"context_line":"        data source."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"      * 409 Conflict"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_71d58c1a","line":128,"range":{"start_line":128,"start_character":15,"end_line":128,"end_character":20},"updated":"2016-03-03 07:52:46.000000000","message":"find","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":125,"context_line":"        Cannot found a node with the given identifier."},{"line_number":126,"context_line":""},{"line_number":127,"context_line":"      * 404 Not Found"},{"line_number":128,"context_line":"        Cannot found a given version of data for the given cluster, node and"},{"line_number":129,"context_line":"        data source."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"      * 409 Conflict"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_db4bd385","line":128,"range":{"start_line":128,"start_character":15,"end_line":128,"end_character":20},"in_reply_to":"7af24918_71d58c1a","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":129,"context_line":"        data source."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"      * 409 Conflict"},{"line_number":132,"context_line":"        Node with the given ID not assigned to cluster with the given ID."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"    * Parameters which can be passed via the URL"},{"line_number":135,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_319e6463","line":132,"updated":"2016-03-03 07:52:46.000000000","message":"This would still be 404 since that node won\u0027t be found in this environment.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":129,"context_line":"        data source."},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"      * 409 Conflict"},{"line_number":132,"context_line":"        Node with the given ID not assigned to cluster with the given ID."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"    * Parameters which can be passed via the URL"},{"line_number":135,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_fce4c2e0","line":132,"in_reply_to":"7af24918_319e6463","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"d2c29732ae480ab98b212827bc9cdf98bb39379c","unresolved":false,"context_lines":[{"line_number":136,"context_line":"      * ``endpoint_uri`` is a parameter that depends on contents of"},{"line_number":137,"context_line":"        Keystone service catalog for the node. Defaults to ``/api/v1/config``."},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"      * ``deployment_id`` identifies an OpenStack environment"},{"line_number":140,"context_line":"        that contians the node being queried"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"      * ``id`` is an ID of node being queried, shall be equal to FQDN"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_40554e1b","line":139,"updated":"2016-03-02 15:25:14.000000000","message":"let\u0027s call it \u0027env_id\u0027","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"72720a29654ae8f1afebc955d1d9ca7f5e08efa4","unresolved":false,"context_lines":[{"line_number":136,"context_line":"      * ``endpoint_uri`` is a parameter that depends on contents of"},{"line_number":137,"context_line":"        Keystone service catalog for the node. Defaults to ``/api/v1/config``."},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"      * ``deployment_id`` identifies an OpenStack environment"},{"line_number":140,"context_line":"        that contians the node being queried"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"      * ``id`` is an ID of node being queried, shall be equal to FQDN"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_a8e98d82","line":139,"in_reply_to":"7af24918_40554e1b","updated":"2016-03-02 17:33:39.000000000","message":"Correct, I used the Astute variant of the notion. I will update this parameter\u0027s name.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":136,"context_line":"      * ``endpoint_uri`` is a parameter that depends on contents of"},{"line_number":137,"context_line":"        Keystone service catalog for the node. Defaults to ``/api/v1/config``."},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"      * ``deployment_id`` identifies an OpenStack environment"},{"line_number":140,"context_line":"        that contians the node being queried"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"      * ``id`` is an ID of node being queried, shall be equal to FQDN"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_cd902e46","line":139,"in_reply_to":"7af24918_a8e98d82","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"d2c29732ae480ab98b212827bc9cdf98bb39379c","unresolved":false,"context_lines":[{"line_number":139,"context_line":"      * ``deployment_id`` identifies an OpenStack environment"},{"line_number":140,"context_line":"        that contians the node being queried"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"      * ``id`` is an ID of node being queried, shall be equal to FQDN"},{"line_number":143,"context_line":"        of the node"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"      * ``datasource`` is a text name of the queried data source."}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_c0483e8a","line":142,"updated":"2016-03-02 15:25:14.000000000","message":"Why can\u0027t we use node\u0027s uid?","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"72720a29654ae8f1afebc955d1d9ca7f5e08efa4","unresolved":false,"context_lines":[{"line_number":139,"context_line":"      * ``deployment_id`` identifies an OpenStack environment"},{"line_number":140,"context_line":"        that contians the node being queried"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"      * ``id`` is an ID of node being queried, shall be equal to FQDN"},{"line_number":143,"context_line":"        of the node"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"      * ``datasource`` is a text name of the queried data source."}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_e8555550","line":142,"in_reply_to":"7af24918_c0483e8a","updated":"2016-03-02 17:33:39.000000000","message":"We assume that 3rd party application could be unaware about internal IDs. However, FQDN can be configured from Fuel API and can be passed to 3rd party application from the same external source.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":148,"context_line":"      * ``version`` identifies the version to access. Defaults"},{"line_number":149,"context_line":"        to the latest version available for the given data source."},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    * JSON schema definition for the body data if allowed"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"    * JSON schema definition for the response data if any"},{"line_number":154,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_31aca48b","line":151,"updated":"2016-03-03 07:52:46.000000000","message":"This point should be just removed for GET requests","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":148,"context_line":"      * ``version`` identifies the version to access. Defaults"},{"line_number":149,"context_line":"        to the latest version available for the given data source."},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    * JSON schema definition for the body data if allowed"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"    * JSON schema definition for the response data if any"},{"line_number":154,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_dc0e268b","line":151,"in_reply_to":"7af24918_31aca48b","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    * JSON schema definition for the body data if allowed"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"    * JSON schema definition for the response data if any"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* Upload serialized deployment facts for a node by ID and data source"},{"line_number":156,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_11c08829","line":153,"updated":"2016-03-03 07:52:46.000000000","message":"Here we can state that response contains JSON representation of data that was put in earlier.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    * JSON schema definition for the body data if allowed"},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"    * JSON schema definition for the response data if any"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* Upload serialized deployment facts for a node by ID and data source"},{"line_number":156,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_ed9b6a64","line":153,"in_reply_to":"7af24918_11c08829","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"d2c29732ae480ab98b212827bc9cdf98bb39379c","unresolved":false,"context_lines":[{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* Upload serialized deployment facts for a node by ID and data source"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"    * Method type: POST"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:deployment_id\u003e/node/\u003c:id\u003e/resource/\u003c:datasource\u003e/values``"},{"line_number":160,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_e358e434","line":157,"updated":"2016-03-02 15:25:14.000000000","message":"I think it\u0027d be better to use PUT instead of POST, since the last one is intended to create each entry while the first one - create entry with a given ID (in our case - datasource). And it\u0027s rewritable by the same request, so.. PUT is most suitable for that case, I think.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* Upload serialized deployment facts for a node by ID and data source"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"    * Method type: POST"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:deployment_id\u003e/node/\u003c:id\u003e/resource/\u003c:datasource\u003e/values``"},{"line_number":160,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_d1daa0e7","line":157,"in_reply_to":"7af24918_08c5215a","updated":"2016-03-03 07:52:46.000000000","message":"Yeah, it should definitely be PUT. Or it could be POST on \".../resource/res_id\" level, but only for the first time.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* Upload serialized deployment facts for a node by ID and data source"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"    * Method type: POST"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:deployment_id\u003e/node/\u003c:id\u003e/resource/\u003c:datasource\u003e/values``"},{"line_number":160,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_8dabc674","line":157,"in_reply_to":"7af24918_d1daa0e7","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"72720a29654ae8f1afebc955d1d9ca7f5e08efa4","unresolved":false,"context_lines":[{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* Upload serialized deployment facts for a node by ID and data source"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"    * Method type: POST"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:deployment_id\u003e/node/\u003c:id\u003e/resource/\u003c:datasource\u003e/values``"},{"line_number":160,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_08c5215a","line":157,"in_reply_to":"7af24918_e358e434","updated":"2016-03-02 17:33:39.000000000","message":"Understood, will double check the methods semantics and update this description.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":163,"context_line":"    * Expected error HTTP response code(s):"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"      * 400 Bad Request"},{"line_number":166,"context_line":"        Data source is not supported."},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"      * 404 Not Found"},{"line_number":169,"context_line":"        Cannot found a node with the given identifier."}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_b1e6f4ad","line":166,"updated":"2016-03-03 07:52:46.000000000","message":"404","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":163,"context_line":"    * Expected error HTTP response code(s):"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"      * 400 Bad Request"},{"line_number":166,"context_line":"        Data source is not supported."},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"      * 404 Not Found"},{"line_number":169,"context_line":"        Cannot found a node with the given identifier."}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_9c313e5d","line":166,"in_reply_to":"7af24918_b1e6f4ad","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":166,"context_line":"        Data source is not supported."},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"      * 404 Not Found"},{"line_number":169,"context_line":"        Cannot found a node with the given identifier."},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"      * 404 Not Found"},{"line_number":172,"context_line":"        Cannot found a given version of data for the given cluster, node and"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_91ebf877","line":169,"range":{"start_line":169,"start_character":15,"end_line":169,"end_character":20},"updated":"2016-03-03 07:52:46.000000000","message":"find","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":166,"context_line":"        Data source is not supported."},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"      * 404 Not Found"},{"line_number":169,"context_line":"        Cannot found a node with the given identifier."},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"      * 404 Not Found"},{"line_number":172,"context_line":"        Cannot found a given version of data for the given cluster, node and"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_fc32025d","line":169,"range":{"start_line":169,"start_character":15,"end_line":169,"end_character":20},"in_reply_to":"7af24918_91ebf877","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":168,"context_line":"      * 404 Not Found"},{"line_number":169,"context_line":"        Cannot found a node with the given identifier."},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"      * 404 Not Found"},{"line_number":172,"context_line":"        Cannot found a given version of data for the given cluster, node and"},{"line_number":173,"context_line":"        data source."},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"      * 409 Conflict"},{"line_number":176,"context_line":"        Node with the given ID not assigned to cluster with the given ID."}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_d101003a","line":173,"range":{"start_line":171,"start_character":0,"end_line":173,"end_character":20},"updated":"2016-03-03 07:52:46.000000000","message":"Doesn\u0027t apply to PUT request.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":168,"context_line":"      * 404 Not Found"},{"line_number":169,"context_line":"        Cannot found a node with the given identifier."},{"line_number":170,"context_line":""},{"line_number":171,"context_line":"      * 404 Not Found"},{"line_number":172,"context_line":"        Cannot found a given version of data for the given cluster, node and"},{"line_number":173,"context_line":"        data source."},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"      * 409 Conflict"},{"line_number":176,"context_line":"        Node with the given ID not assigned to cluster with the given ID."}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_3c28eae1","line":173,"range":{"start_line":171,"start_character":0,"end_line":173,"end_character":20},"in_reply_to":"7af24918_d101003a","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":173,"context_line":"        data source."},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"      * 409 Conflict"},{"line_number":176,"context_line":"        Node with the given ID not assigned to cluster with the given ID."},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"    * Parameters which can be passed via the URL"},{"line_number":179,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_71974cec","line":176,"updated":"2016-03-03 07:52:46.000000000","message":"404","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":173,"context_line":"        data source."},{"line_number":174,"context_line":""},{"line_number":175,"context_line":"      * 409 Conflict"},{"line_number":176,"context_line":"        Node with the given ID not assigned to cluster with the given ID."},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"    * Parameters which can be passed via the URL"},{"line_number":179,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_cdb78ed6","line":176,"in_reply_to":"7af24918_71974cec","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":189,"context_line":"      * ``datasource`` is a text name of the queried data source"},{"line_number":190,"context_line":"        See the `Data Model`_ section for the available data sources."},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"    * JSON schema definition for the body data if allowed"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"    * JSON schema definition for the response data if any"},{"line_number":195,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_51c330ed","line":192,"updated":"2016-03-03 07:52:46.000000000","message":"This should be \"whatever one likes\".","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":189,"context_line":"      * ``datasource`` is a text name of the queried data source"},{"line_number":190,"context_line":"        See the `Data Model`_ section for the available data sources."},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"    * JSON schema definition for the body data if allowed"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"    * JSON schema definition for the response data if any"},{"line_number":195,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_adbcc2bb","line":192,"in_reply_to":"7af24918_51c330ed","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":191,"context_line":""},{"line_number":192,"context_line":"    * JSON schema definition for the body data if allowed"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"    * JSON schema definition for the response data if any"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"Orchestration"},{"line_number":197,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_91b9387c","line":194,"updated":"2016-03-03 07:52:46.000000000","message":"Should be the same as was put in.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":191,"context_line":""},{"line_number":192,"context_line":"    * JSON schema definition for the body data if allowed"},{"line_number":193,"context_line":""},{"line_number":194,"context_line":"    * JSON schema definition for the response data if any"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"Orchestration"},{"line_number":197,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_0dae9680","line":194,"in_reply_to":"7af24918_91b9387c","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":196,"context_line":"Orchestration"},{"line_number":197,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"General changes to the logic of orchestration should be described in"},{"line_number":200,"context_line":"details in this section."},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"A task shall be added to the Astute orchestrator to fetch all"},{"line_number":203,"context_line":"``yaml`` files from ``/etc/hiera`` directory, and upload their contents"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_71658c1c","line":200,"range":{"start_line":199,"start_character":0,"end_line":200,"end_character":24},"updated":"2016-03-03 07:52:46.000000000","message":"Template leftover","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":196,"context_line":"Orchestration"},{"line_number":197,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":198,"context_line":""},{"line_number":199,"context_line":"General changes to the logic of orchestration should be described in"},{"line_number":200,"context_line":"details in this section."},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"A task shall be added to the Astute orchestrator to fetch all"},{"line_number":203,"context_line":"``yaml`` files from ``/etc/hiera`` directory, and upload their contents"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_ade322d8","line":200,"range":{"start_line":199,"start_character":0,"end_line":200,"end_character":24},"in_reply_to":"7af24918_71658c1c","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"d2c29732ae480ab98b212827bc9cdf98bb39379c","unresolved":false,"context_lines":[{"line_number":214,"context_line":"Fuel Client"},{"line_number":215,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":"Client should be implemented with the support for the described"},{"line_number":218,"context_line":"API calls. This command should yield a serialized facts data in selected"},{"line_number":219,"context_line":"format (``json`` or ``yaml``) to the ``stdout`` stream."},{"line_number":220,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_63c0547c","line":217,"updated":"2016-03-02 15:25:14.000000000","message":"Hm.. Since the proposed solution is about nailgun extension, I think we should do the same way to fuel CLI. fuel2 is written on Cliff, so it could be easily extendable via entry points. Perhaps you can even make a single repo for both nailgun and cli extensions.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"72720a29654ae8f1afebc955d1d9ca7f5e08efa4","unresolved":false,"context_lines":[{"line_number":214,"context_line":"Fuel Client"},{"line_number":215,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":"Client should be implemented with the support for the described"},{"line_number":218,"context_line":"API calls. This command should yield a serialized facts data in selected"},{"line_number":219,"context_line":"format (``json`` or ``yaml``) to the ``stdout`` stream."},{"line_number":220,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_68d4a51f","line":217,"in_reply_to":"7af24918_63c0547c","updated":"2016-03-02 17:33:39.000000000","message":"Actually, we already did it in octane repo (i.e. nailgun extension + client extension).","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":214,"context_line":"Fuel Client"},{"line_number":215,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":"Client should be implemented with the support for the described"},{"line_number":218,"context_line":"API calls. This command should yield a serialized facts data in selected"},{"line_number":219,"context_line":"format (``json`` or ``yaml``) to the ``stdout`` stream."},{"line_number":220,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_b139d4f4","line":217,"in_reply_to":"7af24918_68d4a51f","updated":"2016-03-03 07:52:46.000000000","message":"Single repo approach is not that good since it implies that all dependencies of the service are installed for the client as well. It\u0027s (almost) fine for 9.0 where everything is installed in one system, but since this is going to be backported to 8.0 with containers, we should probably keep client separated from the start.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"8e91179a2178e67f301944a6b766ad5cd70aeaea","unresolved":false,"context_lines":[{"line_number":214,"context_line":"Fuel Client"},{"line_number":215,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":"Client should be implemented with the support for the described"},{"line_number":218,"context_line":"API calls. This command should yield a serialized facts data in selected"},{"line_number":219,"context_line":"format (``json`` or ``yaml``) to the ``stdout`` stream."},{"line_number":220,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_729aa46f","line":217,"in_reply_to":"7af24918_b139d4f4","updated":"2016-03-03 10:11:23.000000000","message":"I\u0027m not against separating client, I only suggest to do not hardcode this to client, but use Cliff extension.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":222,"context_line":"store. This client must provide an ability to read/write key-value pairs"},{"line_number":223,"context_line":"from the ConfigDB API for all available data sources."},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"Following CLI parameters shall be supported for ``cfgdb-client``:"},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Cannot"},{"line_number":228,"context_line":"  be combined with ``--node`` option."}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_b110b45a","line":225,"range":{"start_line":225,"start_character":50,"end_line":225,"end_character":62},"updated":"2016-03-03 07:52:46.000000000","message":"tuning-box-cli?","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"8e91179a2178e67f301944a6b766ad5cd70aeaea","unresolved":false,"context_lines":[{"line_number":222,"context_line":"store. This client must provide an ability to read/write key-value pairs"},{"line_number":223,"context_line":"from the ConfigDB API for all available data sources."},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"Following CLI parameters shall be supported for ``cfgdb-client``:"},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Cannot"},{"line_number":228,"context_line":"  be combined with ``--node`` option."}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_d205787a","line":225,"range":{"start_line":225,"start_character":50,"end_line":225,"end_character":62},"in_reply_to":"7af24918_b110b45a","updated":"2016-03-03 10:11:23.000000000","message":"Why it\u0027s called so? If it\u0027s a part of fuelclient, then it should be something like:\n\n  $ fuel deploy-data download data.yaml\n  $ fuel deploy-data upload data.yaml\n\nHaving something like:\n\n  $ fuel cfgdb-client download\n\nlooks weird.\n\nIf you want to provide a separate CLI, and do not integrate it to Fuel client - then move in into separate section.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":222,"context_line":"store. This client must provide an ability to read/write key-value pairs"},{"line_number":223,"context_line":"from the ConfigDB API for all available data sources."},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"Following CLI parameters shall be supported for ``cfgdb-client``:"},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Cannot"},{"line_number":228,"context_line":"  be combined with ``--node`` option."}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_8d1e26b9","line":225,"range":{"start_line":225,"start_character":50,"end_line":225,"end_character":62},"in_reply_to":"7af24918_d205787a","updated":"2016-03-03 14:06:52.000000000","message":"I will call the command \u0027config\u0027 for now.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":224,"context_line":""},{"line_number":225,"context_line":"Following CLI parameters shall be supported for ``cfgdb-client``:"},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Cannot"},{"line_number":228,"context_line":"  be combined with ``--node`` option."},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"* ``--node \u003cFQDN\u003e`` identifies a node namespace. Cannot be"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_d10bc028","line":227,"range":{"start_line":227,"start_character":57,"end_line":227,"end_character":63},"updated":"2016-03-03 07:52:46.000000000","message":"It can, and it should.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":224,"context_line":""},{"line_number":225,"context_line":"Following CLI parameters shall be supported for ``cfgdb-client``:"},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Cannot"},{"line_number":228,"context_line":"  be combined with ``--node`` option."},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"* ``--node \u003cFQDN\u003e`` identifies a node namespace. Cannot be"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_5e67a6b6","line":227,"range":{"start_line":227,"start_character":57,"end_line":227,"end_character":63},"in_reply_to":"7af24918_d10bc028","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":227,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Cannot"},{"line_number":228,"context_line":"  be combined with ``--node`` option."},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"* ``--node \u003cFQDN\u003e`` identifies a node namespace. Cannot be"},{"line_number":231,"context_line":"  combined with ``--cluster`` option."},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"* ``--datasource \u003cNAME\u003e`` identifies a data source namespace"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_e3070f16","line":230,"range":{"start_line":230,"start_character":49,"end_line":230,"end_character":55},"updated":"2016-03-03 07:52:46.000000000","message":"ditto","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":227,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Cannot"},{"line_number":228,"context_line":"  be combined with ``--node`` option."},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"* ``--node \u003cFQDN\u003e`` identifies a node namespace. Cannot be"},{"line_number":231,"context_line":"  combined with ``--cluster`` option."},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"* ``--datasource \u003cNAME\u003e`` identifies a data source namespace"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_be06aacb","line":230,"range":{"start_line":230,"start_character":49,"end_line":230,"end_character":55},"in_reply_to":"7af24918_e3070f16","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":228,"context_line":"  be combined with ``--node`` option."},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"* ``--node \u003cFQDN\u003e`` identifies a node namespace. Cannot be"},{"line_number":231,"context_line":"  combined with ``--cluster`` option."},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"* ``--datasource \u003cNAME\u003e`` identifies a data source namespace"},{"line_number":234,"context_line":"  under node namespace. Cannot be combined with ``--env``"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_23445748","line":231,"updated":"2016-03-03 07:52:46.000000000","message":"It should be like\n\n  --env env_id --level node\u003dfqdn\n\nTo be compatible with future development of Config Service.\n\nIt shouldn\u0027t care about keeping fqdns unique across environments, and \"node\" is just one level of hierarchy.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":230,"context_line":"* ``--node \u003cFQDN\u003e`` identifies a node namespace. Cannot be"},{"line_number":231,"context_line":"  combined with ``--cluster`` option."},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"* ``--datasource \u003cNAME\u003e`` identifies a data source namespace"},{"line_number":234,"context_line":"  under node namespace. Cannot be combined with ``--env``"},{"line_number":235,"context_line":"  option."},{"line_number":236,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_c37133aa","line":233,"range":{"start_line":233,"start_character":6,"end_line":233,"end_character":16},"updated":"2016-03-03 07:52:46.000000000","message":"resource","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":231,"context_line":"  combined with ``--cluster`` option."},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"* ``--datasource \u003cNAME\u003e`` identifies a data source namespace"},{"line_number":234,"context_line":"  under node namespace. Cannot be combined with ``--env``"},{"line_number":235,"context_line":"  option."},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"* ``--key KEY`` defines a name of"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_435ec312","line":234,"range":{"start_line":234,"start_character":24,"end_line":234,"end_character":30},"updated":"2016-03-03 07:52:46.000000000","message":"Can and should.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":231,"context_line":"  combined with ``--cluster`` option."},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"* ``--datasource \u003cNAME\u003e`` identifies a data source namespace"},{"line_number":234,"context_line":"  under node namespace. Cannot be combined with ``--env``"},{"line_number":235,"context_line":"  option."},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"* ``--key KEY`` defines a name of"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_fe231256","line":234,"range":{"start_line":234,"start_character":24,"end_line":234,"end_character":30},"in_reply_to":"7af24918_435ec312","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":241,"context_line":"  to be assigned to the key identified by first argument. Optional"},{"line_number":242,"context_line":"  argument. If omitted, a value of ``KEY`` is returned."},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"* ``--format [json|yaml]`` defines a format of output. Default is ``json``."},{"line_number":245,"context_line":""},{"line_number":246,"context_line":"Plugins"},{"line_number":247,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_c3cdb3b8","line":244,"updated":"2016-03-03 07:52:46.000000000","message":"That\u0027s not very clear what this output is from.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":241,"context_line":"  to be assigned to the key identified by first argument. Optional"},{"line_number":242,"context_line":"  argument. If omitted, a value of ``KEY`` is returned."},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"* ``--format [json|yaml]`` defines a format of output. Default is ``json``."},{"line_number":245,"context_line":""},{"line_number":246,"context_line":"Plugins"},{"line_number":247,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_7e2d42a7","line":244,"in_reply_to":"7af24918_c3cdb3b8","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":242,"context_line":"  argument. If omitted, a value of ``KEY`` is returned."},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"* ``--format [json|yaml]`` defines a format of output. Default is ``json``."},{"line_number":245,"context_line":""},{"line_number":246,"context_line":"Plugins"},{"line_number":247,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":248,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_c3ebf376","line":245,"updated":"2016-03-03 07:52:46.000000000","message":"I think we should clearly define a gconf/dconf-like API here. These methods should be in:\n\n  # get whole resource as one yaml/json\n  prog get --env \u003cid\u003e --level node\u003d\u003cfqdn\u003e --resource \u003cname\u003e --format [json|yaml]\n  \n  # get one key from the resource\n  # plain format is just get string representation of the value\n  # json/yaml format means smth like \"\u003ckey\u003e: \u003cvalue\u003e\" preserving value type\n  prog get --env \u003cid\u003e --level node\u003d\u003cfqdn\u003e --resource \u003cname\u003e --key \u003ckey\u003e --format [plain|json|yaml]\n  \n  # set whole resource as one yaml/json from stdin\n  prog set --env \u003cid\u003e --level node\u003d\u003cfqdn\u003e --resource \u003cname\u003e --format [json|yaml] \u003c resource.[json|yaml]\n  \n  # set one key in the resource\n  # allow to set simple types with --value arg (null doesn\u0027t require it)\n  # and complex types with their json/yaml representation from stdin\n  prog set --env \u003cid\u003e --level node\u003d\u003cfqdn\u003e --resource \u003cname\u003e --key \u003ckey\u003e --type [null|int|str|json|yaml] [--value \u003cvalue\u003e | \u003c value.[json|yaml] ]\n\nWe should probably also add \"override\" command that would work like \"set\", but with overrides.","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":242,"context_line":"  argument. If omitted, a value of ``KEY`` is returned."},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"* ``--format [json|yaml]`` defines a format of output. Default is ``json``."},{"line_number":245,"context_line":""},{"line_number":246,"context_line":"Plugins"},{"line_number":247,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":248,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_5ed686f1","line":245,"in_reply_to":"7af24918_c3ebf376","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"9f69719c24af6ac30192589897ca1c775186be36","unresolved":false,"context_lines":[{"line_number":242,"context_line":"  argument. If omitted, a value of ``KEY`` is returned."},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"* ``--format [json|yaml]`` defines a format of output. Default is ``json``."},{"line_number":245,"context_line":""},{"line_number":246,"context_line":"Plugins"},{"line_number":247,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":248,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_46d7f1ec","line":245,"in_reply_to":"7af24918_c3ebf376","updated":"2016-03-03 08:07:04.000000000","message":"Oh, forgot \"bool\" type there!","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4298810fac99e7690e620c6e469133b3a78ff95f","unresolved":false,"context_lines":[{"line_number":260,"context_line":"Alternatives"},{"line_number":261,"context_line":"------------"},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"What are other ways of achieving the same results? Why aren\u0027t they followed?"},{"line_number":264,"context_line":"This doesn\u0027t have to be a full literature review, but it should demonstrate"},{"line_number":265,"context_line":"that thought has been put into why the proposed solution is an appropriate one."},{"line_number":266,"context_line":""},{"line_number":267,"context_line":"The alternative approach would be to create a dedicated service to facilitate"},{"line_number":268,"context_line":"the exchange of the serialized data between different components of the Fuel"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_638f7f75","line":265,"range":{"start_line":263,"start_character":0,"end_line":265,"end_character":79},"updated":"2016-03-03 07:52:46.000000000","message":"Template leftover","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"48debef1ab35fce65bc70542929aa2ef312683b6","unresolved":false,"context_lines":[{"line_number":260,"context_line":"Alternatives"},{"line_number":261,"context_line":"------------"},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"What are other ways of achieving the same results? Why aren\u0027t they followed?"},{"line_number":264,"context_line":"This doesn\u0027t have to be a full literature review, but it should demonstrate"},{"line_number":265,"context_line":"that thought has been put into why the proposed solution is an appropriate one."},{"line_number":266,"context_line":""},{"line_number":267,"context_line":"The alternative approach would be to create a dedicated service to facilitate"},{"line_number":268,"context_line":"the exchange of the serialized data between different components of the Fuel"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7af24918_9e1e4e6e","line":265,"range":{"start_line":263,"start_character":0,"end_line":265,"end_character":79},"in_reply_to":"7af24918_638f7f75","updated":"2016-03-03 14:06:52.000000000","message":"Done","commit_id":"a398bc6e37cde0fa44366a34fd67209b80b6b1f5"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"bdf722d0dd85e079dffe597068b18b3bb5bfc4ef","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/fuel/+spec/serialized-facts-nailgun-api"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"API for downloading serilized deployment facts. It shall be used for"},{"line_number":14,"context_line":"the following scenarios:"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"* create data resources in Solar"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_49bae46f","line":13,"range":{"start_line":13,"start_character":20,"end_line":13,"end_character":29},"updated":"2016-03-05 22:25:53.000000000","message":"typo","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/fuel/+spec/serialized-facts-nailgun-api"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"API for downloading serilized deployment facts. It shall be used for"},{"line_number":14,"context_line":"the following scenarios:"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"* create data resources in Solar"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_5f48c887","line":13,"range":{"start_line":13,"start_character":20,"end_line":13,"end_character":29},"in_reply_to":"7af24918_49bae46f","updated":"2016-03-07 19:49:49.000000000","message":"Done","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"fef858c40de1d46052c0bbfaebf957e1b1e73859","unresolved":false,"context_lines":[{"line_number":36,"context_line":"feature [1]_ and node-specific overrides all defined in Hiera\u0027s"},{"line_number":37,"context_line":"hierarchy of data sources as local ``yaml`` files."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"This makes it difficult to update the facts on the node. It also"},{"line_number":40,"context_line":"doesn\u0027t allow for keeping track of changed settings. Revert to the"},{"line_number":41,"context_line":"original facts is also not possible."},{"line_number":42,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_5c03b90d","line":39,"range":{"start_line":39,"start_character":0,"end_line":39,"end_character":56},"updated":"2016-03-06 07:36:38.000000000","message":"Why is it difficult and how the proposed changes help with it?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":36,"context_line":"feature [1]_ and node-specific overrides all defined in Hiera\u0027s"},{"line_number":37,"context_line":"hierarchy of data sources as local ``yaml`` files."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"This makes it difficult to update the facts on the node. It also"},{"line_number":40,"context_line":"doesn\u0027t allow for keeping track of changed settings. Revert to the"},{"line_number":41,"context_line":"original facts is also not possible."},{"line_number":42,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_bf5d8c4a","line":39,"range":{"start_line":39,"start_character":0,"end_line":39,"end_character":56},"in_reply_to":"7af24918_5c03b90d","updated":"2016-03-07 19:49:49.000000000","message":"Done","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"7c1ee23a441053dc208cfaf772cf935e182860f4","unresolved":false,"context_lines":[{"line_number":41,"context_line":"original facts is also not possible."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"----------------"},{"line_number":44,"context_line":"Proposed changes"},{"line_number":45,"context_line":"----------------"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"The proposed change will allow the new way to access the already"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_755a1c52","line":44,"range":{"start_line":44,"start_character":0,"end_line":44,"end_character":8},"updated":"2016-03-05 01:01:09.000000000","message":"Neither here nor in [3] I can\u0027t find an answer to what happens in the following case:\n1) you run deployment and data thanks to [3] is uploaded to this extension\n2) you do some ops by modifying data in this extension, and driving changes by Puppet Master\n3) you return back to Fuel UI, and add a node to the env. I assume, that task from [3] will run again, and will upload data again here.\n\nIs it the case? If so, then whatever modifications done manually via this extension will be lost (overriden by defaults generated by Fuel). How do we prevent it?\n\nIs there a way to actually give puppet, which is run by Fuel, new data from this extension as opposed to the old way from serializers to hiera?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":41,"context_line":"original facts is also not possible."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"----------------"},{"line_number":44,"context_line":"Proposed changes"},{"line_number":45,"context_line":"----------------"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"The proposed change will allow the new way to access the already"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_a2d72fbe","line":44,"range":{"start_line":44,"start_character":0,"end_line":44,"end_character":8},"in_reply_to":"7af24918_755a1c52","updated":"2016-03-07 19:49:49.000000000","message":"The new version of the spec contains detailed description of example workflow.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"bdf722d0dd85e079dffe597068b18b3bb5bfc4ef","unresolved":false,"context_lines":[{"line_number":47,"context_line":"The proposed change will allow the new way to access the already"},{"line_number":48,"context_line":"existing serialization functionality. New API extension shall respond"},{"line_number":49,"context_line":"to GET requests with the result of serialization of deployment"},{"line_number":50,"context_line":"facts from Fuel settings."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"The API extension shall also allow to store the serialized deployment"},{"line_number":53,"context_line":"configuration with POST request to an URL for a corresponding"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_89734ce7","line":50,"range":{"start_line":50,"start_character":6,"end_line":50,"end_character":24},"updated":"2016-03-05 22:25:53.000000000","message":"what do you mean here? serialization using Fuel settings (is it any difference from current workflow)? deployment facts are got from Fuel settings somehow? Something else?\n\nI\u0027d remove this if it is about current workflow to not confuse reviewers. Or make it more clear otherwise.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":47,"context_line":"The proposed change will allow the new way to access the already"},{"line_number":48,"context_line":"existing serialization functionality. New API extension shall respond"},{"line_number":49,"context_line":"to GET requests with the result of serialization of deployment"},{"line_number":50,"context_line":"facts from Fuel settings."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"The API extension shall also allow to store the serialized deployment"},{"line_number":53,"context_line":"configuration with POST request to an URL for a corresponding"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_02e543a7","line":50,"range":{"start_line":50,"start_character":6,"end_line":50,"end_character":24},"in_reply_to":"7af24918_89734ce7","updated":"2016-03-07 19:49:49.000000000","message":"Done","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"7c1ee23a441053dc208cfaf772cf935e182860f4","unresolved":false,"context_lines":[{"line_number":50,"context_line":"facts from Fuel settings."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"The API extension shall also allow to store the serialized deployment"},{"line_number":53,"context_line":"configuration with POST request to an URL for a corresponding"},{"line_number":54,"context_line":"data source."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"The context of the serialization shall be provided with the parameter"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_355ed476","line":53,"range":{"start_line":53,"start_character":19,"end_line":53,"end_character":23},"updated":"2016-03-05 01:01:09.000000000","message":"As far as I\u0027m aware of requirements, we need to support read/create/update/ operations. Not sure about delete. So I assume that we\u0027d need GET, PUT, POST requests.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"bdf722d0dd85e079dffe597068b18b3bb5bfc4ef","unresolved":false,"context_lines":[{"line_number":50,"context_line":"facts from Fuel settings."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"The API extension shall also allow to store the serialized deployment"},{"line_number":53,"context_line":"configuration with POST request to an URL for a corresponding"},{"line_number":54,"context_line":"data source."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"The context of the serialization shall be provided with the parameter"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_895a2c4f","line":53,"range":{"start_line":53,"start_character":32,"end_line":53,"end_character":41},"updated":"2016-03-05 22:25:53.000000000","message":"store to an URL? or request to an URL? to which URL? AFAIC, this should be removed if it\u0027s about request to this extension.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":50,"context_line":"facts from Fuel settings."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"The API extension shall also allow to store the serialized deployment"},{"line_number":53,"context_line":"configuration with POST request to an URL for a corresponding"},{"line_number":54,"context_line":"data source."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"The context of the serialization shall be provided with the parameter"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_62ec0790","line":53,"range":{"start_line":53,"start_character":19,"end_line":53,"end_character":23},"in_reply_to":"7af24918_355ed476","updated":"2016-03-07 19:49:49.000000000","message":"Update operation is the same as create in context of the current implementation, so POST is not required.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":50,"context_line":"facts from Fuel settings."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"The API extension shall also allow to store the serialized deployment"},{"line_number":53,"context_line":"configuration with POST request to an URL for a corresponding"},{"line_number":54,"context_line":"data source."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"The context of the serialization shall be provided with the parameter"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_42ed8b8d","line":53,"range":{"start_line":53,"start_character":32,"end_line":53,"end_character":41},"in_reply_to":"7af24918_895a2c4f","updated":"2016-03-07 19:49:49.000000000","message":"Done","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"fef858c40de1d46052c0bbfaebf957e1b1e73859","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"The context of the serialization shall be provided with the parameter"},{"line_number":57,"context_line":"in the URL of GET/POST request."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Web UI"},{"line_number":61,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_d13b3237","line":58,"updated":"2016-03-06 07:36:38.000000000","message":"Who is the primary user of this API (operator, some service, maybe some of the things listed in references section)?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"The context of the serialization shall be provided with the parameter"},{"line_number":57,"context_line":"in the URL of GET/POST request."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Web UI"},{"line_number":61,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_22679f26","line":58,"in_reply_to":"7af24918_d13b3237","updated":"2016-03-07 19:49:49.000000000","message":"Done","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"bdf722d0dd85e079dffe597068b18b3bb5bfc4ef","unresolved":false,"context_lines":[{"line_number":73,"context_line":"Data model"},{"line_number":74,"context_line":"----------"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"A new MySQL ``deployment_data`` table shall be created to store"},{"line_number":77,"context_line":"the serialised data. The table shall have the following fields:"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* ``id``: primary key field, integer, autoincrement"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_c847071c","line":76,"range":{"start_line":76,"start_character":14,"end_line":76,"end_character":29},"updated":"2016-03-05 22:25:53.000000000","message":"I read this spec and https://review.openstack.org/#/c/286012/3/specs/9.0/upload-serialized-facts-to-configdb.rst . It\u0027s not clear is ConfigDB and this table the same thing or these are different things? if they are different, why to have two storages then?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":73,"context_line":"Data model"},{"line_number":74,"context_line":"----------"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"A new MySQL ``deployment_data`` table shall be created to store"},{"line_number":77,"context_line":"the serialised data. The table shall have the following fields:"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* ``id``: primary key field, integer, autoincrement"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_0258a355","line":76,"range":{"start_line":76,"start_character":14,"end_line":76,"end_character":29},"in_reply_to":"7af24918_c847071c","updated":"2016-03-07 19:49:49.000000000","message":"In fact, the data model will be different and more complex. I will just describe the data sources here for the sake of clarity.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"194308a94da0e5babdbabc929be3c1c1224ec7ac","unresolved":false,"context_lines":[{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* ``id``: primary key field, integer, autoincrement"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"* ``cluster_id``: identifies the cluster that contains the node,"},{"line_number":82,"context_line":"  foreign key in the ``clusters`` table"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"* ``node_id``: identifies the node defined by the data, foreign key"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_29166aa7","line":81,"range":{"start_line":81,"start_character":4,"end_line":81,"end_character":14},"updated":"2016-03-06 14:10:18.000000000","message":"Do you really need this? You propose to check node against cluster. I didn\u0027t see any other usage of cluster_id here.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* ``id``: primary key field, integer, autoincrement"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"* ``cluster_id``: identifies the cluster that contains the node,"},{"line_number":82,"context_line":"  foreign key in the ``clusters`` table"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"* ``node_id``: identifies the node defined by the data, foreign key"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_4230eb07","line":81,"range":{"start_line":81,"start_character":4,"end_line":81,"end_character":14},"in_reply_to":"7af24918_29166aa7","updated":"2016-03-07 19:49:49.000000000","message":"Yes, I think we do need this.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"bdf722d0dd85e079dffe597068b18b3bb5bfc4ef","unresolved":false,"context_lines":[{"line_number":90,"context_line":"* ``datasource``: id of the data source, ENUM with the following"},{"line_number":91,"context_line":"  values:"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"  * ``astute`` for facts uploaded as ``astute.yaml`` file"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"  * ``globals`` for facts generated locally on a node"},{"line_number":96,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_65309c08","line":93,"range":{"start_line":93,"start_character":39,"end_line":93,"end_character":50},"updated":"2016-03-05 22:25:53.000000000","message":"facts are generated per node role (afair, one astute.yaml per node role). Will it be just an array of facts for several node roles? or some other structure?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":90,"context_line":"* ``datasource``: id of the data source, ENUM with the following"},{"line_number":91,"context_line":"  values:"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"  * ``astute`` for facts uploaded as ``astute.yaml`` file"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"  * ``globals`` for facts generated locally on a node"},{"line_number":96,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_fd19dc7a","line":93,"range":{"start_line":93,"start_character":39,"end_line":93,"end_character":50},"in_reply_to":"7af24918_65309c08","updated":"2016-03-07 19:49:49.000000000","message":"This data source actually should be just a redirect to corresponding Nailgun API call (/cluster/\u003ccluster_id\u003e/orchestration/deployment/?node\u003d\u003cnode_id\u003e).","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"bdf722d0dd85e079dffe597068b18b3bb5bfc4ef","unresolved":false,"context_lines":[{"line_number":90,"context_line":"* ``datasource``: id of the data source, ENUM with the following"},{"line_number":91,"context_line":"  values:"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"  * ``astute`` for facts uploaded as ``astute.yaml`` file"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"  * ``globals`` for facts generated locally on a node"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"  * ``nodes`` for facts related to other nodes in environment"},{"line_number":98,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_49166456","line":95,"range":{"start_line":93,"start_character":0,"end_line":95,"end_character":53},"updated":"2016-03-05 22:25:53.000000000","message":"will this be loaded from slave nodes into nailgun? or it is about serialization results which are taken from nailgun?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":90,"context_line":"* ``datasource``: id of the data source, ENUM with the following"},{"line_number":91,"context_line":"  values:"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"  * ``astute`` for facts uploaded as ``astute.yaml`` file"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"  * ``globals`` for facts generated locally on a node"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"  * ``nodes`` for facts related to other nodes in environment"},{"line_number":98,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_42174b54","line":95,"range":{"start_line":93,"start_character":0,"end_line":95,"end_character":53},"in_reply_to":"7af24918_49166456","updated":"2016-03-07 19:49:49.000000000","message":"There is no serialization in Nailgun for this type of data. Currently it is generated by deployment task \u0027globals\u0027 at the node and is not exposed externally. Actually, this globals.yaml file is one of the main reasons to create a separate store at this point.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"bdf722d0dd85e079dffe597068b18b3bb5bfc4ef","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"  * ``globals`` for facts generated locally on a node"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"  * ``nodes`` for facts related to other nodes in environment"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * ``override/plugins`` for data generated by Fuel plugins"},{"line_number":100,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_29179855","line":97,"range":{"start_line":97,"start_character":6,"end_line":97,"end_character":11},"updated":"2016-03-05 22:25:53.000000000","message":"do you mean \u0027nodes\u0027 hash which is common for every node? or just all facts for all nodes (except current?)?\n\u0027nodes\u0027 hash is depricated. afaik, library team is working on removal of it now.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"  * ``globals`` for facts generated locally on a node"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"  * ``nodes`` for facts related to other nodes in environment"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * ``override/plugins`` for data generated by Fuel plugins"},{"line_number":100,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_a208cf2e","line":97,"range":{"start_line":97,"start_character":6,"end_line":97,"end_character":11},"in_reply_to":"7af24918_29179855","updated":"2016-03-07 19:49:49.000000000","message":"Yes, this is the deprecated \u0027nodes\u0027 hash from file \u0027nodes.yaml\u0027. I will double check the status of the depreciation and exclude it from this spec if necessary.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"bdf722d0dd85e079dffe597068b18b3bb5bfc4ef","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * ``override/plugins`` for data generated by Fuel plugins"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"  * ``override/configuration`` for data generated by OpenStack"},{"line_number":102,"context_line":"    configurations feature [1]_"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"* ``data``: text string that contains serialized data from the"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_6ce6cee9","line":101,"range":{"start_line":101,"start_character":35,"end_line":101,"end_character":39},"updated":"2016-03-05 22:25:53.000000000","message":"This data can be per-cluster, per-node-role and per-node. Will you save just the latter one? Or combine all three?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"  * ``override/plugins`` for data generated by Fuel plugins"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"  * ``override/configuration`` for data generated by OpenStack"},{"line_number":102,"context_line":"    configurations feature [1]_"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"* ``data``: text string that contains serialized data from the"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_7d0dcc36","line":101,"range":{"start_line":101,"start_character":35,"end_line":101,"end_character":39},"in_reply_to":"7af24918_6ce6cee9","updated":"2016-03-07 19:49:49.000000000","message":"All three will be saved in separate data sources. It is up to Hiera to decide which one has priority.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"bdf722d0dd85e079dffe597068b18b3bb5bfc4ef","unresolved":false,"context_lines":[{"line_number":103,"context_line":""},{"line_number":104,"context_line":"* ``data``: text string that contains serialized data from the"},{"line_number":105,"context_line":"  given data source"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"REST API"},{"line_number":108,"context_line":"--------"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_c5089030","line":106,"updated":"2016-03-05 22:25:53.000000000","message":"how about adding date/time here?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":103,"context_line":""},{"line_number":104,"context_line":"* ``data``: text string that contains serialized data from the"},{"line_number":105,"context_line":"  given data source"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"REST API"},{"line_number":108,"context_line":"--------"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_dd122058","line":106,"in_reply_to":"7af24918_c5089030","updated":"2016-03-07 19:49:49.000000000","message":"Done","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"bdf722d0dd85e079dffe597068b18b3bb5bfc4ef","unresolved":false,"context_lines":[{"line_number":107,"context_line":"REST API"},{"line_number":108,"context_line":"--------"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"* Download the latest version of serialized deployment"},{"line_number":111,"context_line":"  facts for the given node ID and data source"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"    * Method type: GET"},{"line_number":114,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_a5110460","line":111,"range":{"start_line":110,"start_character":0,"end_line":111,"end_character":45},"updated":"2016-03-05 22:25:53.000000000","message":"Does it call nailgun serializer or get data from \u0027deployment_data\u0027 table or both?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":107,"context_line":"REST API"},{"line_number":108,"context_line":"--------"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"* Download the latest version of serialized deployment"},{"line_number":111,"context_line":"  facts for the given node ID and data source"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"    * Method type: GET"},{"line_number":114,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_7d5b0c2f","line":111,"range":{"start_line":110,"start_character":0,"end_line":111,"end_character":45},"in_reply_to":"7af24918_a5110460","updated":"2016-03-07 19:49:49.000000000","message":"It depends on the requested data source. For \u0027astute\u0027 it probably will call a Nailgun serializer via API. For other data sources, it shall be returning stored data blobs.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"c4b606a5445b79f868b4aa76a8f6bbcf4d09e79d","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"    * Method type: GET"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:env_id\u003e/node/\u003c:id\u003e/resource/\u003c:datasource\u003e/values/?version\u003d\u003c:version\u003e``"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":118,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"5aef4532_ce20c1fa","line":115,"range":{"start_line":115,"start_character":24,"end_line":115,"end_character":35},"updated":"2016-03-07 13:10:00.000000000","message":"we use \"clusters\" already. do we need it at all? seems that \"nodes\" is enough.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"c4b606a5445b79f868b4aa76a8f6bbcf4d09e79d","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"    * Method type: GET"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:env_id\u003e/node/\u003c:id\u003e/resource/\u003c:datasource\u003e/values/?version\u003d\u003c:version\u003e``"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":118,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"5aef4532_4e8311cd","line":115,"range":{"start_line":115,"start_character":46,"end_line":115,"end_character":50},"updated":"2016-03-07 13:10:00.000000000","message":"we use \"nodes\" already.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"bdf722d0dd85e079dffe597068b18b3bb5bfc4ef","unresolved":false,"context_lines":[{"line_number":145,"context_line":"      * ``datasource`` is a text name of the queried data source."},{"line_number":146,"context_line":"        See the `Data Model`_ section for the available data sources."},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"      * ``version`` identifies the version to access. Defaults"},{"line_number":149,"context_line":"        to the latest version available for the given data source."},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    * Response contains serialized data stored for the given version"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_4803f70d","line":148,"range":{"start_line":148,"start_character":35,"end_line":148,"end_character":42},"updated":"2016-03-05 22:25:53.000000000","message":"version of data source?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":145,"context_line":"      * ``datasource`` is a text name of the queried data source."},{"line_number":146,"context_line":"        See the `Data Model`_ section for the available data sources."},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"      * ``version`` identifies the version to access. Defaults"},{"line_number":149,"context_line":"        to the latest version available for the given data source."},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    * Response contains serialized data stored for the given version"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_dd406038","line":148,"range":{"start_line":148,"start_character":35,"end_line":148,"end_character":42},"in_reply_to":"7af24918_099f2e60","updated":"2016-03-07 19:49:49.000000000","message":"Version of the data itself.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"194308a94da0e5babdbabc929be3c1c1224ec7ac","unresolved":false,"context_lines":[{"line_number":145,"context_line":"      * ``datasource`` is a text name of the queried data source."},{"line_number":146,"context_line":"        See the `Data Model`_ section for the available data sources."},{"line_number":147,"context_line":""},{"line_number":148,"context_line":"      * ``version`` identifies the version to access. Defaults"},{"line_number":149,"context_line":"        to the latest version available for the given data source."},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    * Response contains serialized data stored for the given version"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_099f2e60","line":148,"range":{"start_line":148,"start_character":35,"end_line":148,"end_character":42},"in_reply_to":"7af24918_4803f70d","updated":"2016-03-06 14:10:18.000000000","message":"Ah.. Got it. The same as in data model.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"bdf722d0dd85e079dffe597068b18b3bb5bfc4ef","unresolved":false,"context_lines":[{"line_number":147,"context_line":""},{"line_number":148,"context_line":"      * ``version`` identifies the version to access. Defaults"},{"line_number":149,"context_line":"        to the latest version available for the given data source."},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    * Response contains serialized data stored for the given version"},{"line_number":152,"context_line":"      of the data source. The data is unstructured set of key/value"},{"line_number":153,"context_line":"      pairs in JSON format."}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_c8d9c785","line":150,"updated":"2016-03-05 22:25:53.000000000","message":"what fields are obligatory here?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":147,"context_line":""},{"line_number":148,"context_line":"      * ``version`` identifies the version to access. Defaults"},{"line_number":149,"context_line":"        to the latest version available for the given data source."},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    * Response contains serialized data stored for the given version"},{"line_number":152,"context_line":"      of the data source. The data is unstructured set of key/value"},{"line_number":153,"context_line":"      pairs in JSON format."}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_1d4be85a","line":150,"in_reply_to":"7af24918_c8d9c785","updated":"2016-03-07 19:49:49.000000000","message":"All of them.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"bdf722d0dd85e079dffe597068b18b3bb5bfc4ef","unresolved":false,"context_lines":[{"line_number":148,"context_line":"      * ``version`` identifies the version to access. Defaults"},{"line_number":149,"context_line":"        to the latest version available for the given data source."},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    * Response contains serialized data stored for the given version"},{"line_number":152,"context_line":"      of the data source. The data is unstructured set of key/value"},{"line_number":153,"context_line":"      pairs in JSON format."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* Upload serialized deployment facts for a node by ID and data source"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_2834abdc","line":152,"range":{"start_line":151,"start_character":55,"end_line":152,"end_character":24},"updated":"2016-03-05 22:25:53.000000000","message":"can different data sources of one extension have different versions? what does the version affect?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"194308a94da0e5babdbabc929be3c1c1224ec7ac","unresolved":false,"context_lines":[{"line_number":148,"context_line":"      * ``version`` identifies the version to access. Defaults"},{"line_number":149,"context_line":"        to the latest version available for the given data source."},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    * Response contains serialized data stored for the given version"},{"line_number":152,"context_line":"      of the data source. The data is unstructured set of key/value"},{"line_number":153,"context_line":"      pairs in JSON format."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* Upload serialized deployment facts for a node by ID and data source"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_69399241","line":152,"range":{"start_line":151,"start_character":55,"end_line":152,"end_character":24},"in_reply_to":"7af24918_2834abdc","updated":"2016-03-06 14:10:18.000000000","message":"Done. Got it.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"7a160dd6fa4ab651f74ec62ba722ce7d6d6aaf6c","unresolved":false,"context_lines":[{"line_number":149,"context_line":"        to the latest version available for the given data source."},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    * Response contains serialized data stored for the given version"},{"line_number":152,"context_line":"      of the data source. The data is unstructured set of key/value"},{"line_number":153,"context_line":"      pairs in JSON format."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* Upload serialized deployment facts for a node by ID and data source"},{"line_number":156,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_49c65617","line":153,"range":{"start_line":152,"start_character":38,"end_line":153,"end_character":26},"updated":"2016-03-06 14:24:01.000000000","message":"why unstructured set? how to \u0027unstructure\u0027 the original tree (e.g. astute.yaml)?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":149,"context_line":"        to the latest version available for the given data source."},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    * Response contains serialized data stored for the given version"},{"line_number":152,"context_line":"      of the data source. The data is unstructured set of key/value"},{"line_number":153,"context_line":"      pairs in JSON format."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* Upload serialized deployment facts for a node by ID and data source"},{"line_number":156,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_5d73b0b4","line":153,"range":{"start_line":152,"start_character":38,"end_line":153,"end_character":26},"in_reply_to":"7af24918_49c65617","updated":"2016-03-07 19:49:49.000000000","message":"This is misused word here. These data are \u0027unstructured\u0027 in a sense that there is no fixed \u0027schema\u0027 or \u0027structure\u0027 anywhere that can be used to validate the data structure for astute.yaml, or any other serialized data in question.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"7c1ee23a441053dc208cfaf772cf935e182860f4","unresolved":false,"context_lines":[{"line_number":152,"context_line":"      of the data source. The data is unstructured set of key/value"},{"line_number":153,"context_line":"      pairs in JSON format."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* Upload serialized deployment facts for a node by ID and data source"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"    * Method type: PUT"},{"line_number":158,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_15c63816","line":155,"range":{"start_line":155,"start_character":2,"end_line":155,"end_character":8},"updated":"2016-03-05 01:01:09.000000000","message":"This section, PUT, is for updating existing configuration data. What about creating new key-value pairs?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":152,"context_line":"      of the data source. The data is unstructured set of key/value"},{"line_number":153,"context_line":"      pairs in JSON format."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* Upload serialized deployment facts for a node by ID and data source"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"    * Method type: PUT"},{"line_number":158,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_7d72ecae","line":155,"range":{"start_line":155,"start_character":2,"end_line":155,"end_character":8},"in_reply_to":"7af24918_15c63816","updated":"2016-03-07 19:49:49.000000000","message":"Update existing, create new, this method just writes a new blob with increased version for given data source. It can contain any combination of new/existing keys, we can\u0027t validate it, just store what we got.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"bdf722d0dd85e079dffe597068b18b3bb5bfc4ef","unresolved":false,"context_lines":[{"line_number":152,"context_line":"      of the data source. The data is unstructured set of key/value"},{"line_number":153,"context_line":"      pairs in JSON format."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* Upload serialized deployment facts for a node by ID and data source"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"    * Method type: PUT"},{"line_number":158,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_4851370e","line":155,"range":{"start_line":155,"start_character":2,"end_line":155,"end_character":8},"in_reply_to":"7af24918_15c63816","updated":"2016-03-05 22:25:53.000000000","message":"upload into deploment_data table? or to slave node?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":152,"context_line":"      of the data source. The data is unstructured set of key/value"},{"line_number":153,"context_line":"      pairs in JSON format."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"* Upload serialized deployment facts for a node by ID and data source"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"    * Method type: PUT"},{"line_number":158,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_dd67c0e8","line":155,"range":{"start_line":155,"start_character":2,"end_line":155,"end_character":8},"in_reply_to":"7af24918_4851370e","updated":"2016-03-07 19:49:49.000000000","message":"Upload to the API and save to the database.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"bdf722d0dd85e079dffe597068b18b3bb5bfc4ef","unresolved":false,"context_lines":[{"line_number":190,"context_line":""},{"line_number":191,"context_line":"    * Response payload contains the same serialized data as"},{"line_number":192,"context_line":"      the request, plus top-level key ``version`` which"},{"line_number":193,"context_line":"      identifies a version of the uploaded data."},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"Orchestration"},{"line_number":196,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_a86d5bce","line":193,"range":{"start_line":193,"start_character":34,"end_line":193,"end_character":47},"updated":"2016-03-05 22:25:53.000000000","message":"Above, you were talking about version of data source and now you say about version of data. Looks confusing.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"194308a94da0e5babdbabc929be3c1c1224ec7ac","unresolved":false,"context_lines":[{"line_number":190,"context_line":""},{"line_number":191,"context_line":"    * Response payload contains the same serialized data as"},{"line_number":192,"context_line":"      the request, plus top-level key ``version`` which"},{"line_number":193,"context_line":"      identifies a version of the uploaded data."},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"Orchestration"},{"line_number":196,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_292f8af7","line":193,"range":{"start_line":193,"start_character":34,"end_line":193,"end_character":47},"in_reply_to":"7af24918_a86d5bce","updated":"2016-03-06 14:10:18.000000000","message":"Done. Got it.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"bdf722d0dd85e079dffe597068b18b3bb5bfc4ef","unresolved":false,"context_lines":[{"line_number":191,"context_line":"    * Response payload contains the same serialized data as"},{"line_number":192,"context_line":"      the request, plus top-level key ``version`` which"},{"line_number":193,"context_line":"      identifies a version of the uploaded data."},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"Orchestration"},{"line_number":196,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":197,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_689a33c7","line":194,"updated":"2016-03-05 22:25:53.000000000","message":"How about POST?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":191,"context_line":"    * Response payload contains the same serialized data as"},{"line_number":192,"context_line":"      the request, plus top-level key ``version`` which"},{"line_number":193,"context_line":"      identifies a version of the uploaded data."},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"Orchestration"},{"line_number":196,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":197,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_1d62c8d8","line":194,"in_reply_to":"7af24918_689a33c7","updated":"2016-03-07 19:49:49.000000000","message":"It is not necessary as it won\u0027t have additional semantics compared to the PUT above.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"194308a94da0e5babdbabc929be3c1c1224ec7ac","unresolved":false,"context_lines":[{"line_number":215,"context_line":"format (``json`` or ``yaml``) to the ``stdout`` stream."},{"line_number":216,"context_line":""},{"line_number":217,"context_line":"A separate client option shall be added to add or update facts to the"},{"line_number":218,"context_line":"store. This client must provide an ability to read/write key-value pairs"},{"line_number":219,"context_line":"from the ConfigDB API for all available data sources."},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"Following CLI parameters shall be supported for ``config`` subcommand:"},{"line_number":222,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_c9d0a6fa","line":219,"range":{"start_line":218,"start_character":7,"end_line":219,"end_character":53},"updated":"2016-03-06 14:10:18.000000000","message":"Does the client use some different API in this case?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":215,"context_line":"format (``json`` or ``yaml``) to the ``stdout`` stream."},{"line_number":216,"context_line":""},{"line_number":217,"context_line":"A separate client option shall be added to add or update facts to the"},{"line_number":218,"context_line":"store. This client must provide an ability to read/write key-value pairs"},{"line_number":219,"context_line":"from the ConfigDB API for all available data sources."},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"Following CLI parameters shall be supported for ``config`` subcommand:"},{"line_number":222,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_7da94cdf","line":219,"range":{"start_line":218,"start_character":7,"end_line":219,"end_character":53},"in_reply_to":"7af24918_c9d0a6fa","updated":"2016-03-07 19:49:49.000000000","message":"Just like with Hiera lookup, it gets the whole blob, updates/adds whatever requested and uploads the blob back again. It uses service data source with \u0027.user\u0027 suffix to avoid messing up the node-originated data.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"194308a94da0e5babdbabc929be3c1c1224ec7ac","unresolved":false,"context_lines":[{"line_number":223,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Mandatory"},{"line_number":224,"context_line":"  argument."},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"* ``--level node\u003d\u003cFQDN\u003e`` identifies a node part of namespace."},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"* ``--resource \u003cNAME\u003e`` identifies a data source, combined"},{"line_number":229,"context_line":"  with a node name defines a complete name space"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_69023271","line":226,"range":{"start_line":226,"start_character":6,"end_line":226,"end_character":11},"updated":"2016-03-06 14:10:18.000000000","message":"Why to use \u0027level\u0027 keyword here? and not for environment?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":223,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Mandatory"},{"line_number":224,"context_line":"  argument."},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"* ``--level node\u003d\u003cFQDN\u003e`` identifies a node part of namespace."},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"* ``--resource \u003cNAME\u003e`` identifies a data source, combined"},{"line_number":229,"context_line":"  with a node name defines a complete name space"}],"source_content_type":"text/x-rst","patch_set":12,"id":"5aef4532_8bceab81","line":226,"range":{"start_line":226,"start_character":6,"end_line":226,"end_character":11},"in_reply_to":"7af24918_69023271","updated":"2016-03-07 19:49:49.000000000","message":"The \u0027level\u0027 keyword defines the abstract \u0027level\u0027 of the intra-environment hierarchy, internal to the ConfigDB extension. Currently there are 4 levels (environment itself, role, node_group and individual node) in Fuel. The ConifgDB service shall (in future) allow to create custom levels and hierarchies if needed, but at the moment we only will work with the node-level data.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"194308a94da0e5babdbabc929be3c1c1224ec7ac","unresolved":false,"context_lines":[{"line_number":237,"context_line":"  argument. If omitted, a value of ``KEY`` is returned."},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"* ``--format [json|yaml]`` defines a format of output. Default is ``json``."},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"**Examples**"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"* get whole resource as one yaml/json"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_e9d762eb","line":240,"updated":"2016-03-06 14:10:18.000000000","message":"No \u0027version\u0027 parameter. Does the client always use the latest data?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":237,"context_line":"  argument. If omitted, a value of ``KEY`` is returned."},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"* ``--format [json|yaml]`` defines a format of output. Default is ``json``."},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"**Examples**"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"* get whole resource as one yaml/json"}],"source_content_type":"text/x-rst","patch_set":12,"id":"5aef4532_6bcb5f73","line":240,"in_reply_to":"7af24918_e9d762eb","updated":"2016-03-07 19:49:49.000000000","message":"Yes, for now it\u0027s only latest data.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"7c1ee23a441053dc208cfaf772cf935e182860f4","unresolved":false,"context_lines":[{"line_number":238,"context_line":""},{"line_number":239,"context_line":"* ``--format [json|yaml]`` defines a format of output. Default is ``json``."},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"**Examples**"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"* get whole resource as one yaml/json"},{"line_number":244,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_8067a4e9","line":241,"range":{"start_line":241,"start_character":2,"end_line":241,"end_character":10},"updated":"2016-03-05 01:01:09.000000000","message":"Thanks for providing examples, as it is great to understand the UX of this solution. It would be even better though to provide very concrete examples, like updating keystone.conf configuration values.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":238,"context_line":""},{"line_number":239,"context_line":"* ``--format [json|yaml]`` defines a format of output. Default is ``json``."},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"**Examples**"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"* get whole resource as one yaml/json"},{"line_number":244,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"5aef4532_abc5675c","line":241,"range":{"start_line":241,"start_character":2,"end_line":241,"end_character":10},"in_reply_to":"7af24918_8067a4e9","updated":"2016-03-07 19:49:49.000000000","message":"Done","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"a04e52db30c37a8af105a0b1a0e7bcd07dbcf206","unresolved":false,"context_lines":[{"line_number":333,"context_line":"Performance impact"},{"line_number":334,"context_line":"------------------"},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"None."},{"line_number":337,"context_line":""},{"line_number":338,"context_line":"-----------------"},{"line_number":339,"context_line":"Deployment impact"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_60c0987d","line":336,"updated":"2016-03-05 01:07:39.000000000","message":"There is impact, I believe. Are not many puppet agents will be calling Hiera, which in fact will be calling this extension? How many calls do we expect? How many data to be transfered? We need to assess how it will work at scale of at least 200 nodes.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":333,"context_line":"Performance impact"},{"line_number":334,"context_line":"------------------"},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"None."},{"line_number":337,"context_line":""},{"line_number":338,"context_line":"-----------------"},{"line_number":339,"context_line":"Deployment impact"}],"source_content_type":"text/x-rst","patch_set":12,"id":"5aef4532_0bb61bdc","line":336,"in_reply_to":"7af24918_60c0987d","updated":"2016-03-07 19:49:49.000000000","message":"Most of the performance impact will occur in a case the Puppet Master LCM is in use. However, we can\u0027t estimate the impact since we don\u0027t have baseline numbers.\n\nAs for the main Fuel use case, the impact shall be insignificant since the only addition is a deployment task that uploads the data from node in the end of the deployment. I will add mention of it in new version.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"7a160dd6fa4ab651f74ec62ba722ce7d6d6aaf6c","unresolved":false,"context_lines":[{"line_number":357,"context_line":"Documentation impact"},{"line_number":358,"context_line":"--------------------"},{"line_number":359,"context_line":""},{"line_number":360,"context_line":"None."},{"line_number":361,"context_line":""},{"line_number":362,"context_line":"--------------"},{"line_number":363,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_09fc4e3d","line":360,"range":{"start_line":360,"start_character":0,"end_line":360,"end_character":4},"updated":"2016-03-06 14:24:01.000000000","message":"Not none according to \u0027Work Items\u0027.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":357,"context_line":"Documentation impact"},{"line_number":358,"context_line":"--------------------"},{"line_number":359,"context_line":""},{"line_number":360,"context_line":"None."},{"line_number":361,"context_line":""},{"line_number":362,"context_line":"--------------"},{"line_number":363,"context_line":"Implementation"}],"source_content_type":"text/x-rst","patch_set":12,"id":"5aef4532_ebbacfbf","line":360,"range":{"start_line":360,"start_character":0,"end_line":360,"end_character":4},"in_reply_to":"7af24918_09fc4e3d","updated":"2016-03-07 19:49:49.000000000","message":"Correct. Will add here.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"7a160dd6fa4ab651f74ec62ba722ce7d6d6aaf6c","unresolved":false,"context_lines":[{"line_number":390,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":391,"context_line":""},{"line_number":392,"context_line":"* Implement an API handler and supplementary logic in Nailgun source code"},{"line_number":393,"context_line":"  tree."},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"* Update documentation to reflect changes in the Nailgun API."},{"line_number":396,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_29994a20","line":393,"updated":"2016-03-06 14:24:01.000000000","message":"changes in DB schema can be considered as separate item.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":390,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":391,"context_line":""},{"line_number":392,"context_line":"* Implement an API handler and supplementary logic in Nailgun source code"},{"line_number":393,"context_line":"  tree."},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"* Update documentation to reflect changes in the Nailgun API."},{"line_number":396,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"5aef4532_4d12e0b5","line":393,"in_reply_to":"7af24918_29994a20","updated":"2016-03-07 19:49:49.000000000","message":"Done","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"7a160dd6fa4ab651f74ec62ba722ce7d6d6aaf6c","unresolved":false,"context_lines":[{"line_number":394,"context_line":""},{"line_number":395,"context_line":"* Update documentation to reflect changes in the Nailgun API."},{"line_number":396,"context_line":""},{"line_number":397,"context_line":"* Implement simple client application to communicate to the API."},{"line_number":398,"context_line":""},{"line_number":399,"context_line":"Dependencies"},{"line_number":400,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_a9855aae","line":397,"updated":"2016-03-06 14:24:01.000000000","message":"do you mean that Fuel CLI should be changed?","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":394,"context_line":""},{"line_number":395,"context_line":"* Update documentation to reflect changes in the Nailgun API."},{"line_number":396,"context_line":""},{"line_number":397,"context_line":"* Implement simple client application to communicate to the API."},{"line_number":398,"context_line":""},{"line_number":399,"context_line":"Dependencies"},{"line_number":400,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":12,"id":"5aef4532_2d1794a4","line":397,"in_reply_to":"7af24918_a9855aae","updated":"2016-03-07 19:49:49.000000000","message":"Done","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"a04e52db30c37a8af105a0b1a0e7bcd07dbcf206","unresolved":false,"context_lines":[{"line_number":405,"context_line":"Testing, QA"},{"line_number":406,"context_line":"------------"},{"line_number":407,"context_line":""},{"line_number":408,"context_line":"TBD"},{"line_number":409,"context_line":""},{"line_number":410,"context_line":"Acceptance criteria"},{"line_number":411,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7af24918_4040fc07","line":408,"range":{"start_line":408,"start_character":0,"end_line":408,"end_character":3},"updated":"2016-03-05 01:07:39.000000000","message":"Let\u0027s elaborate here, how do we plan to test it. Do we have CI for it? If it is in a separate repo, then how do we verify that integration works fine? Etc.","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ff338d9f90e8533f1d0b56c0e864a139ee94ab3","unresolved":false,"context_lines":[{"line_number":405,"context_line":"Testing, QA"},{"line_number":406,"context_line":"------------"},{"line_number":407,"context_line":""},{"line_number":408,"context_line":"TBD"},{"line_number":409,"context_line":""},{"line_number":410,"context_line":"Acceptance criteria"},{"line_number":411,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":12,"id":"5aef4532_8d0ce895","line":408,"range":{"start_line":408,"start_character":0,"end_line":408,"end_character":3},"in_reply_to":"7af24918_4040fc07","updated":"2016-03-07 19:49:49.000000000","message":"Done","commit_id":"a37fa61ae91df0cee648da415ba36ec7dd0fba24"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"8aaacc1f622eeebac8a0b2943843fd3ba1198f7d","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"**Example workflow**"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"The following example illustrates the workflow of"},{"line_number":116,"context_line":"the solution:"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"* Assume that the User intends to use 3rd-party"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3afc51ec_81ee6a20","line":115,"range":{"start_line":115,"start_character":14,"end_line":115,"end_character":21},"updated":"2016-03-13 06:14:44.000000000","message":"The example below is great one if we enable a solution to Fuel Master, which has no environments deployed yet.\nWhat would we need to do in order to enable ConfigDB on already deployed OpenStack env, and get all the data to ConfigDB? What about older releases of Fuel, can we get 8.0, 7.0 supported?","commit_id":"1e9e6ae4012b337ccb88fca44f02aef8e994d745"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"c0d9f88dc0a09be54155ea9eaee7b97b1a62e1b9","unresolved":false,"context_lines":[{"line_number":112,"context_line":""},{"line_number":113,"context_line":"**Example workflow**"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"The following example illustrates the workflow of"},{"line_number":116,"context_line":"the solution:"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"* Assume that the User intends to use 3rd-party"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3afc51ec_fae7f7e1","line":115,"range":{"start_line":115,"start_character":14,"end_line":115,"end_character":21},"in_reply_to":"3afc51ec_81ee6a20","updated":"2016-03-14 14:14:38.000000000","message":"In order to activate the LCM plugin on already deployed environment, we will have to run plugin\u0027s deployment tasks on nodes in that environment. This will include the deployment task that uploads data from files to ConfigDB API, so yes, if plugin will be usable on existing environment, it will upload data to ConfigDB API just as in the initial deployment use case.\n\nRegarding older releases, we will have to create a docker image with integrated ConfigDB API extension in order to make it work. From the data standpoint, if we manage to run the deployment task upload_data_to_configdb at master node for the environment, then it will populate the ConfigDB API with appropriate data.","commit_id":"1e9e6ae4012b337ccb88fca44f02aef8e994d745"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"8aaacc1f622eeebac8a0b2943843fd3ba1198f7d","unresolved":false,"context_lines":[{"line_number":196,"context_line":"    * The User must configure all required"},{"line_number":197,"context_line":"      overrides for the node in ConfigDB API,"},{"line_number":198,"context_line":"      for example, ``keystone_url`` in ``globals``"},{"line_number":199,"context_line":"      data source."},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"    * The LCM tool applies override configuration"},{"line_number":202,"context_line":"      to the new node."}],"source_content_type":"text/x-rst","patch_set":14,"id":"3afc51ec_61351ed9","line":199,"range":{"start_line":199,"start_character":11,"end_line":199,"end_character":17},"updated":"2016-03-13 06:14:44.000000000","message":"It is clear that new node will get configuration generated by Nailgun, not the one updated manually in ConfigDB.\nWhat about old nodes? Controllers? If any task is re-run there, does it mean that Nailgun\u0027s data will be used, which then be uploaded to ConfigDB and override whatever was updated in ConfigDB manually?","commit_id":"1e9e6ae4012b337ccb88fca44f02aef8e994d745"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"c0d9f88dc0a09be54155ea9eaee7b97b1a62e1b9","unresolved":false,"context_lines":[{"line_number":196,"context_line":"    * The User must configure all required"},{"line_number":197,"context_line":"      overrides for the node in ConfigDB API,"},{"line_number":198,"context_line":"      for example, ``keystone_url`` in ``globals``"},{"line_number":199,"context_line":"      data source."},{"line_number":200,"context_line":""},{"line_number":201,"context_line":"    * The LCM tool applies override configuration"},{"line_number":202,"context_line":"      to the new node."}],"source_content_type":"text/x-rst","patch_set":14,"id":"3afc51ec_5b8c2d7f","line":199,"range":{"start_line":199,"start_character":11,"end_line":199,"end_character":17},"in_reply_to":"3afc51ec_61351ed9","updated":"2016-03-14 14:14:38.000000000","message":"Which data will be used depends on the configuration of Puppet agent and Hiera at the target nodes. This particular spec does not cover the changes in the configuration of those services at the node, since it is a responsibility of the LCM plugin.","commit_id":"1e9e6ae4012b337ccb88fca44f02aef8e994d745"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"8aaacc1f622eeebac8a0b2943843fd3ba1198f7d","unresolved":false,"context_lines":[{"line_number":341,"context_line":""},{"line_number":342,"context_line":"    * Method type: GET"},{"line_number":343,"context_line":""},{"line_number":344,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:env_id\u003e/node/\u003c:id\u003e/resource/\u003c:datasource\u003e/values/?version\u003d\u003c:version\u003e``"},{"line_number":345,"context_line":""},{"line_number":346,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":347,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3afc51ec_e1576e00","line":344,"range":{"start_line":344,"start_character":38,"end_line":344,"end_character":44},"updated":"2016-03-13 06:14:44.000000000","message":"Please respond to Aleksey\u0027s question from patchset 12: why do we need env_id, if \"nodes\" seems to enough. Same for the POST example above.","commit_id":"1e9e6ae4012b337ccb88fca44f02aef8e994d745"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"c0d9f88dc0a09be54155ea9eaee7b97b1a62e1b9","unresolved":false,"context_lines":[{"line_number":341,"context_line":""},{"line_number":342,"context_line":"    * Method type: GET"},{"line_number":343,"context_line":""},{"line_number":344,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:env_id\u003e/node/\u003c:id\u003e/resource/\u003c:datasource\u003e/values/?version\u003d\u003c:version\u003e``"},{"line_number":345,"context_line":""},{"line_number":346,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":347,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3afc51ec_dbb79df3","line":344,"range":{"start_line":344,"start_character":38,"end_line":344,"end_character":44},"in_reply_to":"3afc51ec_e1576e00","updated":"2016-03-14 14:14:38.000000000","message":"Looks like my original answer lost on its way.\n\nThis is required for \u0027forward\u0027 compatibility of this API with the future ConfigDB API that will manage data resources for multiple environments.\n\nIn the current version it will be configured by the plugin based on the deployment_id in the astute.yaml serialization for puppet-master node.","commit_id":"1e9e6ae4012b337ccb88fca44f02aef8e994d745"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"8aaacc1f622eeebac8a0b2943843fd3ba1198f7d","unresolved":false,"context_lines":[{"line_number":368,"context_line":"      * ``env_id`` identifies an OpenStack environment"},{"line_number":369,"context_line":"        that contains the node being queried"},{"line_number":370,"context_line":""},{"line_number":371,"context_line":"      * ``id`` is an ID of node being queried, shall be equal to FQDN"},{"line_number":372,"context_line":"        of the node"},{"line_number":373,"context_line":""},{"line_number":374,"context_line":"      * ``datasource`` is a text name of the queried data source."}],"source_content_type":"text/x-rst","patch_set":14,"id":"3afc51ec_2142f63e","line":371,"range":{"start_line":371,"start_character":65,"end_line":371,"end_character":69},"updated":"2016-03-13 06:14:44.000000000","message":"Is FQDN required for puppet-master solution? We use just integer ID everywhere. If we go with FQDN, it will require additional validation / method of getting node_id from fqdn in implementation. It is fine, but I just want to know why not integer node_id.","commit_id":"1e9e6ae4012b337ccb88fca44f02aef8e994d745"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"c0d9f88dc0a09be54155ea9eaee7b97b1a62e1b9","unresolved":false,"context_lines":[{"line_number":368,"context_line":"      * ``env_id`` identifies an OpenStack environment"},{"line_number":369,"context_line":"        that contains the node being queried"},{"line_number":370,"context_line":""},{"line_number":371,"context_line":"      * ``id`` is an ID of node being queried, shall be equal to FQDN"},{"line_number":372,"context_line":"        of the node"},{"line_number":373,"context_line":""},{"line_number":374,"context_line":"      * ``datasource`` is a text name of the queried data source."}],"source_content_type":"text/x-rst","patch_set":14,"id":"3afc51ec_6db05044","line":371,"range":{"start_line":371,"start_character":65,"end_line":371,"end_character":69},"in_reply_to":"3afc51ec_2142f63e","updated":"2016-03-14 14:14:38.000000000","message":"This is valid question. We discussed it with LCM plugin team. They explained that Puppet Master\u0027s external node classifier won\u0027t be fed with the data from Nailgun. Thus, there is no way we can inform the ECN about IDs of nodes in Nailgun and will have to revert to using FQDN to identify nodes, otherwise Puppet Master won\u0027t be able to identify them in ConfigDB API.","commit_id":"1e9e6ae4012b337ccb88fca44f02aef8e994d745"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"8aaacc1f622eeebac8a0b2943843fd3ba1198f7d","unresolved":false,"context_lines":[{"line_number":452,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Mandatory"},{"line_number":453,"context_line":"  argument."},{"line_number":454,"context_line":""},{"line_number":455,"context_line":"* ``--level node\u003d\u003cFQDN\u003e`` identifies a node part of namespace."},{"line_number":456,"context_line":""},{"line_number":457,"context_line":"* ``--resource \u003cNAME\u003e`` identifies a data source, combined"},{"line_number":458,"context_line":"  with a node name defines a complete name space"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3afc51ec_a174469c","line":455,"range":{"start_line":455,"start_character":6,"end_line":455,"end_character":11},"updated":"2016-03-13 06:14:44.000000000","message":"Your explanation about levels from patchset 12 is very important, in my opinion. It also explains some of the limitations (only node level now), as people may expect that API allows to get rack-level, node-group level, etc; as well as override data on each level. So I suggest to incorporate it in the spec, especially in the limitations section.\n\nFor instance, what may be expected, and what actually is not satisfied with current design:\noverride keystone config value on rack level, so that whatever new keystone nodes are added, they get updated value. It\u0027s not going to be the fact for two reasons here: new node is deployed with default nailgun data anyway, but operator would need to update keystone data in ConfigDB anyway specifically for this node too.","commit_id":"1e9e6ae4012b337ccb88fca44f02aef8e994d745"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"c0d9f88dc0a09be54155ea9eaee7b97b1a62e1b9","unresolved":false,"context_lines":[{"line_number":452,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Mandatory"},{"line_number":453,"context_line":"  argument."},{"line_number":454,"context_line":""},{"line_number":455,"context_line":"* ``--level node\u003d\u003cFQDN\u003e`` identifies a node part of namespace."},{"line_number":456,"context_line":""},{"line_number":457,"context_line":"* ``--resource \u003cNAME\u003e`` identifies a data source, combined"},{"line_number":458,"context_line":"  with a node name defines a complete name space"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3afc51ec_100d5f37","line":455,"range":{"start_line":455,"start_character":6,"end_line":455,"end_character":11},"in_reply_to":"3afc51ec_a174469c","updated":"2016-03-14 14:14:38.000000000","message":"Good, I will do that.","commit_id":"1e9e6ae4012b337ccb88fca44f02aef8e994d745"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"8aaacc1f622eeebac8a0b2943843fd3ba1198f7d","unresolved":false,"context_lines":[{"line_number":467,"context_line":""},{"line_number":468,"context_line":"* ``--format [json|yaml]`` defines a format of output. Default is ``json``."},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"**Examples**"},{"line_number":471,"context_line":""},{"line_number":472,"context_line":"* get whole resource as one yaml/json"},{"line_number":473,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3afc51ec_c146b222","line":470,"range":{"start_line":470,"start_character":2,"end_line":470,"end_character":10},"updated":"2016-03-13 06:14:44.000000000","message":"Even for me after reading this spec over and over, it is not straightforward what possible resources exist.\nTo simplify UX, I think we need to provide a list of available resources in CLI, and short description for every of them. Something like \"fuel config resources list\".\n\nSorry for not catching this earlier. I started to see all the UX gaps when I started to think about very specific, step-by-step instructions for acceptance testing.","commit_id":"1e9e6ae4012b337ccb88fca44f02aef8e994d745"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"c0d9f88dc0a09be54155ea9eaee7b97b1a62e1b9","unresolved":false,"context_lines":[{"line_number":467,"context_line":""},{"line_number":468,"context_line":"* ``--format [json|yaml]`` defines a format of output. Default is ``json``."},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"**Examples**"},{"line_number":471,"context_line":""},{"line_number":472,"context_line":"* get whole resource as one yaml/json"},{"line_number":473,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"3afc51ec_2d276865","line":470,"range":{"start_line":470,"start_character":2,"end_line":470,"end_character":10},"in_reply_to":"3afc51ec_c146b222","updated":"2016-03-14 14:14:38.000000000","message":"By default, GET /api/v1/config/environment/\u003cenv_id\u003e should yield the configuration of the \u0027environment\u0027 with a list of data sources/resources for that environment, if I am not mistaken. Yuriy, please, correct me if I\u0027m wrong.\n\nI will add this call to the API spec as well.","commit_id":"1e9e6ae4012b337ccb88fca44f02aef8e994d745"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"8aaacc1f622eeebac8a0b2943843fd3ba1198f7d","unresolved":false,"context_lines":[{"line_number":682,"context_line":"Acceptance criteria"},{"line_number":683,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":684,"context_line":""},{"line_number":685,"context_line":"* ConfigDB API allows to save and retrieve serialized deployement"},{"line_number":686,"context_line":"  data according to this specification."},{"line_number":687,"context_line":""},{"line_number":688,"context_line":"* ConfigDB API, after the deployment is finshed, contains the"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3afc51ec_416aa281","line":685,"range":{"start_line":685,"start_character":2,"end_line":685,"end_character":10},"updated":"2016-03-13 06:14:44.000000000","message":"Oleg, I\u0027d suggest to be very specific here: step by step actions user has to perform, and confirm expected result. Actually, it may be better to refactor Examples section in this spec to be acceptance criteria instead.\nFor instance:\n#1 Show all deployment data for specific node\na) Install Fuel Master\nb) Create, configure new env (any possible configuration)\nc) Install ConfigDB plugin on master node by \"yum install fuel-configdb\".\nd) anything to enable it?\ne) Deploy configured environment\nf) Issue \"fuel config get --env 1 --level node\u003dnode-1 resource astute\". Output has to be JSON of the \u003cvery specific structure\u003e\n\n#2 Show particular configuration value for keystone\n....\n\n#3 Change particular keystone parameter, and ensure it\u0027s changed for only one node. Other nodes where Keystone is installed should still have old value.\n...\n\n#4 Enable ConfigDB to already deployed env\n...","commit_id":"1e9e6ae4012b337ccb88fca44f02aef8e994d745"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"5554947022b0cd7acb6d78c06a5d94aa795dd75d","unresolved":false,"context_lines":[{"line_number":595,"context_line":"None."},{"line_number":596,"context_line":""},{"line_number":597,"context_line":"---------------------"},{"line_number":598,"context_line":"Infrastructure impact"},{"line_number":599,"context_line":"---------------------"},{"line_number":600,"context_line":""},{"line_number":601,"context_line":"New repository in project space ``openstack/`` shall be created to host the"}],"source_content_type":"text/x-rst","patch_set":16,"id":"3afc51ec_ef538de0","line":598,"range":{"start_line":598,"start_character":0,"end_line":598,"end_character":14},"updated":"2016-03-15 05:27:10.000000000","message":"Questions from template https://github.com/openstack/fuel-specs/blob/master/specs/template.rst:\n  * Will it introduce new release artifacts?\n  * Will it require changes to package dependencies: new packages, updated\n    package versions?","commit_id":"98d39a705508d8d5ce6701ce4c4862a299df3fbb"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"bd12775bb6f696fdea788fd18d4f90950fc7ff05","unresolved":false,"context_lines":[{"line_number":595,"context_line":"None."},{"line_number":596,"context_line":""},{"line_number":597,"context_line":"---------------------"},{"line_number":598,"context_line":"Infrastructure impact"},{"line_number":599,"context_line":"---------------------"},{"line_number":600,"context_line":""},{"line_number":601,"context_line":"New repository in project space ``openstack/`` shall be created to host the"}],"source_content_type":"text/x-rst","patch_set":16,"id":"1af94dfe_aaf28f6d","line":598,"range":{"start_line":598,"start_character":0,"end_line":598,"end_character":14},"in_reply_to":"3afc51ec_ef538de0","updated":"2016-03-15 12:57:19.000000000","message":"Done","commit_id":"98d39a705508d8d5ce6701ce4c4862a299df3fbb"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"7aff1283499bbadd3493d12bb291736873f4e8f1","unresolved":false,"context_lines":[{"line_number":103,"context_line":"(PostgreSQL at the Fuel Master node) in unstructured"},{"line_number":104,"context_line":"format (BLOB)."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Every data BLOB shall be identified by FQDN of the"},{"line_number":107,"context_line":"node it was uploaded from, ID of the environment the"},{"line_number":108,"context_line":"node belogned to and a version number."},{"line_number":109,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"1af94dfe_4d91e046","line":106,"updated":"2016-03-17 14:55:51.000000000","message":"I\u0027m not sure it\u0027s a good idea to use FQDN for that purpose. FQDN is based on hostname, and there are some concerns that they could be changed. Please see the following ML for details:\n\n  http://lists.openstack.org/pipermail/openstack-dev/2016-March/089342.html","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"520f538e52287c3172cdc4e5978fabb70ab073bb","unresolved":false,"context_lines":[{"line_number":103,"context_line":"(PostgreSQL at the Fuel Master node) in unstructured"},{"line_number":104,"context_line":"format (BLOB)."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Every data BLOB shall be identified by FQDN of the"},{"line_number":107,"context_line":"node it was uploaded from, ID of the environment the"},{"line_number":108,"context_line":"node belogned to and a version number."},{"line_number":109,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"1af94dfe_77973eec","line":106,"in_reply_to":"1af94dfe_4d91e046","updated":"2016-03-17 18:00:57.000000000","message":"Unfortunately, that\u0027s the only way to match nodes known to the Puppet Master and the Fuel Master. Puppet doesn\u0027t know anything about internal Fuel IDs and only have FQDNs from nodes to build upon.","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"cc2e081ff6b50f3953b414c68ddd3a6261108a8d","unresolved":false,"context_lines":[{"line_number":103,"context_line":"(PostgreSQL at the Fuel Master node) in unstructured"},{"line_number":104,"context_line":"format (BLOB)."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Every data BLOB shall be identified by FQDN of the"},{"line_number":107,"context_line":"node it was uploaded from, ID of the environment the"},{"line_number":108,"context_line":"node belogned to and a version number."},{"line_number":109,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_8abb3772","line":106,"in_reply_to":"1af94dfe_77973eec","updated":"2016-03-21 14:49:17.000000000","message":"Oleg, thanks for explanation. That makes sense indeed. If there will be another patch set, could you please explain that in the spec? Few words would be enough.","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"e1ae5e9bb00e54ff76ddcde0bcc1c806d86d6505","unresolved":false,"context_lines":[{"line_number":103,"context_line":"(PostgreSQL at the Fuel Master node) in unstructured"},{"line_number":104,"context_line":"format (BLOB)."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Every data BLOB shall be identified by FQDN of the"},{"line_number":107,"context_line":"node it was uploaded from, ID of the environment the"},{"line_number":108,"context_line":"node belogned to and a version number."},{"line_number":109,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_f0ce2482","line":106,"in_reply_to":"fa0719c6_8abb3772","updated":"2016-03-22 08:02:56.000000000","message":"Yes, will add. Thank you for noticing.","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"7aff1283499bbadd3493d12bb291736873f4e8f1","unresolved":false,"context_lines":[{"line_number":179,"context_line":""},{"line_number":180,"context_line":"* ``globals``"},{"line_number":181,"context_line":"  Certain data are generated by deployment task ``globals``"},{"line_number":182,"context_line":"  and written to file ``/etc/hiera/globals.yaml`` at the"},{"line_number":183,"context_line":"  node. These data are not exposed anywhere outside the"},{"line_number":184,"context_line":"  node, while still used by most other deployment tasks"},{"line_number":185,"context_line":"  at that node. Data source ``globals`` contains data from"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1af94dfe_ed1b8cc8","line":182,"updated":"2016-03-17 14:55:51.000000000","message":"I think at least 80% of globals.yaml is generated from astute.yaml, I think it worth to notice that those data must be changed in globals datasource, not in astute datasource. Otherwise, user may change it in astute and wonder why it wasn\u0027t applied.","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"520f538e52287c3172cdc4e5978fabb70ab073bb","unresolved":false,"context_lines":[{"line_number":179,"context_line":""},{"line_number":180,"context_line":"* ``globals``"},{"line_number":181,"context_line":"  Certain data are generated by deployment task ``globals``"},{"line_number":182,"context_line":"  and written to file ``/etc/hiera/globals.yaml`` at the"},{"line_number":183,"context_line":"  node. These data are not exposed anywhere outside the"},{"line_number":184,"context_line":"  node, while still used by most other deployment tasks"},{"line_number":185,"context_line":"  at that node. Data source ``globals`` contains data from"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1af94dfe_c9479675","line":182,"in_reply_to":"1af94dfe_ed1b8cc8","updated":"2016-03-17 18:00:57.000000000","message":"When data are in ConfigDB, it actually depends on which Puppet parameter you need to change.\n\nFor example, there is a line:\n\n    $public_vip             \u003d $network_metadata[\u0027vips\u0027][\u0027public\u0027][\u0027ipaddr\u0027]\n\nIf you just change the parameter in network_metadata hash in astute data source, it does not guarantee that manifests that use $::public_vip directly from Hiera will fetch this change. So this is in fact a bit of a problem because you need to clearly understand the structure of Puppet manifests to reasonably override parameters in the ConfigDB, and override exactly those parameters that you want to change, although they are effectively duplicated on many levels.","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"c049efac41dc27c44558306c1ef1ef4fc4c852bc","unresolved":false,"context_lines":[{"line_number":224,"context_line":"  This is the user-managed override data source for deployment data"},{"line_number":225,"context_line":"  from ``override/node`` data source."},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"REST API"},{"line_number":228,"context_line":"--------"},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"* Create environment in ConfigDB API with a set of data resources."}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_4a947f36","line":227,"updated":"2016-03-21 14:40:15.000000000","message":"You should add a component CRD endpoint here. Component looks like this:\n\n  {\n    \"id\": \u003cint\u003e,  # can be absent in POST request\n    \"name\": \u003cstring\u003e,\n    \"resource_definitions\": {\n      \"res1\": {}  # empty until we implement schema validation\n                  # resource name can be any reasonable URL string, can include \"/\"\n    }\n  }","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"e1ae5e9bb00e54ff76ddcde0bcc1c806d86d6505","unresolved":false,"context_lines":[{"line_number":224,"context_line":"  This is the user-managed override data source for deployment data"},{"line_number":225,"context_line":"  from ``override/node`` data source."},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"REST API"},{"line_number":228,"context_line":"--------"},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"* Create environment in ConfigDB API with a set of data resources."}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_109d9865","line":227,"in_reply_to":"fa0719c6_4a947f36","updated":"2016-03-22 08:02:56.000000000","message":"My understanding is that we are going to have just one fixed component (\u0027upload_facts_to_configdb\u0027) in the 9.0 version of this, correct?","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"c049efac41dc27c44558306c1ef1ef4fc4c852bc","unresolved":false,"context_lines":[{"line_number":245,"context_line":"      * ``env_id`` identifies an OpenStack environment"},{"line_number":246,"context_line":"        that contains the node being queried"},{"line_number":247,"context_line":""},{"line_number":248,"context_line":"    * Data payload in request: JSON-formatted list of names of data sources"},{"line_number":249,"context_line":"      to be created in the environment."},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"      **Example:**"}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_6a7983fc","line":248,"updated":"2016-03-21 14:40:15.000000000","message":"Environment resource looks like this:\n\n  {\n    \"id\": \u003cint\u003e,\n    \"components\": [\u003ccomponent_id\u003e,...], # list of ints for now\n                                        # or they can be names instead of ids\n    \"hierarchy_levels\": [\"node\"]  # we can hardcode this in the spec\n  }","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"e1ae5e9bb00e54ff76ddcde0bcc1c806d86d6505","unresolved":false,"context_lines":[{"line_number":245,"context_line":"      * ``env_id`` identifies an OpenStack environment"},{"line_number":246,"context_line":"        that contains the node being queried"},{"line_number":247,"context_line":""},{"line_number":248,"context_line":"    * Data payload in request: JSON-formatted list of names of data sources"},{"line_number":249,"context_line":"      to be created in the environment."},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"      **Example:**"}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_d0796031","line":248,"in_reply_to":"fa0719c6_6a7983fc","updated":"2016-03-22 08:02:56.000000000","message":"Done","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"7aff1283499bbadd3493d12bb291736873f4e8f1","unresolved":false,"context_lines":[{"line_number":253,"context_line":"      ::"},{"line_number":254,"context_line":""},{"line_number":255,"context_line":"          ["},{"line_number":256,"context_line":"              \u0027globals\u0027,"},{"line_number":257,"context_line":"              \u0027globals.user\u0027,"},{"line_number":258,"context_line":"              \u0027override/plugins\u0027"},{"line_number":259,"context_line":"              \u0027override/plugins.user\u0027"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1af94dfe_63394da4","line":256,"updated":"2016-03-17 14:55:51.000000000","message":"Am I correct that it\u0027s also a resolution order?","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"cc2e081ff6b50f3953b414c68ddd3a6261108a8d","unresolved":false,"context_lines":[{"line_number":253,"context_line":"      ::"},{"line_number":254,"context_line":""},{"line_number":255,"context_line":"          ["},{"line_number":256,"context_line":"              \u0027globals\u0027,"},{"line_number":257,"context_line":"              \u0027globals.user\u0027,"},{"line_number":258,"context_line":"              \u0027override/plugins\u0027"},{"line_number":259,"context_line":"              \u0027override/plugins.user\u0027"}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_a57c6c73","line":256,"in_reply_to":"1af94dfe_1c3d3ac4","updated":"2016-03-21 14:49:17.000000000","message":"Resolution order of virtual things (we may or may not have them in ConfigDB) is defined statically in hiera.yaml?","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"520f538e52287c3172cdc4e5978fabb70ab073bb","unresolved":false,"context_lines":[{"line_number":253,"context_line":"      ::"},{"line_number":254,"context_line":""},{"line_number":255,"context_line":"          ["},{"line_number":256,"context_line":"              \u0027globals\u0027,"},{"line_number":257,"context_line":"              \u0027globals.user\u0027,"},{"line_number":258,"context_line":"              \u0027override/plugins\u0027"},{"line_number":259,"context_line":"              \u0027override/plugins.user\u0027"}],"source_content_type":"text/x-rst","patch_set":18,"id":"1af94dfe_1c3d3ac4","line":256,"in_reply_to":"1af94dfe_63394da4","updated":"2016-03-17 18:00:57.000000000","message":"No, it is not. The hierarchy is defined in hiera.yaml on Puppet Master side, while this list is not particularly ordered..","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"e1ae5e9bb00e54ff76ddcde0bcc1c806d86d6505","unresolved":false,"context_lines":[{"line_number":253,"context_line":"      ::"},{"line_number":254,"context_line":""},{"line_number":255,"context_line":"          ["},{"line_number":256,"context_line":"              \u0027globals\u0027,"},{"line_number":257,"context_line":"              \u0027globals.user\u0027,"},{"line_number":258,"context_line":"              \u0027override/plugins\u0027"},{"line_number":259,"context_line":"              \u0027override/plugins.user\u0027"}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_70185485","line":256,"in_reply_to":"fa0719c6_a57c6c73","updated":"2016-03-22 08:02:56.000000000","message":"LCM plugin is responsible for configuring hiera.yaml, creating data sources in the ConfigDB and uploading data from files to corresponding data sources in ConfigDB API. The plugin\u0027s configuration serves as a source of truth for configuring data sources in both hiera.yaml and ConfigDB itself. So it\u0027s not exactly static, but configured at the time when the plugin is deployed, just as the set of data sources in ConfigDB API.","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"7aff1283499bbadd3493d12bb291736873f4e8f1","unresolved":false,"context_lines":[{"line_number":257,"context_line":"              \u0027globals.user\u0027,"},{"line_number":258,"context_line":"              \u0027override/plugins\u0027"},{"line_number":259,"context_line":"              \u0027override/plugins.user\u0027"},{"line_number":260,"context_line":"          ]"},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"    * No data payload in response is expected."},{"line_number":263,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"1af94dfe_a3b23504","line":260,"updated":"2016-03-17 14:55:51.000000000","message":"Also, how new datasources could be added? AFAIU, post deployment task would need to update that env with plugins or other hiera overrides.","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"520f538e52287c3172cdc4e5978fabb70ab073bb","unresolved":false,"context_lines":[{"line_number":257,"context_line":"              \u0027globals.user\u0027,"},{"line_number":258,"context_line":"              \u0027override/plugins\u0027"},{"line_number":259,"context_line":"              \u0027override/plugins.user\u0027"},{"line_number":260,"context_line":"          ]"},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"    * No data payload in response is expected."},{"line_number":263,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"1af94dfe_fcdcce74","line":260,"in_reply_to":"1af94dfe_a3b23504","updated":"2016-03-17 18:00:57.000000000","message":"We should have strictly defined list of data sources in Puppet Master LCM case because we need to configure them in Hiera as well. All local overrides should be created when a ConfigDB environment is created.\n\nIn future there should be a POST request to /environment/\u003c:id\u003e to create a new resource.","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"cc2e081ff6b50f3953b414c68ddd3a6261108a8d","unresolved":false,"context_lines":[{"line_number":257,"context_line":"              \u0027globals.user\u0027,"},{"line_number":258,"context_line":"              \u0027override/plugins\u0027"},{"line_number":259,"context_line":"              \u0027override/plugins.user\u0027"},{"line_number":260,"context_line":"          ]"},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"    * No data payload in response is expected."},{"line_number":263,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_a5dd8c44","line":260,"in_reply_to":"1af94dfe_fcdcce74","updated":"2016-03-21 14:49:17.000000000","message":"Hm.. So basically:\n\n* We can\u0027t create arbitrary resource. We can create only those which are existed in hiera.yaml on Puppet Master side.\n\n* ConfigDB doesn\u0027t resolve data, i.e. it only returns them \"As Is\" and do not try to merge them in some order.\n\n* Hiera of Puppet Master is responsible for merging those resources in some order.\n\nAm I correct here?","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"e1ae5e9bb00e54ff76ddcde0bcc1c806d86d6505","unresolved":false,"context_lines":[{"line_number":257,"context_line":"              \u0027globals.user\u0027,"},{"line_number":258,"context_line":"              \u0027override/plugins\u0027"},{"line_number":259,"context_line":"              \u0027override/plugins.user\u0027"},{"line_number":260,"context_line":"          ]"},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"    * No data payload in response is expected."},{"line_number":263,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_6b4d0572","line":260,"in_reply_to":"fa0719c6_a5dd8c44","updated":"2016-03-22 08:02:56.000000000","message":"Yes, that\u0027s correct, up to the point that hiera.yaml on the Puppet Master side and data sources on the ConfigDB side are created by the same LCM plugin based on the common configuration parameter.","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"c049efac41dc27c44558306c1ef1ef4fc4c852bc","unresolved":false,"context_lines":[{"line_number":261,"context_line":""},{"line_number":262,"context_line":"    * No data payload in response is expected."},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"* Get list of data sources defined in environment."},{"line_number":265,"context_line":""},{"line_number":266,"context_line":"    * Method type: GET"},{"line_number":267,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_aad1dbcf","line":264,"updated":"2016-03-21 14:40:15.000000000","message":"It\u0027ll get an environment representation, not list of its data sources.","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"e1ae5e9bb00e54ff76ddcde0bcc1c806d86d6505","unresolved":false,"context_lines":[{"line_number":261,"context_line":""},{"line_number":262,"context_line":"    * No data payload in response is expected."},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"* Get list of data sources defined in environment."},{"line_number":265,"context_line":""},{"line_number":266,"context_line":"    * Method type: GET"},{"line_number":267,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_978a1ebe","line":264,"in_reply_to":"fa0719c6_aad1dbcf","updated":"2016-03-22 08:02:56.000000000","message":"Done","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"c049efac41dc27c44558306c1ef1ef4fc4c852bc","unresolved":false,"context_lines":[{"line_number":298,"context_line":""},{"line_number":299,"context_line":"    * Method type: GET"},{"line_number":300,"context_line":""},{"line_number":301,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:env_id\u003e/node/\u003c:id\u003e/resource/\u003c:datasource\u003e/values/?version\u003d\u003c:version\u003e``"},{"line_number":302,"context_line":""},{"line_number":303,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":304,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_6aeea38c","line":301,"range":{"start_line":301,"start_character":86,"end_line":301,"end_character":87},"updated":"2016-03-21 14:40:15.000000000","message":"There\u0027s no \"/\" after \"values\".","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"e1ae5e9bb00e54ff76ddcde0bcc1c806d86d6505","unresolved":false,"context_lines":[{"line_number":298,"context_line":""},{"line_number":299,"context_line":"    * Method type: GET"},{"line_number":300,"context_line":""},{"line_number":301,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:env_id\u003e/node/\u003c:id\u003e/resource/\u003c:datasource\u003e/values/?version\u003d\u003c:version\u003e``"},{"line_number":302,"context_line":""},{"line_number":303,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":304,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_eb41153b","line":301,"range":{"start_line":301,"start_character":86,"end_line":301,"end_character":87},"in_reply_to":"fa0719c6_6aeea38c","updated":"2016-03-22 08:02:56.000000000","message":"Done","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":406,"name":"Mike Scherbakov","email":"mihgen@gmail.com","username":"mihgen"},"change_message_id":"f42cd71332fd08ee8b701ae75e7b728de8024a53","unresolved":false,"context_lines":[{"line_number":410,"context_line":"  argument."},{"line_number":411,"context_line":""},{"line_number":412,"context_line":"* ``--level node\u003d\u003cFQDN\u003e`` identifies a node part of namespace."},{"line_number":413,"context_line":"  The \u0027level\u0027 keyword defines the abstract \u0027level\u0027 of the intra-environment"},{"line_number":414,"context_line":"  hierarchy, internal to the ConfigDB extension. Currently there are 4 levels"},{"line_number":415,"context_line":"  (environment itself, role, node_group and individual node) in Fuel. The"},{"line_number":416,"context_line":"  ConifgDB service shall (in future) allow to create custom levels and"}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_515b7687","line":413,"range":{"start_line":413,"start_character":2,"end_line":413,"end_character":5},"updated":"2016-03-22 06:55:26.000000000","message":"duplication with line 119 here","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"e1ae5e9bb00e54ff76ddcde0bcc1c806d86d6505","unresolved":false,"context_lines":[{"line_number":410,"context_line":"  argument."},{"line_number":411,"context_line":""},{"line_number":412,"context_line":"* ``--level node\u003d\u003cFQDN\u003e`` identifies a node part of namespace."},{"line_number":413,"context_line":"  The \u0027level\u0027 keyword defines the abstract \u0027level\u0027 of the intra-environment"},{"line_number":414,"context_line":"  hierarchy, internal to the ConfigDB extension. Currently there are 4 levels"},{"line_number":415,"context_line":"  (environment itself, role, node_group and individual node) in Fuel. The"},{"line_number":416,"context_line":"  ConifgDB service shall (in future) allow to create custom levels and"}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_292776b7","line":413,"range":{"start_line":413,"start_character":2,"end_line":413,"end_character":5},"in_reply_to":"fa0719c6_515b7687","updated":"2016-03-22 08:02:56.000000000","message":"This is important information that should not be lost while reading from there to here. I think it is reasonable to repeat it in this description.","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"7aff1283499bbadd3493d12bb291736873f4e8f1","unresolved":false,"context_lines":[{"line_number":575,"context_line":"The package has the following dependencies that shall be added to Fuel build"},{"line_number":576,"context_line":"system:"},{"line_number":577,"context_line":""},{"line_number":578,"context_line":"* ``python-flask-sqlalchemy``"},{"line_number":579,"context_line":""},{"line_number":580,"context_line":"* ``python-flask-restful``"},{"line_number":581,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"1af94dfe_e36f1d29","line":578,"updated":"2016-03-17 14:55:51.000000000","message":"When I see new packages, I cry :\u0027(","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"e1ae5e9bb00e54ff76ddcde0bcc1c806d86d6505","unresolved":false,"context_lines":[{"line_number":575,"context_line":"The package has the following dependencies that shall be added to Fuel build"},{"line_number":576,"context_line":"system:"},{"line_number":577,"context_line":""},{"line_number":578,"context_line":"* ``python-flask-sqlalchemy``"},{"line_number":579,"context_line":""},{"line_number":580,"context_line":"* ``python-flask-restful``"},{"line_number":581,"context_line":""}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_2bbf8dfc","line":578,"in_reply_to":"1af94dfe_e36f1d29","updated":"2016-03-22 08:02:56.000000000","message":"This is where we are. For the time being, we could decide to vendor those packages in our source code, and later convert them into proper dependencies.","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":10391,"name":"Ihor Kalnytskyi","email":"ihor@kalnytskyi.com","username":"ikalnitsky"},"change_message_id":"cc2e081ff6b50f3953b414c68ddd3a6261108a8d","unresolved":false,"context_lines":[{"line_number":677,"context_line":""},{"line_number":678,"context_line":"  #. Deploy the environment."},{"line_number":679,"context_line":""},{"line_number":680,"context_line":"  #. Run the command (for example, environment\u0027s ID and node\u0027s FQDN "},{"line_number":681,"context_line":"     might be different):"},{"line_number":682,"context_line":""},{"line_number":683,"context_line":"     ::"}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_25f21cd3","line":680,"updated":"2016-03-21 14:49:17.000000000","message":"trailing space in the end","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"e1ae5e9bb00e54ff76ddcde0bcc1c806d86d6505","unresolved":false,"context_lines":[{"line_number":677,"context_line":""},{"line_number":678,"context_line":"  #. Deploy the environment."},{"line_number":679,"context_line":""},{"line_number":680,"context_line":"  #. Run the command (for example, environment\u0027s ID and node\u0027s FQDN "},{"line_number":681,"context_line":"     might be different):"},{"line_number":682,"context_line":""},{"line_number":683,"context_line":"     ::"}],"source_content_type":"text/x-rst","patch_set":18,"id":"fa0719c6_ebaf55e1","line":680,"in_reply_to":"fa0719c6_25f21cd3","updated":"2016-03-22 08:02:56.000000000","message":"Done","commit_id":"60bc70a83aae1353e774e20fa8ab8ca0539c44e7"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"1936e857b55521832945caf90299a01e30435f55","unresolved":false,"context_lines":[{"line_number":111,"context_line":"3rd-party LCM application might not be aware of the Nailgun\u0027s internal"},{"line_number":112,"context_line":"ID and only have a host name to identify the node."},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"All data BLOBs uploaded in a single operation shall"},{"line_number":115,"context_line":"have the same version number."},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"**Limitations**"},{"line_number":118,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_f39447e3","line":115,"range":{"start_line":114,"start_character":0,"end_line":115,"end_character":29},"updated":"2016-03-22 10:58:08.000000000","message":"For one data source or for different ones? If for one data source, will it be several DB rows?","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"16e8d853e9a5c4122a0e8ded9ef1684950c76893","unresolved":false,"context_lines":[{"line_number":111,"context_line":"3rd-party LCM application might not be aware of the Nailgun\u0027s internal"},{"line_number":112,"context_line":"ID and only have a host name to identify the node."},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"All data BLOBs uploaded in a single operation shall"},{"line_number":115,"context_line":"have the same version number."},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"**Limitations**"},{"line_number":118,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_39d7bdc0","line":115,"range":{"start_line":114,"start_character":0,"end_line":115,"end_character":29},"in_reply_to":"fa0719c6_f39447e3","updated":"2016-03-22 12:18:12.000000000","message":"Data for every data source is stored in separate records in DB.","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"1936e857b55521832945caf90299a01e30435f55","unresolved":false,"context_lines":[{"line_number":117,"context_line":"**Limitations**"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"The main limitation of the proposed solution"},{"line_number":120,"context_line":"is that **override configurations are not applied"},{"line_number":121,"context_line":"automatically to new nodes**. This limitation shall"},{"line_number":122,"context_line":"be addressed in the future versions of ConfigDB."},{"line_number":123,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_ee63bcda","line":120,"range":{"start_line":120,"start_character":10,"end_line":120,"end_character":33},"updated":"2016-03-22 10:58:08.000000000","message":"overriding configurations? configuration(s) overrides?","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"16e8d853e9a5c4122a0e8ded9ef1684950c76893","unresolved":false,"context_lines":[{"line_number":117,"context_line":"**Limitations**"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"The main limitation of the proposed solution"},{"line_number":120,"context_line":"is that **override configurations are not applied"},{"line_number":121,"context_line":"automatically to new nodes**. This limitation shall"},{"line_number":122,"context_line":"be addressed in the future versions of ConfigDB."},{"line_number":123,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_36222a02","line":120,"range":{"start_line":120,"start_character":10,"end_line":120,"end_character":33},"in_reply_to":"fa0719c6_ee63bcda","updated":"2016-03-22 12:18:12.000000000","message":"Done","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"1936e857b55521832945caf90299a01e30435f55","unresolved":false,"context_lines":[{"line_number":122,"context_line":"be addressed in the future versions of ConfigDB."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"Currently there are 4 levels"},{"line_number":125,"context_line":"(environment itself, role, node_group and individual node) in Fuel."},{"line_number":126,"context_line":"Important limitation of ConifgDB API extension in the"},{"line_number":127,"context_line":"proposed version is that it **only work with the node-level data**."},{"line_number":128,"context_line":"In future as a separate service ConfigDB shall allow to create"}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_6ef4ccf1","line":125,"updated":"2016-03-22 10:58:08.000000000","message":"release can be considered also as template for environment (role -\u003e node, release -\u003e environment)","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"16e8d853e9a5c4122a0e8ded9ef1684950c76893","unresolved":false,"context_lines":[{"line_number":122,"context_line":"be addressed in the future versions of ConfigDB."},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"Currently there are 4 levels"},{"line_number":125,"context_line":"(environment itself, role, node_group and individual node) in Fuel."},{"line_number":126,"context_line":"Important limitation of ConifgDB API extension in the"},{"line_number":127,"context_line":"proposed version is that it **only work with the node-level data**."},{"line_number":128,"context_line":"In future as a separate service ConfigDB shall allow to create"}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_165ba688","line":125,"in_reply_to":"fa0719c6_6ef4ccf1","updated":"2016-03-22 12:18:12.000000000","message":"Correct, release serves as a top-level entity in the hierarchy. I will add it in the spec.","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"1936e857b55521832945caf90299a01e30435f55","unresolved":false,"context_lines":[{"line_number":160,"context_line":"----------"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"Refer to the ConfigDB specification for the details"},{"line_number":163,"context_line":"of the proposed Data Model [3]_."},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"From the standpoint of external Puppet Master LCM, the most"},{"line_number":166,"context_line":"important part of the API data model is a hierarchy of data"}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_106f2ec6","line":163,"range":{"start_line":163,"start_character":27,"end_line":163,"end_character":31},"updated":"2016-03-22 10:58:08.000000000","message":"from [3]:\n\n\"No changes in data model in Nailgun.\"\n\nThere is some abstract description of versioned data storage in \"Solar\" section there but with no details.","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"1936e857b55521832945caf90299a01e30435f55","unresolved":false,"context_lines":[{"line_number":172,"context_line":"* ``astute``"},{"line_number":173,"context_line":"  This data source represents the Nailgun-originated deployment"},{"line_number":174,"context_line":"  data. This is the source of truth about settings picked"},{"line_number":175,"context_line":"  by the user for the initial deployment of cloud. From"},{"line_number":176,"context_line":"  data standpoint, it shall not be stored in the DB along"},{"line_number":177,"context_line":"  with other data sources, instead it points at"},{"line_number":178,"context_line":"  the built-in Nailgun serializer."},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"  There is no special user-managed override for this data"},{"line_number":181,"context_line":"  source. All changes should be done in Nailgun to be reflected"}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_eedc5c14","line":178,"range":{"start_line":175,"start_character":51,"end_line":178,"end_character":34},"updated":"2016-03-22 10:58:08.000000000","message":"Why not to store this data? It cannot be versioned then (no history), or I\u0027m missing something...","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"16e8d853e9a5c4122a0e8ded9ef1684950c76893","unresolved":false,"context_lines":[{"line_number":172,"context_line":"* ``astute``"},{"line_number":173,"context_line":"  This data source represents the Nailgun-originated deployment"},{"line_number":174,"context_line":"  data. This is the source of truth about settings picked"},{"line_number":175,"context_line":"  by the user for the initial deployment of cloud. From"},{"line_number":176,"context_line":"  data standpoint, it shall not be stored in the DB along"},{"line_number":177,"context_line":"  with other data sources, instead it points at"},{"line_number":178,"context_line":"  the built-in Nailgun serializer."},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"  There is no special user-managed override for this data"},{"line_number":181,"context_line":"  source. All changes should be done in Nailgun to be reflected"}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_9694d6e2","line":178,"range":{"start_line":175,"start_character":51,"end_line":178,"end_character":34},"in_reply_to":"fa0719c6_eedc5c14","updated":"2016-03-22 12:18:12.000000000","message":"This statement is not quite correct for the current version of development. I will remove it. However, there is a versioned settings and deployment info history in version 9.0, added in scope of Unlocked Settings feature. We can reuse it to avoid storing the astute.yaml serialized data in two places in future.","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"1936e857b55521832945caf90299a01e30435f55","unresolved":false,"context_lines":[{"line_number":209,"context_line":"  These data sources are used by OpenStack configuration"},{"line_number":210,"context_line":"  feature. [1]_ Data files for those sources are:"},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"  ``override/configuration/node.yaml``"},{"line_number":213,"context_line":"  ``override/configuration/role.yaml``"},{"line_number":214,"context_line":"  ``override/configuration/cluster.yaml``"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"  respectively."},{"line_number":217,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_ce4a38ac","line":214,"range":{"start_line":212,"start_character":0,"end_line":214,"end_character":41},"updated":"2016-03-22 10:58:08.000000000","message":"Will all of this be saved on node level also? Seems, we cannot operate with this on node level (e.g. apply overrides).","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"16e8d853e9a5c4122a0e8ded9ef1684950c76893","unresolved":false,"context_lines":[{"line_number":209,"context_line":"  These data sources are used by OpenStack configuration"},{"line_number":210,"context_line":"  feature. [1]_ Data files for those sources are:"},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"  ``override/configuration/node.yaml``"},{"line_number":213,"context_line":"  ``override/configuration/role.yaml``"},{"line_number":214,"context_line":"  ``override/configuration/cluster.yaml``"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"  respectively."},{"line_number":217,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_d974c19d","line":214,"range":{"start_line":212,"start_character":0,"end_line":214,"end_character":41},"in_reply_to":"fa0719c6_ce4a38ac","updated":"2016-03-22 12:18:12.000000000","message":"It will be stored only at the node level. It will be created in files at the node, and then uploaded to the corresponding data sources.\n\nIt is important to understand that we don\u0027t want to manage hierarchy in ConfigDB API in version 9.0. We just expose the deployment data that is currently stored in files at nodes and allow to override that data per-node.","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"1936e857b55521832945caf90299a01e30435f55","unresolved":false,"context_lines":[{"line_number":217,"context_line":""},{"line_number":218,"context_line":"* ``override/configuration/user``"},{"line_number":219,"context_line":"  This is the user-managed override data source for deployment data"},{"line_number":220,"context_line":"  of ``override/configuration/*`` data sources."},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"* ``override/node``"},{"line_number":223,"context_line":"  This is the data source for the most specific node-level"}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_eee61cb3","line":220,"range":{"start_line":220,"start_character":7,"end_line":220,"end_character":31},"updated":"2016-03-22 10:58:08.000000000","message":"\u0027*\u0027 can be node.yaml, role.yaml, cluster.yaml, right? Again, how to manage this on node level?","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"16e8d853e9a5c4122a0e8ded9ef1684950c76893","unresolved":false,"context_lines":[{"line_number":217,"context_line":""},{"line_number":218,"context_line":"* ``override/configuration/user``"},{"line_number":219,"context_line":"  This is the user-managed override data source for deployment data"},{"line_number":220,"context_line":"  of ``override/configuration/*`` data sources."},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"* ``override/node``"},{"line_number":223,"context_line":"  This is the data source for the most specific node-level"}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_d9820152","line":220,"range":{"start_line":220,"start_character":7,"end_line":220,"end_character":31},"in_reply_to":"fa0719c6_eee61cb3","updated":"2016-03-22 12:18:12.000000000","message":"Once it is in ConfigDB, settings on the level above the node level won\u0027t be relevant.  That\u0027s why single override for all levels of \u0027override/configuration/*\u0027.","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"1936e857b55521832945caf90299a01e30435f55","unresolved":false,"context_lines":[{"line_number":224,"context_line":"  deployment data overriding any other levels. Source"},{"line_number":225,"context_line":"  file for this data source is ``/etc/hiera/override/node.yaml``."},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"* ``override/node/user``"},{"line_number":228,"context_line":"  This is the user-managed override data source for deployment data"},{"line_number":229,"context_line":"  from ``override/node`` data source."},{"line_number":230,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_6ea04c44","line":227,"range":{"start_line":227,"start_character":4,"end_line":227,"end_character":22},"updated":"2016-03-22 10:58:08.000000000","message":"what is the workflow for such \u0027user\u0027 overrides, here and above?","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"16e8d853e9a5c4122a0e8ded9ef1684950c76893","unresolved":false,"context_lines":[{"line_number":224,"context_line":"  deployment data overriding any other levels. Source"},{"line_number":225,"context_line":"  file for this data source is ``/etc/hiera/override/node.yaml``."},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"* ``override/node/user``"},{"line_number":228,"context_line":"  This is the user-managed override data source for deployment data"},{"line_number":229,"context_line":"  from ``override/node`` data source."},{"line_number":230,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_1910f900","line":227,"range":{"start_line":227,"start_character":4,"end_line":227,"end_character":22},"in_reply_to":"fa0719c6_6ea04c44","updated":"2016-03-22 12:18:12.000000000","message":"If you want to override something, you run client command with\n\n    fuel config set --resource override/node/user ...","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"8f032d73ac77ca24fe8cbd17cfe349112278f366","unresolved":false,"context_lines":[{"line_number":231,"context_line":"REST API"},{"line_number":232,"context_line":"--------"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"* Create a component that provides data sources."},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    * Method type: POST"},{"line_number":237,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_90dcde13","line":234,"range":{"start_line":234,"start_character":11,"end_line":234,"end_character":20},"updated":"2016-03-22 11:07:41.000000000","message":"What is the workflow for \u0027component\u0027? Why do we need it?","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"16e8d853e9a5c4122a0e8ded9ef1684950c76893","unresolved":false,"context_lines":[{"line_number":231,"context_line":"REST API"},{"line_number":232,"context_line":"--------"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"* Create a component that provides data sources."},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    * Method type: POST"},{"line_number":237,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_b9d62d25","line":234,"range":{"start_line":234,"start_character":11,"end_line":234,"end_character":20},"in_reply_to":"fa0719c6_90dcde13","updated":"2016-03-22 12:18:12.000000000","message":"We need it for forward compatibility. In future versions we expect more than one component (i.e. nailgun) to expose its data through the ConfigDB API.","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4013b384529a4ce8bc1280d8efc437b3515bcbc8","unresolved":false,"context_lines":[{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    * Method type: POST"},{"line_number":237,"context_line":""},{"line_number":238,"context_line":"    * ``\u003c:endpoint_uri\u003e/component``"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":241,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_4c5e3877","line":238,"range":{"start_line":238,"start_character":33,"end_line":238,"end_character":34},"updated":"2016-03-22 08:51:55.000000000","message":"Collections names are plural: components, not component","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d2ff5f91e231156af7cb955f6c5123d5cf4460f6","unresolved":false,"context_lines":[{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    * Method type: POST"},{"line_number":237,"context_line":""},{"line_number":238,"context_line":"    * ``\u003c:endpoint_uri\u003e/component``"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":241,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_f378c7f4","line":238,"range":{"start_line":238,"start_character":33,"end_line":238,"end_character":34},"in_reply_to":"fa0719c6_4c5e3877","updated":"2016-03-22 10:26:12.000000000","message":"Done","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4013b384529a4ce8bc1280d8efc437b3515bcbc8","unresolved":false,"context_lines":[{"line_number":269,"context_line":""},{"line_number":270,"context_line":"    * Method type: POST"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:env_id\u003e``"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":275,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_0ccba01f","line":272,"range":{"start_line":272,"start_character":35,"end_line":272,"end_character":45},"updated":"2016-03-22 08:51:55.000000000","message":"POST happens to collection\u0027s URL, not element\u0027s. \u0027/\u003c:env_id\u003e\u0027 part shouldn\u0027t be here.","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"4013b384529a4ce8bc1280d8efc437b3515bcbc8","unresolved":false,"context_lines":[{"line_number":269,"context_line":""},{"line_number":270,"context_line":"    * Method type: POST"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:env_id\u003e``"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":275,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_cc4a48ac","line":272,"range":{"start_line":272,"start_character":24,"end_line":272,"end_character":35},"updated":"2016-03-22 08:51:55.000000000","message":"ditto, environments","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d2ff5f91e231156af7cb955f6c5123d5cf4460f6","unresolved":false,"context_lines":[{"line_number":269,"context_line":""},{"line_number":270,"context_line":"    * Method type: POST"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:env_id\u003e``"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":275,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_d31ca3c3","line":272,"range":{"start_line":272,"start_character":35,"end_line":272,"end_character":45},"in_reply_to":"fa0719c6_0ccba01f","updated":"2016-03-22 10:26:12.000000000","message":"This ID must be the same as the environment ID in Nailgun. So we must set the ID explicitly here so it is consistent with the others.","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d2ff5f91e231156af7cb955f6c5123d5cf4460f6","unresolved":false,"context_lines":[{"line_number":269,"context_line":""},{"line_number":270,"context_line":"    * Method type: POST"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"    * ``\u003c:endpoint_uri\u003e/environment/\u003c:env_id\u003e``"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":275,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_d3730314","line":272,"range":{"start_line":272,"start_character":24,"end_line":272,"end_character":35},"in_reply_to":"fa0719c6_cc4a48ac","updated":"2016-03-22 10:26:12.000000000","message":"Done","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"8f032d73ac77ca24fe8cbd17cfe349112278f366","unresolved":false,"context_lines":[{"line_number":340,"context_line":"                                                # in 9.0 is \u0027node\u0027"},{"line_number":341,"context_line":"          }"},{"line_number":342,"context_line":""},{"line_number":343,"context_line":"* Download the latest version of serialized deployment"},{"line_number":344,"context_line":"  facts for the given node ID and data source"},{"line_number":345,"context_line":""},{"line_number":346,"context_line":"    * Method type: GET"}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_709b0a73","line":343,"range":{"start_line":343,"start_character":15,"end_line":343,"end_character":21},"updated":"2016-03-22 11:07:41.000000000","message":"Please note that \u0027version\u0027 is optional then.","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"16e8d853e9a5c4122a0e8ded9ef1684950c76893","unresolved":false,"context_lines":[{"line_number":340,"context_line":"                                                # in 9.0 is \u0027node\u0027"},{"line_number":341,"context_line":"          }"},{"line_number":342,"context_line":""},{"line_number":343,"context_line":"* Download the latest version of serialized deployment"},{"line_number":344,"context_line":"  facts for the given node ID and data source"},{"line_number":345,"context_line":""},{"line_number":346,"context_line":"    * Method type: GET"}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_39ca1d6f","line":343,"range":{"start_line":343,"start_character":15,"end_line":343,"end_character":21},"in_reply_to":"fa0719c6_709b0a73","updated":"2016-03-22 12:18:12.000000000","message":"Done","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"8f032d73ac77ca24fe8cbd17cfe349112278f366","unresolved":false,"context_lines":[{"line_number":443,"context_line":"Fuel Client"},{"line_number":444,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":445,"context_line":""},{"line_number":446,"context_line":"Client should be implemented with the support for the described"},{"line_number":447,"context_line":"API calls. This command should yield a serialized facts data in selected"},{"line_number":448,"context_line":"format (``json`` or ``yaml``) to the ``stdout`` stream."},{"line_number":449,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_70c02a2b","line":446,"range":{"start_line":446,"start_character":0,"end_line":446,"end_character":28},"updated":"2016-03-22 11:07:41.000000000","message":"Some specific client?","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"16e8d853e9a5c4122a0e8ded9ef1684950c76893","unresolved":false,"context_lines":[{"line_number":443,"context_line":"Fuel Client"},{"line_number":444,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":445,"context_line":""},{"line_number":446,"context_line":"Client should be implemented with the support for the described"},{"line_number":447,"context_line":"API calls. This command should yield a serialized facts data in selected"},{"line_number":448,"context_line":"format (``json`` or ``yaml``) to the ``stdout`` stream."},{"line_number":449,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_399fbd51","line":446,"range":{"start_line":446,"start_character":0,"end_line":446,"end_character":28},"in_reply_to":"fa0719c6_70c02a2b","updated":"2016-03-22 12:18:12.000000000","message":"This is going to be an extension (i.e. separate command) for fuel client (fuel2).","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"745320525584b9da2df381305f6d026a86abc4a5","unresolved":false,"context_lines":[{"line_number":452,"context_line":"from the ConfigDB API for all available data sources."},{"line_number":453,"context_line":""},{"line_number":454,"context_line":"Following CLI parameters shall be supported for ``config`` subcommand:"},{"line_number":455,"context_line":""},{"line_number":456,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Mandatory"},{"line_number":457,"context_line":"  argument."},{"line_number":458,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_5027e611","line":455,"updated":"2016-03-22 11:11:56.000000000","message":"please describe operations also. get, set, show ?","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"16e8d853e9a5c4122a0e8ded9ef1684950c76893","unresolved":false,"context_lines":[{"line_number":452,"context_line":"from the ConfigDB API for all available data sources."},{"line_number":453,"context_line":""},{"line_number":454,"context_line":"Following CLI parameters shall be supported for ``config`` subcommand:"},{"line_number":455,"context_line":""},{"line_number":456,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Mandatory"},{"line_number":457,"context_line":"  argument."},{"line_number":458,"context_line":""}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_79a9357b","line":455,"in_reply_to":"fa0719c6_5027e611","updated":"2016-03-22 12:18:12.000000000","message":"Done","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"745320525584b9da2df381305f6d026a86abc4a5","unresolved":false,"context_lines":[{"line_number":672,"context_line":"  Nailgun API."},{"line_number":673,"context_line":""},{"line_number":674,"context_line":"* Implement simple client application to communicate to the API"},{"line_number":675,"context_line":"  as an extension to Fuel client."},{"line_number":676,"context_line":""},{"line_number":677,"context_line":"* Develop custom Hiera backend to integrate into Puppet Master"},{"line_number":678,"context_line":"  LCM plugin."}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_d02bf6e9","line":675,"range":{"start_line":675,"start_character":8,"end_line":675,"end_character":32},"updated":"2016-03-22 11:11:56.000000000","message":"do we have extension mechanism in Fuel client?","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"16e8d853e9a5c4122a0e8ded9ef1684950c76893","unresolved":false,"context_lines":[{"line_number":672,"context_line":"  Nailgun API."},{"line_number":673,"context_line":""},{"line_number":674,"context_line":"* Implement simple client application to communicate to the API"},{"line_number":675,"context_line":"  as an extension to Fuel client."},{"line_number":676,"context_line":""},{"line_number":677,"context_line":"* Develop custom Hiera backend to integrate into Puppet Master"},{"line_number":678,"context_line":"  LCM plugin."}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_d9604138","line":675,"range":{"start_line":675,"start_character":8,"end_line":675,"end_character":32},"in_reply_to":"fa0719c6_d02bf6e9","updated":"2016-03-22 12:18:12.000000000","message":"It\u0027s a mechanism of cliff, not the Fuel client itself.","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"745320525584b9da2df381305f6d026a86abc4a5","unresolved":false,"context_lines":[{"line_number":729,"context_line":""},{"line_number":730,"context_line":"     ::"},{"line_number":731,"context_line":""},{"line_number":732,"context_line":"        fuel config show --env 1 --level node\u003dnode-1.domain.tld --resource astute"},{"line_number":733,"context_line":""},{"line_number":734,"context_line":"  #. Validate that the output has the format specific for serialized data"},{"line_number":735,"context_line":"     from ``/etc/hiera/astute.yaml`` file on the node."}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_d07936fe","line":732,"range":{"start_line":732,"start_character":20,"end_line":732,"end_character":24},"updated":"2016-03-22 11:11:56.000000000","message":"\u0027get\u0027? or \u0027show\u0027 is smth different?","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"16e8d853e9a5c4122a0e8ded9ef1684950c76893","unresolved":false,"context_lines":[{"line_number":729,"context_line":""},{"line_number":730,"context_line":"     ::"},{"line_number":731,"context_line":""},{"line_number":732,"context_line":"        fuel config show --env 1 --level node\u003dnode-1.domain.tld --resource astute"},{"line_number":733,"context_line":""},{"line_number":734,"context_line":"  #. Validate that the output has the format specific for serialized data"},{"line_number":735,"context_line":"     from ``/etc/hiera/astute.yaml`` file on the node."}],"source_content_type":"text/x-rst","patch_set":19,"id":"fa0719c6_198479d2","line":732,"range":{"start_line":732,"start_character":20,"end_line":732,"end_character":24},"in_reply_to":"fa0719c6_d07936fe","updated":"2016-03-22 12:18:12.000000000","message":"\u0027get\u0027. Thanks for the catch.","commit_id":"e7014995dc335a12a5e3780215b1cf84bd923bc7"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"53063368cf9e2fa9dba4027b0ea1f41d469169f9","unresolved":false,"context_lines":[{"line_number":14,"context_line":"serialized deployment facts. It shall be used for"},{"line_number":15,"context_line":"the following scenarios:"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"* create data resources in Solar"},{"line_number":18,"context_line":"* access facts from 3rd party applications"},{"line_number":19,"context_line":"* access facts directly from Puppet agent"},{"line_number":20,"context_line":"  via Hiera HTTP backend"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_a477209e","line":17,"updated":"2016-03-22 14:33:17.000000000","message":"Let\u0027s not mention Solar here.","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"020512b9d05a182b3bc9be6f139a553b4d8c2cd3","unresolved":false,"context_lines":[{"line_number":14,"context_line":"serialized deployment facts. It shall be used for"},{"line_number":15,"context_line":"the following scenarios:"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"* create data resources in Solar"},{"line_number":18,"context_line":"* access facts from 3rd party applications"},{"line_number":19,"context_line":"* access facts directly from Puppet agent"},{"line_number":20,"context_line":"  via Hiera HTTP backend"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_c4ce86b3","line":17,"in_reply_to":"fa0719c6_a477209e","updated":"2016-03-22 20:54:30.000000000","message":"Done","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"53063368cf9e2fa9dba4027b0ea1f41d469169f9","unresolved":false,"context_lines":[{"line_number":32,"context_line":"``/etc/hiera/astute.yaml`` file, and Puppet agents access it via"},{"line_number":33,"context_line":"Hiera\u0027s standard ``yaml`` backend as ``astute`` datasource."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"Based on the fact from ``astute.yaml`` and from local facter,"},{"line_number":36,"context_line":"the deployment task ``globals`` creates another set of facts and"},{"line_number":37,"context_line":"writes them to file ``globals.yaml``. It serves as ``globals``"},{"line_number":38,"context_line":"data source for Hiera."}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_8463fcdb","line":35,"range":{"start_line":35,"start_character":9,"end_line":35,"end_character":17},"updated":"2016-03-22 14:33:17.000000000","message":"facts","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"020512b9d05a182b3bc9be6f139a553b4d8c2cd3","unresolved":false,"context_lines":[{"line_number":32,"context_line":"``/etc/hiera/astute.yaml`` file, and Puppet agents access it via"},{"line_number":33,"context_line":"Hiera\u0027s standard ``yaml`` backend as ``astute`` datasource."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"Based on the fact from ``astute.yaml`` and from local facter,"},{"line_number":36,"context_line":"the deployment task ``globals`` creates another set of facts and"},{"line_number":37,"context_line":"writes them to file ``globals.yaml``. It serves as ``globals``"},{"line_number":38,"context_line":"data source for Hiera."}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_04c19e80","line":35,"range":{"start_line":35,"start_character":9,"end_line":35,"end_character":17},"in_reply_to":"fa0719c6_8463fcdb","updated":"2016-03-22 20:54:30.000000000","message":"Done","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"53063368cf9e2fa9dba4027b0ea1f41d469169f9","unresolved":false,"context_lines":[{"line_number":65,"context_line":"  Initially it shall be implemented as an extension to"},{"line_number":66,"context_line":"  the standard Nailgun API. [2]_ In future releases, it"},{"line_number":67,"context_line":"  shall be implemented as a separate service, ConfigDB [3]_"},{"line_number":68,"context_line":"  with its own endpoint in Keystone Service Catalog."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"* *Datasource* is a specific set of key/value pairs"},{"line_number":71,"context_line":"  that represents a configuration provided by a certain"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_24d95084","line":68,"updated":"2016-03-22 14:33:17.000000000","message":"It should have separate entry in Catalog from the beginning.","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"020512b9d05a182b3bc9be6f139a553b4d8c2cd3","unresolved":false,"context_lines":[{"line_number":65,"context_line":"  Initially it shall be implemented as an extension to"},{"line_number":66,"context_line":"  the standard Nailgun API. [2]_ In future releases, it"},{"line_number":67,"context_line":"  shall be implemented as a separate service, ConfigDB [3]_"},{"line_number":68,"context_line":"  with its own endpoint in Keystone Service Catalog."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"* *Datasource* is a specific set of key/value pairs"},{"line_number":71,"context_line":"  that represents a configuration provided by a certain"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_84092ee0","line":68,"in_reply_to":"fa0719c6_24d95084","updated":"2016-03-22 20:54:30.000000000","message":"Done","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"53063368cf9e2fa9dba4027b0ea1f41d469169f9","unresolved":false,"context_lines":[{"line_number":111,"context_line":"3rd-party LCM application might not be aware of the Nailgun\u0027s internal"},{"line_number":112,"context_line":"ID and only have a host name to identify the node."},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"All data BLOBs uploaded in a single operation shall"},{"line_number":115,"context_line":"have the same version number."},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"**Limitations**"},{"line_number":118,"context_line":""}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_04ffec67","line":115,"range":{"start_line":114,"start_character":0,"end_line":115,"end_character":29},"updated":"2016-03-22 14:33:17.000000000","message":"We currently don\u0027t have one operation to upload several data BLOBs. We should probably differentiate between 2 states (like in Solar): staged and committed. We should probably have some way to set data to committed state then. We should think through this version creation process.","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"020512b9d05a182b3bc9be6f139a553b4d8c2cd3","unresolved":false,"context_lines":[{"line_number":111,"context_line":"3rd-party LCM application might not be aware of the Nailgun\u0027s internal"},{"line_number":112,"context_line":"ID and only have a host name to identify the node."},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"All data BLOBs uploaded in a single operation shall"},{"line_number":115,"context_line":"have the same version number."},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"**Limitations**"},{"line_number":118,"context_line":""}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_64785a2b","line":115,"range":{"start_line":114,"start_character":0,"end_line":115,"end_character":29},"in_reply_to":"fa0719c6_04ffec67","updated":"2016-03-22 20:54:30.000000000","message":"I agree. Versioning is important to keep the data consistent. But I think it\u0027s sufficient in this spec to specify this requirement at the moment.","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"540ffe20d9f66c0c9f7481d704cdf8ef9d8eaefd","unresolved":false,"context_lines":[{"line_number":111,"context_line":"3rd-party LCM application might not be aware of the Nailgun\u0027s internal"},{"line_number":112,"context_line":"ID and only have a host name to identify the node."},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"All data BLOBs uploaded in a single operation shall"},{"line_number":115,"context_line":"have the same version number."},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"**Limitations**"},{"line_number":118,"context_line":""}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_53705edc","line":115,"range":{"start_line":114,"start_character":0,"end_line":115,"end_character":29},"in_reply_to":"fa0719c6_64785a2b","updated":"2016-03-23 07:31:36.000000000","message":"But this sentence doesn\u0027t make sense w/o that \"single operation\".","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"53063368cf9e2fa9dba4027b0ea1f41d469169f9","unresolved":false,"context_lines":[{"line_number":123,"context_line":""},{"line_number":124,"context_line":"Currently there are 4 levels"},{"line_number":125,"context_line":"(environment itself, role, node_group and individual node) in Fuel."},{"line_number":126,"context_line":"Important limitation of ConifgDB API extension in the"},{"line_number":127,"context_line":"proposed version is that it **only work with the node-level data**."},{"line_number":128,"context_line":"In future as a separate service ConfigDB shall allow to create"},{"line_number":129,"context_line":"custom levels and hierarchies if needed, but at the moment we"},{"line_number":130,"context_line":"only will work with the node-level data."}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_4df584c9","line":127,"range":{"start_line":126,"start_character":0,"end_line":127,"end_character":67},"updated":"2016-03-22 14:33:17.000000000","message":"I\u0027d suggest to remove this sentence. Tuning Box supports several hierarchy levels, we just won\u0027t use it for now.","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"020512b9d05a182b3bc9be6f139a553b4d8c2cd3","unresolved":false,"context_lines":[{"line_number":123,"context_line":""},{"line_number":124,"context_line":"Currently there are 4 levels"},{"line_number":125,"context_line":"(environment itself, role, node_group and individual node) in Fuel."},{"line_number":126,"context_line":"Important limitation of ConifgDB API extension in the"},{"line_number":127,"context_line":"proposed version is that it **only work with the node-level data**."},{"line_number":128,"context_line":"In future as a separate service ConfigDB shall allow to create"},{"line_number":129,"context_line":"custom levels and hierarchies if needed, but at the moment we"},{"line_number":130,"context_line":"only will work with the node-level data."}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_44c1d62d","line":127,"range":{"start_line":126,"start_character":0,"end_line":127,"end_character":67},"in_reply_to":"fa0719c6_4df584c9","updated":"2016-03-22 20:54:30.000000000","message":"Yes, I will remove this limitation. We shall support a cluster level as well.","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"53063368cf9e2fa9dba4027b0ea1f41d469169f9","unresolved":false,"context_lines":[{"line_number":166,"context_line":"important part of the API data model is a hierarchy of data"},{"line_number":167,"context_line":"sources."},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"Following data sources are defined for the 3rd-party LCM"},{"line_number":170,"context_line":"use case:"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"* ``astute``"},{"line_number":173,"context_line":"  This data source represents the Nailgun-originated deployment"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_edc73810","line":170,"range":{"start_line":169,"start_character":0,"end_line":170,"end_character":9},"updated":"2016-03-22 14:33:17.000000000","message":"This list should include everything from hiera.yaml, including \"class\" and \"module\" directories. I don\u0027t see why should we describe what does any of these levels mean since it\u0027s just everything that gets fed into hiera, we don\u0027t care what it means here.","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"540ffe20d9f66c0c9f7481d704cdf8ef9d8eaefd","unresolved":false,"context_lines":[{"line_number":166,"context_line":"important part of the API data model is a hierarchy of data"},{"line_number":167,"context_line":"sources."},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"Following data sources are defined for the 3rd-party LCM"},{"line_number":170,"context_line":"use case:"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"* ``astute``"},{"line_number":173,"context_line":"  This data source represents the Nailgun-originated deployment"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_b3273ac9","line":170,"range":{"start_line":169,"start_character":0,"end_line":170,"end_character":9},"in_reply_to":"fa0719c6_64acda34","updated":"2016-03-23 07:31:36.000000000","message":"Ok. What about those \"class\" and \"module\" resources?","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"020512b9d05a182b3bc9be6f139a553b4d8c2cd3","unresolved":false,"context_lines":[{"line_number":166,"context_line":"important part of the API data model is a hierarchy of data"},{"line_number":167,"context_line":"sources."},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"Following data sources are defined for the 3rd-party LCM"},{"line_number":170,"context_line":"use case:"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"* ``astute``"},{"line_number":173,"context_line":"  This data source represents the Nailgun-originated deployment"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_64acda34","line":170,"range":{"start_line":169,"start_character":0,"end_line":170,"end_character":9},"in_reply_to":"fa0719c6_edc73810","updated":"2016-03-22 20:54:30.000000000","message":"I describe it to give more of the context to the solution.","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"53063368cf9e2fa9dba4027b0ea1f41d469169f9","unresolved":false,"context_lines":[{"line_number":186,"context_line":"  at that node. Data source ``globals`` contains data from"},{"line_number":187,"context_line":"  that file for every node in environment."},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"* ``globals/user``"},{"line_number":190,"context_line":"  User-managed override data source for ``globals`` deployment data."},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"* ``override/plugins``"},{"line_number":193,"context_line":"  This data source contains data provided by plugins to"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_8d72fc47","line":190,"range":{"start_line":189,"start_character":0,"end_line":190,"end_character":68},"updated":"2016-03-22 14:33:17.000000000","message":"This should be handled by Config Service internally, not via separate resource. It applies to all \"/user\" entries below.","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"020512b9d05a182b3bc9be6f139a553b4d8c2cd3","unresolved":false,"context_lines":[{"line_number":186,"context_line":"  at that node. Data source ``globals`` contains data from"},{"line_number":187,"context_line":"  that file for every node in environment."},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"* ``globals/user``"},{"line_number":190,"context_line":"  User-managed override data source for ``globals`` deployment data."},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"* ``override/plugins``"},{"line_number":193,"context_line":"  This data source contains data provided by plugins to"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_15bb7c0f","line":190,"range":{"start_line":189,"start_character":0,"end_line":190,"end_character":68},"in_reply_to":"fa0719c6_8d72fc47","updated":"2016-03-22 20:54:30.000000000","message":"Done","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"53063368cf9e2fa9dba4027b0ea1f41d469169f9","unresolved":false,"context_lines":[{"line_number":266,"context_line":""},{"line_number":267,"context_line":"    * Method type: POST"},{"line_number":268,"context_line":""},{"line_number":269,"context_line":"    * ``\u003c:endpoint_uri\u003e/environments/\u003c:env_id\u003e``"},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":272,"context_line":""}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_2bb598ed","line":269,"range":{"start_line":269,"start_character":36,"end_line":269,"end_character":46},"updated":"2016-03-22 14:33:17.000000000","message":"This ID will be provided in the body of the request, no need to add it here. In REST it\u0027s customary to create resources via POST to collection URL or PUT to element URL. I\u0027d prefer to use POST to collection URL since environments are basically immutable.","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"020512b9d05a182b3bc9be6f139a553b4d8c2cd3","unresolved":false,"context_lines":[{"line_number":266,"context_line":""},{"line_number":267,"context_line":"    * Method type: POST"},{"line_number":268,"context_line":""},{"line_number":269,"context_line":"    * ``\u003c:endpoint_uri\u003e/environments/\u003c:env_id\u003e``"},{"line_number":270,"context_line":""},{"line_number":271,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":272,"context_line":""}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_4455561b","line":269,"range":{"start_line":269,"start_character":36,"end_line":269,"end_character":46},"in_reply_to":"fa0719c6_2bb598ed","updated":"2016-03-22 20:54:30.000000000","message":"Done","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"53063368cf9e2fa9dba4027b0ea1f41d469169f9","unresolved":false,"context_lines":[{"line_number":419,"context_line":"      in JSON format, no specific schema is defined."},{"line_number":420,"context_line":""},{"line_number":421,"context_line":"    * Response payload contains the same serialized data as"},{"line_number":422,"context_line":"      the request, plus top-level key ``version`` which"},{"line_number":423,"context_line":"      identifies a version of the uploaded data."},{"line_number":424,"context_line":""},{"line_number":425,"context_line":"Orchestration"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_4b50cc5e","line":422,"range":{"start_line":422,"start_character":24,"end_line":422,"end_character":49},"updated":"2016-03-22 14:33:17.000000000","message":"Should we actually return version here? I don\u0027t think we can just put it into the body.","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"020512b9d05a182b3bc9be6f139a553b4d8c2cd3","unresolved":false,"context_lines":[{"line_number":419,"context_line":"      in JSON format, no specific schema is defined."},{"line_number":420,"context_line":""},{"line_number":421,"context_line":"    * Response payload contains the same serialized data as"},{"line_number":422,"context_line":"      the request, plus top-level key ``version`` which"},{"line_number":423,"context_line":"      identifies a version of the uploaded data."},{"line_number":424,"context_line":""},{"line_number":425,"context_line":"Orchestration"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_e742ac0f","line":422,"range":{"start_line":422,"start_character":24,"end_line":422,"end_character":49},"in_reply_to":"fa0719c6_4b50cc5e","updated":"2016-03-22 20:54:30.000000000","message":"Done","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"53063368cf9e2fa9dba4027b0ea1f41d469169f9","unresolved":false,"context_lines":[{"line_number":580,"context_line":"is coming from the way the data uploaded to the API. It should"},{"line_number":581,"context_line":"be insignificant compared to other operations."},{"line_number":582,"context_line":""},{"line_number":583,"context_line":"Impact on the function of Puppet Master shall be significant"},{"line_number":584,"context_line":"as every parameter lookup will require an HTTP request."},{"line_number":585,"context_line":""},{"line_number":586,"context_line":"The actual impact has to be estimated on top of some baseline"},{"line_number":587,"context_line":"numbers. Therefore, solution will require performance testing"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_0686c912","line":584,"range":{"start_line":583,"start_character":0,"end_line":584,"end_character":55},"updated":"2016-03-22 14:33:17.000000000","message":"Some caching can easily mitigate this.","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"020512b9d05a182b3bc9be6f139a553b4d8c2cd3","unresolved":false,"context_lines":[{"line_number":580,"context_line":"is coming from the way the data uploaded to the API. It should"},{"line_number":581,"context_line":"be insignificant compared to other operations."},{"line_number":582,"context_line":""},{"line_number":583,"context_line":"Impact on the function of Puppet Master shall be significant"},{"line_number":584,"context_line":"as every parameter lookup will require an HTTP request."},{"line_number":585,"context_line":""},{"line_number":586,"context_line":"The actual impact has to be estimated on top of some baseline"},{"line_number":587,"context_line":"numbers. Therefore, solution will require performance testing"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_d547441b","line":584,"range":{"start_line":583,"start_character":0,"end_line":584,"end_character":55},"in_reply_to":"fa0719c6_0686c912","updated":"2016-03-22 20:54:30.000000000","message":"Yes, but we still need to understand that risk.","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"53063368cf9e2fa9dba4027b0ea1f41d469169f9","unresolved":false,"context_lines":[{"line_number":620,"context_line":"New repository shall be called ``openstack/tuning-box`` to reflect the"},{"line_number":621,"context_line":"nature of the service that allows to manipulate the deployment settings."},{"line_number":622,"context_line":""},{"line_number":623,"context_line":"An RPM package named ``fuel-configdb-extension`` shall be built from the"},{"line_number":624,"context_line":"repository."},{"line_number":625,"context_line":""},{"line_number":626,"context_line":"The package has the following dependencies that shall be added to Fuel build"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_46cd615c","line":623,"range":{"start_line":623,"start_character":23,"end_line":623,"end_character":46},"updated":"2016-03-22 14:33:17.000000000","message":"We should name it as the service itself.","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"020512b9d05a182b3bc9be6f139a553b4d8c2cd3","unresolved":false,"context_lines":[{"line_number":620,"context_line":"New repository shall be called ``openstack/tuning-box`` to reflect the"},{"line_number":621,"context_line":"nature of the service that allows to manipulate the deployment settings."},{"line_number":622,"context_line":""},{"line_number":623,"context_line":"An RPM package named ``fuel-configdb-extension`` shall be built from the"},{"line_number":624,"context_line":"repository."},{"line_number":625,"context_line":""},{"line_number":626,"context_line":"The package has the following dependencies that shall be added to Fuel build"}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_55869465","line":623,"range":{"start_line":623,"start_character":23,"end_line":623,"end_character":46},"in_reply_to":"fa0719c6_46cd615c","updated":"2016-03-22 20:54:30.000000000","message":"Done","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"53063368cf9e2fa9dba4027b0ea1f41d469169f9","unresolved":false,"context_lines":[{"line_number":756,"context_line":"            --resource astute --key deployment_id"},{"line_number":757,"context_line":""},{"line_number":758,"context_line":"* **Use Case #3**"},{"line_number":759,"context_line":"  Update specific key/value pair in the ConfigDB API resource:"},{"line_number":760,"context_line":""},{"line_number":761,"context_line":"  #. Install the Fuel Master node and deploy an OpenStack environment"},{"line_number":762,"context_line":"     as described above in the **Use Case #1**."}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_c6669128","line":759,"updated":"2016-03-22 14:33:17.000000000","message":"This should be done via special --override argument to CLI.","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"020512b9d05a182b3bc9be6f139a553b4d8c2cd3","unresolved":false,"context_lines":[{"line_number":756,"context_line":"            --resource astute --key deployment_id"},{"line_number":757,"context_line":""},{"line_number":758,"context_line":"* **Use Case #3**"},{"line_number":759,"context_line":"  Update specific key/value pair in the ConfigDB API resource:"},{"line_number":760,"context_line":""},{"line_number":761,"context_line":"  #. Install the Fuel Master node and deploy an OpenStack environment"},{"line_number":762,"context_line":"     as described above in the **Use Case #1**."}],"source_content_type":"text/x-rst","patch_set":21,"id":"fa0719c6_d3ebeaae","line":759,"in_reply_to":"fa0719c6_c6669128","updated":"2016-03-22 20:54:30.000000000","message":"Done","commit_id":"a87e362a8a8998a3c5486d42f883cb274f362bfe"},{"author":{"_account_id":17180,"name":"sryabin","email":"sryabin@mirantis.com","username":"sryabin"},"change_message_id":"bd08b0dea09db70b3d27428f1731d2a97a859b35","unresolved":false,"context_lines":[{"line_number":103,"context_line":"node it was uploaded from, ID of the environment the"},{"line_number":104,"context_line":"node belogned to and a version number."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Using FQDN for the identification of a node is required because the"},{"line_number":107,"context_line":"3rd-party LCM application might not be aware of the Nailgun\u0027s internal"},{"line_number":108,"context_line":"ID and only have a host name to identify the node."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"All data BLOBs uploaded in a single operation shall"},{"line_number":111,"context_line":"have the same version number."}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_e6c57c8e","line":108,"range":{"start_line":106,"start_character":0,"end_line":108,"end_character":50},"updated":"2016-03-22 21:52:24.000000000","message":"\u003c:node_id\u003e can be requested from nailgun/api/nodes","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"b1f5e705035a6ea6ff4ba09fcd3a01048d3e83be","unresolved":false,"context_lines":[{"line_number":103,"context_line":"node it was uploaded from, ID of the environment the"},{"line_number":104,"context_line":"node belogned to and a version number."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Using FQDN for the identification of a node is required because the"},{"line_number":107,"context_line":"3rd-party LCM application might not be aware of the Nailgun\u0027s internal"},{"line_number":108,"context_line":"ID and only have a host name to identify the node."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"All data BLOBs uploaded in a single operation shall"},{"line_number":111,"context_line":"have the same version number."}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_dee62714","line":108,"range":{"start_line":106,"start_character":0,"end_line":108,"end_character":50},"in_reply_to":"fa0719c6_53a21e4c","updated":"2016-03-23 12:05:33.000000000","message":"what is stored in ConfigDB actually? id or FQDN? FQDN can be changed via API. How to find old versions of data then?","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"03820c1ee69f2caca915bd35d7633169c86fbd8e","unresolved":false,"context_lines":[{"line_number":103,"context_line":"node it was uploaded from, ID of the environment the"},{"line_number":104,"context_line":"node belogned to and a version number."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Using FQDN for the identification of a node is required because the"},{"line_number":107,"context_line":"3rd-party LCM application might not be aware of the Nailgun\u0027s internal"},{"line_number":108,"context_line":"ID and only have a host name to identify the node."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"All data BLOBs uploaded in a single operation shall"},{"line_number":111,"context_line":"have the same version number."}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_e15d4a48","line":108,"range":{"start_line":106,"start_character":0,"end_line":108,"end_character":50},"in_reply_to":"fa0719c6_dee62714","updated":"2016-03-23 12:20:30.000000000","message":"Config Service currently stores whatever client puts in. So if one uses ID everywhere, it\u0027ll work. If one uses FQDN everywhere, it\u0027ll work too, unless FQDN changes. It looks like we might want to either always map FQDN to ID (which seems not accessible on Puppet Master) or store ID \u003c-\u003e FQDN mapping in Config Service (FQDN can be stored like \"aliases\" thing).","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ca8c5d9ed59e80bd48072d88fe296045afbcdc7","unresolved":false,"context_lines":[{"line_number":103,"context_line":"node it was uploaded from, ID of the environment the"},{"line_number":104,"context_line":"node belogned to and a version number."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Using FQDN for the identification of a node is required because the"},{"line_number":107,"context_line":"3rd-party LCM application might not be aware of the Nailgun\u0027s internal"},{"line_number":108,"context_line":"ID and only have a host name to identify the node."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"All data BLOBs uploaded in a single operation shall"},{"line_number":111,"context_line":"have the same version number."}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_483999f1","line":108,"range":{"start_line":106,"start_character":0,"end_line":108,"end_character":50},"in_reply_to":"fa0719c6_dee62714","updated":"2016-03-23 20:58:31.000000000","message":"We implemented a matching of node\u0027s ID and FQDN in the consumers of the API (i.e. deployment task that uploads data to the API and Hiera backend). Thus, we can identify the nodes by Nailgun\u0027s ID in ConfigDB API.","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"2a8b85892b43115d40177a3746f0d06ff8f7e6a8","unresolved":false,"context_lines":[{"line_number":103,"context_line":"node it was uploaded from, ID of the environment the"},{"line_number":104,"context_line":"node belogned to and a version number."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Using FQDN for the identification of a node is required because the"},{"line_number":107,"context_line":"3rd-party LCM application might not be aware of the Nailgun\u0027s internal"},{"line_number":108,"context_line":"ID and only have a host name to identify the node."},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"All data BLOBs uploaded in a single operation shall"},{"line_number":111,"context_line":"have the same version number."}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_53a21e4c","line":108,"range":{"start_line":106,"start_character":0,"end_line":108,"end_character":50},"in_reply_to":"fa0719c6_e6c57c8e","updated":"2016-03-23 07:31:53.000000000","message":"Tuning Box already allows any string to be the value of any level (including \"node\"). So it doesn\u0027t really matter what\u0027s used as a key here as long as it is consistent across all clients.","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"b1f5e705035a6ea6ff4ba09fcd3a01048d3e83be","unresolved":false,"context_lines":[{"line_number":141,"context_line":"----------"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"Refer to the ConfigDB specification for the details"},{"line_number":144,"context_line":"of the proposed Data Model [3]_."},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"From the standpoint of external Puppet Master LCM, the most"},{"line_number":147,"context_line":"important part of the API data model is a hierarchy of data"}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_be5533fb","line":144,"range":{"start_line":144,"start_character":27,"end_line":144,"end_character":30},"updated":"2016-03-23 12:05:33.000000000","message":"I didn\u0027t find it there (See my comment in #19).","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"b1f5e705035a6ea6ff4ba09fcd3a01048d3e83be","unresolved":false,"context_lines":[{"line_number":190,"context_line":"REST API"},{"line_number":191,"context_line":"--------"},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"* Create a component that provides data sources."},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"    * Method type: POST"},{"line_number":196,"context_line":""}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_7ef0bb67","line":193,"range":{"start_line":193,"start_character":11,"end_line":193,"end_character":20},"updated":"2016-03-23 12:05:33.000000000","message":"Do we need this here? It looks like \"it provides data sources\" is the only known information about component.","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ca8c5d9ed59e80bd48072d88fe296045afbcdc7","unresolved":false,"context_lines":[{"line_number":190,"context_line":"REST API"},{"line_number":191,"context_line":"--------"},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"* Create a component that provides data sources."},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"    * Method type: POST"},{"line_number":196,"context_line":""}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_63391ed7","line":193,"range":{"start_line":193,"start_character":11,"end_line":193,"end_character":20},"in_reply_to":"fa0719c6_7ef0bb67","updated":"2016-03-23 20:58:31.000000000","message":"I will add the definition for component to Terms \u0026 Definitions above.","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"03820c1ee69f2caca915bd35d7633169c86fbd8e","unresolved":false,"context_lines":[{"line_number":190,"context_line":"REST API"},{"line_number":191,"context_line":"--------"},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"* Create a component that provides data sources."},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"    * Method type: POST"},{"line_number":196,"context_line":""}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_41051612","line":193,"range":{"start_line":193,"start_character":11,"end_line":193,"end_character":20},"in_reply_to":"fa0719c6_7ef0bb67","updated":"2016-03-23 12:20:30.000000000","message":"Yes, we do. We should fixate list of data sources provided by a component at install time. Then we can use this component at environment creation time.","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"b1f5e705035a6ea6ff4ba09fcd3a01048d3e83be","unresolved":false,"context_lines":[{"line_number":224,"context_line":"    * Data payload in response: same as in request, ``\u003cid\u003e`` parameter is"},{"line_number":225,"context_line":"      mandatory in response."},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"* Create environment in ConfigDB API."},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"    * Method type: POST"},{"line_number":230,"context_line":""}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_1eb53f30","line":227,"range":{"start_line":227,"start_character":9,"end_line":227,"end_character":20},"updated":"2016-03-23 12:05:33.000000000","message":"How to use this? It is not mentioned in CLI, scenarios. How is it stored in DB?","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ca8c5d9ed59e80bd48072d88fe296045afbcdc7","unresolved":false,"context_lines":[{"line_number":224,"context_line":"    * Data payload in response: same as in request, ``\u003cid\u003e`` parameter is"},{"line_number":225,"context_line":"      mandatory in response."},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"* Create environment in ConfigDB API."},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"    * Method type: POST"},{"line_number":230,"context_line":""}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_63ae3ee7","line":227,"range":{"start_line":227,"start_character":9,"end_line":227,"end_character":20},"in_reply_to":"fa0719c6_1eb53f30","updated":"2016-03-23 20:58:31.000000000","message":"Environment isolates different stacks of resource instances, possibly having different hierarchies. Added definition to Terms and Definitions above.","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"03820c1ee69f2caca915bd35d7633169c86fbd8e","unresolved":false,"context_lines":[{"line_number":224,"context_line":"    * Data payload in response: same as in request, ``\u003cid\u003e`` parameter is"},{"line_number":225,"context_line":"      mandatory in response."},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"* Create environment in ConfigDB API."},{"line_number":228,"context_line":""},{"line_number":229,"context_line":"    * Method type: POST"},{"line_number":230,"context_line":""}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_cc4afd25","line":227,"range":{"start_line":227,"start_character":9,"end_line":227,"end_character":20},"in_reply_to":"fa0719c6_1eb53f30","updated":"2016-03-23 12:20:30.000000000","message":"It\u0027ll be used to create an environment before uploading data to Config Service. We might create CLI for it, but it\u0027s out of scope for this spec, I think.\n\nIt\u0027s stored as a simple table in DB (see https://github.com/openstack/tuning-box/blob/master/tuning_box/db.py#L114 )","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":17180,"name":"sryabin","email":"sryabin@mirantis.com","username":"sryabin"},"change_message_id":"bd08b0dea09db70b3d27428f1731d2a97a859b35","unresolved":false,"context_lines":[{"line_number":328,"context_line":"      * ``env_id`` identifies an OpenStack environment"},{"line_number":329,"context_line":"        that contains the node being queried"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"      * ``node_id`` is an ID of node being queried, shall be equal to FQDN"},{"line_number":332,"context_line":"        of the node"},{"line_number":333,"context_line":""},{"line_number":334,"context_line":"      * ``datasource`` is a text name of the queried data source."},{"line_number":335,"context_line":"        See the `Data Model`_ section for the available data sources."}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_a610a402","line":332,"range":{"start_line":331,"start_character":1,"end_line":332,"end_character":19},"updated":"2016-03-22 21:52:24.000000000","message":"ditto","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ca8c5d9ed59e80bd48072d88fe296045afbcdc7","unresolved":false,"context_lines":[{"line_number":328,"context_line":"      * ``env_id`` identifies an OpenStack environment"},{"line_number":329,"context_line":"        that contains the node being queried"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"      * ``node_id`` is an ID of node being queried, shall be equal to FQDN"},{"line_number":332,"context_line":"        of the node"},{"line_number":333,"context_line":""},{"line_number":334,"context_line":"      * ``datasource`` is a text name of the queried data source."},{"line_number":335,"context_line":"        See the `Data Model`_ section for the available data sources."}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_437a1a78","line":332,"range":{"start_line":331,"start_character":1,"end_line":332,"end_character":19},"in_reply_to":"fa0719c6_a610a402","updated":"2016-03-23 20:58:31.000000000","message":"Done","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":17180,"name":"sryabin","email":"sryabin@mirantis.com","username":"sryabin"},"change_message_id":"bd08b0dea09db70b3d27428f1731d2a97a859b35","unresolved":false,"context_lines":[{"line_number":368,"context_line":"      * ``env_id`` identifies an OpenStack environment"},{"line_number":369,"context_line":"        that contians the node being queried"},{"line_number":370,"context_line":""},{"line_number":371,"context_line":"      * ``node_id`` is an ID of node being queried, shall be equal to FQDN"},{"line_number":372,"context_line":"        of the node"},{"line_number":373,"context_line":""},{"line_number":374,"context_line":"      * ``datasource`` is a text name of the queried data source"},{"line_number":375,"context_line":"        See the `Data Model`_ section for the available data sources."}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_261c9411","line":372,"range":{"start_line":371,"start_character":3,"end_line":372,"end_character":19},"updated":"2016-03-22 21:52:24.000000000","message":"ditto","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ca8c5d9ed59e80bd48072d88fe296045afbcdc7","unresolved":false,"context_lines":[{"line_number":368,"context_line":"      * ``env_id`` identifies an OpenStack environment"},{"line_number":369,"context_line":"        that contians the node being queried"},{"line_number":370,"context_line":""},{"line_number":371,"context_line":"      * ``node_id`` is an ID of node being queried, shall be equal to FQDN"},{"line_number":372,"context_line":"        of the node"},{"line_number":373,"context_line":""},{"line_number":374,"context_line":"      * ``datasource`` is a text name of the queried data source"},{"line_number":375,"context_line":"        See the `Data Model`_ section for the available data sources."}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_8398b2c1","line":372,"range":{"start_line":371,"start_character":3,"end_line":372,"end_character":19},"in_reply_to":"fa0719c6_261c9411","updated":"2016-03-23 20:58:31.000000000","message":"Done","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":17180,"name":"sryabin","email":"sryabin@mirantis.com","username":"sryabin"},"change_message_id":"bd08b0dea09db70b3d27428f1731d2a97a859b35","unresolved":false,"context_lines":[{"line_number":408,"context_line":"      * ``env_id`` identifies an OpenStack environment"},{"line_number":409,"context_line":"        that contians the node being queried"},{"line_number":410,"context_line":""},{"line_number":411,"context_line":"      * ``node_id`` is an ID of node being queried, shall be equal to FQDN"},{"line_number":412,"context_line":"        of the node"},{"line_number":413,"context_line":""},{"line_number":414,"context_line":"      * ``datasource`` is a text name of the queried data source"},{"line_number":415,"context_line":"        See the `Data Model`_ section for the available data sources."}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_66d4cc1f","line":412,"range":{"start_line":411,"start_character":2,"end_line":412,"end_character":19},"updated":"2016-03-22 21:52:24.000000000","message":"ditto","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ca8c5d9ed59e80bd48072d88fe296045afbcdc7","unresolved":false,"context_lines":[{"line_number":408,"context_line":"      * ``env_id`` identifies an OpenStack environment"},{"line_number":409,"context_line":"        that contians the node being queried"},{"line_number":410,"context_line":""},{"line_number":411,"context_line":"      * ``node_id`` is an ID of node being queried, shall be equal to FQDN"},{"line_number":412,"context_line":"        of the node"},{"line_number":413,"context_line":""},{"line_number":414,"context_line":"      * ``datasource`` is a text name of the queried data source"},{"line_number":415,"context_line":"        See the `Data Model`_ section for the available data sources."}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_63959e85","line":412,"range":{"start_line":411,"start_character":2,"end_line":412,"end_character":19},"in_reply_to":"fa0719c6_66d4cc1f","updated":"2016-03-23 20:58:31.000000000","message":"Done","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"b1f5e705035a6ea6ff4ba09fcd3a01048d3e83be","unresolved":false,"context_lines":[{"line_number":763,"context_line":"     Case #2**."},{"line_number":764,"context_line":""},{"line_number":765,"context_line":"  #. Run the command (change environment and node\u0027s IDs to appropriate for"},{"line_number":766,"context_line":"     your environment, change key name to the desired) with ``--override``"},{"line_number":767,"context_line":"     option:"},{"line_number":768,"context_line":""},{"line_number":769,"context_line":"     ::"}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_013ddec3","line":766,"range":{"start_line":766,"start_character":62,"end_line":766,"end_character":72},"updated":"2016-03-23 12:05:33.000000000","message":"option is not described","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"0ca8c5d9ed59e80bd48072d88fe296045afbcdc7","unresolved":false,"context_lines":[{"line_number":763,"context_line":"     Case #2**."},{"line_number":764,"context_line":""},{"line_number":765,"context_line":"  #. Run the command (change environment and node\u0027s IDs to appropriate for"},{"line_number":766,"context_line":"     your environment, change key name to the desired) with ``--override``"},{"line_number":767,"context_line":"     option:"},{"line_number":768,"context_line":""},{"line_number":769,"context_line":"     ::"}],"source_content_type":"text/x-rst","patch_set":23,"id":"fa0719c6_a38b3667","line":766,"range":{"start_line":766,"start_character":62,"end_line":766,"end_character":72},"in_reply_to":"fa0719c6_013ddec3","updated":"2016-03-23 20:58:31.000000000","message":"In fact, the client command will always write to the override resource, so there is no reason to specify this option explicitly.","commit_id":"32bac5c9cf262ed15a96f16db437b797b4f28a48"},{"author":{"_account_id":17180,"name":"sryabin","email":"sryabin@mirantis.com","username":"sryabin"},"change_message_id":"2624e081138eb0b169d0104aeb2612f44a5616af","unresolved":false,"context_lines":[{"line_number":214,"context_line":""},{"line_number":215,"context_line":"    * ``\u003c:endpoint_uri\u003e/components``"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"    * Expected error HTTP response code(s): None"},{"line_number":220,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_0c259aaa","line":217,"range":{"start_line":217,"start_character":36,"end_line":217,"end_character":39},"updated":"2016-03-24 21:59:52.000000000","message":"201 or 202","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"91aac091c35b561d93ba37297760e46273c47947","unresolved":false,"context_lines":[{"line_number":214,"context_line":""},{"line_number":215,"context_line":"    * ``\u003c:endpoint_uri\u003e/components``"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"    * Expected error HTTP response code(s): None"},{"line_number":220,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_f2ef45ae","line":217,"range":{"start_line":217,"start_character":36,"end_line":217,"end_character":39},"in_reply_to":"da0c15f0_0c259aaa","updated":"2016-03-25 14:47:18.000000000","message":"201","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"dc77aa3c9ac8445a1875ecb5a1bb8eb9d2d3e321","unresolved":false,"context_lines":[{"line_number":214,"context_line":""},{"line_number":215,"context_line":"    * ``\u003c:endpoint_uri\u003e/components``"},{"line_number":216,"context_line":""},{"line_number":217,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"    * Expected error HTTP response code(s): None"},{"line_number":220,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_437901fc","line":217,"in_reply_to":"da0c15f0_f2ef45ae","updated":"2016-04-01 21:35:17.000000000","message":"Done","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":17180,"name":"sryabin","email":"sryabin@mirantis.com","username":"sryabin"},"change_message_id":"2624e081138eb0b169d0104aeb2612f44a5616af","unresolved":false,"context_lines":[{"line_number":248,"context_line":""},{"line_number":249,"context_line":"    * ``\u003c:endpoint_uri\u003e/environments``"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":252,"context_line":""},{"line_number":253,"context_line":"    * Expected error HTTP response code(s): None"},{"line_number":254,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_cc3ba29b","line":251,"range":{"start_line":251,"start_character":36,"end_line":251,"end_character":39},"updated":"2016-03-24 21:59:52.000000000","message":"ditto","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"91aac091c35b561d93ba37297760e46273c47947","unresolved":false,"context_lines":[{"line_number":248,"context_line":""},{"line_number":249,"context_line":"    * ``\u003c:endpoint_uri\u003e/environments``"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":252,"context_line":""},{"line_number":253,"context_line":"    * Expected error HTTP response code(s): None"},{"line_number":254,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_d23fa123","line":251,"range":{"start_line":251,"start_character":36,"end_line":251,"end_character":39},"in_reply_to":"da0c15f0_cc3ba29b","updated":"2016-03-25 14:47:18.000000000","message":"201","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"dc77aa3c9ac8445a1875ecb5a1bb8eb9d2d3e321","unresolved":false,"context_lines":[{"line_number":248,"context_line":""},{"line_number":249,"context_line":"    * ``\u003c:endpoint_uri\u003e/environments``"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":252,"context_line":""},{"line_number":253,"context_line":"    * Expected error HTTP response code(s): None"},{"line_number":254,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_a323bd04","line":251,"in_reply_to":"da0c15f0_d23fa123","updated":"2016-04-01 21:35:17.000000000","message":"Done","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"91aac091c35b561d93ba37297760e46273c47947","unresolved":false,"context_lines":[{"line_number":271,"context_line":"                                                # or they can be names"},{"line_number":272,"context_line":"                                                # instead of ids"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"            \"hierarchy_levels\": [\"node\"]        # The only supported level"},{"line_number":275,"context_line":"                                                # in 9.0 is \u0027node\u0027"},{"line_number":276,"context_line":"          }"},{"line_number":277,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_920c0996","line":274,"range":{"start_line":274,"start_character":34,"end_line":274,"end_character":38},"updated":"2016-03-25 14:47:18.000000000","message":"add \"s\" here?","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":8797,"name":"Andrew Woodward","email":"xarses@gmail.com","username":"xarses"},"change_message_id":"1b31acd5c9c69afe00225fccad78d668eb23530a","unresolved":false,"context_lines":[{"line_number":271,"context_line":"                                                # or they can be names"},{"line_number":272,"context_line":"                                                # instead of ids"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"            \"hierarchy_levels\": [\"node\"]        # The only supported level"},{"line_number":275,"context_line":"                                                # in 9.0 is \u0027node\u0027"},{"line_number":276,"context_line":"          }"},{"line_number":277,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_25fa0743","line":274,"range":{"start_line":274,"start_character":59,"end_line":274,"end_character":74},"updated":"2016-03-25 21:24:10.000000000","message":"is this an implementation issue in the CmDB, or simply an issue loading the data into the CmDB?","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"f88123f972c93881afd1da2b07b5bbc57aed7e82","unresolved":false,"context_lines":[{"line_number":271,"context_line":"                                                # or they can be names"},{"line_number":272,"context_line":"                                                # instead of ids"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"            \"hierarchy_levels\": [\"node\"]        # The only supported level"},{"line_number":275,"context_line":"                                                # in 9.0 is \u0027node\u0027"},{"line_number":276,"context_line":"          }"},{"line_number":277,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_c4c9887a","line":274,"range":{"start_line":274,"start_character":59,"end_line":274,"end_character":74},"in_reply_to":"da0c15f0_25fa0743","updated":"2016-03-26 00:59:24.000000000","message":"These names are used as is in URLs, so I prefer to have them looking like REST-ish containers. Basically these names are up to user and one can substitute absolutely anything here.","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"dc77aa3c9ac8445a1875ecb5a1bb8eb9d2d3e321","unresolved":false,"context_lines":[{"line_number":271,"context_line":"                                                # or they can be names"},{"line_number":272,"context_line":"                                                # instead of ids"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"            \"hierarchy_levels\": [\"node\"]        # The only supported level"},{"line_number":275,"context_line":"                                                # in 9.0 is \u0027node\u0027"},{"line_number":276,"context_line":"          }"},{"line_number":277,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_0321c9fb","line":274,"in_reply_to":"da0c15f0_920c0996","updated":"2016-04-01 21:35:17.000000000","message":"Done","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"91aac091c35b561d93ba37297760e46273c47947","unresolved":false,"context_lines":[{"line_number":310,"context_line":"                                                # or they can be names"},{"line_number":311,"context_line":"                                                # instead of ids"},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"            \"hierarchy_levels\": [\"node\"]        # The only supported level"},{"line_number":314,"context_line":"                                                # in 9.0 is \u0027node\u0027"},{"line_number":315,"context_line":"          }"},{"line_number":316,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_b2230d05","line":313,"range":{"start_line":313,"start_character":34,"end_line":313,"end_character":38},"updated":"2016-03-25 14:47:18.000000000","message":"add \"s\" here too?","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"dc77aa3c9ac8445a1875ecb5a1bb8eb9d2d3e321","unresolved":false,"context_lines":[{"line_number":310,"context_line":"                                                # or they can be names"},{"line_number":311,"context_line":"                                                # instead of ids"},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"            \"hierarchy_levels\": [\"node\"]        # The only supported level"},{"line_number":314,"context_line":"                                                # in 9.0 is \u0027node\u0027"},{"line_number":315,"context_line":"          }"},{"line_number":316,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_c326b115","line":313,"in_reply_to":"da0c15f0_b2230d05","updated":"2016-04-01 21:35:17.000000000","message":"Done","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"91aac091c35b561d93ba37297760e46273c47947","unresolved":false,"context_lines":[{"line_number":351,"context_line":"      * ``datasource`` is a text name of the queried data source."},{"line_number":352,"context_line":"        See the `Data Model`_ section for the available data sources."},{"line_number":353,"context_line":""},{"line_number":354,"context_line":"      * ``effective`` flag is used to identify that hierarchically merged"},{"line_number":355,"context_line":"        data must be returned (i.e. *effective data*)."},{"line_number":356,"context_line":""},{"line_number":357,"context_line":"      * ``version`` identifies the version to access. Optional parameter."},{"line_number":358,"context_line":"        Defaults to the latest version available for the given data source."}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_f2e2a59e","line":355,"range":{"start_line":354,"start_character":0,"end_line":355,"end_character":54},"updated":"2016-03-25 14:47:18.000000000","message":"Should be expanded like \"If omitted, only data explicitly put on this level is returned.\"","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"dc77aa3c9ac8445a1875ecb5a1bb8eb9d2d3e321","unresolved":false,"context_lines":[{"line_number":352,"context_line":"        See the `Data Model`_ section for the available data sources."},{"line_number":353,"context_line":""},{"line_number":354,"context_line":"      * ``effective`` flag is used to identify that hierarchically merged"},{"line_number":355,"context_line":"        data must be returned (i.e. *effective data*)."},{"line_number":356,"context_line":""},{"line_number":357,"context_line":"      * ``version`` identifies the version to access. Optional parameter."},{"line_number":358,"context_line":"        Defaults to the latest version available for the given data source."}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_0dcb9c1f","line":355,"in_reply_to":"da0c15f0_f2e2a59e","updated":"2016-04-01 21:35:17.000000000","message":"Done","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"91aac091c35b561d93ba37297760e46273c47947","unresolved":false,"context_lines":[{"line_number":367,"context_line":""},{"line_number":368,"context_line":"    * ``\u003c:endpoint_uri\u003e/environments/\u003c:env_id\u003e/nodes/\u003c:node_id\u003e/resources/\u003c:datasource\u003e/values``"},{"line_number":369,"context_line":""},{"line_number":370,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":371,"context_line":""},{"line_number":372,"context_line":"    * Expected error HTTP response code(s):"},{"line_number":373,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_4d82d053","line":370,"updated":"2016-03-25 14:47:18.000000000","message":"Add\n\n  * 308 Permanent Redirect\n    ``datasource`` is specified by name, not ID. \"Location\"\n    header should contain full datasource id based URL to PUT\n    data to.","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"dc77aa3c9ac8445a1875ecb5a1bb8eb9d2d3e321","unresolved":false,"context_lines":[{"line_number":367,"context_line":""},{"line_number":368,"context_line":"    * ``\u003c:endpoint_uri\u003e/environments/\u003c:env_id\u003e/nodes/\u003c:node_id\u003e/resources/\u003c:datasource\u003e/values``"},{"line_number":369,"context_line":""},{"line_number":370,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":371,"context_line":""},{"line_number":372,"context_line":"    * Expected error HTTP response code(s):"},{"line_number":373,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_23f32d75","line":370,"in_reply_to":"da0c15f0_4d82d053","updated":"2016-04-01 21:35:17.000000000","message":"Done","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"91aac091c35b561d93ba37297760e46273c47947","unresolved":false,"context_lines":[{"line_number":390,"context_line":""},{"line_number":391,"context_line":"      * ``node_id`` is an ID of node being queried"},{"line_number":392,"context_line":""},{"line_number":393,"context_line":"      * ``datasource`` is a text name of the queried data source"},{"line_number":394,"context_line":"        See the `Data Model`_ section for the available data sources."},{"line_number":395,"context_line":""},{"line_number":396,"context_line":"    * Request payload should contain serialized data"}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_6df874e6","line":393,"range":{"start_line":393,"start_character":28,"end_line":393,"end_character":37},"updated":"2016-03-25 14:47:18.000000000","message":"or ID","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"dc77aa3c9ac8445a1875ecb5a1bb8eb9d2d3e321","unresolved":false,"context_lines":[{"line_number":390,"context_line":""},{"line_number":391,"context_line":"      * ``node_id`` is an ID of node being queried"},{"line_number":392,"context_line":""},{"line_number":393,"context_line":"      * ``datasource`` is a text name of the queried data source"},{"line_number":394,"context_line":"        See the `Data Model`_ section for the available data sources."},{"line_number":395,"context_line":""},{"line_number":396,"context_line":"    * Request payload should contain serialized data"}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_034f09be","line":393,"in_reply_to":"da0c15f0_6df874e6","updated":"2016-04-01 21:35:17.000000000","message":"Done","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"91aac091c35b561d93ba37297760e46273c47947","unresolved":false,"context_lines":[{"line_number":406,"context_line":""},{"line_number":407,"context_line":"    * ``\u003c:endpoint_uri\u003e/environments/\u003c:env_id\u003e/nodes/\u003c:node_id\u003e/resources/\u003c:datasource\u003e/override``"},{"line_number":408,"context_line":""},{"line_number":409,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":410,"context_line":""},{"line_number":411,"context_line":"    * Expected error HTTP response code(s):"},{"line_number":412,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_cdc42094","line":409,"updated":"2016-03-25 14:47:18.000000000","message":"Same about 308 code.","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"dc77aa3c9ac8445a1875ecb5a1bb8eb9d2d3e321","unresolved":false,"context_lines":[{"line_number":406,"context_line":""},{"line_number":407,"context_line":"    * ``\u003c:endpoint_uri\u003e/environments/\u003c:env_id\u003e/nodes/\u003c:node_id\u003e/resources/\u003c:datasource\u003e/override``"},{"line_number":408,"context_line":""},{"line_number":409,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":410,"context_line":""},{"line_number":411,"context_line":"    * Expected error HTTP response code(s):"},{"line_number":412,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_83e8397e","line":409,"in_reply_to":"da0c15f0_cdc42094","updated":"2016-04-01 21:35:17.000000000","message":"Done","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"91aac091c35b561d93ba37297760e46273c47947","unresolved":false,"context_lines":[{"line_number":429,"context_line":""},{"line_number":430,"context_line":"      * ``node_id`` is an ID of node being queried"},{"line_number":431,"context_line":""},{"line_number":432,"context_line":"      * ``datasource`` is a text name of the queried data source"},{"line_number":433,"context_line":"        See the `Data Model`_ section for the available data sources."},{"line_number":434,"context_line":""},{"line_number":435,"context_line":"    * Request payload should contain serialized data"}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_adc1ec82","line":432,"range":{"start_line":432,"start_character":28,"end_line":432,"end_character":37},"updated":"2016-03-25 14:47:18.000000000","message":"And here.","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"dc77aa3c9ac8445a1875ecb5a1bb8eb9d2d3e321","unresolved":false,"context_lines":[{"line_number":429,"context_line":""},{"line_number":430,"context_line":"      * ``node_id`` is an ID of node being queried"},{"line_number":431,"context_line":""},{"line_number":432,"context_line":"      * ``datasource`` is a text name of the queried data source"},{"line_number":433,"context_line":"        See the `Data Model`_ section for the available data sources."},{"line_number":434,"context_line":""},{"line_number":435,"context_line":"    * Request payload should contain serialized data"}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_63ed258b","line":432,"in_reply_to":"da0c15f0_adc1ec82","updated":"2016-04-01 21:35:17.000000000","message":"Done","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"91aac091c35b561d93ba37297760e46273c47947","unresolved":false,"context_lines":[{"line_number":477,"context_line":"  hierarchies if needed, but in version 9.0 it only will work with the"},{"line_number":478,"context_line":"  node-level data."},{"line_number":479,"context_line":""},{"line_number":480,"context_line":"* ``--level cluster`` identifies environment-wide settings."},{"line_number":481,"context_line":""},{"line_number":482,"context_line":"* ``--resource \u003cNAME\u003e`` identifies a data source, combined"},{"line_number":483,"context_line":"  with a node name defines a complete name space"}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_6d14f4f4","line":480,"range":{"start_line":480,"start_character":12,"end_line":480,"end_character":19},"updated":"2016-03-25 14:47:18.000000000","message":"Let\u0027s say either \"root\" or just omit \"--level\" for global data. Config Service doesn\u0027t have concept of Cluster in it.","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"dc77aa3c9ac8445a1875ecb5a1bb8eb9d2d3e321","unresolved":false,"context_lines":[{"line_number":477,"context_line":"  hierarchies if needed, but in version 9.0 it only will work with the"},{"line_number":478,"context_line":"  node-level data."},{"line_number":479,"context_line":""},{"line_number":480,"context_line":"* ``--level cluster`` identifies environment-wide settings."},{"line_number":481,"context_line":""},{"line_number":482,"context_line":"* ``--resource \u003cNAME\u003e`` identifies a data source, combined"},{"line_number":483,"context_line":"  with a node name defines a complete name space"}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_6311a5ac","line":480,"in_reply_to":"da0c15f0_6d14f4f4","updated":"2016-04-01 21:35:17.000000000","message":"\u0027Global\u0027 per environment, correct?","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":8797,"name":"Andrew Woodward","email":"xarses@gmail.com","username":"xarses"},"change_message_id":"1b31acd5c9c69afe00225fccad78d668eb23530a","unresolved":false,"context_lines":[{"line_number":502,"context_line":"  keys. Users normally should run ``override`` command to override values"},{"line_number":503,"context_line":"  of parameters instead of this command."},{"line_number":504,"context_line":""},{"line_number":505,"context_line":"* ``override`` - update data in the data resource\u0027s override for the given"},{"line_number":506,"context_line":"  level. This will change the *effective values* of parameters, without"},{"line_number":507,"context_line":"  changing the values themselves."},{"line_number":508,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_e03c7d31","line":505,"range":{"start_line":505,"start_character":4,"end_line":505,"end_character":12},"updated":"2016-03-25 21:24:10.000000000","message":"there appears to be a preference to using override instead of more tightly scoped levels, is there a reason for this?","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"f88123f972c93881afd1da2b07b5bbc57aed7e82","unresolved":false,"context_lines":[{"line_number":502,"context_line":"  keys. Users normally should run ``override`` command to override values"},{"line_number":503,"context_line":"  of parameters instead of this command."},{"line_number":504,"context_line":""},{"line_number":505,"context_line":"* ``override`` - update data in the data resource\u0027s override for the given"},{"line_number":506,"context_line":"  level. This will change the *effective values* of parameters, without"},{"line_number":507,"context_line":"  changing the values themselves."},{"line_number":508,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_a4729447","line":505,"range":{"start_line":505,"start_character":4,"end_line":505,"end_character":12},"in_reply_to":"da0c15f0_e03c7d31","updated":"2016-03-26 00:59:24.000000000","message":"Each level has its own overrides. You can have any number of levels with values populated automatically, and then apply override on any of these levels. For our case (two levels, global and node) priorities are (from least to most):\n\n * global\n * global override\n * node\n * node override\n\n\"global\" and \"node\" values are populated using Nailgun and predeployment task data while \"* override\" is set only by user.","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"dc77aa3c9ac8445a1875ecb5a1bb8eb9d2d3e321","unresolved":false,"context_lines":[{"line_number":502,"context_line":"  keys. Users normally should run ``override`` command to override values"},{"line_number":503,"context_line":"  of parameters instead of this command."},{"line_number":504,"context_line":""},{"line_number":505,"context_line":"* ``override`` - update data in the data resource\u0027s override for the given"},{"line_number":506,"context_line":"  level. This will change the *effective values* of parameters, without"},{"line_number":507,"context_line":"  changing the values themselves."},{"line_number":508,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_9bed348e","line":505,"in_reply_to":"da0c15f0_e03c7d31","updated":"2016-04-01 21:35:17.000000000","message":"This is not an override in terms of Hiera, it\u0027s an implicit level of hierarchy associated with a resource/data source. It defines the values that user wants to change on top of values defined in that resource at the given level (i.e. \u0027nodes\u0027 or \u0027env\u0027), that\u0027s all. If there are lower levels in the internal hierarchy, they will take precedence.","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":8797,"name":"Andrew Woodward","email":"xarses@gmail.com","username":"xarses"},"change_message_id":"1b31acd5c9c69afe00225fccad78d668eb23530a","unresolved":false,"context_lines":[{"line_number":543,"context_line":""},{"line_number":544,"context_line":"  ::"},{"line_number":545,"context_line":""},{"line_number":546,"context_line":"    fuel config overriide --env \u003cid\u003e --level node\u003d\u003cfqdn\u003e"},{"line_number":547,"context_line":"        --resource \u003cname\u003e --key \u003ckey\u003e --type [null|int|str|json|yaml|bool]"},{"line_number":548,"context_line":"        [--value \u003cvalue\u003e | \u003c value.[json|yaml] ]"},{"line_number":549,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_007d311c","line":546,"range":{"start_line":546,"start_character":22,"end_line":546,"end_character":23},"updated":"2016-03-25 21:24:10.000000000","message":"typo","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"dc77aa3c9ac8445a1875ecb5a1bb8eb9d2d3e321","unresolved":false,"context_lines":[{"line_number":543,"context_line":""},{"line_number":544,"context_line":"  ::"},{"line_number":545,"context_line":""},{"line_number":546,"context_line":"    fuel config overriide --env \u003cid\u003e --level node\u003d\u003cfqdn\u003e"},{"line_number":547,"context_line":"        --resource \u003cname\u003e --key \u003ckey\u003e --type [null|int|str|json|yaml|bool]"},{"line_number":548,"context_line":"        [--value \u003cvalue\u003e | \u003c value.[json|yaml] ]"},{"line_number":549,"context_line":""}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_7b95c0e2","line":546,"in_reply_to":"da0c15f0_007d311c","updated":"2016-04-01 21:35:17.000000000","message":"Done","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":8797,"name":"Andrew Woodward","email":"xarses@gmail.com","username":"xarses"},"change_message_id":"1b31acd5c9c69afe00225fccad78d668eb23530a","unresolved":false,"context_lines":[{"line_number":544,"context_line":"  ::"},{"line_number":545,"context_line":""},{"line_number":546,"context_line":"    fuel config overriide --env \u003cid\u003e --level node\u003d\u003cfqdn\u003e"},{"line_number":547,"context_line":"        --resource \u003cname\u003e --key \u003ckey\u003e --type [null|int|str|json|yaml|bool]"},{"line_number":548,"context_line":"        [--value \u003cvalue\u003e | \u003c value.[json|yaml] ]"},{"line_number":549,"context_line":""},{"line_number":550,"context_line":"Plugins"}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_808f8122","line":547,"range":{"start_line":547,"start_character":38,"end_line":547,"end_character":44},"updated":"2016-03-25 21:24:10.000000000","message":"type isn\u0027t described above","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"dc77aa3c9ac8445a1875ecb5a1bb8eb9d2d3e321","unresolved":false,"context_lines":[{"line_number":544,"context_line":"  ::"},{"line_number":545,"context_line":""},{"line_number":546,"context_line":"    fuel config overriide --env \u003cid\u003e --level node\u003d\u003cfqdn\u003e"},{"line_number":547,"context_line":"        --resource \u003cname\u003e --key \u003ckey\u003e --type [null|int|str|json|yaml|bool]"},{"line_number":548,"context_line":"        [--value \u003cvalue\u003e | \u003c value.[json|yaml] ]"},{"line_number":549,"context_line":""},{"line_number":550,"context_line":"Plugins"}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_fb02703d","line":547,"in_reply_to":"da0c15f0_808f8122","updated":"2016-04-01 21:35:17.000000000","message":"Done","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":8797,"name":"Andrew Woodward","email":"xarses@gmail.com","username":"xarses"},"change_message_id":"1b31acd5c9c69afe00225fccad78d668eb23530a","unresolved":false,"context_lines":[{"line_number":569,"context_line":"installer (i.e. ConfigDB [3]_). However, this requires significant changes to"},{"line_number":570,"context_line":"the architecture of the system. This path shall be pursued in the following"},{"line_number":571,"context_line":"major release of Fuel software."},{"line_number":572,"context_line":""},{"line_number":573,"context_line":"--------------"},{"line_number":574,"context_line":"Upgrade impact"},{"line_number":575,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_78e2ebd6","line":572,"updated":"2016-03-25 21:24:10.000000000","message":"I don\u0027t see an assessment of why we need to implement all of this tight connectivity instead of using an off the shelf Config DB service.","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"f88123f972c93881afd1da2b07b5bbc57aed7e82","unresolved":false,"context_lines":[{"line_number":569,"context_line":"installer (i.e. ConfigDB [3]_). However, this requires significant changes to"},{"line_number":570,"context_line":"the architecture of the system. This path shall be pursued in the following"},{"line_number":571,"context_line":"major release of Fuel software."},{"line_number":572,"context_line":""},{"line_number":573,"context_line":"--------------"},{"line_number":574,"context_line":"Upgrade impact"},{"line_number":575,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_64c6bc4a","line":572,"in_reply_to":"da0c15f0_78e2ebd6","updated":"2016-03-26 00:59:24.000000000","message":"There\u0027s no tight connectivity here. Extension approach allows us to quickly develop and build up functionality. Switching to a separate service will be an easy task since we avoid any coupling here.","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":8797,"name":"Andrew Woodward","email":"xarses@gmail.com","username":"xarses"},"change_message_id":"1b31acd5c9c69afe00225fccad78d668eb23530a","unresolved":false,"context_lines":[{"line_number":605,"context_line":"Performance impact"},{"line_number":606,"context_line":"------------------"},{"line_number":607,"context_line":""},{"line_number":608,"context_line":"The potential performance impact on the deployment process"},{"line_number":609,"context_line":"is coming from the way the data uploaded to the API. It should"},{"line_number":610,"context_line":"be insignificant compared to other operations."},{"line_number":611,"context_line":""},{"line_number":612,"context_line":"Impact on the function of Puppet Master shall be significant"},{"line_number":613,"context_line":"as every parameter lookup will require an HTTP request."}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_008a51bf","line":610,"range":{"start_line":608,"start_character":0,"end_line":610,"end_character":46},"updated":"2016-03-25 21:24:10.000000000","message":"We should expect that deployments making use of this, will adapt and use CmDB as the datasource for normal deployment","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"dc77aa3c9ac8445a1875ecb5a1bb8eb9d2d3e321","unresolved":false,"context_lines":[{"line_number":607,"context_line":""},{"line_number":608,"context_line":"The potential performance impact on the deployment process"},{"line_number":609,"context_line":"is coming from the way the data uploaded to the API. It should"},{"line_number":610,"context_line":"be insignificant compared to other operations."},{"line_number":611,"context_line":""},{"line_number":612,"context_line":"Impact on the function of Puppet Master shall be significant"},{"line_number":613,"context_line":"as every parameter lookup will require an HTTP request."}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_361b5f1d","line":610,"in_reply_to":"da0c15f0_008a51bf","updated":"2016-04-01 21:35:17.000000000","message":"Agree, although that\u0027s not going to happen in 9.0, as far as I can tell. We will improve the design and performance of the solution in 10.0 and beyond, based on that assumption.","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":8797,"name":"Andrew Woodward","email":"xarses@gmail.com","username":"xarses"},"change_message_id":"1b31acd5c9c69afe00225fccad78d668eb23530a","unresolved":false,"context_lines":[{"line_number":612,"context_line":"Impact on the function of Puppet Master shall be significant"},{"line_number":613,"context_line":"as every parameter lookup will require an HTTP request."},{"line_number":614,"context_line":""},{"line_number":615,"context_line":"The actual impact has to be estimated on top of some baseline"},{"line_number":616,"context_line":"numbers. Therefore, solution will require performance testing"},{"line_number":617,"context_line":"once implemented."},{"line_number":618,"context_line":""},{"line_number":619,"context_line":"-----------------"},{"line_number":620,"context_line":"Deployment impact"}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_207f95ab","line":617,"range":{"start_line":615,"start_character":0,"end_line":617,"end_character":17},"updated":"2016-03-25 21:24:10.000000000","message":"Unless we implement prefetching/caching in the client, we are looking at load that will a minimum to \u003cnum keys\u003e * \u003clevels\u003e * \u003cnodes\u003e per processing interval. In addition a number of keys are read multiple times during the deployment.\n\n`heira` pattern is found ~1300 times in fuel and is a good, upper-bound marker for usage","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"dc77aa3c9ac8445a1875ecb5a1bb8eb9d2d3e321","unresolved":false,"context_lines":[{"line_number":614,"context_line":""},{"line_number":615,"context_line":"The actual impact has to be estimated on top of some baseline"},{"line_number":616,"context_line":"numbers. Therefore, solution will require performance testing"},{"line_number":617,"context_line":"once implemented."},{"line_number":618,"context_line":""},{"line_number":619,"context_line":"-----------------"},{"line_number":620,"context_line":"Deployment impact"}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_1b1e44ba","line":617,"in_reply_to":"da0c15f0_207f95ab","updated":"2016-04-01 21:35:17.000000000","message":"We consider caching and prefetching (saving to local files) to be added in the next version of the application. Local caching of serialized data for the whole duration of the deployment will also help to ensure transactional nature of the deployment process.","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"91aac091c35b561d93ba37297760e46273c47947","unresolved":false,"context_lines":[{"line_number":809,"context_line":""},{"line_number":810,"context_line":"     ::"},{"line_number":811,"context_line":""},{"line_number":812,"context_line":"        fuel config set --env 1 --level node\u003dnode-1.domain.tld"},{"line_number":813,"context_line":"            --resource astute --key deployment_id --value 2"},{"line_number":814,"context_line":""},{"line_number":815,"context_line":"  #. Look up a value of the key and validate that it was properly set in"}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_0df298d2","line":812,"range":{"start_line":812,"start_character":20,"end_line":812,"end_character":23},"updated":"2016-03-25 14:47:18.000000000","message":"override","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"dc77aa3c9ac8445a1875ecb5a1bb8eb9d2d3e321","unresolved":false,"context_lines":[{"line_number":809,"context_line":""},{"line_number":810,"context_line":"     ::"},{"line_number":811,"context_line":""},{"line_number":812,"context_line":"        fuel config set --env 1 --level node\u003dnode-1.domain.tld"},{"line_number":813,"context_line":"            --resource astute --key deployment_id --value 2"},{"line_number":814,"context_line":""},{"line_number":815,"context_line":"  #. Look up a value of the key and validate that it was properly set in"}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_c38991cc","line":812,"in_reply_to":"da0c15f0_0df298d2","updated":"2016-04-01 21:35:17.000000000","message":"We can set override for every resource on every level, it is not a \u0027global\u0027 override in this case.","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":8797,"name":"Andrew Woodward","email":"xarses@gmail.com","username":"xarses"},"change_message_id":"1b31acd5c9c69afe00225fccad78d668eb23530a","unresolved":false,"context_lines":[{"line_number":809,"context_line":""},{"line_number":810,"context_line":"     ::"},{"line_number":811,"context_line":""},{"line_number":812,"context_line":"        fuel config set --env 1 --level node\u003dnode-1.domain.tld"},{"line_number":813,"context_line":"            --resource astute --key deployment_id --value 2"},{"line_number":814,"context_line":""},{"line_number":815,"context_line":"  #. Look up a value of the key and validate that it was properly set in"}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_bb575801","line":812,"range":{"start_line":812,"start_character":20,"end_line":812,"end_character":23},"in_reply_to":"da0c15f0_0df298d2","updated":"2016-03-25 21:24:10.000000000","message":"we can only set the override? I thought they where effectively \u0027layers\u0027 but rendered as one","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"f88123f972c93881afd1da2b07b5bbc57aed7e82","unresolved":false,"context_lines":[{"line_number":809,"context_line":""},{"line_number":810,"context_line":"     ::"},{"line_number":811,"context_line":""},{"line_number":812,"context_line":"        fuel config set --env 1 --level node\u003dnode-1.domain.tld"},{"line_number":813,"context_line":"            --resource astute --key deployment_id --value 2"},{"line_number":814,"context_line":""},{"line_number":815,"context_line":"  #. Look up a value of the key and validate that it was properly set in"}],"source_content_type":"text/x-rst","patch_set":26,"id":"da0c15f0_042c2001","line":812,"range":{"start_line":812,"start_character":20,"end_line":812,"end_character":23},"in_reply_to":"da0c15f0_bb575801","updated":"2016-03-26 00:59:24.000000000","message":"We can set override on any level (see above). User should set only override, not values because values are overwritten during deployment.","commit_id":"e315c02fe83fbe6b4cdaaabe22b6fe3122f890fb"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"0e52719a8959e41b6256c18358b37a7372db12fa","unresolved":false,"context_lines":[{"line_number":232,"context_line":"          {"},{"line_number":233,"context_line":"            \"id\": \u003cint\u003e,  # can be absent in POST request"},{"line_number":234,"context_line":"            \"name\": \u003cstring\u003e,"},{"line_number":235,"context_line":"            \"resource_definitions\": {"},{"line_number":236,"context_line":"              \"resource_name\": {}  # empty until we implement schema validation"},{"line_number":237,"context_line":"                  # resource name can be any reasonable URL string, can include"},{"line_number":238,"context_line":"                  # \"/\""},{"line_number":239,"context_line":"            }"},{"line_number":240,"context_line":"          }"},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"    * Data payload in response: same as in request, ``\u003cid\u003e`` parameter is"}],"source_content_type":"text/x-rst","patch_set":27,"id":"da0c15f0_0b3c00c7","line":239,"range":{"start_line":235,"start_character":36,"end_line":239,"end_character":13},"updated":"2016-03-28 14:19:21.000000000","message":"Since we might need more metadata about resources that just its name we should switch to list of dicts here:\n\n  [\n    {\"name\": \"resource_name\"}\n  ]","commit_id":"5fe7edb9b8bc8469856308e7662d2dac84ffb388"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"1f8a72cd28a9cfce418911a9b36a01bdd8c1ec9f","unresolved":false,"context_lines":[{"line_number":236,"context_line":"              \"resource_name\": {}  # empty until we implement schema validation"},{"line_number":237,"context_line":"                  # resource name can be any reasonable URL string, can include"},{"line_number":238,"context_line":"                  # \"/\""},{"line_number":239,"context_line":"            }"},{"line_number":240,"context_line":"          }"},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"    * Data payload in response: same as in request, ``\u003cid\u003e`` parameter is"}],"source_content_type":"text/x-rst","patch_set":27,"id":"ba0121b8_6c55431c","line":239,"in_reply_to":"da0c15f0_0b3c00c7","updated":"2016-03-28 17:01:26.000000000","message":"Done","commit_id":"5fe7edb9b8bc8469856308e7662d2dac84ffb388"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"0e52719a8959e41b6256c18358b37a7372db12fa","unresolved":false,"context_lines":[{"line_number":271,"context_line":"                                                # or they can be names"},{"line_number":272,"context_line":"                                                # instead of ids"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"            \"hierarchy_levels\": [\"env\",         # In fact, arbitrary levels"},{"line_number":275,"context_line":"                                 \"nodes\"]       # could be defined using this"},{"line_number":276,"context_line":"                                                # API call. They are listed"},{"line_number":277,"context_line":"                                                # from the least to the most"}],"source_content_type":"text/x-rst","patch_set":27,"id":"da0c15f0_8b75b099","line":274,"range":{"start_line":274,"start_character":33,"end_line":274,"end_character":38},"updated":"2016-03-28 14:19:21.000000000","message":"Let\u0027s drop \"env\" level here since it means we\u0027ll have 3 levels: global, \"env\" and \"nodes\", which is not what we need here. We can note in comments that global level is always there implicitly.","commit_id":"5fe7edb9b8bc8469856308e7662d2dac84ffb388"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"1f8a72cd28a9cfce418911a9b36a01bdd8c1ec9f","unresolved":false,"context_lines":[{"line_number":271,"context_line":"                                                # or they can be names"},{"line_number":272,"context_line":"                                                # instead of ids"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"            \"hierarchy_levels\": [\"env\",         # In fact, arbitrary levels"},{"line_number":275,"context_line":"                                 \"nodes\"]       # could be defined using this"},{"line_number":276,"context_line":"                                                # API call. They are listed"},{"line_number":277,"context_line":"                                                # from the least to the most"}],"source_content_type":"text/x-rst","patch_set":27,"id":"ba0121b8_87f23099","line":274,"in_reply_to":"da0c15f0_8b75b099","updated":"2016-03-28 17:01:26.000000000","message":"Done","commit_id":"5fe7edb9b8bc8469856308e7662d2dac84ffb388"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"a2357795d5eab1b4d146ab2264680308c2e8a9e9","unresolved":false,"context_lines":[{"line_number":233,"context_line":"            \"id\": \u003cint\u003e,  # can be absent in POST request"},{"line_number":234,"context_line":"            \"name\": \u003cstring\u003e,"},{"line_number":235,"context_line":"            \"resource_definitions\": ["},{"line_number":236,"context_line":"              { \"name\": \"resource_name\": }"},{"line_number":237,"context_line":"            ]"},{"line_number":238,"context_line":"          }"},{"line_number":239,"context_line":""}],"source_content_type":"text/x-rst","patch_set":28,"id":"ba0121b8_4f9da364","line":236,"range":{"start_line":236,"start_character":39,"end_line":236,"end_character":40},"updated":"2016-03-29 14:11:27.000000000","message":"mistype: \":\"","commit_id":"a64e3464887b61294757b0cfcd89856a63194ff2"},{"author":{"_account_id":17180,"name":"sryabin","email":"sryabin@mirantis.com","username":"sryabin"},"change_message_id":"f84bb4f4d7e732e2feaf680b5da36b3ecebfe2fd","unresolved":false,"context_lines":[{"line_number":386,"context_line":""},{"line_number":387,"context_line":"    * Normal HTTP response code(s):"},{"line_number":388,"context_line":""},{"line_number":389,"context_line":"      * 200 OK"},{"line_number":390,"context_line":""},{"line_number":391,"context_line":"      * 308 Permanent Redirect"},{"line_number":392,"context_line":"        ``datasource`` is specified by name, not ID. \"Location\""}],"source_content_type":"text/x-rst","patch_set":28,"id":"ba0121b8_4222c3ba","line":389,"range":{"start_line":389,"start_character":8,"end_line":389,"end_character":11},"updated":"2016-03-28 18:27:39.000000000","message":"204","commit_id":"a64e3464887b61294757b0cfcd89856a63194ff2"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"a2357795d5eab1b4d146ab2264680308c2e8a9e9","unresolved":false,"context_lines":[{"line_number":386,"context_line":""},{"line_number":387,"context_line":"    * Normal HTTP response code(s):"},{"line_number":388,"context_line":""},{"line_number":389,"context_line":"      * 200 OK"},{"line_number":390,"context_line":""},{"line_number":391,"context_line":"      * 308 Permanent Redirect"},{"line_number":392,"context_line":"        ``datasource`` is specified by name, not ID. \"Location\""}],"source_content_type":"text/x-rst","patch_set":28,"id":"ba0121b8_4fabe374","line":389,"range":{"start_line":389,"start_character":8,"end_line":389,"end_character":11},"in_reply_to":"ba0121b8_4222c3ba","updated":"2016-03-29 14:11:27.000000000","message":"+1","commit_id":"a64e3464887b61294757b0cfcd89856a63194ff2"},{"author":{"_account_id":17180,"name":"sryabin","email":"sryabin@mirantis.com","username":"sryabin"},"change_message_id":"f84bb4f4d7e732e2feaf680b5da36b3ecebfe2fd","unresolved":false,"context_lines":[{"line_number":430,"context_line":""},{"line_number":431,"context_line":"    * ``\u003c:endpoint_uri\u003e/environments/\u003c:env_id\u003e/nodes/\u003c:node_id\u003e/resources/\u003c:datasource\u003e/override``"},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":434,"context_line":""},{"line_number":435,"context_line":"    * Expected error HTTP response code(s):"},{"line_number":436,"context_line":""}],"source_content_type":"text/x-rst","patch_set":28,"id":"ba0121b8_1509232d","line":433,"range":{"start_line":433,"start_character":36,"end_line":433,"end_character":39},"updated":"2016-03-28 18:27:39.000000000","message":"204","commit_id":"a64e3464887b61294757b0cfcd89856a63194ff2"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"a2357795d5eab1b4d146ab2264680308c2e8a9e9","unresolved":false,"context_lines":[{"line_number":430,"context_line":""},{"line_number":431,"context_line":"    * ``\u003c:endpoint_uri\u003e/environments/\u003c:env_id\u003e/nodes/\u003c:node_id\u003e/resources/\u003c:datasource\u003e/override``"},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":434,"context_line":""},{"line_number":435,"context_line":"    * Expected error HTTP response code(s):"},{"line_number":436,"context_line":""}],"source_content_type":"text/x-rst","patch_set":28,"id":"ba0121b8_afb6ffd9","line":433,"range":{"start_line":433,"start_character":36,"end_line":433,"end_character":39},"in_reply_to":"ba0121b8_1509232d","updated":"2016-03-29 14:11:27.000000000","message":"+1","commit_id":"a64e3464887b61294757b0cfcd89856a63194ff2"},{"author":{"_account_id":708,"name":"Yuriy Taraday","email":"yuriy@taraday.nl","username":"yorik-sar"},"change_message_id":"a2357795d5eab1b4d146ab2264680308c2e8a9e9","unresolved":false,"context_lines":[{"line_number":493,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Mandatory"},{"line_number":494,"context_line":"  argument."},{"line_number":495,"context_line":""},{"line_number":496,"context_line":"* ``--level node\u003d\u003cFQDN\u003e`` identifies a node part of namespace."},{"line_number":497,"context_line":"  The \u0027level\u0027 keyword defines the abstract \u0027level\u0027 of the intra-environment"},{"line_number":498,"context_line":"  hierarchy, internal to the ConfigDB extension. Currently there are 4 levels"},{"line_number":499,"context_line":"  (environment itself, role, node_group and individual node) in Fuel. The"}],"source_content_type":"text/x-rst","patch_set":28,"id":"ba0121b8_ef83d7ca","line":496,"range":{"start_line":496,"start_character":12,"end_line":496,"end_character":16},"updated":"2016-03-29 14:11:27.000000000","message":"This will be \"nodes\" since that\u0027s how we name this level.","commit_id":"a64e3464887b61294757b0cfcd89856a63194ff2"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"d3f019e86fd78f8d99139a8442ee5b8ce3cf1aa0","unresolved":false,"context_lines":[{"line_number":73,"context_line":"  as templates and can reference another resources."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"* *Effective values* are values returned by the ConfigDB API after"},{"line_number":76,"context_line":"  processing the resource at all levels, including per-level user-defined"},{"line_number":77,"context_line":"  overrides."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* *Component* is an entity that contains definitions for resources."}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_0871bae0","line":76,"range":{"start_line":76,"start_character":39,"end_line":76,"end_character":40},"updated":"2016-03-30 07:50:18.000000000","message":".. of hierarchy","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d627527f240a334adec86eb9199a7236d4319eac","unresolved":false,"context_lines":[{"line_number":73,"context_line":"  as templates and can reference another resources."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"* *Effective values* are values returned by the ConfigDB API after"},{"line_number":76,"context_line":"  processing the resource at all levels, including per-level user-defined"},{"line_number":77,"context_line":"  overrides."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"* *Component* is an entity that contains definitions for resources."}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_5e96c84c","line":76,"in_reply_to":"ba0121b8_0871bae0","updated":"2016-03-30 10:28:41.000000000","message":"Done","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"d3f019e86fd78f8d99139a8442ee5b8ce3cf1aa0","unresolved":false,"context_lines":[{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Every data BLOB shall be identified by ID of the"},{"line_number":117,"context_line":"node it was uploaded from, ID of the environment the"},{"line_number":118,"context_line":"node belogned to and a version number."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Since the 3rd-party LCM application might not be aware"},{"line_number":121,"context_line":"of the Nailgun\u0027s internal ID and only have a host name"}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_cdf1946c","line":118,"range":{"start_line":118,"start_character":5,"end_line":118,"end_character":13},"updated":"2016-03-30 07:50:18.000000000","message":"typo","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d627527f240a334adec86eb9199a7236d4319eac","unresolved":false,"context_lines":[{"line_number":115,"context_line":""},{"line_number":116,"context_line":"Every data BLOB shall be identified by ID of the"},{"line_number":117,"context_line":"node it was uploaded from, ID of the environment the"},{"line_number":118,"context_line":"node belogned to and a version number."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Since the 3rd-party LCM application might not be aware"},{"line_number":121,"context_line":"of the Nailgun\u0027s internal ID and only have a host name"}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_1eb1f0e1","line":118,"in_reply_to":"ba0121b8_cdf1946c","updated":"2016-03-30 10:28:41.000000000","message":"Done","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"d3f019e86fd78f8d99139a8442ee5b8ce3cf1aa0","unresolved":false,"context_lines":[{"line_number":159,"context_line":"----------"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"Refer to the ConfigDB specification for the details"},{"line_number":162,"context_line":"of the proposed Data Model [3]_."},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"From the standpoint of external Puppet Master LCM, the most"},{"line_number":165,"context_line":"important part of the API data model is a hierarchy of data"}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_4d5aa451","line":162,"range":{"start_line":162,"start_character":27,"end_line":162,"end_character":31},"updated":"2016-03-30 07:50:18.000000000","message":"no description in there","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d627527f240a334adec86eb9199a7236d4319eac","unresolved":false,"context_lines":[{"line_number":159,"context_line":"----------"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"Refer to the ConfigDB specification for the details"},{"line_number":162,"context_line":"of the proposed Data Model [3]_."},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"From the standpoint of external Puppet Master LCM, the most"},{"line_number":165,"context_line":"important part of the API data model is a hierarchy of data"}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_b62c6403","line":162,"in_reply_to":"ba0121b8_4d5aa451","updated":"2016-03-30 10:28:41.000000000","message":"I added a link to migrations repository in tuning-box code tree instead.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"d3f019e86fd78f8d99139a8442ee5b8ce3cf1aa0","unresolved":false,"context_lines":[{"line_number":202,"context_line":""},{"line_number":203,"context_line":"* ``override/node``"},{"line_number":204,"context_line":"  This is the data source for the most specific node-level"},{"line_number":205,"context_line":"  deployment data overriding any other levels. Source"},{"line_number":206,"context_line":"  file for this data source is ``/etc/hiera/override/node.yaml``."},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"REST API"}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_03cebbb3","line":205,"range":{"start_line":205,"start_character":18,"end_line":205,"end_character":28},"updated":"2016-03-30 07:50:18.000000000","message":"will there be a possibility to define hierarchy of data sources here (e.g. via API) ? Or it will be hardcoded in accordance with hiera hierarchy?","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"47a7ebcf3ae1d8124de84321bd13422cb9d761d5","unresolved":false,"context_lines":[{"line_number":202,"context_line":""},{"line_number":203,"context_line":"* ``override/node``"},{"line_number":204,"context_line":"  This is the data source for the most specific node-level"},{"line_number":205,"context_line":"  deployment data overriding any other levels. Source"},{"line_number":206,"context_line":"  file for this data source is ``/etc/hiera/override/node.yaml``."},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"REST API"}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_a3c9cf7a","line":205,"range":{"start_line":205,"start_character":18,"end_line":205,"end_character":28},"in_reply_to":"ba0121b8_03cebbb3","updated":"2016-03-30 07:53:59.000000000","message":"Ah.. Sorry. Data sources are not get mixed here.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d627527f240a334adec86eb9199a7236d4319eac","unresolved":false,"context_lines":[{"line_number":202,"context_line":""},{"line_number":203,"context_line":"* ``override/node``"},{"line_number":204,"context_line":"  This is the data source for the most specific node-level"},{"line_number":205,"context_line":"  deployment data overriding any other levels. Source"},{"line_number":206,"context_line":"  file for this data source is ``/etc/hiera/override/node.yaml``."},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"REST API"}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_1e8450d2","line":205,"in_reply_to":"ba0121b8_a3c9cf7a","updated":"2016-03-30 10:28:41.000000000","message":"The problem is that at the moment we have two places where the hierarchy is defined, one being the ConfigDB (with its \u0027infrastructure\u0027 hierarchy, i.e. Env-DC-Rack-Node thing), the other being Hiera where the \u0027component\u0027 hierarchy is defined (i.e. plugins, feature-provided overrides, etc).\nWe aim to address both at certain point in future, but for now it\u0027s just necessary to keep in mind.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"21d22bd27414b796bbe8ac99bdbc4df8ad088c25","unresolved":false,"context_lines":[{"line_number":216,"context_line":""},{"line_number":217,"context_line":"    * Normal HTTP response code(s): 201 Created"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"    * Expected error HTTP response code(s): None"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"    * Parameters which can be passed via the URL"},{"line_number":222,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_9fd4db20","line":219,"range":{"start_line":219,"start_character":44,"end_line":219,"end_character":48},"updated":"2016-03-30 08:46:08.000000000","message":"Could be 400 (invalid data).","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"3cf55e3a9db3b6f69112a8cc167728f318e49054","unresolved":false,"context_lines":[{"line_number":216,"context_line":""},{"line_number":217,"context_line":"    * Normal HTTP response code(s): 201 Created"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"    * Expected error HTTP response code(s): None"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"    * Parameters which can be passed via the URL"},{"line_number":222,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_88d1385a","line":219,"in_reply_to":"ba0121b8_9fd4db20","updated":"2016-03-30 12:33:41.000000000","message":"Done","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"d3f019e86fd78f8d99139a8442ee5b8ce3cf1aa0","unresolved":false,"context_lines":[{"line_number":233,"context_line":"            \"id\": \u003cint\u003e,  # can be absent in POST request"},{"line_number":234,"context_line":"            \"name\": \u003cstring\u003e,"},{"line_number":235,"context_line":"            \"resource_definitions\": ["},{"line_number":236,"context_line":"              { \"name\": \"resource_name\" }"},{"line_number":237,"context_line":"            ]"},{"line_number":238,"context_line":"          }"},{"line_number":239,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_085b7a2f","line":236,"range":{"start_line":236,"start_character":17,"end_line":236,"end_character":21},"updated":"2016-03-30 07:50:18.000000000","message":"what is \u0027name\u0027 here?","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d627527f240a334adec86eb9199a7236d4319eac","unresolved":false,"context_lines":[{"line_number":233,"context_line":"            \"id\": \u003cint\u003e,  # can be absent in POST request"},{"line_number":234,"context_line":"            \"name\": \u003cstring\u003e,"},{"line_number":235,"context_line":"            \"resource_definitions\": ["},{"line_number":236,"context_line":"              { \"name\": \"resource_name\" }"},{"line_number":237,"context_line":"            ]"},{"line_number":238,"context_line":"          }"},{"line_number":239,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_7e4aacad","line":236,"in_reply_to":"ba0121b8_085b7a2f","updated":"2016-03-30 10:28:41.000000000","message":"\"name\" is a literal key of the dictionary that represents a resoucre definition. \"resource_name\" is an example value.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"9058aad18220bcc7413a2fbcc00fe2a2d6a16a3f","unresolved":false,"context_lines":[{"line_number":233,"context_line":"            \"id\": \u003cint\u003e,  # can be absent in POST request"},{"line_number":234,"context_line":"            \"name\": \u003cstring\u003e,"},{"line_number":235,"context_line":"            \"resource_definitions\": ["},{"line_number":236,"context_line":"              { \"name\": \"resource_name\" }"},{"line_number":237,"context_line":"            ]"},{"line_number":238,"context_line":"          }"},{"line_number":239,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_fc8a3abe","line":236,"in_reply_to":"ba0121b8_7e4aacad","updated":"2016-03-30 11:52:09.000000000","message":"so, \u0027name\u0027 is arbitrary key (maybe restricted with some regex) that user can provide, right?","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"3cf55e3a9db3b6f69112a8cc167728f318e49054","unresolved":false,"context_lines":[{"line_number":233,"context_line":"            \"id\": \u003cint\u003e,  # can be absent in POST request"},{"line_number":234,"context_line":"            \"name\": \u003cstring\u003e,"},{"line_number":235,"context_line":"            \"resource_definitions\": ["},{"line_number":236,"context_line":"              { \"name\": \"resource_name\" }"},{"line_number":237,"context_line":"            ]"},{"line_number":238,"context_line":"          }"},{"line_number":239,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_a8f7dcf3","line":236,"in_reply_to":"ba0121b8_fc8a3abe","updated":"2016-03-30 12:33:41.000000000","message":"It is a mandatory part of the resource definition. Resource definitions that do not contain that key are rejected as invalid.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"d3f019e86fd78f8d99139a8442ee5b8ce3cf1aa0","unresolved":false,"context_lines":[{"line_number":237,"context_line":"            ]"},{"line_number":238,"context_line":"          }"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"      Resource name can be any reasonable URL string, can include \"/\"."},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"    * Data payload in response: same as in request, ``\u003cid\u003e`` parameter is"},{"line_number":243,"context_line":"      mandatory in response."}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_88b5ca32","line":240,"range":{"start_line":240,"start_character":42,"end_line":240,"end_character":45},"updated":"2016-03-30 07:50:18.000000000","message":"some API URL ?","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d627527f240a334adec86eb9199a7236d4319eac","unresolved":false,"context_lines":[{"line_number":237,"context_line":"            ]"},{"line_number":238,"context_line":"          }"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"      Resource name can be any reasonable URL string, can include \"/\"."},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"    * Data payload in response: same as in request, ``\u003cid\u003e`` parameter is"},{"line_number":243,"context_line":"      mandatory in response."}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_bef1e46c","line":240,"in_reply_to":"ba0121b8_88b5ca32","updated":"2016-03-30 10:28:41.000000000","message":"The meaning of this statement is that a name of the resource will be included in the URL string (as an alternative to the resource\u0027s ID) and should not include symbols that are normally reserved in URLs.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"3cf55e3a9db3b6f69112a8cc167728f318e49054","unresolved":false,"context_lines":[{"line_number":237,"context_line":"            ]"},{"line_number":238,"context_line":"          }"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"      Resource name can be any reasonable URL string, can include \"/\"."},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"    * Data payload in response: same as in request, ``\u003cid\u003e`` parameter is"},{"line_number":243,"context_line":"      mandatory in response."}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_add52eba","line":240,"in_reply_to":"ba0121b8_bc0d6292","updated":"2016-03-30 12:33:41.000000000","message":"Yes, it can be anything like that.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"9058aad18220bcc7413a2fbcc00fe2a2d6a16a3f","unresolved":false,"context_lines":[{"line_number":237,"context_line":"            ]"},{"line_number":238,"context_line":"          }"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"      Resource name can be any reasonable URL string, can include \"/\"."},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"    * Data payload in response: same as in request, ``\u003cid\u003e`` parameter is"},{"line_number":243,"context_line":"      mandatory in response."}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_bc0d6292","line":240,"in_reply_to":"ba0121b8_bef1e46c","updated":"2016-03-30 11:52:09.000000000","message":"What can it be, for example? \u0027/etc/hiera/override/plugins.yaml\u0027 ? or some different things?","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"21d22bd27414b796bbe8ac99bdbc4df8ad088c25","unresolved":false,"context_lines":[{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    * Normal HTTP response code(s): 201 Created"},{"line_number":252,"context_line":""},{"line_number":253,"context_line":"    * Expected error HTTP response code(s): None"},{"line_number":254,"context_line":""},{"line_number":255,"context_line":"    * Parameters which can be passed via the URL"},{"line_number":256,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_ffe35703","line":253,"range":{"start_line":253,"start_character":44,"end_line":253,"end_character":48},"updated":"2016-03-30 08:46:08.000000000","message":"Could be 400 (invalid data)","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"d3f019e86fd78f8d99139a8442ee5b8ce3cf1aa0","unresolved":false,"context_lines":[{"line_number":265,"context_line":""},{"line_number":266,"context_line":"          {"},{"line_number":267,"context_line":"            \"id\": \u003cint\u003e,                        # Same as the Nailgun\u0027s"},{"line_number":268,"context_line":"                                                # cluster ID"},{"line_number":269,"context_line":""},{"line_number":270,"context_line":"            \"components\": [\u003ccomponent_id\u003e,...], # List of ints for now"},{"line_number":271,"context_line":"                                                # or they can be names"}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_28f47ef0","line":268,"range":{"start_line":268,"start_character":50,"end_line":268,"end_character":60},"updated":"2016-03-30 07:50:18.000000000","message":"afaic, it should have its own ID in DB. Or it is created automatically for every cluster? And it looks like client should know Nailgun\u0027s cluster IDs (same as for nodes IDs).","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d627527f240a334adec86eb9199a7236d4319eac","unresolved":false,"context_lines":[{"line_number":265,"context_line":""},{"line_number":266,"context_line":"          {"},{"line_number":267,"context_line":"            \"id\": \u003cint\u003e,                        # Same as the Nailgun\u0027s"},{"line_number":268,"context_line":"                                                # cluster ID"},{"line_number":269,"context_line":""},{"line_number":270,"context_line":"            \"components\": [\u003ccomponent_id\u003e,...], # List of ints for now"},{"line_number":271,"context_line":"                                                # or they can be names"}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_9efd003d","line":268,"in_reply_to":"ba0121b8_28f47ef0","updated":"2016-03-30 10:28:41.000000000","message":"Yes, the client is required to know and use cluster/node IDs to properly configure them.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"3cf55e3a9db3b6f69112a8cc167728f318e49054","unresolved":false,"context_lines":[{"line_number":265,"context_line":""},{"line_number":266,"context_line":"          {"},{"line_number":267,"context_line":"            \"id\": \u003cint\u003e,                        # Same as the Nailgun\u0027s"},{"line_number":268,"context_line":"                                                # cluster ID"},{"line_number":269,"context_line":""},{"line_number":270,"context_line":"            \"components\": [\u003ccomponent_id\u003e,...], # List of ints for now"},{"line_number":271,"context_line":"                                                # or they can be names"}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_ad87eed5","line":268,"in_reply_to":"ba0121b8_5cbec6d4","updated":"2016-03-30 12:33:41.000000000","message":"Yes, it is auto-created by the deployment task that uploads the data from the initial deployment. Will add it to the spec.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"9058aad18220bcc7413a2fbcc00fe2a2d6a16a3f","unresolved":false,"context_lines":[{"line_number":265,"context_line":""},{"line_number":266,"context_line":"          {"},{"line_number":267,"context_line":"            \"id\": \u003cint\u003e,                        # Same as the Nailgun\u0027s"},{"line_number":268,"context_line":"                                                # cluster ID"},{"line_number":269,"context_line":""},{"line_number":270,"context_line":"            \"components\": [\u003ccomponent_id\u003e,...], # List of ints for now"},{"line_number":271,"context_line":"                                                # or they can be names"}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_5cbec6d4","line":268,"in_reply_to":"ba0121b8_9efd003d","updated":"2016-03-30 11:52:09.000000000","message":"Is it auto-created for every cluster then? Looks like yes as CLI does not have corresponding command. But it is better to write it in spec for better clarity.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"21d22bd27414b796bbe8ac99bdbc4df8ad088c25","unresolved":false,"context_lines":[{"line_number":294,"context_line":""},{"line_number":295,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":296,"context_line":""},{"line_number":297,"context_line":"    * Expected error HTTP response code(s): None"},{"line_number":298,"context_line":""},{"line_number":299,"context_line":"    * Parameters which can be passed via the URL"},{"line_number":300,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_9f069bcc","line":297,"range":{"start_line":297,"start_character":44,"end_line":297,"end_character":48},"updated":"2016-03-30 08:46:08.000000000","message":"Could be 404.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"0660d29a38c585820df6b4d5f579b1e17838e8f9","unresolved":false,"context_lines":[{"line_number":335,"context_line":""},{"line_number":336,"context_line":"    * Method type: GET"},{"line_number":337,"context_line":""},{"line_number":338,"context_line":"    * ``\u003c:endpoint_uri\u003e/environments/\u003c:env_id\u003e/nodes/\u003c:node_id\u003e/resources/\u003c:datasource\u003e/values?effective\u0026version\u003d\u003c:version\u003e``"},{"line_number":339,"context_line":""},{"line_number":340,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":341,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_23d2dfd2","line":338,"range":{"start_line":338,"start_character":47,"end_line":338,"end_character":52},"updated":"2016-03-30 08:03:08.000000000","message":"what is \u0027nodes\u0027 here? hierarchy level or node entity? what will be the difference in case of using more hierarchy levels?","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"663cd48bb39b796efab5ac8b64aca10e8ace8a46","unresolved":false,"context_lines":[{"line_number":335,"context_line":""},{"line_number":336,"context_line":"    * Method type: GET"},{"line_number":337,"context_line":""},{"line_number":338,"context_line":"    * ``\u003c:endpoint_uri\u003e/environments/\u003c:env_id\u003e/nodes/\u003c:node_id\u003e/resources/\u003c:datasource\u003e/values?effective\u0026version\u003d\u003c:version\u003e``"},{"line_number":339,"context_line":""},{"line_number":340,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":341,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_be61e4aa","line":338,"range":{"start_line":338,"start_character":47,"end_line":338,"end_character":52},"in_reply_to":"ba0121b8_23d2dfd2","updated":"2016-03-30 08:11:23.000000000","message":"More exactly, will the user pass \"node_id\" for other hierarchy levels as well?","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d627527f240a334adec86eb9199a7236d4319eac","unresolved":false,"context_lines":[{"line_number":335,"context_line":""},{"line_number":336,"context_line":"    * Method type: GET"},{"line_number":337,"context_line":""},{"line_number":338,"context_line":"    * ``\u003c:endpoint_uri\u003e/environments/\u003c:env_id\u003e/nodes/\u003c:node_id\u003e/resources/\u003c:datasource\u003e/values?effective\u0026version\u003d\u003c:version\u003e``"},{"line_number":339,"context_line":""},{"line_number":340,"context_line":"    * Normal HTTP response code(s): 200 OK"},{"line_number":341,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_7ea62c54","line":338,"in_reply_to":"ba0121b8_be61e4aa","updated":"2016-03-30 10:28:41.000000000","message":"There is no \u0027node\u0027 other than a level of hierarchy. For other level, user should not pass node_id.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"0660d29a38c585820df6b4d5f579b1e17838e8f9","unresolved":false,"context_lines":[{"line_number":369,"context_line":""},{"line_number":370,"context_line":"      * ``effective`` flag is used to identify that hierarchically merged"},{"line_number":371,"context_line":"        data must be returned (i.e. *effective data*). If omitted, only"},{"line_number":372,"context_line":"        values that were explicitly uploaded to the data source is returned."},{"line_number":373,"context_line":""},{"line_number":374,"context_line":"      * ``version`` identifies the version to access. Optional parameter."},{"line_number":375,"context_line":"        Defaults to the latest version available for the given data source."}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_63d21702","line":372,"range":{"start_line":372,"start_character":25,"end_line":372,"end_character":44},"updated":"2016-03-30 08:03:08.000000000","message":"user overrides?","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"9058aad18220bcc7413a2fbcc00fe2a2d6a16a3f","unresolved":false,"context_lines":[{"line_number":369,"context_line":""},{"line_number":370,"context_line":"      * ``effective`` flag is used to identify that hierarchically merged"},{"line_number":371,"context_line":"        data must be returned (i.e. *effective data*). If omitted, only"},{"line_number":372,"context_line":"        values that were explicitly uploaded to the data source is returned."},{"line_number":373,"context_line":""},{"line_number":374,"context_line":"      * ``version`` identifies the version to access. Optional parameter."},{"line_number":375,"context_line":"        Defaults to the latest version available for the given data source."}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_bc7d6270","line":372,"in_reply_to":"ba0121b8_2b60f100","updated":"2016-03-30 11:52:09.000000000","message":"It is much more clear. Maybe write this in spec?","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d627527f240a334adec86eb9199a7236d4319eac","unresolved":false,"context_lines":[{"line_number":369,"context_line":""},{"line_number":370,"context_line":"      * ``effective`` flag is used to identify that hierarchically merged"},{"line_number":371,"context_line":"        data must be returned (i.e. *effective data*). If omitted, only"},{"line_number":372,"context_line":"        values that were explicitly uploaded to the data source is returned."},{"line_number":373,"context_line":""},{"line_number":374,"context_line":"      * ``version`` identifies the version to access. Optional parameter."},{"line_number":375,"context_line":"        Defaults to the latest version available for the given data source."}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_2b60f100","line":372,"in_reply_to":"ba0121b8_63d21702","updated":"2016-03-30 10:28:41.000000000","message":"User overrides are uploaded to resources/\u003cdatasource\u003e/override, and without \u0027effective\u0027 what was uploaded to resources/\u003cdatasource\u003e/values will be returned.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"663cd48bb39b796efab5ac8b64aca10e8ace8a46","unresolved":false,"context_lines":[{"line_number":497,"context_line":""},{"line_number":498,"context_line":"Following CLI parameters shall be supported for ``config`` subcommand:"},{"line_number":499,"context_line":""},{"line_number":500,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Mandatory"},{"line_number":501,"context_line":"  argument."},{"line_number":502,"context_line":""},{"line_number":503,"context_line":"* ``--level nodes\u003d[\u003cID\u003e|\u003cFQDN\u003e]`` identifies a node part of namespace."}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_be50c40b","line":500,"range":{"start_line":500,"start_character":32,"end_line":500,"end_character":39},"updated":"2016-03-30 08:11:23.000000000","message":"it is more \u0027environment\u0027 than \u0027cluster\u0027","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"9058aad18220bcc7413a2fbcc00fe2a2d6a16a3f","unresolved":false,"context_lines":[{"line_number":497,"context_line":""},{"line_number":498,"context_line":"Following CLI parameters shall be supported for ``config`` subcommand:"},{"line_number":499,"context_line":""},{"line_number":500,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Mandatory"},{"line_number":501,"context_line":"  argument."},{"line_number":502,"context_line":""},{"line_number":503,"context_line":"* ``--level nodes\u003d[\u003cID\u003e|\u003cFQDN\u003e]`` identifies a node part of namespace."}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_3983249a","line":500,"in_reply_to":"ba0121b8_1e13b067","updated":"2016-03-30 11:52:09.000000000","message":"It is \u0027environment\u0027 everywhere in Fuel docs and specs. \u0027cluster\u0027 is only in Nailgun code. But this spec introduces its own \u0027environment\u0027. Should not this be it here? Or you want to emphasize that this is Nailgun cluster not the environment that was introduced in the spec?","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"3cf55e3a9db3b6f69112a8cc167728f318e49054","unresolved":false,"context_lines":[{"line_number":497,"context_line":""},{"line_number":498,"context_line":"Following CLI parameters shall be supported for ``config`` subcommand:"},{"line_number":499,"context_line":""},{"line_number":500,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Mandatory"},{"line_number":501,"context_line":"  argument."},{"line_number":502,"context_line":""},{"line_number":503,"context_line":"* ``--level nodes\u003d[\u003cID\u003e|\u003cFQDN\u003e]`` identifies a node part of namespace."}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_adafee92","line":500,"in_reply_to":"ba0121b8_3983249a","updated":"2016-03-30 12:33:41.000000000","message":"In general, ConfigDB environment (as in fact the other entities mentioned in this spec) is an arbitrary entity specific for the ConfigDB. We assume it equivalent to the Nailgun environment/cluster in terms that ConfigDB environment contains data for the Nailgun environment of the same ID. Let me add it in Terminology section then.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d627527f240a334adec86eb9199a7236d4319eac","unresolved":false,"context_lines":[{"line_number":497,"context_line":""},{"line_number":498,"context_line":"Following CLI parameters shall be supported for ``config`` subcommand:"},{"line_number":499,"context_line":""},{"line_number":500,"context_line":"* ``--env \u003cID\u003e`` identifies the cluster-level namespace. Mandatory"},{"line_number":501,"context_line":"  argument."},{"line_number":502,"context_line":""},{"line_number":503,"context_line":"* ``--level nodes\u003d[\u003cID\u003e|\u003cFQDN\u003e]`` identifies a node part of namespace."}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_1e13b067","line":500,"in_reply_to":"ba0121b8_be50c40b","updated":"2016-03-30 10:28:41.000000000","message":"This is a term confusion that goes from Nailgun itself mixing \u0027environment\u0027 and \u0027clusters\u0027 all over the place. Unfortunately, we can\u0027t fix it in scope of this spec.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"663cd48bb39b796efab5ac8b64aca10e8ace8a46","unresolved":false,"context_lines":[{"line_number":503,"context_line":"* ``--level nodes\u003d[\u003cID\u003e|\u003cFQDN\u003e]`` identifies a node part of namespace."},{"line_number":504,"context_line":"  The \u0027level\u0027 keyword defines the abstract \u0027level\u0027 of the intra-environment"},{"line_number":505,"context_line":"  hierarchy, internal to the ConfigDB extension. Currently there are 4 levels"},{"line_number":506,"context_line":"  (environment itself, role, node_group and individual node) in Fuel. The"},{"line_number":507,"context_line":"  ConifgDB service shall (in future) allow to create custom levels and"},{"line_number":508,"context_line":"  hierarchies if needed, but in version 9.0 it only will work with the"},{"line_number":509,"context_line":"  node-level data."}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_de82d851","line":506,"range":{"start_line":506,"start_character":3,"end_line":506,"end_character":14},"updated":"2016-03-30 08:11:23.000000000","message":"+ release","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d627527f240a334adec86eb9199a7236d4319eac","unresolved":false,"context_lines":[{"line_number":503,"context_line":"* ``--level nodes\u003d[\u003cID\u003e|\u003cFQDN\u003e]`` identifies a node part of namespace."},{"line_number":504,"context_line":"  The \u0027level\u0027 keyword defines the abstract \u0027level\u0027 of the intra-environment"},{"line_number":505,"context_line":"  hierarchy, internal to the ConfigDB extension. Currently there are 4 levels"},{"line_number":506,"context_line":"  (environment itself, role, node_group and individual node) in Fuel. The"},{"line_number":507,"context_line":"  ConifgDB service shall (in future) allow to create custom levels and"},{"line_number":508,"context_line":"  hierarchies if needed, but in version 9.0 it only will work with the"},{"line_number":509,"context_line":"  node-level data."}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_7ced9524","line":506,"in_reply_to":"ba0121b8_de82d851","updated":"2016-03-30 10:28:41.000000000","message":"Done","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"0be17ed28c6f380bfb08e0849268fda778f54de7","unresolved":false,"context_lines":[{"line_number":508,"context_line":"  hierarchies if needed, but in version 9.0 it only will work with the"},{"line_number":509,"context_line":"  node-level data."},{"line_number":510,"context_line":""},{"line_number":511,"context_line":"  Omitted level identifies that the environment-wide settings shall be"},{"line_number":512,"context_line":"  changed. Note that node-level settings shall override the environment-"},{"line_number":513,"context_line":"  level settings."},{"line_number":514,"context_line":""},{"line_number":515,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_3e78342b","line":512,"range":{"start_line":511,"start_character":2,"end_line":512,"end_character":10},"updated":"2016-03-30 08:18:36.000000000","message":"Does it mean that node_id is not passed in this case? How request URL looks like in this case?","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d627527f240a334adec86eb9199a7236d4319eac","unresolved":false,"context_lines":[{"line_number":509,"context_line":"  node-level data."},{"line_number":510,"context_line":""},{"line_number":511,"context_line":"  Omitted level identifies that the environment-wide settings shall be"},{"line_number":512,"context_line":"  changed. Note that node-level settings shall override the environment-"},{"line_number":513,"context_line":"  level settings."},{"line_number":514,"context_line":""},{"line_number":515,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_abbd216a","line":512,"in_reply_to":"ba0121b8_3e78342b","updated":"2016-03-30 10:28:41.000000000","message":"It will be /api/v1/config/environments/\u003cenv_id\u003e/[override|values].","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"3cf55e3a9db3b6f69112a8cc167728f318e49054","unresolved":false,"context_lines":[{"line_number":509,"context_line":"  node-level data."},{"line_number":510,"context_line":""},{"line_number":511,"context_line":"  Omitted level identifies that the environment-wide settings shall be"},{"line_number":512,"context_line":"  changed. Note that node-level settings shall override the environment-"},{"line_number":513,"context_line":"  level settings."},{"line_number":514,"context_line":""},{"line_number":515,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_9264c522","line":512,"in_reply_to":"ba0121b8_59a538b3","updated":"2016-03-30 12:33:41.000000000","message":"Yes, this call is apparently missing from the API description. Thanks for the catch.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"9058aad18220bcc7413a2fbcc00fe2a2d6a16a3f","unresolved":false,"context_lines":[{"line_number":509,"context_line":"  node-level data."},{"line_number":510,"context_line":""},{"line_number":511,"context_line":"  Omitted level identifies that the environment-wide settings shall be"},{"line_number":512,"context_line":"  changed. Note that node-level settings shall override the environment-"},{"line_number":513,"context_line":"  level settings."},{"line_number":514,"context_line":""},{"line_number":515,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_59a538b3","line":512,"in_reply_to":"ba0121b8_abbd216a","updated":"2016-03-30 11:52:09.000000000","message":"Let\u0027s add this into API section","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"0be17ed28c6f380bfb08e0849268fda778f54de7","unresolved":false,"context_lines":[{"line_number":532,"context_line":""},{"line_number":533,"context_line":"Following operations shall be supported for ``config`` command:"},{"line_number":534,"context_line":""},{"line_number":535,"context_line":"* ``get`` - print the *effectvie values* of all parameters defined in the"},{"line_number":536,"context_line":"  resource."},{"line_number":537,"context_line":""},{"line_number":538,"context_line":"* ``set`` - update data in the data resource, either as a BLOB or individual"}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_9ef3409e","line":535,"range":{"start_line":535,"start_character":23,"end_line":535,"end_character":32},"updated":"2016-03-30 08:18:36.000000000","message":"typo","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d627527f240a334adec86eb9199a7236d4319eac","unresolved":false,"context_lines":[{"line_number":532,"context_line":""},{"line_number":533,"context_line":"Following operations shall be supported for ``config`` command:"},{"line_number":534,"context_line":""},{"line_number":535,"context_line":"* ``get`` - print the *effectvie values* of all parameters defined in the"},{"line_number":536,"context_line":"  resource."},{"line_number":537,"context_line":""},{"line_number":538,"context_line":"* ``set`` - update data in the data resource, either as a BLOB or individual"}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_cba3354e","line":535,"in_reply_to":"ba0121b8_9ef3409e","updated":"2016-03-30 10:28:41.000000000","message":"Done","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"0be17ed28c6f380bfb08e0849268fda778f54de7","unresolved":false,"context_lines":[{"line_number":539,"context_line":"  keys. Users normally should run ``override`` command to override values"},{"line_number":540,"context_line":"  of parameters instead of this command."},{"line_number":541,"context_line":""},{"line_number":542,"context_line":"* ``override`` - update data in the data resource\u0027s override for the given"},{"line_number":543,"context_line":"  level. This will change the *effective values* of parameters, without"},{"line_number":544,"context_line":"  changing the values themselves."},{"line_number":545,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_3ecdd45d","line":542,"range":{"start_line":542,"start_character":2,"end_line":542,"end_character":13},"updated":"2016-03-30 08:18:36.000000000","message":"How is this expressed in API request?","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"3cf55e3a9db3b6f69112a8cc167728f318e49054","unresolved":false,"context_lines":[{"line_number":539,"context_line":"  keys. Users normally should run ``override`` command to override values"},{"line_number":540,"context_line":"  of parameters instead of this command."},{"line_number":541,"context_line":""},{"line_number":542,"context_line":"* ``override`` - update data in the data resource\u0027s override for the given"},{"line_number":543,"context_line":"  level. This will change the *effective values* of parameters, without"},{"line_number":544,"context_line":"  changing the values themselves."},{"line_number":545,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_12fa7575","line":542,"in_reply_to":"ba0121b8_19ee20ec","updated":"2016-03-30 12:33:41.000000000","message":"It is already there. Please, look at the last API call in the section.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d627527f240a334adec86eb9199a7236d4319eac","unresolved":false,"context_lines":[{"line_number":539,"context_line":"  keys. Users normally should run ``override`` command to override values"},{"line_number":540,"context_line":"  of parameters instead of this command."},{"line_number":541,"context_line":""},{"line_number":542,"context_line":"* ``override`` - update data in the data resource\u0027s override for the given"},{"line_number":543,"context_line":"  level. This will change the *effective values* of parameters, without"},{"line_number":544,"context_line":"  changing the values themselves."},{"line_number":545,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_eba0b945","line":542,"in_reply_to":"ba0121b8_3ecdd45d","updated":"2016-03-30 10:28:41.000000000","message":"It\u0027s \u003clevel definition\u003e/resources/\u003cdatasource\u003e/override, see above.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"9058aad18220bcc7413a2fbcc00fe2a2d6a16a3f","unresolved":false,"context_lines":[{"line_number":539,"context_line":"  keys. Users normally should run ``override`` command to override values"},{"line_number":540,"context_line":"  of parameters instead of this command."},{"line_number":541,"context_line":""},{"line_number":542,"context_line":"* ``override`` - update data in the data resource\u0027s override for the given"},{"line_number":543,"context_line":"  level. This will change the *effective values* of parameters, without"},{"line_number":544,"context_line":"  changing the values themselves."},{"line_number":545,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_19ee20ec","line":542,"in_reply_to":"ba0121b8_eba0b945","updated":"2016-03-30 11:52:09.000000000","message":"Let\u0027s add this into API section","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"eb1d8ed68162dab55aec0cc473629323caefbec2","unresolved":false,"context_lines":[{"line_number":540,"context_line":"  of parameters instead of this command."},{"line_number":541,"context_line":""},{"line_number":542,"context_line":"* ``override`` - update data in the data resource\u0027s override for the given"},{"line_number":543,"context_line":"  level. This will change the *effective values* of parameters, without"},{"line_number":544,"context_line":"  changing the values themselves."},{"line_number":545,"context_line":""},{"line_number":546,"context_line":"**Examples**"},{"line_number":547,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_3c8ddd7b","line":544,"range":{"start_line":543,"start_character":64,"end_line":544,"end_character":33},"updated":"2016-03-30 08:30:11.000000000","message":"Description is not very clear. Looks like magic.\n\nMaybe say that data will be stored on different level (that has higher priority).","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"3cf55e3a9db3b6f69112a8cc167728f318e49054","unresolved":false,"context_lines":[{"line_number":541,"context_line":""},{"line_number":542,"context_line":"* ``override`` - update data in the data resource\u0027s override for the given"},{"line_number":543,"context_line":"  level. This will change the *effective values* of parameters, without"},{"line_number":544,"context_line":"  changing the values themselves."},{"line_number":545,"context_line":""},{"line_number":546,"context_line":"**Examples**"},{"line_number":547,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_72081192","line":544,"in_reply_to":"ba0121b8_3905e4bb","updated":"2016-03-30 12:33:41.000000000","message":"Done","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d627527f240a334adec86eb9199a7236d4319eac","unresolved":false,"context_lines":[{"line_number":541,"context_line":""},{"line_number":542,"context_line":"* ``override`` - update data in the data resource\u0027s override for the given"},{"line_number":543,"context_line":"  level. This will change the *effective values* of parameters, without"},{"line_number":544,"context_line":"  changing the values themselves."},{"line_number":545,"context_line":""},{"line_number":546,"context_line":"**Examples**"},{"line_number":547,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_82eda227","line":544,"in_reply_to":"ba0121b8_3c8ddd7b","updated":"2016-03-30 10:28:41.000000000","message":"That\u0027s as simple as this:\n\n    resource/data source:\n        - hierarchy level \u0027environment\u0027 value\n        - override sub-level \u0027environment\u0027 value\n        - hierarchy level \u0027node\u0027 value\n        - override sub-level \u0027node\u0027 value\n\nThey are merged from top to bottom to get the effective value of a given parameter.\nWhen you want to override something (without changing values that were uploaded automatically), you write to override sub-level for the actual level you want to override.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"9058aad18220bcc7413a2fbcc00fe2a2d6a16a3f","unresolved":false,"context_lines":[{"line_number":541,"context_line":""},{"line_number":542,"context_line":"* ``override`` - update data in the data resource\u0027s override for the given"},{"line_number":543,"context_line":"  level. This will change the *effective values* of parameters, without"},{"line_number":544,"context_line":"  changing the values themselves."},{"line_number":545,"context_line":""},{"line_number":546,"context_line":"**Examples**"},{"line_number":547,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_3905e4bb","line":544,"in_reply_to":"ba0121b8_82eda227","updated":"2016-03-30 11:52:09.000000000","message":"Let\u0027s add this description into spec.","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":8392,"name":"Aleksey Kasatkin","email":"akasatkin@mirantis.com","username":"aleksey"},"change_message_id":"599fc39a9ad5128580982c36536439020b565063","unresolved":false,"context_lines":[{"line_number":731,"context_line":"Work Items"},{"line_number":732,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":733,"context_line":""},{"line_number":734,"context_line":"* Implement an API handlers in extension source code tree."},{"line_number":735,"context_line":""},{"line_number":736,"context_line":"* Implement storage backend logic in extension source code tree."},{"line_number":737,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_1f156b3f","line":734,"range":{"start_line":734,"start_character":12,"end_line":734,"end_character":14},"updated":"2016-03-30 08:40:30.000000000","message":"plural","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"d627527f240a334adec86eb9199a7236d4319eac","unresolved":false,"context_lines":[{"line_number":731,"context_line":"Work Items"},{"line_number":732,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":733,"context_line":""},{"line_number":734,"context_line":"* Implement an API handlers in extension source code tree."},{"line_number":735,"context_line":""},{"line_number":736,"context_line":"* Implement storage backend logic in extension source code tree."},{"line_number":737,"context_line":""}],"source_content_type":"text/x-rst","patch_set":29,"id":"ba0121b8_6be789b0","line":734,"in_reply_to":"ba0121b8_1f156b3f","updated":"2016-03-30 10:28:41.000000000","message":"Done","commit_id":"f477b17c1800cef0968731b4c099ebd944ebb65f"},{"author":{"_account_id":17180,"name":"sryabin","email":"sryabin@mirantis.com","username":"sryabin"},"change_message_id":"a59fba8afb15f03b23ed7a2c061ee7c0e8dbb74e","unresolved":false,"context_lines":[{"line_number":888,"context_line":""},{"line_number":889,"context_line":".. [1] OpenStack configuration https://github.com/openstack/fuel-specs/blob/master/specs/8.0/openstack-config-change.rst"},{"line_number":890,"context_line":".. [2] Extensions mechanism in Nailgun https://github.com/openstack/fuel-specs/blob/master/specs/9.0/stevedore-extensions-discovery.rst"},{"line_number":891,"context_line":".. [3] ConfigDB specification draft https://review.openstack.org/#/c/281331/"},{"line_number":892,"context_line":".. [4] Upload serialized deployment facts to ConfigDB https://blueprints.launchpad.net/fuel/+spec/upload-deployment-facts-to-configdb"},{"line_number":893,"context_line":".. [5] Puppet Master LCM specification TBD"},{"line_number":894,"context_line":".. [ref-data-model] Data model for ConfigDB https://github.com/openstack/tuning-box/tree/master/tuning_box/migrations/versions"}],"source_content_type":"text/x-rst","patch_set":30,"id":"ba0121b8_1c73ae4e","line":891,"range":{"start_line":891,"start_character":7,"end_line":891,"end_character":76},"updated":"2016-03-30 11:46:33.000000000","message":"Abandoned","commit_id":"7ebf8af0bd51413733b93fb51594c993e5d76856"},{"author":{"_account_id":8749,"name":"Evgeniy L","email":"eli@mirantis.com","username":"evgeniyl"},"change_message_id":"f76ad8c19e6d0c0c78d3ea0e0d7a7af5f5f57805","unresolved":false,"context_lines":[{"line_number":296,"context_line":"            \"id\": \u003cint\u003e,                        # Same as the Nailgun\u0027s"},{"line_number":297,"context_line":"                                                # cluster ID"},{"line_number":298,"context_line":""},{"line_number":299,"context_line":"            \"components\": [\u003ccomponent_id\u003e,...], # List of ints for now"},{"line_number":300,"context_line":"                                                # or they can be names"},{"line_number":301,"context_line":"                                                # instead of ids"},{"line_number":302,"context_line":""},{"line_number":303,"context_line":"            \"hierarchy_levels\": [\"nodes\"]       # In fact, arbitrary levels"},{"line_number":304,"context_line":"                                                # could be defined using this"}],"source_content_type":"text/x-rst","patch_set":31,"id":"9a061dce_af190425","line":301,"range":{"start_line":299,"start_character":50,"end_line":301,"end_character":64},"updated":"2016-04-08 11:16:10.000000000","message":"Mix of ids and names doesn\u0027t look good, usually in REST API those have to be ids.","commit_id":"a663d4ea16c5940654d05fea5cd299d0a3a7b741"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"c13b9cce8e82f0b99aa3aee638fe95808c1e3507","unresolved":false,"context_lines":[{"line_number":298,"context_line":""},{"line_number":299,"context_line":"            \"components\": [\u003ccomponent_id\u003e,...], # List of ints for now"},{"line_number":300,"context_line":"                                                # or they can be names"},{"line_number":301,"context_line":"                                                # instead of ids"},{"line_number":302,"context_line":""},{"line_number":303,"context_line":"            \"hierarchy_levels\": [\"nodes\"]       # In fact, arbitrary levels"},{"line_number":304,"context_line":"                                                # could be defined using this"}],"source_content_type":"text/x-rst","patch_set":31,"id":"5a18252c_88efdaaf","line":301,"in_reply_to":"9a061dce_af190425","updated":"2016-04-12 08:06:54.000000000","message":"This is temporary solution to support the Puppet Master use case and it might well go away in the next releases.","commit_id":"a663d4ea16c5940654d05fea5cd299d0a3a7b741"},{"author":{"_account_id":8797,"name":"Andrew Woodward","email":"xarses@gmail.com","username":"xarses"},"change_message_id":"3347789d6d1db46617f108a68831d2776ae02098","unresolved":false,"context_lines":[{"line_number":300,"context_line":"                                                # or they can be names"},{"line_number":301,"context_line":"                                                # instead of ids"},{"line_number":302,"context_line":""},{"line_number":303,"context_line":"            \"hierarchy_levels\": [\"nodes\"]       # In fact, arbitrary levels"},{"line_number":304,"context_line":"                                                # could be defined using this"},{"line_number":305,"context_line":"                                                # API call. They are listed"},{"line_number":306,"context_line":"                                                # from the least to the most"}],"source_content_type":"text/x-rst","patch_set":31,"id":"ba0121b8_2fd4e4e9","line":303,"range":{"start_line":303,"start_character":13,"end_line":303,"end_character":40},"updated":"2016-04-01 18:11:13.000000000","message":"It appears that creating new levels is as simple as adding them to the array here, is that correct or is there some other behavior that us supposed to add / remove / order them?","commit_id":"a663d4ea16c5940654d05fea5cd299d0a3a7b741"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"69ef2a299aa850dfc34355dec93bc7d1f0d1fdb7","unresolved":false,"context_lines":[{"line_number":300,"context_line":"                                                # or they can be names"},{"line_number":301,"context_line":"                                                # instead of ids"},{"line_number":302,"context_line":""},{"line_number":303,"context_line":"            \"hierarchy_levels\": [\"nodes\"]       # In fact, arbitrary levels"},{"line_number":304,"context_line":"                                                # could be defined using this"},{"line_number":305,"context_line":"                                                # API call. They are listed"},{"line_number":306,"context_line":"                                                # from the least to the most"}],"source_content_type":"text/x-rst","patch_set":31,"id":"ba0121b8_b234d0fb","line":303,"in_reply_to":"ba0121b8_2fd4e4e9","updated":"2016-04-01 21:34:55.000000000","message":"It should be possible to add/remove/update these layers via API using this resource. However, it requires full versioning support which won\u0027t be there yet in 9.0. So this is a part of our plan for 10.0","commit_id":"a663d4ea16c5940654d05fea5cd299d0a3a7b741"},{"author":{"_account_id":8749,"name":"Evgeniy L","email":"eli@mirantis.com","username":"evgeniyl"},"change_message_id":"f76ad8c19e6d0c0c78d3ea0e0d7a7af5f5f57805","unresolved":false,"context_lines":[{"line_number":415,"context_line":""},{"line_number":416,"context_line":"    * Method type: PUT"},{"line_number":417,"context_line":""},{"line_number":418,"context_line":"    * ``\u003c:endpoint_uri\u003e/environments/\u003c:env_id\u003e/nodes/\u003c:node_id\u003e/resources/\u003c:datasource\u003e/values``"},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"    * Normal HTTP response code(s):"},{"line_number":421,"context_line":""}],"source_content_type":"text/x-rst","patch_set":31,"id":"9a061dce_0f5e3076","line":418,"range":{"start_line":418,"start_character":24,"end_line":418,"end_character":73},"updated":"2016-04-08 11:16:10.000000000","message":"Doesn\u0027t look flexible, if some day there are going to racks and DCs, you will have to redesign your API every time, I would better create generic \"resources\" handler and each resource can have type, node, environment, rack or DC, so you will be able to do any filtration and do overrides with any arbitrary type.","commit_id":"a663d4ea16c5940654d05fea5cd299d0a3a7b741"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"c13b9cce8e82f0b99aa3aee638fe95808c1e3507","unresolved":false,"context_lines":[{"line_number":415,"context_line":""},{"line_number":416,"context_line":"    * Method type: PUT"},{"line_number":417,"context_line":""},{"line_number":418,"context_line":"    * ``\u003c:endpoint_uri\u003e/environments/\u003c:env_id\u003e/nodes/\u003c:node_id\u003e/resources/\u003c:datasource\u003e/values``"},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"    * Normal HTTP response code(s):"},{"line_number":421,"context_line":""}],"source_content_type":"text/x-rst","patch_set":31,"id":"5a18252c_8874fafd","line":418,"in_reply_to":"9a061dce_0f5e3076","updated":"2016-04-12 08:06:54.000000000","message":"This is good suggestion. We will consider moving the specification of layer into the request body instead of URI in the next version of the app.","commit_id":"a663d4ea16c5940654d05fea5cd299d0a3a7b741"},{"author":{"_account_id":8749,"name":"Evgeniy L","email":"eli@mirantis.com","username":"evgeniyl"},"change_message_id":"f76ad8c19e6d0c0c78d3ea0e0d7a7af5f5f57805","unresolved":false,"context_lines":[{"line_number":596,"context_line":""},{"line_number":597,"context_line":"No specific changes to orchestration or RPC protocol are proposed"},{"line_number":598,"context_line":"by this particular specification. However, in future it might allow to"},{"line_number":599,"context_line":"exclude serialized deployment facts data from the RPC exchange between"},{"line_number":600,"context_line":"Astute and Nailgun."},{"line_number":601,"context_line":""},{"line_number":602,"context_line":"Fuel Client"},{"line_number":603,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":31,"id":"9a061dce_cf1b987f","line":600,"range":{"start_line":599,"start_character":50,"end_line":600,"end_character":7},"updated":"2016-04-08 11:16:10.000000000","message":"Astute uses some information from this data, so it should be carefully designed.","commit_id":"a663d4ea16c5940654d05fea5cd299d0a3a7b741"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"c13b9cce8e82f0b99aa3aee638fe95808c1e3507","unresolved":false,"context_lines":[{"line_number":597,"context_line":"No specific changes to orchestration or RPC protocol are proposed"},{"line_number":598,"context_line":"by this particular specification. However, in future it might allow to"},{"line_number":599,"context_line":"exclude serialized deployment facts data from the RPC exchange between"},{"line_number":600,"context_line":"Astute and Nailgun."},{"line_number":601,"context_line":""},{"line_number":602,"context_line":"Fuel Client"},{"line_number":603,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":31,"id":"5a18252c_884b5ab0","line":600,"in_reply_to":"9a061dce_cf1b987f","updated":"2016-04-12 08:06:54.000000000","message":"Astute still will have an access to it, but via ConfigDB API, not from RPC request.","commit_id":"a663d4ea16c5940654d05fea5cd299d0a3a7b741"},{"author":{"_account_id":8797,"name":"Andrew Woodward","email":"xarses@gmail.com","username":"xarses"},"change_message_id":"3347789d6d1db46617f108a68831d2776ae02098","unresolved":false,"context_lines":[{"line_number":706,"context_line":"  ::"},{"line_number":707,"context_line":""},{"line_number":708,"context_line":"    fuel config override --env \u003cid\u003e --level node\u003d\u003cnode_id\u003e"},{"line_number":709,"context_line":"        --resource \u003cname\u003e --key \u003ckey\u003e --type [null|int|str|json|yaml|bool]"},{"line_number":710,"context_line":"        [--value \u003cvalue\u003e | \u003c value.[json|yaml] ]"},{"line_number":711,"context_line":""},{"line_number":712,"context_line":"Plugins"}],"source_content_type":"text/x-rst","patch_set":31,"id":"ba0121b8_af14749f","line":709,"range":{"start_line":709,"start_character":38,"end_line":709,"end_character":44},"updated":"2016-04-01 18:11:13.000000000","message":"there still isn\u0027t a description of type, and its purpose","commit_id":"a663d4ea16c5940654d05fea5cd299d0a3a7b741"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"69ef2a299aa850dfc34355dec93bc7d1f0d1fdb7","unresolved":false,"context_lines":[{"line_number":706,"context_line":"  ::"},{"line_number":707,"context_line":""},{"line_number":708,"context_line":"    fuel config override --env \u003cid\u003e --level node\u003d\u003cnode_id\u003e"},{"line_number":709,"context_line":"        --resource \u003cname\u003e --key \u003ckey\u003e --type [null|int|str|json|yaml|bool]"},{"line_number":710,"context_line":"        [--value \u003cvalue\u003e | \u003c value.[json|yaml] ]"},{"line_number":711,"context_line":""},{"line_number":712,"context_line":"Plugins"}],"source_content_type":"text/x-rst","patch_set":31,"id":"ba0121b8_3221e0b5","line":709,"in_reply_to":"ba0121b8_af14749f","updated":"2016-04-01 21:34:55.000000000","message":"Please, see line 655 for description of the argument.","commit_id":"a663d4ea16c5940654d05fea5cd299d0a3a7b741"},{"author":{"_account_id":8797,"name":"Andrew Woodward","email":"xarses@gmail.com","username":"xarses"},"change_message_id":"3347789d6d1db46617f108a68831d2776ae02098","unresolved":false,"context_lines":[{"line_number":767,"context_line":"Performance impact"},{"line_number":768,"context_line":"------------------"},{"line_number":769,"context_line":""},{"line_number":770,"context_line":"The potential performance impact on the deployment process"},{"line_number":771,"context_line":"is coming from the way the data uploaded to the API. It should"},{"line_number":772,"context_line":"be insignificant compared to other operations."},{"line_number":773,"context_line":""},{"line_number":774,"context_line":"Impact on the function of Puppet Master shall be significant"},{"line_number":775,"context_line":"as every parameter lookup will require an HTTP request."},{"line_number":776,"context_line":""},{"line_number":777,"context_line":"The actual impact has to be estimated on top of some baseline"},{"line_number":778,"context_line":"numbers. Therefore, solution will require performance testing"},{"line_number":779,"context_line":"once implemented."},{"line_number":780,"context_line":""},{"line_number":781,"context_line":"-----------------"},{"line_number":782,"context_line":"Deployment impact"}],"source_content_type":"text/x-rst","patch_set":31,"id":"ba0121b8_ef582c8c","line":779,"range":{"start_line":770,"start_character":1,"end_line":779,"end_character":17},"updated":"2016-04-01 18:11:13.000000000","message":"Doesn\u0027t address my comments in rev 26","commit_id":"a663d4ea16c5940654d05fea5cd299d0a3a7b741"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"69ef2a299aa850dfc34355dec93bc7d1f0d1fdb7","unresolved":false,"context_lines":[{"line_number":776,"context_line":""},{"line_number":777,"context_line":"The actual impact has to be estimated on top of some baseline"},{"line_number":778,"context_line":"numbers. Therefore, solution will require performance testing"},{"line_number":779,"context_line":"once implemented."},{"line_number":780,"context_line":""},{"line_number":781,"context_line":"-----------------"},{"line_number":782,"context_line":"Deployment impact"}],"source_content_type":"text/x-rst","patch_set":31,"id":"ba0121b8_edf66df8","line":779,"in_reply_to":"ba0121b8_ef582c8c","updated":"2016-04-01 21:34:55.000000000","message":"Looks like I failed to actually post my comment to rev 26 in time, sorry about that.","commit_id":"a663d4ea16c5940654d05fea5cd299d0a3a7b741"},{"author":{"_account_id":8797,"name":"Andrew Woodward","email":"xarses@gmail.com","username":"xarses"},"change_message_id":"3347789d6d1db46617f108a68831d2776ae02098","unresolved":false,"context_lines":[{"line_number":971,"context_line":""},{"line_number":972,"context_line":"     ::"},{"line_number":973,"context_line":""},{"line_number":974,"context_line":"        fuel config override --env 1 --level node\u003dnode-1.domain.tld"},{"line_number":975,"context_line":"            --resource astute --key deployment_id --value 2"},{"line_number":976,"context_line":""},{"line_number":977,"context_line":"  #. Look up a value of the key and validate that it was properly set in"}],"source_content_type":"text/x-rst","patch_set":31,"id":"ba0121b8_cfe9e880","line":974,"range":{"start_line":974,"start_character":20,"end_line":974,"end_character":28},"updated":"2016-04-01 18:11:13.000000000","message":"should annotate that API supports set too, and that users are directed to only use override on the CLI (I.E. Set is purposely missing)","commit_id":"a663d4ea16c5940654d05fea5cd299d0a3a7b741"},{"author":{"_account_id":6677,"name":"Oleg Gelbukh","email":"ogelbukh@mirantis.com","username":"gelbuhos"},"change_message_id":"69ef2a299aa850dfc34355dec93bc7d1f0d1fdb7","unresolved":false,"context_lines":[{"line_number":971,"context_line":""},{"line_number":972,"context_line":"     ::"},{"line_number":973,"context_line":""},{"line_number":974,"context_line":"        fuel config override --env 1 --level node\u003dnode-1.domain.tld"},{"line_number":975,"context_line":"            --resource astute --key deployment_id --value 2"},{"line_number":976,"context_line":""},{"line_number":977,"context_line":"  #. Look up a value of the key and validate that it was properly set in"}],"source_content_type":"text/x-rst","patch_set":31,"id":"ba0121b8_4d12f959","line":974,"in_reply_to":"ba0121b8_cfe9e880","updated":"2016-04-01 21:34:55.000000000","message":"Please, see lines 663-665 for annotation of the \u0027set\u0027 command in CLI.","commit_id":"a663d4ea16c5940654d05fea5cd299d0a3a7b741"}]}
