)]}'
{"specs/mitaka/workflow-simplification.rst":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"ce10f6b2ac49a2f1694990ece57fb9d0a24eaa0e","unresolved":false,"context_lines":[{"line_number":17,"context_line":"Problem Description"},{"line_number":18,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"The current TripleO workflow grew somewhat haphazardly out of a collection"},{"line_number":21,"context_line":"of bash scripts that originally made up instack-undercloud.  These scripts"},{"line_number":22,"context_line":"started out life as primarily a proof of concept exercise to demonstrate"},{"line_number":23,"context_line":"that the idea was viable, and while the steps still work fine when followed"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da85f559_469266f7","line":20,"updated":"2015-11-12 15:23:15.000000000","message":"/me remembers new cool word \"haphazardly\"","commit_id":"140f42e62ccde72f94e2af04f114b4184de441e9"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"ce10f6b2ac49a2f1694990ece57fb9d0a24eaa0e","unresolved":false,"context_lines":[{"line_number":45,"context_line":"   CI.  We can still document commands for using the absolute latest packages"},{"line_number":46,"context_line":"   instead of the latest CI pass, but the simple case will be simpler: one"},{"line_number":47,"context_line":"   curl, one command, instead of the three curls, four seds, and a big ugly"},{"line_number":48,"context_line":"   /bin/bash -c command."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":".. _`tripleo.sh version`: http://git.openstack.org/cgit/openstack/tripleo-common/tree/scripts/tripleo.sh?id\u003dd28396320c3bf1e2cfc707b8af6dddf2345b0e44#n169"},{"line_number":51,"context_line":".. _`documented version`: http://git.openstack.org/cgit/openstack/tripleo-docs/tree/doc/source/repositories.txt?id\u003d562e5546a79069e55b5a08bcca1284905f7d53b0"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da85f559_667beabe","line":48,"updated":"2015-11-12 15:23:15.000000000","message":"right, and we can have parameters like --centos and --rhel-rdo --rhel-rhos to automatically do the right thing","commit_id":"140f42e62ccde72f94e2af04f114b4184de441e9"},{"author":{"_account_id":360,"name":"Dan Prince","email":"dprince@redhat.com","username":"dan-prince"},"change_message_id":"1a4f7fe7b8d86cd988cd6f3764de5b72c75106a9","unresolved":false,"context_lines":[{"line_number":59,"context_line":"   Note that this will probably require us to also update the boot"},{"line_number":60,"context_line":"   configuration when updating images, but again this is a good workflow"},{"line_number":61,"context_line":"   improvement.  Users are likely to forget to reconfigure their nodes\u0027 boot"},{"line_number":62,"context_line":"   images after updating them in Glance."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"#. **Flavor creation** Is there ever a supported use case where we recommend"},{"line_number":65,"context_line":"   changing our default flavor values?  While I realize a user *could* do"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a29b11f_f7e0dace","line":62,"updated":"2015-10-23 14:05:51.000000000","message":"If we do this I think it would require users to always pre-create the deployment kernel/ramdisk (IPA, or the legacy one). This isn\u0027t currently the case, in that you could certainly register nodes, without having built the deployment ramdisk (I think).\n\nWe definitely want to preserve a mechanism such that ironic nodes can be updated, and have their boot configuration updated as well without deleting and recreating them.","commit_id":"140f42e62ccde72f94e2af04f114b4184de441e9"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"ce10f6b2ac49a2f1694990ece57fb9d0a24eaa0e","unresolved":false,"context_lines":[{"line_number":59,"context_line":"   Note that this will probably require us to also update the boot"},{"line_number":60,"context_line":"   configuration when updating images, but again this is a good workflow"},{"line_number":61,"context_line":"   improvement.  Users are likely to forget to reconfigure their nodes\u0027 boot"},{"line_number":62,"context_line":"   images after updating them in Glance."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"#. **Flavor creation** Is there ever a supported use case where we recommend"},{"line_number":65,"context_line":"   changing our default flavor values?  While I realize a user *could* do"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da85f559_c9074716","line":62,"in_reply_to":"3a29b11f_1dc3373a","updated":"2015-11-12 15:23:15.000000000","message":"1. What if we create an idempotent operation? So a user can run \"import\" as many times as they feel appropriate, and only changes will be applied. This might require recording node UUID in instackenv.json though..\n\n2. could you please add \"kill dependency on os-cloud-config for enrolling nodes\" here?","commit_id":"140f42e62ccde72f94e2af04f114b4184de441e9"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"8e03c635fc36d61ce7516ea7be239f04446867f9","unresolved":false,"context_lines":[{"line_number":59,"context_line":"   Note that this will probably require us to also update the boot"},{"line_number":60,"context_line":"   configuration when updating images, but again this is a good workflow"},{"line_number":61,"context_line":"   improvement.  Users are likely to forget to reconfigure their nodes\u0027 boot"},{"line_number":62,"context_line":"   images after updating them in Glance."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"#. **Flavor creation** Is there ever a supported use case where we recommend"},{"line_number":65,"context_line":"   changing our default flavor values?  While I realize a user *could* do"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a29b11f_1dc3373a","line":62,"in_reply_to":"3a29b11f_f7e0dace","updated":"2015-10-23 15:04:50.000000000","message":"Absolutely.  I probably should have been more explicit that I don\u0027t necessarily want to remove openstack baremetal configure boot for cases where someone wants to update things manually.  I just want to do it automatically in the cases where we need to.","commit_id":"140f42e62ccde72f94e2af04f114b4184de441e9"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"576f8832e442f3c773015e90c3c22d2256629c05","unresolved":false,"context_lines":[{"line_number":59,"context_line":"   Note that this will probably require us to also update the boot"},{"line_number":60,"context_line":"   configuration when updating images, but again this is a good workflow"},{"line_number":61,"context_line":"   improvement.  Users are likely to forget to reconfigure their nodes\u0027 boot"},{"line_number":62,"context_line":"   images after updating them in Glance."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"#. **Flavor creation** Is there ever a supported use case where we recommend"},{"line_number":65,"context_line":"   changing our default flavor values?  While I realize a user *could* do"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a8ffd7b_c2257d5c","line":62,"in_reply_to":"da85f559_c9074716","updated":"2015-12-01 18:36:06.000000000","message":"I\u0027ll mention that as an option.  I like the idea of idempotency, although I\u0027m not crazy about having to record a UUID into the JSON file to accomplish it.  That would change the JSON file from being simply an input file to a persistent representation of the state of the nodes.\n\nIt might be worth creating a separate spec for 2, since I\u0027m in favor of moving this functionality into Ironic proper, but I think it\u0027s going to be a significant piece of work in and of itself and this spec is already too large.  That might also be the right place to implement idempotency since an import function built in to Ironic may be able to do it more cleanly than an external one.","commit_id":"140f42e62ccde72f94e2af04f114b4184de441e9"},{"author":{"_account_id":360,"name":"Dan Prince","email":"dprince@redhat.com","username":"dan-prince"},"change_message_id":"1a4f7fe7b8d86cd988cd6f3764de5b72c75106a9","unresolved":false,"context_lines":[{"line_number":61,"context_line":"   improvement.  Users are likely to forget to reconfigure their nodes\u0027 boot"},{"line_number":62,"context_line":"   images after updating them in Glance."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"#. **Flavor creation** Is there ever a supported use case where we recommend"},{"line_number":65,"context_line":"   changing our default flavor values?  While I realize a user *could* do"},{"line_number":66,"context_line":"   other things with flavors, in practice this is tricky and not something I"},{"line_number":67,"context_line":"   think we should go out of our way to support, certainly not at the expense"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a29b11f_9dbf99a9","line":64,"updated":"2015-10-23 14:05:51.000000000","message":"I think this section overstates the complexity of flavors a bit. Yes you need to be careful when creating your own custom flavors... but by doing so you can obtain much more control over where things get deployed. And that is certainly supported (this is my default dev environment and it works great). I\u0027m fine with the idea of creating a default set of flavors however. Users can always customize things. Perhaps just the wording here about what is \"supported\", etc is what concerns me.","commit_id":"140f42e62ccde72f94e2af04f114b4184de441e9"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"576f8832e442f3c773015e90c3c22d2256629c05","unresolved":false,"context_lines":[{"line_number":61,"context_line":"   improvement.  Users are likely to forget to reconfigure their nodes\u0027 boot"},{"line_number":62,"context_line":"   images after updating them in Glance."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"#. **Flavor creation** Is there ever a supported use case where we recommend"},{"line_number":65,"context_line":"   changing our default flavor values?  While I realize a user *could* do"},{"line_number":66,"context_line":"   other things with flavors, in practice this is tricky and not something I"},{"line_number":67,"context_line":"   think we should go out of our way to support, certainly not at the expense"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a8ffd7b_629a9170","line":64,"in_reply_to":"3a29b11f_7d502b5f","updated":"2015-12-01 18:36:06.000000000","message":"I\u0027ve re-worded this section into something a little less aggressive.","commit_id":"140f42e62ccde72f94e2af04f114b4184de441e9"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"8e03c635fc36d61ce7516ea7be239f04446867f9","unresolved":false,"context_lines":[{"line_number":61,"context_line":"   improvement.  Users are likely to forget to reconfigure their nodes\u0027 boot"},{"line_number":62,"context_line":"   images after updating them in Glance."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"#. **Flavor creation** Is there ever a supported use case where we recommend"},{"line_number":65,"context_line":"   changing our default flavor values?  While I realize a user *could* do"},{"line_number":66,"context_line":"   other things with flavors, in practice this is tricky and not something I"},{"line_number":67,"context_line":"   think we should go out of our way to support, certainly not at the expense"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a29b11f_7d502b5f","line":64,"in_reply_to":"3a29b11f_9dbf99a9","updated":"2015-10-23 15:04:50.000000000","message":"I\u0027m curious how you do this.  Do you have completely disjoint hardware where there is no overlap between RAM/CPU/disk?  I ask because the last time I tried to do purely custom flavor-based matching I ended up with roles on the wrong nodes because, for example, my 2 GB compute flavor also matches my 6 GB control \"hardware\", so I ended up with a compute instance using a control node and breaking the deployment.\n\nI guess this is my point - it\u0027s a little tricky to reason out how to do just flavor-based matching.  Since we have the profile matching capability, which is much more explicit, I want to use that as our primary flow.\n\nI\u0027m happy to dial back the wording on this if that\u0027s the only issue though.  I was a little cranky when I wrote this so I probably came on too strong at times. :-)","commit_id":"140f42e62ccde72f94e2af04f114b4184de441e9"},{"author":{"_account_id":360,"name":"Dan Prince","email":"dprince@redhat.com","username":"dan-prince"},"change_message_id":"1a4f7fe7b8d86cd988cd6f3764de5b72c75106a9","unresolved":false,"context_lines":[{"line_number":76,"context_line":"   failures."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"   If a user insists on using custom flavors for some reason, they can always"},{"line_number":79,"context_line":"   delete and recreate the default ones."},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"#. **Node profile assignment** This is not currently part of the standard"},{"line_number":82,"context_line":"   workflow, but in practice it is something we need to be doing for most"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a29b11f_1d9ce95b","line":79,"updated":"2015-10-23 14:05:51.000000000","message":"Should this say \"recreate their own\". Instead of \u0027insist\u0027 I might say \u0027prefers\u0027. Again, the language here makes it seem like anyone who customizes their flavors is going against the grain so to speak... when in fact they are simply exercising extra control over their deployment process.","commit_id":"140f42e62ccde72f94e2af04f114b4184de441e9"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"8e03c635fc36d61ce7516ea7be239f04446867f9","unresolved":false,"context_lines":[{"line_number":76,"context_line":"   failures."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"   If a user insists on using custom flavors for some reason, they can always"},{"line_number":79,"context_line":"   delete and recreate the default ones."},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"#. **Node profile assignment** This is not currently part of the standard"},{"line_number":82,"context_line":"   workflow, but in practice it is something we need to be doing for most"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a29b11f_bdb9e37b","line":79,"in_reply_to":"3a29b11f_1d9ce95b","updated":"2015-10-23 15:04:50.000000000","message":"I would argue they\u0027re doing both.  Even today, if you\u0027re matching nodes based on custom flavor specs you\u0027re outside of our documented process (our docs only talk about role-specific flavors in terms of profile matching).  And that\u0027s fine, it\u0027s one of the benefits of using OpenStack as a deployment tool, but it _is_ off the straight and narrow tested path that we document.","commit_id":"140f42e62ccde72f94e2af04f114b4184de441e9"},{"author":{"_account_id":360,"name":"Dan Prince","email":"dprince@redhat.com","username":"dan-prince"},"change_message_id":"1a4f7fe7b8d86cd988cd6f3764de5b72c75106a9","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   real-world deployments with heterogeneous hardware for controllers,"},{"line_number":84,"context_line":"   computes, cephs, etc.  Right now it requires running an ironic node-update"},{"line_number":85,"context_line":"   command specifying all of the necessary capabilities (in the manual case"},{"line_number":86,"context_line":"   anyway, this section does not apply to the AHC workflow)."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"   I have less strong feelings about the solution to this one.  My initial"},{"line_number":89,"context_line":"   thought was to add an explicit API to TripleO for assigning node profiles,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a29b11f_570bce2b","line":86,"updated":"2015-10-23 14:05:51.000000000","message":"Actually this is quite easy to do inline via os-cloud-config (used by tripleoclient). No custom \u0027ironic node-update\u0027 commands are required and no data is lost on updates. See this commit here:\n\nhttp://git.openstack.org/cgit/openstack/os-cloud-config/commit/?id\u003d1d7b2b8d3d19919d3e3e68b8021f5bf7dd9e7ad9\n\nTotally agree that we should document these in tripleo-docs however. This is my default workflow too BTW. I always set my capabilities when registering nodes, and when used with custom flavors this gives me excellent control over what deploys where in my cluster.","commit_id":"140f42e62ccde72f94e2af04f114b4184de441e9"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"8e03c635fc36d61ce7516ea7be239f04446867f9","unresolved":false,"context_lines":[{"line_number":83,"context_line":"   real-world deployments with heterogeneous hardware for controllers,"},{"line_number":84,"context_line":"   computes, cephs, etc.  Right now it requires running an ironic node-update"},{"line_number":85,"context_line":"   command specifying all of the necessary capabilities (in the manual case"},{"line_number":86,"context_line":"   anyway, this section does not apply to the AHC workflow)."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"   I have less strong feelings about the solution to this one.  My initial"},{"line_number":89,"context_line":"   thought was to add an explicit API to TripleO for assigning node profiles,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a29b11f_1d80178b","line":86,"in_reply_to":"3a29b11f_570bce2b","updated":"2015-10-23 15:04:50.000000000","message":"Whoops, you\u0027re right.  When I wrote this first paragraph I hadn\u0027t actually checked whether os-cloud-config supported this already.  I\u0027ll tweak this wording for the next revision.","commit_id":"140f42e62ccde72f94e2af04f114b4184de441e9"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"ce10f6b2ac49a2f1694990ece57fb9d0a24eaa0e","unresolved":false,"context_lines":[{"line_number":89,"context_line":"   thought was to add an explicit API to TripleO for assigning node profiles,"},{"line_number":90,"context_line":"   which would allow us to ensure no node capabilities get lost in the update,"},{"line_number":91,"context_line":"   validate that the profile is valid, and simplify the syntax somewhat, but"},{"line_number":92,"context_line":"   upon further thought I\u0027m not sure that is the best option."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"   Instead, I think we should document profile assignment as part of node"},{"line_number":95,"context_line":"   registration.  I see we have the ability to assign capabilities at"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da85f559_e9f48bf1","line":92,"updated":"2015-11-12 15:23:15.000000000","message":"I guess you already saw my mail on this topic. Can we just use it as a plan here?","commit_id":"140f42e62ccde72f94e2af04f114b4184de441e9"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"576f8832e442f3c773015e90c3c22d2256629c05","unresolved":false,"context_lines":[{"line_number":89,"context_line":"   thought was to add an explicit API to TripleO for assigning node profiles,"},{"line_number":90,"context_line":"   which would allow us to ensure no node capabilities get lost in the update,"},{"line_number":91,"context_line":"   validate that the profile is valid, and simplify the syntax somewhat, but"},{"line_number":92,"context_line":"   upon further thought I\u0027m not sure that is the best option."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"   Instead, I think we should document profile assignment as part of node"},{"line_number":95,"context_line":"   registration.  I see we have the ability to assign capabilities at"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a8ffd7b_4e13f95c","line":92,"in_reply_to":"da85f559_e9f48bf1","updated":"2015-12-01 18:36:06.000000000","message":"I (finally) responded to your mail.  I think you\u0027re talking about a replacement for AHC matching, while this is more about manual profile assignment.  Let me know if I\u0027m misunderstanding anything.","commit_id":"140f42e62ccde72f94e2af04f114b4184de441e9"},{"author":{"_account_id":7386,"name":"Tzu-Mainn Chen","email":"tzumainn@redhat.com","username":"tzumainn"},"change_message_id":"04c2b62ee8d1cdb1550926efc29da18bd0efd2fb","unresolved":false,"context_lines":[{"line_number":60,"context_line":"   configuration when updating images, but again this is a good workflow"},{"line_number":61,"context_line":"   improvement.  Users are likely to forget to reconfigure their nodes\u0027 boot"},{"line_number":62,"context_line":"   images after updating them in Glance."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"   .. note:: This would not remove the ``openstack baremetal configure boot``"},{"line_number":65,"context_line":"             command for independently updating the boot configuration of"},{"line_number":66,"context_line":"             Ironic nodes.  In essence, it would just always call the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a8ffd7b_a2a7baa5","line":63,"updated":"2015-12-03 05:32:49.000000000","message":"Would this change be done in tripleo-common, so it could be exposed through the tripleo api?  I imagine that various UIs would like access to this simplification as well.","commit_id":"bea229da68d5359bc0f4083b04d120f2fcf550b9"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"4d7fd2249a63e59e60c0822e20452c7b76f611a3","unresolved":false,"context_lines":[{"line_number":60,"context_line":"   configuration when updating images, but again this is a good workflow"},{"line_number":61,"context_line":"   improvement.  Users are likely to forget to reconfigure their nodes\u0027 boot"},{"line_number":62,"context_line":"   images after updating them in Glance."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"   .. note:: This would not remove the ``openstack baremetal configure boot``"},{"line_number":65,"context_line":"             command for independently updating the boot configuration of"},{"line_number":66,"context_line":"             Ironic nodes.  In essence, it would just always call the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_3403b811","line":63,"in_reply_to":"9a8ffd7b_a2a7baa5","updated":"2015-12-03 15:36:48.000000000","message":"Absolutely.  I imagine this as just tacking a call to configure boot onto the end of the bulk registration code, and once that moves to tripleo-common it would be available to all consumers.","commit_id":"bea229da68d5359bc0f4083b04d120f2fcf550b9"},{"author":{"_account_id":4328,"name":"Steven Hardy","email":"steven.hardy@suse.com","username":"shardy"},"change_message_id":"dd1bb04e614274b81289625be2e527b03a9c8d5b","unresolved":false,"context_lines":[{"line_number":74,"context_line":"             where someone wanted to register nodes without configuring them."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"#. **Flavor creation** Nowhere in our documentation do we recommend or"},{"line_number":77,"context_line":"   provide guidance on customizing the flavors that will be used for"},{"line_number":78,"context_line":"   deployment.  While it is possible to deploy solely based on flavor"},{"line_number":79,"context_line":"   hardware values (ram, disk, cpu), in practice it is often simpler"},{"line_number":80,"context_line":"   to just assign profiles to Ironic nodes and have scheduling done solely"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_e506e384","line":77,"updated":"2015-12-09 09:49:35.000000000","message":"This isn\u0027t quite true, we have http://docs.openstack.org/developer/tripleo-docs/advanced_deployment/profile_matching.html#create-flavors-to-use-advanced-matching which does provide some guidance on how to create per-role flavors, either via ahc matching or manual tagging.","commit_id":"bea229da68d5359bc0f4083b04d120f2fcf550b9"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"5347353ba6f633158aeb4fd509157e1074d81541","unresolved":false,"context_lines":[{"line_number":74,"context_line":"             where someone wanted to register nodes without configuring them."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"#. **Flavor creation** Nowhere in our documentation do we recommend or"},{"line_number":77,"context_line":"   provide guidance on customizing the flavors that will be used for"},{"line_number":78,"context_line":"   deployment.  While it is possible to deploy solely based on flavor"},{"line_number":79,"context_line":"   hardware values (ram, disk, cpu), in practice it is often simpler"},{"line_number":80,"context_line":"   to just assign profiles to Ironic nodes and have scheduling done solely"}],"source_content_type":"text/x-rst","patch_set":3,"id":"5a710552_01b0acf3","line":77,"in_reply_to":"7a740942_e506e384","updated":"2015-12-14 23:42:13.000000000","message":"Ah, I wasn\u0027t clear on what I meant here.  I\u0027m referring to the fact that we provide no guidance on what values for CPU, ram, and disk should be used, other than the values we provide in the example flavor-create commands.  Nowhere do we explain that those are minimum values, and don\u0027t have to exactly match the hardware in this case.  Since that\u0027s somewhat of a change from how flavors in Nova are normally used, I think it\u0027s a significant omission that this change would help with.\n\nGranted, we could just document those values too (and may want to regardless of whether we make this change), but since 95% of users are going to be fine with the defaults I like this better as the standard path.\n\nI\u0027ll tweak the wording here if/when I push another patch set to clarify what I meant.","commit_id":"bea229da68d5359bc0f4083b04d120f2fcf550b9"},{"author":{"_account_id":4328,"name":"Steven Hardy","email":"steven.hardy@suse.com","username":"shardy"},"change_message_id":"dd1bb04e614274b81289625be2e527b03a9c8d5b","unresolved":false,"context_lines":[{"line_number":78,"context_line":"   deployment.  While it is possible to deploy solely based on flavor"},{"line_number":79,"context_line":"   hardware values (ram, disk, cpu), in practice it is often simpler"},{"line_number":80,"context_line":"   to just assign profiles to Ironic nodes and have scheduling done solely"},{"line_number":81,"context_line":"   on that basis.  This is also the method we document at this time."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"   I propose that we simply create all of the recommended flavors at"},{"line_number":84,"context_line":"   undercloud install time and assign them the appropriate localboot and"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_08e306da","line":81,"updated":"2015-12-09 09:49:35.000000000","message":"So, this is inconsistent with \"Nowhere in our documentation\" ;)","commit_id":"bea229da68d5359bc0f4083b04d120f2fcf550b9"},{"author":{"_account_id":4328,"name":"Steven Hardy","email":"steven.hardy@suse.com","username":"shardy"},"change_message_id":"dd1bb04e614274b81289625be2e527b03a9c8d5b","unresolved":false,"context_lines":[{"line_number":86,"context_line":"   minimum supported cpu, ram, and disk values so they would work for any"},{"line_number":87,"context_line":"   valid hardware configuration.  This would also reduce the possibility of"},{"line_number":88,"context_line":"   typos in the flavor creation commands causing avoidable deployment"},{"line_number":89,"context_line":"   failures."},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"   These default flavors can always be customized if a user desires, so there"},{"line_number":92,"context_line":"   is no loss of functionality from making this change."}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_68572a58","line":89,"updated":"2015-12-09 09:49:35.000000000","message":"This sounds fine, and at a minimum we should create a generic \"baremetal\" flavor by default which will boot any node.\n\nMy only concern re creating all the per-role flavors by default, is it\u0027s not clear to me that that\u0027s the only method of assigning nodes we want to support.\n\nE.g, there\u0027ve been repeated requests for controlling placement of specific nodes, e.g so the same box is always \"controller-0\" or whatever.\n\nI took an attempt at solving that here:\n\nhttps://review.openstack.org/#/c/254667/\n\nAnd if we document that as well as the role/flavor based approach, all the per-role flavors may end up optional.","commit_id":"bea229da68d5359bc0f4083b04d120f2fcf550b9"},{"author":{"_account_id":4328,"name":"Steven Hardy","email":"steven.hardy@suse.com","username":"shardy"},"change_message_id":"dd1bb04e614274b81289625be2e527b03a9c8d5b","unresolved":false,"context_lines":[{"line_number":109,"context_line":"   default instackenv.json template include that[1], with a note that it can"},{"line_number":110,"context_line":"   be overridden to a more specific profile if desired.  If users want to"},{"line_number":111,"context_line":"   change a profile assignment after registration, the node update command"},{"line_number":112,"context_line":"   for ironic will still be available."},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"   1. For backwards compatibility, we might want to instead create a new flavor"},{"line_number":115,"context_line":"   named something like \u0027default\u0027 and use that, leaving the old baremetal"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_289282f6","line":112,"updated":"2015-12-09 09:49:35.000000000","message":"+1 on enabling loading the profile via os-cloud-config.\n\nIf we validate/accept my per-node placement approach we could add the node assignment support to that too, e.g node: controller-0","commit_id":"bea229da68d5359bc0f4083b04d120f2fcf550b9"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"5347353ba6f633158aeb4fd509157e1074d81541","unresolved":false,"context_lines":[{"line_number":109,"context_line":"   default instackenv.json template include that[1], with a note that it can"},{"line_number":110,"context_line":"   be overridden to a more specific profile if desired.  If users want to"},{"line_number":111,"context_line":"   change a profile assignment after registration, the node update command"},{"line_number":112,"context_line":"   for ironic will still be available."},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"   1. For backwards compatibility, we might want to instead create a new flavor"},{"line_number":115,"context_line":"   named something like \u0027default\u0027 and use that, leaving the old baremetal"}],"source_content_type":"text/x-rst","patch_set":3,"id":"5a710552_21884822","line":112,"in_reply_to":"7a740942_289282f6","updated":"2015-12-14 23:42:13.000000000","message":"Yeah, it turns out this was already supported and I\u0027ve already documented setting the profile as part of the node definition in http://docs.openstack.org/developer/tripleo-docs/environments/environments.html#instackenv-json","commit_id":"bea229da68d5359bc0f4083b04d120f2fcf550b9"},{"author":{"_account_id":4328,"name":"Steven Hardy","email":"steven.hardy@suse.com","username":"shardy"},"change_message_id":"dd1bb04e614274b81289625be2e527b03a9c8d5b","unresolved":false,"context_lines":[{"line_number":113,"context_line":""},{"line_number":114,"context_line":"   1. For backwards compatibility, we might want to instead create a new flavor"},{"line_number":115,"context_line":"   named something like \u0027default\u0027 and use that, leaving the old baremetal"},{"line_number":116,"context_line":"   flavor as an unprofiled thing for users with existing unprofiled nodes."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"Alternatives"},{"line_number":119,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_0869c6f8","line":116,"updated":"2015-12-09 09:49:35.000000000","message":"Isn\u0027t the \"baremetal\" flavor already an OK default, if it\u0027s configured to pick any node?\n\nI\u0027m not sure what we gain by assigning a \"default\" profile to all the nodes?","commit_id":"bea229da68d5359bc0f4083b04d120f2fcf550b9"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"5347353ba6f633158aeb4fd509157e1074d81541","unresolved":false,"context_lines":[{"line_number":113,"context_line":""},{"line_number":114,"context_line":"   1. For backwards compatibility, we might want to instead create a new flavor"},{"line_number":115,"context_line":"   named something like \u0027default\u0027 and use that, leaving the old baremetal"},{"line_number":116,"context_line":"   flavor as an unprofiled thing for users with existing unprofiled nodes."},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"Alternatives"},{"line_number":119,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"5a710552_21b608dd","line":116,"in_reply_to":"7a740942_0869c6f8","updated":"2015-12-14 23:42:13.000000000","message":"The only reason I wanted to assign a default profile was so we could include the profile definition in the sample instackenv.json.  The more I think about it though, the more I think that has some tricky backwards compatibility issues so I\u0027m not sure it\u0027s worth pursuing.  I should maybe move the idea to the alternatives section.","commit_id":"bea229da68d5359bc0f4083b04d120f2fcf550b9"}]}
