<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 05/03/2012 06:04 AM, Jorge Luiz Correa wrote:
    <blockquote
cite="mid:CAE2bT_0vXU=1L4NL2K2rhGDd+-tPaL2mo3TozVEB-10LtNT-SA@mail.gmail.com"
      type="cite">Hi list!
      <div><br>
      </div>
      <div>I would like to know if someone has tested juju with Essex.
        I've installed OpenStack using Ubuntu 12.04 and its packages
        (Essex). The nova components are working fine. I can create and
        destroy instances. So I'm using Juju from a 11.10 Oneiric. I've
        made some modifications in my environment.yaml configuration
        file to work with keystone. In my first tests I could bootstrap,
        creating a new instance. However, some problems that I'm having
        now:</div>
    </blockquote>
    <br>
    I'd recommend using the latest Juju version, either from the Juju
    PPA [1] on oneiric or the version shipped with precise.  <br>
    <br>
    <blockquote
cite="mid:CAE2bT_0vXU=1L4NL2K2rhGDd+-tPaL2mo3TozVEB-10LtNT-SA@mail.gmail.com"
      type="cite">
      <div><br>
      </div>
      <div>1) Juju and nova aren't creating secgroup-rules in the right
        way. I can see new secgroup-rules, like juju-sample,
        juju-sample-0 and so on. But, when I list the rules, there are
        NO rules. The immediately impact is that when running 'juju
        status' the host is not able to access the instances created by
        juju. If I go to dashboard and add access with the right ports,
        so juju gets working. <br>
      </div>
    </blockquote>
    <br>
    This should be working fine.  We fixed some bugs in nova around
    security groups during Essex that I uncovered trying to get Juju
    working against it, but since then its been working nicely.  I've
    just bootstrapped against an Essex/12.04 and get a functioning
    security group rule set.  This may look a bit different depending on
    what you've named the environment, but should be similar:
    <a class="moz-txt-link-freetext" href="http://paste.ubuntu.com/965169/">http://paste.ubuntu.com/965169/</a><br>
    <br>
    <blockquote
cite="mid:CAE2bT_0vXU=1L4NL2K2rhGDd+-tPaL2mo3TozVEB-10LtNT-SA@mail.gmail.com"
      type="cite">
      <div><br>
      </div>
      <div>2) The host running juju 'should' know how to resolve the
        instance names, like server-8, server-10 to address from cloud
        network. How we need to deal with it? Host running juju has to
        use the same DNS that serves the cloud? I've changed the dhcp
        configuration in juju host to add the address of nova network
        that runs a dnsmasq and knows how to resolve these names. Is
        this the right way? Recommendations? </div>
      <div><br>
      </div>
    </blockquote>
    <br>
    This is mostly a Nova config thing. By default, new instances'
    public hostnames are the same as their private hostnames.    If you
    want to be able to reach instances via their private hostname, you'd
    need to do some DNS magic outside of Juju like you are doing, or
    perhaps there is a documented way of achieving this in Nova itself. 
    The best solution is to instead add '--auto_assign_floating_ip' to
    nova.conf.  This will ensure a public floating IP is associated with
    new instances and allow Juju to reach its nodes that way instead.  
    This matches the behavior of EC2.<br>
    <br>
    <br>
    Adam<br>
    <br>
    [1] Juju PPA - ppa:juju/pkgs<br>
    <br>
    <blockquote
cite="mid:CAE2bT_0vXU=1L4NL2K2rhGDd+-tPaL2mo3TozVEB-10LtNT-SA@mail.gmail.com"
      type="cite">
      <div>Thanks!</div>
      <div>
        <div><br>
        </div>
        -- <br>
        - MSc. Correa, J.L.<br>
        <br>
        <div id="-chrome-auto-translate-plugin-dialog"
          style="background-image:initial!important;background-color:transparent!important;padding-top:0px!important;padding-right:0px!important;padding-bottom:0px!important;padding-left:0px!important;margin-top:0px!important;margin-right:0px!important;margin-bottom:0px!important;margin-left:0px!important;overflow-x:visible!important;overflow-y:visible!important;text-align:left!important;background-repeat:initial
          initial!important">
          <img moz-do-not-send="true"
            src="http://www.google.com/uds/css/small-logo.png"
            onclick="document.location.href='http://translate.google.com/';"
            style="position: absolute !important; z-index: -1
            !important; right: 1px !important; top: -20px !important;
            cursor: pointer !important;-webkit-border-radius: 20px;
            background-color: rgba(200, 200, 200, 0.3) !important;
            padding: 3px 5px 0 !important; margin: 0 !important;"></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
More help   : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>