<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">Seems like keystone rejecting cinder.
      Recheck/recreate user, service and endpoint, and check the config
      of cinter to match credentials in keystone_auth section.<br>
      <br>
      On 24.11.2013 02:05, Karan Singh wrote:<br>
    </div>
    <blockquote
      cite="mid:r95u8wo2epsjln46u4dfi36r.1385251374500@email.android.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      Please help I am in urgent need<br>
      <br>
      <br>
      -------- Original message --------<br>
      From: Karan Singh <a class="moz-txt-link-rfc2396E" href="mailto:ksingh@csc.fi"><ksingh@csc.fi></a> <br>
      Date: 23/11/2013 18:24 (GMT+02:00) <br>
      To: <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a> <br>
      Subject: Error with Cinder **Need Urgent help** HIGH PRIORITY <br>
      <br>
      <br>
      <div style="font-family: times new roman, new york, times, serif;
        font-size: 10pt; color: #000000">
        <div><span style="font-size: 10pt;">Hello Openstack Community
            Members.</span></div>
        <div
style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
          <div style="font-family: times new roman, new york, times,
            serif; font-size: 10pt; color: #000000">
            <div><br>
            </div>
            <div>I need your quick support on my issue related to
              Cinder. </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><strong>1 . Error Logs from cinder/api.log</strong></div>
            <div><br>
            </div>
            <div>
              <p style="margin: 0px;">2013-11-23 18:08:02.037 29478 INFO
                urllib3.connectionpool [-] Starting new HTTP connection
                (1): 127.0.0.1<br>
                2013-11-23 18:08:02.100 29478 WARNING
                keystoneclient.middleware.auth_token [-] Unexpected
                response from keystone service: {u'error': {u'message':
                u'The request you have made requires authentication.',
                u'code': 401, u'title': u'Unauthorized'}}<br>
                2013-11-23 18:08:02.101 29478 WARNING
                keystoneclient.middleware.auth_token [-] Authorization
                failed for token d675640b9346a631549c85c156159fb9<br>
                2013-11-23 18:08:02.102 29478 INFO
                keystoneclient.middleware.auth_token [-] Invalid user
                token - rejecting request<br>
                2013-11-23 18:08:02.362 29478 INFO
                urllib3.connectionpool [-] Starting new HTTP connection
                (1): 127.0.0.1<br>
                2013-11-23 18:08:02.434 29478 WARNING
                keystoneclient.middleware.auth_token [-] Unexpected
                response from keystone service: {u'error': {u'message':
                u'The request you have made requires authentication.',
                u'code': 401, u'title': u'Unauthorized'}}<br>
                2013-11-23 18:08:02.435 29478 WARNING
                keystoneclient.middleware.auth_token [-] Authorization
                failed for token 03aee2508b2c4132a9c23b382c6ba284<br>
                2013-11-23 18:08:02.435 29478 INFO
                keystoneclient.middleware.auth_token [-] Invalid user
                token - rejecting request</p>
              <p style="margin: 0px;"><br>
              </p>
              <p style="margin: 0px;"><br>
              </p>
              <p style="margin: 0px;"><strong>2 . Errors from cinder
                  list command output </strong></p>
              <p style="margin: 0px;">[root@rdo cinder]# cinder list</p>
              <p style="margin: 0px;">ERROR: Unauthorized (HTTP 401)<br>
                [root@rdo cinder]#</p>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><strong>3. Output from cinder/api-paste.ini</strong></div>
            <div><br>
            </div>
            <div>
              <p style="margin: 0px;">[filter:keystonecontext]<br>
                paste.filter_factory =
                cinder.api.middleware.auth:CinderKeystoneContext.factory</p>
              <p style="margin: 0px;">[filter:authtoken]<br>
                paste.filter_factory =
                keystoneclient.middleware.auth_token:filter_factory<br>
                service_protocol = http<br>
                service_host = 127.0.0.1<br>
                service_port = 5000<br>
                signing_dir = /var/lib/cinder</p>
              <p style="margin: 0px;">auth_host = 127.0.0.1<br>
                auth_port = 35357<br>
                auth_protocol = http<br>
                admin_tenant_name = services<br>
                admin_user = cinder<br>
                admin_password = root<br>
                auth_uri = <a moz-do-not-send="true"
                  href="http://127.0.0.1:5000/" target="_blank">http://127.0.0.1:5000/</a></p>
              <p style="margin: 0px;"><br>
              </p>
              <p style="margin: 0px;"><br>
              </p>
              <p style="margin: 0px;"><strong>4. Output from
                  cinder/cinder.conf</strong></p>
              <p style="margin: 0px;"><br>
              </p>
              <p style="margin: 0px;">rootwrap_config=/etc/cinder/rootwrap.conf<br>
                sql_connection = mysql://cinder:root@localhost/cinder<br>
                api_paste_config = /etc/cinder/api-paste.ini</p>
              <p style="margin: 0px;">iscsi_helper=tgtadm<br>
                volume_name_template = volume-%s<br>
                volume_group = cinder-volumes<br>
                verbose = True<br>
                auth_strategy = keystone<br>
                #osapi_volume_listen_port=5900<br>
                [keystone_authtoken]<br>
                admin_tenant_name = services<br>
                admin_user = cinder<br>
                admin_password = root<br>
                auth_host = 127.0.0.1<br>
                auth_port = 35357<br>
                auth_protocol = http<br>
                signing_dirname = /tmp/keystone-signing-cinder</p>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>5. All the components from Horizon web interface works
              fine except , VOLUME ( cinder component ) , as soon as i
              click on volume it throws errors  <strong>Error:
                Unauthorised: Unable to retrieve volume list.  Error:
                Unauthorised: Unable to retrieve volume types</strong></div>
            <div><br>
            </div>
            <div>6. Keystone has cinder user</div>
            <div><br>
            </div>
            <div>
              <p style="margin: 0px;">[root@rdo cinder]# keystone
                user-list<br>
+----------------------------------+------------+---------+----------------------+<br>
                | id | name | enabled | email |<br>
+----------------------------------+------------+---------+----------------------+<br>
                | 99f8019ba2694d78a680a5de46aa1afd | admin | True |
                <a class="moz-txt-link-abbreviated" href="mailto:test@test.com">test@test.com</a> |<br>
                | ee6de67df5bf4498bd477e2a973f393f | alt_demo | True | |<br>
                | f632591a717c4f9b91c4ebfdc8eb86ef | ceilometer | True |
                ceilometer@localhost |<br>
                | be199f4da0e84abb9f0ca069f0a4b408 | cinder | True |
                <a class="moz-txt-link-abbreviated" href="mailto:cinder@localhost.com">cinder@localhost.com</a> |<br>
                | 79071cdc981d4f5787a8d1abebac7eec | demo | True | |<br>
                | 8d8d4107a72d4cdd838f3cc8f643a0f2 | glance | True |
                glance@localhost |<br>
                | 901d979b861d45ada359252da45082f6 | neutron | True |
                neutron@localhost |<br>
                | 0e371ae93dce4ea392224354929c8257 | nova | True |
                nova@localhost |<br>
                | 069624d0554a432bb1f57629bde6ebc8 | swift | True |
                swift@localhost |<br>
+----------------------------------+------------+---------+----------------------+<br>
                [root@rdo cinder]#</p>
              <p style="margin: 0px;"><br>
              </p>
              <p style="margin: 0px;">7. I am able to connect to mysql
                db  with user cinder and password ( root )</p>
              <p style="margin: 0px;"><br>
              </p>
              <p style="margin: 0px;">[root@rdo cinder]# mysql -u cinder
                -p<br>
                Enter password:<br>
                Welcome to the MySQL monitor. Commands end with ; or \g.<br>
                Your MySQL connection id is 1230<br>
                Server version: 5.1.69 Source distribution</p>
              <p style="margin: 0px;">Copyright (c) 2000, 2013, Oracle
                and/or its affiliates. All rights reserved.</p>
              <p style="margin: 0px;">Oracle is a registered trademark
                of Oracle Corporation and/or its<br>
                affiliates. Other names may be trademarks of their
                respective<br>
                owners.</p>
              <p style="margin: 0px;">Type 'help;' or '\h' for help.
                Type '\c' to clear the current input statement.</p>
              <p style="margin: 0px;">mysql></p>
              <p style="margin: 0px;"><br>
              </p>
              <p style="margin: 0px;">I have set up openstack using RDO
                , i tried all  possible ways but cinder ( volumes ) are
                not working , except everything works well , please
                advise a solution ASAP , i am on a very tight deadline.</p>
              <p style="margin: 0px;"><br>
              </p>
              <p style="margin: 0px;">Waiting for your quick responses.</p>
            </div>
            <div><br>
            </div>
            <div><span></span>Karan Singh<br>
              CSC - IT Center for Science Ltd.<br>
              P.O. Box 405, FI-02101 Espoo, FINLAND<br>
              <a class="moz-txt-link-freetext" href="http://www.csc.fi/">http://www.csc.fi/</a> | +358 (0) 503 812758<span></span><br>
            </div>
            <div><br>
            </div>
          </div>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>