<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 25, 2014 at 8:44 PM, Clint Byrum <span dir="ltr"><<a href="mailto:clint@fewbar.com" target="_blank">clint@fewbar.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Excerpts from Zane Bitter's message of 2014-04-25 10:05:31 -0700:<br>
<div class="">> On 25/04/14 08:30, Denis Makogon wrote:<br>
> > Hello Trove/Heat community.<br>
> ><br>
> > I'd like to start thread related to required use cases (from Trove<br>
> > perspective). To support (completely) Heat in Trove, it neeeds to<br>
> > support required operations like:<br>
> ><br>
> ><br>
> > 1.<br>
> ><br>
> > Resize operations:<br>
> ><br>
> > - resize a volume (to bigger size);<br>
><br>
> This is kind of messy, because it involves operations (i.e. association<br>
> with an instance) that are, in theory, expressed independently of the<br>
> Volume itself in the template. It should be do-able though.<br>
></div></blockquote><div> > > Agreed. But as for me, this use case is the last of the list that's not fully covered in Heat. Only VomuleAttached class has handle_update task, but missing for base Volume class. Last question, can volume update blueprint be approved or needs to be discussed with all Heat community?</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
> > - consistent resize of instance flavor.<br>
><br>
> Server resize is implemented already in Heat. I believe what is missing<br>
> is a hook to allow Trove to confirm (or not) the resize. Heat always<br>
> confirms at the moment.<br>
><br></div></blockquote><div>> > From the Trove perspective, the best use case is the case when Heat handles most of the logic over the resize and its confirmation. My best guess that Trove needs to do only stack update procedure, and nothing else.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
> <a href="http://junodesignsummit.sched.org/event/d422b859492cd1dbcb9763c8b7245f23" target="_blank">http://junodesignsummit.sched.org/event/d422b859492cd1dbcb9763c8b7245f23</a><br>
><br>
<br>
</div>Right, this is similar to the rebuild case that TripleO needs. I believe<br>
software deployments has laid a nice framework down for this, and I'm<br>
working right now on a POC for rebuild that will quite easily translate<br>
into resize as well.<br>
<div class=""><br>
> > 2.<br>
> ><br>
> > Migration operation (from host to host).<br>
><br>
> It's not clear to me how this would fit into Heat's declarative model<br>
> (since it's an action, rather than a thing or a relationship between<br>
> things). Given that this is presumably an admin-type operation, maybe it<br>
> is OK for this to continue to be done with the Nova client.<br>
><br>
<br>
</div>Assuming you mean nova migration, which is an administrative action<br>
in Nova, I agree with Zane, except that I wouldn't say maybe, but<br>
"most likely".<br>
<br>
However, the statement is a bit vague, so you could mean _trove_ host<br>
to _trove_ host. As in, migrating a whole database and then a VIP to<br>
another database.<br>
<br>
I think there is a role for Heat to play there, as you would change your<br>
desired end-goal to have two servers, and even use Heat to communicate<br>
the details how the migration path to the new one, and then change the<br>
goal again to just have the new server, with the VIP moved.<br>
<div class=""><br></div></blockquote><div>> > Agreed, migrations will still be the part of the responsibilities of Nova. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">
> > 3.<br>
> ><br>
> > Security group/rules operations:<br>
> ><br>
> > - add new rules to already existing group;<br>
> ><br>
> > - swap existing rules to a new ones.<br>
><br>
> This appears to be implemented already (for Neutron security groups),<br>
> though the implementation looks a bit suspect to me:<br>
><br>
> <a href="https://github.com/openstack/heat/blob/master/heat/engine/resources/neutron/security_group.py#L237" target="_blank">https://github.com/openstack/heat/blob/master/heat/engine/resources/neutron/security_group.py#L237</a><br>
><br></div></blockquote><div>> > For now Trove cannot work with Neutron as network management service. So, mostly insterested in nova-network based flow. But for the future we'll also would need Neutron based flow. </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
> > 4.<br>
> ><br>
> > Designate (DNSaaS) resource provisioning.<br>
><br>
> +1! If someone wanted to write this we would be more than happy to see<br>
> it in /contrib right now, and moving to the main tree as soon as<br>
> Designate is accepted for incubation.<br>
><br>
<br>
</div>Agreed. DNS all the things.<br>
<div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br></div></div>