<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Comments below..<br>
    <br>
    <div class="moz-cite-prefix">On 2/2/2017 6:22 PM, Doug Hellmann
      wrote:<br>
    </div>
    <blockquote cite="mid:1486084109-sup-160@lrrr.local" type="cite">
      <blockquote type="cite">
        <pre wrap="">
Yes, this is major undertaking and major driver for Oracle to setup a 
3rd party CI so that we can automate regression testing against MySQL 
Cluster. On the flip side, it helps solve some of the challenges with 
</pre>
      </blockquote>
      <pre wrap="">
I'm not sure we would want to gate projects on CI run outside of
our infrastructure community. We've had some bad experiences with
that in the past. What are the options for running MySQL Cluster
on nodes upstream?</pre>
    </blockquote>
    <br>
    It shouldn't be too bad to setup MySQL Cluster. I haven't worked
    with the CI infrastructure upstream. What would it take to get it
    configured?<br>
    <br>
    <blockquote cite="mid:1486084109-sup-160@lrrr.local" type="cite">
      <pre wrap="">

</pre>
      <blockquote type="cite">
        <pre wrap="">larger deployments where an active/passive solution for MySQL DB is not 
sufficient. So the pay-off is pretty big from an availability and 
scale-out perspective.

But I do realize that I'll have to maintain this long-term and hopefully 
get others to help out as more services are added to OpenStack.
</pre>
      </blockquote>
      <pre wrap="">
Given the scope of the work being proposed, and the level of expertise
needed to do it, we're going to need to have more than one person
available to debug issues before we go to far ahead with it.

It might help to have an example or two of the sorts of migration
script changes you've described elsewhere. Maybe you can prepare a
sample patch for a project?

Are there tools that can look at a table definition and tell if it
meets the criteria for the cluster backend (the row size, types
used, whatever else)? Or is it something one has to do by hand?</pre>
    </blockquote>
    <br>
    I'm working on updating my keystone patches and will put that up for
    review early next week. I'll send the link for that. Then I'll work
    on cinder next. So those two should provide good examples of what
    the patches look like.<br>
    <br>
    I've been doing things by hand, but I think a tool could be
    developed.<br>
    <br>
    <blockquote cite="mid:1486084109-sup-160@lrrr.local" type="cite">
      <pre wrap="">
So what do you envision that I'll have to add to the oslo.db library to 
make things work as you describe? What would be the best example for me 
to build from?
</pre>
      <pre wrap="">
You need a function that takes the cfg.CONF instance as an argument. It
should call register_opts() to register the option or options it uses,
and then it can return the value. Something like:

from oslo_db import options

def get_db_engine_type(conf):
    conf.register_opts(options.database_opts)
        return conf.database.mysql_storage_engine</pre>
    </blockquote>
    <br>
    I'll work on this and submit an update to the patch for oslo.db.<br>
    <br>
    <br>
    <blockquote cite="mid:1486084109-sup-160@lrrr.local" type="cite">
      <pre wrap="">

Doug

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>

</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <br>
      <p>
        <a href="http://www.oracle.com/" target="_blank"><img
            src="cid:part1.02050000.08050105@oracle.com" alt="Oracle"
            border="0" height="26" width="114"></a><br>
        <font color="#666666" size="2" face="Verdana, Arial, Helvetica,
          sans-serif">Octave J. Orgeron | Sr. Principal Architect and
          Software Engineer<br>
          <font color="#ff0000">Oracle</font> Linux OpenStack<br>
          Mobile: <a href="tel:+17206161550">+1-720-616-1550</a><br>
          500 Eldorado Blvd. | Broomfield, CO 80021<br>
          <a
href="http://www.oracle.com/us/solutions/enterprise-architecture/index.html"><img
              src="cid:part4.01060904.06060305@oracle.com"
              alt="Certified Oracle Enterprise Architect: Systems
              Infrastructure" border="0" height="42" width="182"></a><br>
          <a href="http://www.oracle.com/commitment" target="_blank"><img
              src="cid:part6.07030502.04030700@oracle.com" alt="Green
              Oracle" align="absmiddle" border="0" height="28"
              width="44"></a>
          <font color="#4B7D42" size="1" face="Verdana, Arial,
            Helvetica, sans-serif">Oracle is committed to developing
            practices and products that help protect the environment</font>
        </font></p>
      <font color="#666666" size="2" face="Verdana, Arial, Helvetica,
        sans-serif">
      </font></div>
  </body>
</html>