<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">Hello, <br>
      <br>
      Ok, answers inline... <br>
      <br>
      On 2/14/2014 4:28 PM, Staicu Gabriel wrote:<br>
    </div>
    <blockquote
      cite="mid:1392413296.18667.YahooMailNeo@web122603.mail.ne1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:10pt">
        <div><span>Hi,</span></div>
        <div style="color: rgb(0, 0, 0); font-size: 13.3333px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;"><br>
          <span></span></div>
        <div style="color: rgb(0, 0, 0); font-size: 13.3333px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;"><span>Can
            you give more information?</span></div>
        <div style="color: rgb(0, 0, 0); font-size: 13.3333px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;"><span>- is
            mysql running?</span></div>
      </div>
    </blockquote>
    <blockquote
      cite="mid:1392413296.18667.YahooMailNeo@web122603.mail.ne1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:10pt">
        <div style="color: rgb(0, 0, 0); font-size: 13.3333px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;"><span>-
            can you connect to mysql from db host and from controller
            node?<br>
          </span></div>
        <div style="color: rgb(0, 0, 0); font-size: 13.3333px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;"><span>-
            who and what access rights are on keystone db?<br>
          </span></div>
      </div>
    </blockquote>
    <br>
    From the controller host (10.255.2.134), from command line, I can
    access the standalone DB host(10.255.2.47), using mysql keystone
    user and passwd, and see the DB contents, such as the "user" table
    data. <br>
    <br>
    <blockquote
      cite="mid:1392413296.18667.YahooMailNeo@web122603.mail.ne1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:10pt">
        <div style="color: rgb(0, 0, 0); font-size: 13.3333px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;"><span>- is
            keystone service running?</span></div>
      </div>
    </blockquote>
    keystone service is running on the controller node. <br>
    <br>
    <blockquote
      cite="mid:1392413296.18667.YahooMailNeo@web122603.mail.ne1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:10pt">
        <div style="color: rgb(0, 0, 0); font-size: 13.3333px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;"><span>-
            content of the /var/log/keystone?</span></div>
      </div>
    </blockquote>
    <br>
    Please see attachment.<br>
    <br>
    <blockquote
      cite="mid:1392413296.18667.YahooMailNeo@web122603.mail.ne1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:10pt">
        <div style="color: rgb(0, 0, 0); font-size: 13.3333px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;"><span>-
            output of the "keystone --debug user-list"?</span></div>
      </div>
    </blockquote>
    <br>
    $ keystone --debug user-list <br>
    REQ: curl -i <a class="moz-txt-link-freetext" href="http://10.255.2.134:35357/v2.0/tokens">http://10.255.2.134:35357/v2.0/tokens</a> -X POST -H
    "Content-Type: application/json" -H "User-Agent:
    python-keystoneclient"<br>
    REQ BODY: {"auth": {"tenantName": "bnlcloud", "passwordCredentials":
    {"username": "xzhao", "password": "passwd"}}}<br>
    <br>
    Authorization Failed: HTTPConnectionPool(host='10.255.2.134',
    port=35357): Request timed out. (timeout=600.0)<br>
    <br>
    Thanks,<br>
    Xin<br>
    <br>
    <blockquote
      cite="mid:1392413296.18667.YahooMailNeo@web122603.mail.ne1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:10pt">
        <div style="color: rgb(0, 0, 0); font-size: 13.3333px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;"><br>
          <span></span></div>
        <div style="color: rgb(0, 0, 0); font-size: 13.3333px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;"><span>Regards,</span></div>
        <div style="color: rgb(0, 0, 0); font-size: 13.3333px;
          font-family: HelveticaNeue,Helvetica
          Neue,Helvetica,Arial,Lucida Grande,sans-serif;
          background-color: transparent; font-style: normal;"><span>Gabriel<br>
          </span></div>
        <div style="display: block;" class="yahoo_quoted"> <br>
          <br>
          <div style="font-family: HelveticaNeue, Helvetica Neue,
            Helvetica, Arial, Lucida Grande, sans-serif; font-size:
            10pt;">
            <div style="font-family: HelveticaNeue, Helvetica Neue,
              Helvetica, Arial, Lucida Grande, sans-serif; font-size:
              12pt;">
              <div dir="ltr"> <font face="Arial" size="2"> On Friday,
                  February 14, 2014 10:15 PM, Xin Zhao
                  <a class="moz-txt-link-rfc2396E" href="mailto:xzhao@bnl.gov"><xzhao@bnl.gov></a> wrote:<br>
                </font> </div>
              <div class="y_msg_container">Hello,<br>
                <br>
                I would like to use a mysql DB, from its own host, and
                have all <br>
                openstack daemons talk to it.  So I set up one mysql DB,
                dump and reload <br>
                the current running DB to it,  changed the sql
                "connection" setting in <br>
                the keystone config file to point to the new ip, restart
                keystone <br>
                service, but it doesn't seem to work. The commands like
                "keystone <br>
                user-list" hang and eventually times out.<br>
                <br>
                Do I miss something here?<br>
                <br>
                Thanks,<br>
                Xin<br>
                <br>
                _______________________________________________<br>
                Mailing list: <a moz-do-not-send="true"
                  href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
                  target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
                Post to    : <a moz-do-not-send="true"
                  ymailto="mailto:openstack@lists.openstack.org"
                  href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
                Unsubscribe : <a moz-do-not-send="true"
                  href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
                  target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
                <br>
                <br>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>