<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Karan,<br>
<br>
<div>I faced a similar issue earlier. I was able to resolve this by doing the following:<br>
1. Changing the values of url's pointing to keystone from localhost/127.0.0.1 to Machine IP address. Restart cinder service.<br>
<br>
2.If this does not work. Then replace all the kesytone related config variables (like tenant_name, user_name, password) with the values in keystonerc_admin file created after installation, in both api-paste.ini and cinder.conf file, restart the services and
then try.<br>
<br>
<div style="font-family:Tahoma; font-size:13px">
<div><font face="Tahoma" size="2"><br>
</font>
<div style="margin:0pt"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"></span></font></div>
<div style="margin:0pt"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Times New Roman,serif" size="2"><span style="font-size:10pt">Regards,</span></font></span></font></div>
<div style="margin:0pt"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Times New Roman,serif" size="2"><span style="font-size:10pt">Sushma Korati
<br>
</span></font></span></font></div>
<div style="margin:0pt"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Times New Roman,serif" size="2"><span style="font-size:10pt">sushma_korati@persistent.co.in |
<br>
</span></font></span></font></div>
<div style="margin:0pt"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Times New Roman,serif" size="2"><span style="font-size:10pt">Persistent Systems Ltd.
</span></font><font face="Times New Roman,serif" size="2" color="#F79646"><span style="font-size:10pt">|
</span></font><font face="Times New Roman,serif" size="2" color="#E36C0A"><span style="font-size:10pt">Partners in Innovation</span></font><font face="Times New Roman,serif" size="2"><span style="font-size:10pt"> | www.persistentsys.com</span></font></span></font></div>
<div style="margin:0pt"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Webdings" size="6" color="green"><span style="font-size:24pt" lang="nl">P</span></font><font face="Arial,sans-serif" size="1" color="navy"><span style="font-size:8pt" lang="nl">
</span></font><font face="Arial,sans-serif" size="1" color="green"><span style="font-size:8pt" lang="en-GB">Please consider your environmental responsibility: Before printing this e-mail or any other document, ask yourself whether you need a hard copy.</span></font></span></font></div>
<br>
<font face="Tahoma" size="2"><br>
<font face="Comic Sans MS"><b><span style="font-size:9pt; color:rgb(31,73,125); font-family:'Calibri','sans-serif'"></span></b></font></font></div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF853119"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Karan Singh [ksingh@csc.fi]<br>
<b>Sent:</b> Sunday, November 24, 2013 8:06 PM<br>
<b>To:</b> Sushma Korati<br>
<b>Cc:</b> openstack@lists.openstack.org<br>
<b>Subject:</b> Re: Error with Cinder **Need Urgent help** HIGH PRIORITY<br>
</font><br>
</div>
<div></div>
<div>
<div style="font-family:times new roman,new york,times,serif; font-size:10pt; color:#000000">
<div>
<div style="font-size:10pt; direction:ltr; font-family:Tahoma">Hello Sushma</div>
<div style="font-size:10pt; direction:ltr; font-family:Tahoma"><br>
</div>
<div style="font-size:10pt; direction:ltr; font-family:Tahoma">I have tried changing auth_uri and auth_host before by localhost / server real IP address but no luck.</div>
<div style="font-size:10pt; direction:ltr; font-family:Tahoma"><br>
</div>
<div style="font-size:10pt; direction:ltr; font-family:Tahoma">What has to modify in keystone urls , i have same machine running keystone service.</div>
<div style="font-size:10pt; direction:ltr; font-family:Tahoma"><br>
</div>
<div style="font-size:10pt; direction:ltr; font-family:Tahoma">Regards</div>
<div style="font-size:10pt; direction:ltr; font-family:Tahoma">karan</div>
<div style="font-size:10pt; direction:ltr; font-family:Tahoma"><br>
</div>
<div style="font-size:10pt; direction:ltr; font-family:Tahoma"><br>
</div>
<div style="font-size:10pt; direction:ltr; font-family:Tahoma"><br>
</div>
<div style="font-size:10pt; direction:ltr; font-family:Tahoma"><br>
</div>
<div style="font-size:10pt; direction:ltr; font-family:Tahoma"><br>
Hi Karan,<br>
<br>
Change the values of "<span face="times new roman,new york,times,serif" size="2" color="black" style="color:black; font-family:'times new roman','new york',times,serif; font-size:small"><span style="font-size:10pt">auth_uri = <span class="Object" id="OBJ_PREFIX_DWT290_com_zimbra_url" style="color:#336699"><a href="http://127.0.0.1:5000/" style="color:#336699; text-decoration:none" target="_blank">http://127.0.0.1:5000/</a></span>, </span></span><span face="times new roman,new york,times,serif" size="2" color="black" style="color:black; font-family:'times new roman','new york',times,serif; font-size:small"><span style="font-size:10pt"><span face="Helvetica,Arial,sans-serif" size="3" style="font-family:Helvetica,Arial,sans-serif; font-size:medium"><span style="font-size:12pt"><span face="times new roman,new york,times,serif" size="2" style="font-family:'times new roman','new york',times,serif; font-size:small"><span style="font-size:10pt">auth_host
= 127.0.0.1" <span face="Tahoma" style="font-family:Tahoma">in cinder/api-paste.ini and cinder.conf and then try once.<br>
</span></span></span></span></span></span></span>
<div>1. Update the cinder.conf and cinder/api-paste.ini file. Modify keystone related urls to point to a machine where keystone service is running.<br>
2. Restart cinder services.<br>
3. Try executing cinder commands.<br>
<br>
<div style="font-size:13px"><span face="Tahoma" size="2" style="font-family:Tahoma; font-size:small"><br>
</span>
<div style="margin:0pt"><br>
</div>
<div style="margin:0pt"><span face="Calibri,sans-serif" size="2" style="font-family:Calibri,sans-serif; font-size:small"><span style="font-size:11pt"><span face="Times New Roman,serif" size="2" style="font-family:'Times New Roman',serif; font-size:small"><span style="font-size:10pt">Regards,</span></span></span></span></div>
<div style="margin:0pt"><span face="Calibri,sans-serif" size="2" style="font-family:Calibri,sans-serif; font-size:small"><span style="font-size:11pt"><span face="Times New Roman,serif" size="2" style="font-family:'Times New Roman',serif; font-size:small"><span style="font-size:10pt">Sushma
Korati <br>
</span></span></span></span></div>
<div style="margin:0pt"><span face="Calibri,sans-serif" size="2" style="font-family:Calibri,sans-serif; font-size:small"><span style="font-size:11pt"><span face="Times New Roman,serif" size="2" style="font-family:'Times New Roman',serif; font-size:small"><span style="font-size:10pt"><span class="Object" id="OBJ_PREFIX_DWT291_com_zimbra_email" style="color:#336699">sushma_korati@persistent.co.in</span> |</span></span></span></span></div>
<div style="margin:0pt"><span face="Calibri,sans-serif" size="2" style="font-family:Calibri,sans-serif; font-size:small"><span style="font-size:11pt"><span face="Times New Roman,serif" size="2" style="font-family:'Times New Roman',serif; font-size:small"><span style="font-size:10pt">Persistent
Systems Ltd. </span></span><span face="Times New Roman,serif" size="2" color="#F79646" style="color:#f79646; font-family:'Times New Roman',serif; font-size:small"><span style="font-size:10pt">| </span></span><span face="Times New Roman,serif" size="2" color="#E36C0A" style="color:#e36c0a; font-family:'Times New Roman',serif; font-size:small"><span style="font-size:10pt">Partners
in Innovation</span></span><span face="Times New Roman,serif" size="2" style="font-family:'Times New Roman',serif; font-size:small"><span style="font-size:10pt"> | <span class="Object" id="OBJ_PREFIX_DWT292_com_zimbra_url" style="color:#336699"><a href="http://www.persistentsys.com/" style="color:#336699; text-decoration:none" target="_blank">www.persistentsys.com</a></span></span></span></span></span></div>
<div style="margin:0pt"><span face="Calibri,sans-serif" size="2" style="font-family:Calibri,sans-serif; font-size:small"><span style="font-size:11pt"><span face="Webdings" size="6" color="green" style="color:green; font-family:Webdings; font-size:xx-large"><span style="font-size:24pt" lang="nl">P</span></span><span face="Arial,sans-serif" size="1" color="navy" style="color:navy; font-family:Arial,sans-serif; font-size:xx-small"><span style="font-size:8pt" lang="nl"> </span></span><span face="Arial,sans-serif" size="1" color="green" style="color:green; font-family:Arial,sans-serif; font-size:xx-small"><span style="font-size:8pt" lang="en-GB">Please
consider your environmental responsibility: Before printing this e-mail or any other document, ask yourself whether you need a hard copy.</span></span></span></span></div>
<br>
<span face="Tahoma" size="2" style="font-family:Tahoma; font-size:small"><br>
<span face="Comic Sans MS" style="font-family:'Comic Sans MS'"><b><span style="font-size:9pt; color:#1f497d; font-family:Calibri,sans-serif"></span></b></span></span></div>
</div>
<div style="font-family:'Times New Roman'; font-size:16px">
<hr>
<div id="divRpF353973" style="direction:ltr"><span face="Tahoma" size="2" color="#000000" style="color:#000000; font-family:Tahoma; font-size:small"><b>From:</b> Karan Singh [<span class="Object" id="OBJ_PREFIX_DWT293_com_zimbra_email" style="color:#336699">karan.singh@csc.fi</span>]<br>
<b>Sent:</b> <span class="Object" id="OBJ_PREFIX_DWT294_com_zimbra_date" style="color:#336699">Sunday, November 24</span>, 2013 5:35 AM<br>
<b>To:</b> <span class="Object" id="OBJ_PREFIX_DWT295_com_zimbra_email" style="color:#336699">openstack@lists.openstack.org</span><br>
<b>Subject:</b> Re: [Openstack] Error with Cinder **Need Urgent help** HIGH PRIORITY<br>
</span></div>
<div><br>
</div>
<div>Please help I am in urgent need<br>
<br>
<br>
-------- Original message --------<br>
From: Karan Singh <<span class="Object" id="OBJ_PREFIX_DWT296_com_zimbra_email" style="color:#336699">ksingh@csc.fi</span>> <br>
Date: 23/11/2013 18:24 (GMT+02:00) <br>
To: <span class="Object" id="OBJ_PREFIX_DWT297_com_zimbra_email" style="color:#336699">openstack@lists.openstack.org</span> <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">
<div><span style="font-size:10pt">Hello Openstack Community Members.</span></div>
<div style="font-family:Helvetica,Arial,sans-serif; font-size:12pt">
<div style="font-family:'times new roman','new york',times,serif; font-size:10pt">
<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"><span class="Object" id="OBJ_PREFIX_DWT298_com_zimbra_date" style="color:#336699">2013-11-23</span> 18:08:02.037 29478 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 127.0.0.1<br>
<span class="Object" id="OBJ_PREFIX_DWT299_com_zimbra_date" style="color:#336699">2013-11-23</span> 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>
<span class="Object" id="OBJ_PREFIX_DWT300_com_zimbra_date" style="color:#336699">2013-11-23</span> 18:08:02.101 29478 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token d675640b9346a631549c85c156159fb9<br>
<span class="Object" id="OBJ_PREFIX_DWT301_com_zimbra_date" style="color:#336699">2013-11-23</span> 18:08:02.102 29478 INFO keystoneclient.middleware.auth_token [-] Invalid user token - rejecting request<br>
<span class="Object" id="OBJ_PREFIX_DWT302_com_zimbra_date" style="color:#336699">2013-11-23</span> 18:08:02.362 29478 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 127.0.0.1<br>
<span class="Object" id="OBJ_PREFIX_DWT303_com_zimbra_date" style="color:#336699">2013-11-23</span> 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>
<span class="Object" id="OBJ_PREFIX_DWT304_com_zimbra_date" style="color:#336699">2013-11-23</span> 18:08:02.435 29478 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token 03aee2508b2c4132a9c23b382c6ba284<br>
<span class="Object" id="OBJ_PREFIX_DWT305_com_zimbra_date" style="color:#336699">2013-11-23</span> 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 = <span class="Object" id="OBJ_PREFIX_DWT306_com_zimbra_url" style="color:#336699"><a href="http://127.0.0.1:5000/" style="color:#336699; text-decoration:none" target="_blank">http://127.0.0.1:5000/</a></span></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 | <span class="Object" id="OBJ_PREFIX_DWT307_com_zimbra_email" style="color:#336699">test@test.com</span> |<br>
| ee6de67df5bf4498bd477e2a973f393f | alt_demo | True | |<br>
| f632591a717c4f9b91c4ebfdc8eb86ef | ceilometer | True | ceilometer@localhost |<br>
| be199f4da0e84abb9f0ca069f0a4b408 | cinder | True | <span class="Object" id="OBJ_PREFIX_DWT308_com_zimbra_email" style="color:#336699">cinder@localhost.com</span> |<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>Karan Singh<br>
CSC - IT Center for Science Ltd.<br>
P.O. Box 405, FI-02101 Espoo, FINLAND<br>
<span class="Object" id="OBJ_PREFIX_DWT309_com_zimbra_url" style="color:#336699"><a href="http://www.csc.fi/" style="color:#336699; text-decoration:none" target="_blank">http://www.csc.fi/</a></span> | +358 (0) 503 812758</div>
<div><br>
</div>
</div>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
<p style="margin:0px; font-family:Times">DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed.
If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems
Ltd. does not accept any liability for virus infected mails.</p>
</div>
</div>
</div>
</div>
</div>
<p>DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
</p>
</body>
</html>