<p dir="ltr">I'm glad we both agree on most of these answers. <br>
:)<br>
</p>
<div class="gmail_quote">On Oct 2, 2013 11:57 AM, "Michael Basnight" <<a href="mailto:mbasnight@gmail.com">mbasnight@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Oct 1, 2013, at 11:20 PM, McReynolds, Auston wrote:<br>
<br>
> I have a few questions left unanswered by the blueprint/wiki:<br>
><br>
> #1 - Should the true default configuration-group for a service-type be<br>
> customizable by the cloud provider?<br>
<br>
Yes<br>
<br>
><br>
> #2 - Should a user be able to enumerate the entire actualized/realized<br>
> set of values for a configuration-group, or just the overrides?<br>
<br>
actualized<br>
<br>
><br>
> #3 - Should a user be able to apply a different configuration-group on<br>
> a master, than say, a slave?<br>
<br>
Yes<br>
<br>
><br>
> #4 - If a user creates a new configuration-group with values equal to<br>
> that of the default configuration-group, what is the expected<br>
> behavior?<br>
<br>
Im not sure thats an issue. You will select your config group, and it will be the one used. I believe you are talking the difference between the "template" thats used to set up values for the instance, and the config options that users are allowed to edit. Those are going to be "appended", so to speak, to the existing template. Itll be up to the server software to define what order values, if duplicated, are read / used.<br>
<br>
><br>
> #5 - For GET /configuration/parameters, where is the list of supported<br>
> parameters and their metadata sourced from?<br>
<br>
i believe its a db table… someone may have to correct me there.<br>
<br>
><br>
> #6 - Should a user be able to reset a configuration-group to the<br>
> current default configuration-group?<br>
<br>
Yes, assuming we have a "default config group", and im not sure we have a concept of that. We have what the install creates, the templated config file. Removing the association of your config from the instance will do this thought.<br>
<br>
><br>
> #7 - Is a new configuration-group a clone of the then current default<br>
> configuration-group with various changes, or will inheritence be<br>
> utilized?<br>
<br>
I think clone will be saner for now. But you can edit your group with a PATCH, and that will not clone it. See [1] first paragraph.<br>
<br>
><br>
> #8 - How should the state of pending configuration-group changes be<br>
> reflected in GET /instances/:id ? How will this state be<br>
> persisted?<br>
<br>
You are talking about changes that require a restart i believe. I think this falls into the same category as our conversation about minor version updates. We can have a pretty generic "restart required" somewhere there.<br>
<br>
><br>
> #9 - Reminder: Once multiple service-types and versions are supported,<br>
> the configuration-group will need a service-type field.<br>
<br>
Most def. You will only be able to assign relevant configs to their service-types, and the /configuration/parameters will need to be typed too.<br>
<br>
><br>
> #10 - Should dynamic values (via functions and operators) in<br>
> configuration-groups be supported?<br>
> Example: innodb_buffer_pool_size = 150 * flavor['ram']/512<br>
<br>
Hmmmm. This is quite interesting. But no, not v1. I totally agree w/ the nice-to-have. Good idea though, we should add it to the blueprint.<br>
<br>
><br>
> My Thoughts:<br>
><br>
> #1 - Yes<br>
> #2 - Actualized<br>
> #3 - Yes<br>
> #4 - Depends on whether the approach for configuration-groups is to<br>
> clone or to inherit.<br>
> #5 - ?<br>
> #6 - Yes<br>
> #7 - ?<br>
> #8 - ?<br>
> #9 - N/A<br>
> #10 - In the first iteration of this feature I don't think it's an<br>
> absolute necessity, but it's definitely a nice-to-have. The<br>
> design/implementation should not preclude this from being easily<br>
> added in the future.<br>
><br>
> Where "?" == "I'd like to think about it a bit more, but I have a gut<br>
> feeling"<br>
><br>
> Thoughts?<br>
<br>
[1] <a href="http://lists.openstack.org/pipermail/openstack-dev/2013-October/015919.html" target="_blank">http://lists.openstack.org/pipermail/openstack-dev/2013-October/015919.html</a><br>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div>