<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi,<br>
    I have made a first patch - <a class="moz-txt-link-freetext" href="https://review.openstack.org/#/c/10234">https://review.openstack.org/#/c/10234</a>.
    It was actually simpler than I had expected. By a fluke the change
    also imported better logging for the agents. This should also move
    to the openstack-common logging.<br>
    I still need to do some additional work:<br>
    1. ensure agent tests are OK<br>
    2. update devstack to support the configurations<br>
    Thanks<br>
    Gary<br>
    <br>
    On 07/24/2012 08:15 PM, Gary Kotton wrote:
    <blockquote cite="mid:500ED834.4030502@redhat.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Hi,<br>
      Please see my inline below.<br>
      Thanks<br>
      Gary<br>
      <br>
      On 07/24/2012 07:47 PM, Salvatore Orlando wrote:
      <blockquote
cite="mid:CAGR=i3i0JETbg_muzueWe48-Sm=6c9_MwhgBsPrzg7Zf0UpUCw@mail.gmail.com"
        type="cite">I +1 what Mark and Gary agreed on the IRC.
        <div>That's exactly what I meant by 'namespaces' on yesterday's
          meeting.</div>
        <div><br>
        </div>
        <div>Cheers,</div>
        <div>Salvatore<br>
          <br>
          <div class="gmail_quote">On 24 July 2012 16:30, Sumit
            Naiksatam (snaiksat) <span dir="ltr"><<a
                moz-do-not-send="true" href="mailto:snaiksat@cisco.com"
                target="_blank">snaiksat@cisco.com</a>></span> wrote:<br>
            <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
              0.8ex; border-left: 1px solid rgb(204, 204, 204);
              padding-left: 1ex;">
              <div bgcolor="white" link="blue" vlink="purple"
                lang="EN-US">
                <div>
                  <p class="MsoNormal"><span style="font-size: 11pt;
                      font-family:
                      "Calibri","sans-serif"; color:
                      rgb(31, 73, 125);">Hi Gary,</span></p>
                  <p class="MsoNormal"><span style="font-size: 11pt;
                      font-family:
                      "Calibri","sans-serif"; color:
                      rgb(31, 73, 125);"> </span></p>
                  <p class="MsoNormal"><span style="font-size: 11pt;
                      font-family:
                      "Calibri","sans-serif"; color:
                      rgb(31, 73, 125);">Are you asking this just in the
                      context of the RPC related configurations, or also
                      for moving all the existing configuration from the
                      plugin-specific configuration files (the ones
                      under etc/quantum/plugins) to a single
                      configuration file?</span></p>
                </div>
              </div>
            </blockquote>
          </div>
        </div>
      </blockquote>
      <br>
      The RPC was the motivation for this. This is information that is
      required by both the agents and the plugins. In addition to this
      due to the fact that is is from the openstack-common (which used
      the global cfg.CONF) complicates things.<br>
      <br>
      There is still the option to use multiple files with input like:<br>
      <pre wrap="">  --config-file=/etc/quantum.conf --config-file=/etc/quantum/quantum.conf --config-dir=/etc/quantum/plugins.d

Thanks
Gary
</pre>
      <br>
      <br>
      <blockquote
cite="mid:CAGR=i3i0JETbg_muzueWe48-Sm=6c9_MwhgBsPrzg7Zf0UpUCw@mail.gmail.com"
        type="cite">
        <div>
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
              0.8ex; border-left: 1px solid rgb(204, 204, 204);
              padding-left: 1ex;">
              <div bgcolor="white" link="blue" vlink="purple"
                lang="EN-US">
                <div>
                  <p class="MsoNormal"><span style="font-size: 11pt;
                      font-family:
                      "Calibri","sans-serif"; color:
                      rgb(31, 73, 125);"> </span></p>
                  <p class="MsoNormal"><span style="font-size: 11pt;
                      font-family:
                      "Calibri","sans-serif"; color:
                      rgb(31, 73, 125);">Moving plugin-independent
                      common configuration to a common file makes sense
                      to me (including the agent and/or RPC related
                      configurations as discussed in the IRC meeting
                      yesterday). However, I am not in favor of moving
                      all plugin-specific configurations to a
                      single/common file.</span></p>
                  <p class="MsoNormal"><span style="font-size: 11pt;
                      font-family:
                      "Calibri","sans-serif"; color:
                      rgb(31, 73, 125);"> </span></p>
                  <p class="MsoNormal"><span style="font-size: 11pt;
                      font-family:
                      "Calibri","sans-serif"; color:
                      rgb(31, 73, 125);">Thanks,</span></p>
                  <p class="MsoNormal"><span style="font-size: 11pt;
                      font-family:
                      "Calibri","sans-serif"; color:
                      rgb(31, 73, 125);">~Sumit. </span></p>
                  <p class="MsoNormal"><span style="font-size: 11pt;
                      font-family:
                      "Calibri","sans-serif"; color:
                      rgb(31, 73, 125);"> </span></p>
                  <div style="border-width: medium medium medium 1.5pt;
                    border-style: none none none solid; border-color:
                    -moz-use-text-color -moz-use-text-color
                    -moz-use-text-color blue; padding: 0in 0in 0in 4pt;">
                    <div>
                      <div style="border-width: 1pt medium medium;
                        border-style: solid none none; border-color:
                        rgb(181, 196, 223) -moz-use-text-color
                        -moz-use-text-color; padding: 3pt 0in 0in;">
                        <p class="MsoNormal"><b><span style="font-size:
                              10pt; font-family:
                              "Tahoma","sans-serif";
                              color: windowtext;">From:</span></b><span
                            style="font-size: 10pt; font-family:
                            "Tahoma","sans-serif";
                            color: windowtext;"> Gary Kotton [mailto:<a
                              moz-do-not-send="true"
                              href="mailto:gkotton@redhat.com"
                              target="_blank">gkotton@redhat.com</a>] <br>
                            <b>Sent:</b> Tuesday, July 24, 2012 6:03 AM<br>
                            <b>To:</b> <a moz-do-not-send="true"
                              href="mailto:openstack-dev@lists.openstack.org"
                              target="_blank">openstack-dev@lists.openstack.org</a><br>
                            <b>Subject:</b> Re: [openstack-dev]
                            [Quantum] Agents and configuration files</span></p>
                      </div>
                    </div>
                    <div>
                      <div class="h5">
                        <p class="MsoNormal"> </p>
                        <p class="MsoNormal">Hi,<br>
                          Can people please raise their concerns about
                          moving all of the plugin.ini files into
                          quantum.conf.<br>
                          This will solve us a number of problems.
                          Please let me know if you have any
                          reservations.<br>
                          Thanks<br>
                          Gary<br>
                          <br>
                          On 07/24/2012 09:17 AM, Gary Kotton wrote: </p>
                        <p class="MsoNormal">Hi,<br>
                          <br>
                          <b>Background</b>: The quantum service makes
                          use of the configuration file quantum.conf. In
                          addition to this there is a common
                          configuration file shared between the plugin
                          and the agent (plugin.ini). The aforementioned
                          files are loaded by the common configuration
                          files.<br>
                          <br>
                          <b>Current developments</b>: A number of
                          current developments, for example
                          notifications (<a moz-do-not-send="true"
                            href="https://review.openstack.org/#/c/9835/"
                            target="_blank">https://review.openstack.org/#/c/9835/</a>)
                          and scalable agents (<a moz-do-not-send="true"
href="https://review.openstack.org/#/c/9591/" target="_blank">https://review.openstack.org/#/c/9591/</a>)
                          require RPC configurations. <br>
                          <br>
                          From the discussion last night the community
                          the consensus is to have the common
                          configuration items that may be relevant to
                          one or more agent/plugin in the quantum
                          configuration file. This change will require
                          the agents to also load the quantum.conf
                          configuration files.<br>
                          <br>
                          <b>Open issues</b>:<br>
                          1. I do not think that the common
                          configuration supports mapping of name spaces
                          to configuration files.<br>
                          2. Configuration file loading. With the
                          plugins the configuration files are loaded in
                          two stages. If possible it would be great that
                          the files could be loaded at once - this can
                          be done by listing the plugin/agent ini
                          file(s) in the quantum.conf. When this is
                          loaded then the other files will be loaded. <br>
                          <br>
                          Please let me know if you have any comments or
                          objections. I would like to move ahead and
                          start to work on this.<br>
                          <br>
                          Thanks<br>
                          Gary<br>
                          <br>
                          <br>
                        </p>
                        <pre> </pre>
                        <pre> </pre>
                        <pre>_______________________________________________</pre>
                        <pre>OpenStack-dev mailing list</pre>
                        <pre><a moz-do-not-send="true" href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a></pre>
                        <pre><a moz-do-not-send="true" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></pre>
                        <p class="MsoNormal"> </p>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <br>
              _______________________________________________<br>
              OpenStack-dev mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
              <a moz-do-not-send="true"
                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>
          <br>
        </div>
      </blockquote>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</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>
  </body>
</html>