<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 01/09/2014 06:14 PM, Brant Knudson
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAHjeE=TA-nu-3DW=yftEC68oXnsskJe=E_dEVqF5AErowfN3dQ@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Thu, Jan 9, 2014 at 12:21 PM, Mike
            Spreitzer <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:mspreitz@us.ibm.com" target="_blank">mspreitz@us.ibm.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex"><tt><font>Brant Knudson
                  <<a moz-do-not-send="true"
                    href="mailto:blk@acm.org" target="_blank">blk@acm.org</a>>
                  wrote on 01/09/2014
                  10:07:27 AM:
                  <div class="im"><br>
                    <br>
                    > When I was starting out, I ran devstack ( </div>
                </font></tt><a moz-do-not-send="true"
                href="http://devstack.org/" target="_blank"><tt><font>http://devstack.org/</font></tt></a><tt><font>
                  ) on <br>
                  <div class="im">
                    > an Ubuntu VM. You wind up with a system where
                    you've got a basic <br>
                    > running OpenStack so you can try things out
                    with the command-line
                    <br>
                    > utilities, and also do development because it
                    checks out all the <br>
                    > repos. I learned a lot, and it's how I still do
                    development.<br>
                  </div>
                </font></tt>
              <br>
              <tt><font>What sort(s) of testing do you do in that
                  environment,
                  and how?</font></tt></blockquote>
            <div><br>
              Just running devstack exercises quite a bit of code,
              because it's setting up users, project, and loading
              images. Now you've got a system that's set up so you can
              add your own images and boot them using regular OpenStack
              commands, and you can use the command-line utilities or
              REST API to exercise your changes. The command-line
              utilities and REST API are documented. There are some
              things that you aren't going to be able to do with
              devstack because it's a single node, but that hasn't
              affected my development.<br>
               </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex"><tt><font>  Does your
                  code editing interfere with the running DevStack?</font></tt></blockquote>
            <div><br>
            </div>
            <div>Code editing doesn't interfere with a running DevStack.
              After you make a change you can find the process's screen
              in devstack's and restart it to pick up your changes. For
              example if you made a change that affects nova-api, you
              can restart the process in the n-api screen.<br>
              <br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex"><tt><font>
                   Can you run the unit tests without interference
                  from/to the running
                  DevStack?</font></tt></blockquote>
            <div><br>
            </div>
            <div>Running unit tests doesn't interfere with DevStack. The
              unit tests run in their own processes and also run in a
              virtual environment.<br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <tt><font>  How do you do bigger tests?</font></tt></blockquote>
            <div><br>
            </div>
            <div>For bigger tests I'd need a cluster which I don't have,
              so I don't do bigger tests.<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    It is possible to setup a multi-node devstack cloud using multiple
    VMs, see <a href="http://devstack.org/guides/multinode-lab.html">http://devstack.org/guides/multinode-lab.html</a>.
    Depending on what you are trying to test, e.g., VM migration, this
    may be sufficient.<br>
    <blockquote
cite="mid:CAHjeE=TA-nu-3DW=yftEC68oXnsskJe=E_dEVqF5AErowfN3dQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <tt><font>  What is the process for
                  switching from running the merged code to running your
                  modified code?</font></tt></blockquote>
            <div><br>
            </div>
            <div>I don't know what the merged code is? I use eclipse, so
              I create a project for the different directories in
              /opt/stack so I can edit the code right there.<br>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex"><tt><font>  Are
                  the answers documented someplace I have not found?</font></tt>
              <br>
               
              <br>
            </blockquote>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex"><tt><font>Thanks,</font></tt>
              <br>
              <tt><font>Mike</font></tt><br>
            </blockquote>
            <div><br>
            </div>
            <div>Not that I know of... the wiki pages are editable, so
              you or I could update them to help out others.<br>
            </div>
            <div><br>
            </div>
            <div>- Brant<br>
              <br>
            </div>
            <div>
              <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>