<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Rafael,<br>
    <br>
    You can try 'export USE_GIT=0' before 'nova.sh install' to load nova
    from launchpad. It'll still load keystone from git though.<br>
    <br>
    Thanks<br>
    Arvind<br>
    <br>
    On 08/09/2011 06:55 PM, Rafael Durán Castañeda wrote:
    <blockquote cite="mid:4E41BADE.1030907@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Compute problem I posted before seems not to be related about
      dashboard problems, using telnet directly on nova api doesn't
      work. Rackspace/keystone version used by nova.sh is not update, it
      might be a problem about keystone and nova, since keystone las
      version is GitHub Openstack/keystone.<br>
      <br>
      GET /v1.1/admin/services HTTP/1.1<br>
      Host: localhost<br>
      X-Auth-token: 999888777666<br>
      <br>
      <br>
      HTTP/1.1 500 Internal Server Error<br>
      Content-Length: 86<br>
      Content-Type: application/json; charset=UTF-8<br>
      Date: Tue, 09 Aug 2011 22:46:30 GMT<br>
      <br>
      {"cloudServersFault": {"message": "User does not have admin
      privileges", "code": 500}}<br>
      <br>
      <br>
      2011-08-09 22:46:30,900 DEBUG nova [-] HTTP PERF: 0.01593 seconds
      to GET 127.0.0.1:5001 /v2.0/tokens/999888777666) from (pid=6899)
      getresponse
/home/ubuntu/openstack/deployscripts/nova/keystone/common/bufferedhttp.py:99<br>
      2011-08-09 22:46:30,918 DEBUG nova [-] HTTP PERF: 0.01750 seconds
      to GET 127.0.0.1:5001 /v2.0/tokens/999888777666) from (pid=6899)
      getresponse
/home/ubuntu/openstack/deployscripts/nova/keystone/common/bufferedhttp.py:99<br>
      2011-08-09 22:46:30,945 DEBUG routes.middleware [-] Matched GET
      /admin/services from (pid=6899) __call__
      /usr/lib/pymodules/python2.6/routes/middleware.py:100<br>
      2011-08-09 22:46:30,945 DEBUG routes.middleware [-] Route path:
      '/admin/services', defaults: {'action': u'index', 'controller':
      <nova.api.openstack.wsgi.Resource object at 0x2622fd0>} from
      (pid=6899) __call__
      /usr/lib/pymodules/python2.6/routes/middleware.py:102<br>
      2011-08-09 22:46:30,946 DEBUG routes.middleware [-] Match dict:
      {'action': u'index', 'controller':
      <nova.api.openstack.wsgi.Resource object at 0x2622fd0>} from
      (pid=6899) __call__
      /usr/lib/pymodules/python2.6/routes/middleware.py:103<br>
      2011-08-09 22:46:30,946 INFO nova.api.openstack.wsgi [-] GET <a
        moz-do-not-send="true" class="moz-txt-link-freetext"
        href="http://localhost/v1.1/admin/services">http://localhost/v1.1/admin/services</a><br>
      2011-08-09 22:46:30,946 DEBUG nova.api.openstack.wsgi [-]
      Unrecognized Content-Type provided in request from (pid=6899)
      deserialize_body
      /home/ubuntu/openstack/deployscripts/nova/nova/api/openstack/wsgi.py:231<br>
      2011-08-09 22:46:30,956 ERROR nova.api.openstack [-] Caught error:
      User does not have admin privileges<br>
      (nova.api.openstack): TRACE: Traceback (most recent call last):<br>
      (nova.api.openstack): TRACE:   File
      "/home/ubuntu/openstack/deployscripts/nova/nova/api/openstack/__init__.py",

      line 64, in __call__<br>
      (nova.api.openstack): TRACE:     return
      req.get_response(self.application)<br>
      (nova.api.openstack): TRACE:   File
      "/usr/lib/pymodules/python2.6/webob/request.py", line 1053, in
      get_response<br>
      (nova.api.openstack): TRACE:     application,
      catch_exc_info=False)<br>
      (nova.api.openstack): TRACE:   File
      "/usr/lib/pymodules/python2.6/webob/request.py", line 1022, in
      call_application<br>
      (nova.api.openstack): TRACE:     app_iter =
      application(self.environ, start_response)<br>
      (nova.api.openstack): TRACE:   File
      "/home/ubuntu/openstack/deployscripts/nova/keystone/middleware/auth_token.py",

      line 184, in __call__<br>
      (nova.api.openstack): TRACE:     return self._forward_request()<br>
      (nova.api.openstack): TRACE:   File
      "/home/ubuntu/openstack/deployscripts/nova/keystone/middleware/auth_token.py",

      line 306, in _forward_request<br>
      (nova.api.openstack): TRACE:     return self.app(self.env,
      self.start_response)<br>
      (nova.api.openstack): TRACE:   File
      "/usr/lib/pymodules/python2.6/webob/dec.py", line 159, in __call__<br>
      (nova.api.openstack): TRACE:     return resp(environ,
      start_response)<br>
      (nova.api.openstack): TRACE:   File
      "/usr/lib/pymodules/python2.6/webob/dec.py", line 159, in __call__<br>
      (nova.api.openstack): TRACE:     return resp(environ,
      start_response)<br>
      (nova.api.openstack): TRACE:   File
      "/usr/lib/pymodules/python2.6/webob/dec.py", line 159, in __call__<br>
      (nova.api.openstack): TRACE:     return resp(environ,
      start_response)<br>
      (nova.api.openstack): TRACE:   File
      "/usr/lib/pymodules/python2.6/routes/middleware.py", line 131, in
      __call__<br>
      (nova.api.openstack): TRACE:     response = self.app(environ,
      start_response)<br>
      (nova.api.openstack): TRACE:   File
      "/usr/lib/pymodules/python2.6/webob/dec.py", line 159, in __call__<br>
      (nova.api.openstack): TRACE:     return resp(environ,
      start_response)<br>
      (nova.api.openstack): TRACE:   File
      "/usr/lib/pymodules/python2.6/webob/dec.py", line 147, in __call__<br>
      (nova.api.openstack): TRACE:     resp = self.call_func(req, *args,
      **self.kwargs)<br>
      (nova.api.openstack): TRACE:   File
      "/usr/lib/pymodules/python2.6/webob/dec.py", line 208, in
      call_func<br>
      (nova.api.openstack): TRACE:     return self.func(req, *args,
      **kwargs)<br>
      (nova.api.openstack): TRACE:   File
      "/home/ubuntu/openstack/deployscripts/nova/nova/api/openstack/wsgi.py",
      line 490, in __call__<br>
      (nova.api.openstack): TRACE:     action_result =
      self.dispatch(request, action, args)<br>
      (nova.api.openstack): TRACE:   File
      "/home/ubuntu/openstack/deployscripts/nova/nova/api/openstack/wsgi.py",
      line 518, in dispatch<br>
      (nova.api.openstack): TRACE:     return
      controller_method(req=request, **action_args)<br>
      (nova.api.openstack): TRACE:   File
      "/home/ubuntu/openstack/deployscripts/openstackx/extensions/admin.py",
      line 716, in index<br>
      (nova.api.openstack): TRACE:     for service in
      db.service_get_all(context):<br>
      (nova.api.openstack): TRACE:   File
      "/home/ubuntu/openstack/deployscripts/nova/nova/db/api.py", line
      93, in service_get_all<br>
      (nova.api.openstack): TRACE:     return
      IMPL.service_get_all(context, disabled)<br>
      (nova.api.openstack): TRACE:   File
      "/home/ubuntu/openstack/deployscripts/nova/nova/db/sqlalchemy/api.py",
      line 97, in wrapper<br>
      (nova.api.openstack): TRACE:     raise exception.AdminRequired()<br>
      (nova.api.openstack): TRACE: AdminRequired: User does not have
      admin privileges<br>
      <br>
      On 10/08/11 00:44, Mauricio Arango wrote:
      <blockquote
cite="mid:CAEXAJn0VY9xg9oHm8vU89xh_xcHGz9LxcnMQ0k-jjb-8HGjO9A@mail.gmail.com"
        type="cite">Got it to run with mysql. Now, the multi-session
        screen doesn't come up, it says:<br>
        + screen -S nova -X screen -t n-api<br>
        There are several suitable screens on:<br>
            30040.nova    (08/09/2011 06:36:19 PM)    (Detached)<br>
            29522.nova    (08/09/2011 06:10:17 PM)    (Detached)<br>
            28011.nova    (08/09/2011 05:31:30 PM)    (Detached)<br>
            27686.nova    (08/09/2011 05:30:07 PM)    (Detached)<br>
            27369.nova    (08/09/2011 05:27:09 PM)    (Detached)<br>
            27269.nova    (08/09/2011 05:03:46 PM)    (Detached)<br>
            26985.nova    (08/09/2011 02:58:43 PM)    (Detached)<br>
            26911.nova    (08/09/2011 02:55:58 PM)    (Detached)<br>
            26839.nova    (08/09/2011 02:54:42 PM)    (Detached)<br>
        Use -S to specify a session.<br>
        <br>
        Thanks Arvind,<br>
        <br>
        Mauricio<br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <div class="gmail_quote">On Tue, Aug 9, 2011 at 5:23 PM, Arvind
          Somya <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:asomya@cisco.com">asomya@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="#ffffff" text="#000000"> Weird, creating a
              dummy database solved this error for me. <br>
              <br>
              In the script, it doesn't check to see if a database
              called nova exists, lines 312-314:<br>
              <br>
              if [ "$USE_MYSQL" == 1 ]; then<br>
                      mysql -p$MYSQL_PASS -e 'DROP DATABASE nova;'<br>
                      mysql -p$MYSQL_PASS -e 'CREATE DATABASE nova;'<br>
              <br>
              I'm assuming you're running the script as root so db
              permissions to drop should not be an issue. You might try
              dropping nova manually and commenting out the drop
              database line from the script.<br>
              <br>
              Thanks<br>
              <font color="#888888"> Arvind</font>
              <div>
                <div class="h5"><br>
                  <br>
                  On 08/09/2011 05:06 PM, Mauricio Arango wrote:
                  <blockquote type="cite">Tied it, no luck, error
                    indicating db nova already exists:<br>
                    <br>
                    + mysql -pnova -e 'CREATE DATABASE nova;'<br>
                    ERROR 1007 (HY000) at line 1: Can't create database
                    'nova'; database exists<br>
                    <br>
                    Thanks,<br>
                    <br>
                    Mauricio<br>
                    <br>
                    <br>
                    <br>
                    <br>
                    <div class="gmail_quote">On Tue, Aug 9, 2011 at 3:52
                      PM, Arvind Somya <span dir="ltr"><<a
                          moz-do-not-send="true"
                          href="mailto:asomya@cisco.com" target="_blank">asomya@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="#ffffff" text="#000000"> Yeah<br>
                          <br>
                          It's trying to clear an existing database
                          named nova in mysql.. try the following before
                          install and run:<br>
                          <br>
                          mysql -u root -p <root_password>
                          -e"create database nova"<br>
                          <br>
                          This should create an empty database called
                          nova for it to whack.<br>
                          <br>
                          Thanks<br>
                          <font color="#888888"> Arvind</font>
                          <div>
                            <div><br>
                              <br>
                              On 08/09/2011 03:34 PM, Mauricio Arango
                              wrote:
                              <blockquote type="cite">Arvind,<br>
                                <br>
                                I ran the script with USE_MYSQL=1, also
                                inverted the order of lines 321 &
                                322 in the nova.sh script (was
                                generating an error). Didn't complete
                                due to the following db-related error:<br>
                                <br>
                                "Command failed, please check log for
                                more info<br>
                                2011-08-09 14:58:47,555 CRITICAL nova
                                [-] (OperationalError) (1049, "Unknown
                                database 'nova'") None None ...."<br>
                                <br>
                                Any ideas what could be the problem?<br>
                                <br>
                                Thanks for your help,<br>
                                <br>
                                Mauricio<br>
                                <br>
                                <br>
                                <br>
                                <br>
                                <br>
                                <br>
                                <br>
                                <div class="gmail_quote">On Tue, Aug 9,
                                  2011 at 1:49 PM, Arvind Somya <span
                                    dir="ltr"><<a
                                      moz-do-not-send="true"
                                      href="mailto:asomya@cisco.com"
                                      target="_blank">asomya@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="#ffffff"
                                      text="#000000"> Mauricio,<br>
                                      <br>
                                      The cloudbuilders script starts
                                      the server on port 80
                                      automatically. Afaik it also runs
                                      the sampledata script from
                                      keystone to set up a couple of
                                      users. You might try
                                      user:'joeuser' pass: 'secrete' or
                                      user:'joeadmin' pass:'secrete' ..
                                      both accounts are autocreated from
                                      the sample data script.<br>
                                      <br>
                                      As to your sql problem.. I ran
                                      into the same when using sqlite
                                      with the cloudbuilders image. Try
                                      this, install mysql and:<br>
                                      <br>
                                      export USE_MYSQL=1<br>
                                      export MYSQL_PASS=<your mysql
                                      root password><br>
                                      <br>
                                      then <br>
                                      // Clear our existing install data<br>
                                      nova.sh terminate<br>
                                      nova.sh clean<br>
                                      nova.sh scrub<br>
                                      nova.sh install<br>
                                      nova.sh run<br>
                                      <br>
                                      The nova processes are run in a
                                      SCREEN command. The script does
                                      not install euca2ools so you'll
                                      need to install those separately.<br>
                                      <br>
                                      Thanks<br>
                                      <font color="#888888"> Arvind</font>
                                      <div>
                                        <div><br>
                                          <br>
                                          <br>
                                          On 08/09/2011 01:15 PM,
                                          Mauricio Arango wrote:
                                          <blockquote type="cite">Got
                                            the environment up and went
                                            to the Dashboard's entry
                                            page by pointing my browser
                                            to <a
                                              moz-do-not-send="true"
                                              href="http://localhost:80/"
                                              target="_blank">http://localhost:80/</a>
                                            (<a moz-do-not-send="true"
                                              href="http://localhost:8000/"
                                              target="_blank">http://localhost:8000/</a>
                                            doesn't work).<br>
                                            <br>
                                            Logged successfully with
                                            'admin' user name;<br>
                                            entered the System Panel
                                            page;<br>
                                            got error in the Overview
                                            page:<br>
                                            "Unable to get service info:
                                            User does not have admin
                                            privileges"<br>
                                            <br>
                                            got error in the Instances
                                            page:<br>
                                            "Unable to get instance
                                            list: (InterfaceError) Error
                                            binding parameter 6 -
                                            probably unsupported
                                            type......"<br>
                                            <br>
                                            got error in the System
                                            Panel Services page:<br>
                                            "Unable to get service info:
                                            User does not have admin
                                            privileges"<br>
                                            it does display glance,
                                            identity , nova-compat, nova
                                            as up.<br>
                                            <br>
                                            got error in User Dashboard
                                            Image when launching the
                                            only listed image (id=3,
                                            ami-tty):<br>
                                            "Unable to launch instance:
                                            (InterfaceError) Error
                                            binding parameter 0 -
                                            probably unsupported type.
                                            ....."<br>
                                            <br>
                                            <br>
                                            I didn't see any of the nova
                                            processes running with
                                            'nova-*' names. What names
                                            do they have?<br>
                                            <br>
                                            I wasn't able to run either
                                            the nova-manage nor the euca
                                            tools. How can I do this? It
                                            is very helpful to have both
                                            access to the command line
                                            tools in nova as well as the
                                            Dashboard.<br>
                                            <br>
                                            Thanks,<br>
                                            <br>
                                            Mauricio<br>
                                            <br>
                                            <br>
                                            <br>
                                            <br>
                                            <div><br>
                                              <div class="gmail_quote">On

                                                Mon, Aug 8, 2011 at 8:55
                                                PM, Mark Gius <span
                                                  dir="ltr"><<a
                                                    moz-do-not-send="true"
href="mailto:mark@markgius.com" target="_blank">mark@markgius.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;"> $
                                                  sudo ./nova.sh branch
                                                  <div>$ sudo ./nova.sh
                                                    install</div>
                                                  <div>$ sudo ./nova.sh
                                                    run</div>
                                                  <div><br>
                                                  </div>
                                                  <div>This starts up
                                                    everything in a
                                                    screen session.
                                                     When you detach the
                                                    screen with Ctrl-A,
                                                    D all of the
                                                    openstack components
                                                    will shut down.</div>
                                                  <div><br>
                                                  </div>
                                                  <div>The nova.sh
                                                    script generally
                                                    sets up a clean
                                                    environment every
                                                    time it is run.
                                                     This makes it
                                                    mostly useful for
                                                    demo and test
                                                    environments.</div>
                                                  <div><br>
                                                  </div>
                                                  <div>Hopefully this
                                                    helps.</div>
                                                  <div><br>
                                                  </div>
                                                  <div><font
                                                      color="#888888">Mark</font>
                                                    <div>
                                                      <div><br>
                                                        <br>
                                                        <div
                                                          class="gmail_quote">On


                                                          Mon, Aug 8,
                                                          2011 at 5:40
                                                          PM, Mauricio
                                                          Arango <span
                                                          dir="ltr"><<a
moz-do-not-send="true" href="mailto:arango.mauricio@gmail.com"
                                                          target="_blank">arango.mauricio@gmail.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;"> Thanks
                                                          Mark,
                                                          <div><br>
                                                          </div>
                                                          <div>I'm
                                                          trying your
                                                          nova.sh
                                                          script. I run
                                                          it in a clean
                                                          Ubuntu
                                                          instance as
                                                          'nova.sh
                                                          install'.
                                                          However it
                                                          didn't start
                                                          the nova
                                                          processes.</div>
                                                          <div><br>
                                                          </div>
                                                          <div>Please
                                                          let me know
                                                          what is the
                                                          correct way of
                                                          runnig the
                                                          scrpt to get
                                                          everything
                                                          running.</div>
                                                          <div><br>
                                                          </div>
                                                          <font
                                                          color="#888888">
                                                          <div>Mauricio</div>
                                                          </font>
                                                          <div>
                                                          <div>
                                                          <div><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div><br>
                                                          <br>
                                                          <div
                                                          class="gmail_quote">On


                                                          Mon, Aug 8,
                                                          2011 at 5:28
                                                          PM, Mark Gius
                                                          <span
                                                          dir="ltr"><<a
moz-do-not-send="true" href="mailto:mark@markgius.com" target="_blank">mark@markgius.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;">Have you
                                                          set up and
                                                          configured a
                                                          keystone
                                                          instance for
                                                          authentication?
                                                           The dashboard
                                                          only supports
                                                          Keystone based
                                                          authentication
                                                          right now, and
                                                          it looks like
                                                          you're trying
                                                          to connect to
                                                          nova using
                                                          Nova's builtin
                                                          auth.  That
                                                          howto you are
                                                          following is
                                                          quite old.  
                                                          If you're
                                                          looking to get
                                                          openstack up
                                                          and running on
                                                          a single box,
                                                          you might want
                                                          to try this
                                                          script (<a
                                                          moz-do-not-send="true"
href="https://github.com/4P/deployscripts/blob/master/nova.sh"
                                                          target="_blank">https://github.com/4P/deployscripts/blob/master/nova.sh</a>)
                                                          which sets up
                                                          nova+keystone+glance+dashboard


                                                          on a single
                                                          host. 
                                                          <div> <br>
                                                          </div>
                                                          <div> If you'd
                                                          like to modify
                                                          your existing
                                                          setup, take a
                                                          look at <a
                                                          moz-do-not-send="true"
href="https://github.com/openstack/keystone" target="_blank">https://github.com/openstack/keystone</a>,
                                                          which talks
                                                          about how to
                                                          set up
                                                          keystone and
                                                          integrate it
                                                          into your nova
                                                          installation.</div>
                                                          <div><br>
                                                          </div>
                                                          <div><font
                                                          color="#888888">Mark<br>
                                                          <br>
                                                          </font>
                                                          <div
                                                          class="gmail_quote">
                                                          <div>
                                                          <div>On Mon,
                                                          Aug 8, 2011 at
                                                          10:15 AM,
                                                          Mauricio
                                                          Arango <span
                                                          dir="ltr"><<a
moz-do-not-send="true" href="mailto:arango.mauricio@gmail.com"
                                                          target="_blank">arango.mauricio@gmail.com</a>></span>
                                                          wrote:<br>
                                                          </div>
                                                          </div>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:
                                                          0pt 0pt 0pt
                                                          0.8ex;
                                                          border-left:
                                                          1px solid
                                                          rgb(204, 204,
                                                          204);
                                                          padding-left:
                                                          1ex;">
                                                          <div>
                                                          <div> Hi,
                                                          <div><br>
                                                          </div>
                                                          <div>I
                                                          installed Nova
                                                          and Dashboard
                                                          on a single
                                                          VirtualBox
                                                          Ubuntu guest,
                                                          following the
                                                          instructions
                                                          in:</div>
                                                          <div><a
                                                          moz-do-not-send="true"
href="http://uksysadmin.wordpress.com/2011/02/17/running-openstack-under-virtualbox-a-complete-guide/"
target="_blank">http://uksysadmin.wordpress.com/2011/02/17/running-openstack-under-virtualbox-a-complete-guide/</a></div>
                                                          <div>and</div>
                                                          <div><a
                                                          moz-do-not-send="true"
href="http://wiki.openstack.org/OpenStackDashboard" target="_blank">http://wiki.openstack.org/OpenStackDashboard</a></div>
                                                          <div><br>
                                                          </div>
                                                          <div>I added
                                                          the following
                                                          lines in
                                                          Dahsboard's
                                                           local_settings.py,
                                                          based on
                                                          information
                                                          extracted from
                                                          the novarc
                                                          file in Nova:</div>
                                                          <div>[</div>
                                                          <div>
                                                          <div>EC2_ACCESS_KEY="afa00c4d-7c1f-4a26-8986-1e291abb4e9d:myproject"</div>
                                                          <div>EC2_SECRET_KEY="e77a7fd0-bd94-4e67-9dc1-75a9ee2da45c"</div>
                                                          <div>EC2_URL="<a
moz-do-not-send="true" href="http://172.241.0.101:8773/services/Cloud"
                                                          target="_blank">http://172.241.0.101:8773/services/Cloud</a>"</div>
                                                          <div><br>
                                                          </div>
                                                          <div>NOVA_API_KEY="afa00c4d-7c1f-4a26-8986-1e291abb4e9d"</div>
                                                          <div>NOVA_USERNAME="mauricio"</div>
                                                          <div>NOVA_URL="<a
moz-do-not-send="true" href="http://172.241.0.101:8774/v1.0/"
                                                          target="_blank">http://172.241.0.101:8774/v1.0/</a>"</div>
                                                          <div>NOVA_CERT="/home/mauricio/ostack/cloud/creds/cacert.pem"</div>
                                                          </div>
                                                          <div>]</div>
                                                          <div><br>
                                                          </div>
                                                          <div>The nova
                                                          install, runs
                                                          well, tested
                                                          it using euca
                                                          tools.</div>
                                                          <div><br>
                                                          </div>
                                                          <div>The GUI
                                                          part of
                                                          Dashboard
                                                          works but
                                                          fails
                                                          connecting to
                                                          Nova,
                                                          generating the
                                                          this error on
                                                          any connection
                                                          attempt:</div>
                                                          <div>[</div>
                                                          <div>
                                                          <div>DEBUG:django_openstack.api:extras_api




                                                          connection
                                                          created using
                                                          token
                                                          "e1d4b8ca-9386-4f8e-b194-de6e504d6fa5"
                                                          and url "<a
                                                          moz-do-not-send="true"
href="http://localhost:8774/v1.1" target="_blank">http://localhost:8774/v1.1</a>"</div>
                                                          <div>ERROR:django_openstack.dash:ApiException




                                                          in instance
                                                          usage</div>
                                                          <div>Traceback
                                                          (most recent
                                                          call last):</div>
                                                          <div>  File
                                                          "/home/mauricio/ostack/openstack-dashboard/django-openstack/django_openstack/dash/views/instances.py",




                                                          line 167, in
                                                          usage</div>
                                                          <div>    usage
                                                          =
                                                          api.usage_get(request,
                                                          tenant_id,
                                                          datetime_start,
                                                          datetime_end)</div>
                                                          <div>  File
                                                          "/home/mauricio/ostack/openstack-dashboard/django-openstack/django_openstack/api.py",




                                                          line 270, in
                                                          inner</div>
                                                          <div>   
                                                           return
                                                          f(*args,
                                                          **kwargs)</div>
                                                          <div>  File
                                                          "/home/mauricio/ostack/openstack-dashboard/django-openstack/django_openstack/api.py",




                                                          line 520, in
                                                          usage_get</div>
                                                          <div>  
                                                           return
                                                          Usage(extras_api(request).usage.get(tenant_id,
                                                          start, end))</div>
                                                          <div>  File
                                                          "/home/mauricio/ostack/openstack-dashboard/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/extras/usage.py",




                                                          line 15, in
                                                          get</div>
                                                          <div>  
                                                           return
                                                          self._get("/extras/usage/%s?start=%s&end=%s"
                                                          % (tenant_id,
                                                          start.isoformat(),




                                                          end.isoformat()),



                                                          "usage")</div>
                                                          <div>  File
                                                          "/home/mauricio/ostack/openstack-dashboard/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/base.py",




                                                          line 36, in
                                                          _get</div>
                                                          <div>    resp,
                                                          body =
                                                          self.api.connection.get(url)</div>
                                                          <div>   File
                                                          "/home/mauricio/ostack/openstack-dashboard/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/connection.py",




                                                          line 78, in
                                                          get</div>
                                                          <div>  
                                                           return
                                                          self._cs_request(url,
                                                          'GET',
                                                          **kwargs)</div>
                                                          <div>  File
                                                          "/home/mauricio/ostack/openstack-dashboard/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/connection.py",




                                                          line 66, in
                                                          _cs_request</div>
                                                          <div>    raise
                                                          ex</div>
                                                          <div>Unauthorized:



                                                          This server
                                                          could not
                                                          verify that
                                                          you are
                                                          authorized to
                                                          access the
                                                          document you
                                                          requested.
                                                          Either you
                                                          supplied the
                                                          wrong
                                                          credentials
                                                          (e.g., bad
                                                          password), or
                                                          your browser
                                                          does not
                                                          understand how
                                                          to supply the
                                                          credentials
                                                          required.
                                                          (HTTP 401)</div>
                                                          </div>
                                                          <div>]</div>
                                                          <div><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div>I'm
                                                          including the
                                                          contents of
                                                          the novarc
                                                          file:</div>
                                                          <div>[</div>
                                                          <div>
                                                          <div>NOVA_KEY_DIR=$(pushd




                                                          $(dirname
                                                          $BASH_SOURCE)>/dev/null;
                                                          pwd;
                                                          popd>/dev/null)</div>
                                                          <div> export
                                                          EC2_ACCESS_KEY="afa00c4d-7c1f-4a26-8986-1e291abb4e9d:myproject"</div>
                                                          <div>export
                                                          EC2_SECRET_KEY="e77a7fd0-bd94-4e67-9dc1-75a9ee2da45c"</div>
                                                          <div>export
                                                          EC2_URL="<a
                                                          moz-do-not-send="true"
href="http://172.241.0.101:8773/services/Cloud" target="_blank">http://172.241.0.101:8773/services/Cloud</a>"</div>
                                                          <div>export
                                                          S3_URL="<a
                                                          moz-do-not-send="true"
href="http://172.241.0.101:3333" target="_blank">http://172.241.0.101:3333</a>"</div>
                                                          <div>export
                                                          EC2_USER_ID=42
                                                          # nova does
                                                          not use user
                                                          id, but
                                                          bundling
                                                          requires it</div>
                                                          <div>export
                                                          EC2_PRIVATE_KEY=${NOVA_KEY_DIR}/pk.pem</div>
                                                          <div>export
                                                          EC2_CERT=${NOVA_KEY_DIR}/cert.pem</div>
                                                          <div>export
                                                          NOVA_CERT=${NOVA_KEY_DIR}/cacert.pem</div>
                                                          <div>export
                                                          EUCALYPTUS_CERT=${NOVA_CERT}
                                                          #
                                                          euca-bundle-image
                                                          seems to
                                                          require this
                                                          set</div>
                                                          <div>alias
                                                          ec2-bundle-image="ec2-bundle-image
                                                          --cert
                                                          ${EC2_CERT}
                                                          --privatekey
                                                          ${EC2_PRIVATE_KEY}
                                                          --user 42
                                                          --ec2cert
                                                          ${NOVA_CERT}"</div>
                                                          <div>alias
                                                          ec2-upload-bundle="ec2-upload-bundle
                                                          -a
                                                          ${EC2_ACCESS_KEY}
                                                          -s
                                                          ${EC2_SECRET_KEY}
                                                          --url
                                                          ${S3_URL}
                                                          --ec2cert
                                                          ${NOVA_CERT}"</div>
                                                          <div>export
                                                          NOVA_API_KEY="afa00c4d-7c1f-4a26-8986-1e291abb4e9d"</div>
                                                          <div>export
                                                          NOVA_USERNAME="mauricio"</div>
                                                          <div>export
                                                          NOVA_URL="<a
                                                          moz-do-not-send="true"
href="http://172.241.0.101:8774/v1.0/" target="_blank">http://172.241.0.101:8774/v1.0/</a>"</div>
                                                          </div>
                                                          <div>]</div>
                                                          <div><br>
                                                          </div>
                                                          <div> <br>
                                                          </div>
                                                          <div> Thanks
                                                          in advance for
                                                          your help,</div>
                                                          <div><br>
                                                          </div>
                                                          <font
                                                          color="#888888">
                                                          <div>Mauricio</div>
                                                          <div><br>
                                                          </div>
                                                          </font><br>
                                                          </div>
                                                          </div>
                                                          <div>_______________________________________________<br>
                                                          Mailing list:
                                                          <a
                                                          moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
                                                          Post to     :
                                                          <a
                                                          moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
                                                          Unsubscribe :
                                                          <a
                                                          moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
                                                          More help   :
                                                          <a
                                                          moz-do-not-send="true"
href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
                                                          <br>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                        </div>
                                                        <br>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </blockquote>
                                              </div>
                                              <br>
                                            </div>
                                            <pre><fieldset></fieldset>
_______________________________________________
Mailing list: <a moz-do-not-send="true" href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
Post to     : <a moz-do-not-send="true" href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a moz-do-not-send="true" href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
More help   : <a moz-do-not-send="true" href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
                                          </blockquote>
                                          <br>
                                        </div>
                                      </div>
                                    </div>
                                  </blockquote>
                                </div>
                                <br>
                              </blockquote>
                              <br>
                            </div>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                    <br>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Mailing list: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a>
Post to     : <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a>
More help   : <a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a>
</pre>
      </blockquote>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>