<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Please ignore my email below, and further testing revealed my findings below to be false.</div><div><br></div><div>Regards,</div><div>Ahmed.</div><div><br></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com">ahmed@coraid.com</a>><br><span style="font-weight:bold">Date: </span> Wednesday, October 31, 2012 2:18 PM<br><span style="font-weight:bold">To: </span> Joshua Harlow <<a href="mailto:harlowja@yahoo-inc.com">harlowja@yahoo-inc.com</a>>, Dolph Mathews <<a href="mailto:dolph.mathews@gmail.com">dolph.mathews@gmail.com</a>><br><span style="font-weight:bold">Cc: </span> Joseph Heck <<a href="mailto:Joe.Heck@nebula.com">Joe.Heck@nebula.com</a>>, "<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>" <<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br><span style="font-weight:bold">Subject: </span> Re: [Openstack] Verification of Keystone Installation fails<br></div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>I think I figured out the issue (as far as what env. variables I should have defined), and this is my fault for …mixing steps stated in Section 5 of "Openstack Install for Ubuntu" and Appendix B in the same doc.  It seems defining the env. variable  SERVICE_ENDPOINT
 causes the failure (not sure if this a bug or user misunderstanding/error).</div><div><br></div><div><div>root@bodega:~# env | egrep "OS_|SERVICE_"</div><div>OS_PASSWORD=admin</div><div>OS_AUTH_URL=<a href="http://10.176.20.158:5000/v2.0/">http://10.176.20.158:5000/v2.0/</a></div><div>OS_USERNAME=admin</div><div>OS_TENANT_NAME=openstackDemo</div><div>SERVICE_ENDPOINT=<a href="http://10.176.20.158:35357/v2.0/">http://10.176.20.158:35357/v2.0/</a></div><div>root@bodega:~# </div><div>root@bodega:~# keystone user-list</div><div>Expecting a token provided via either --token or env[SERVICE_TOKEN]</div><div>root@bodega:~# </div></div><div><br></div><div>However,</div><div><br></div><div><div>root@bodega:~# env | egrep "OS_|SERVICE_"</div><div>OS_PASSWORD=admin</div><div>OS_AUTH_URL=<a href="http://10.176.20.158:5000/v2.0/">http://10.176.20.158:5000/v2.0/</a></div><div>OS_USERNAME=admin</div><div>OS_TENANT_NAME=openstackDemo</div><div>root@bodega:~# </div><div>root@bodega:~# keystone user-list</div><div>+----------------------------------+--------+---------+-------+</div><div>|                id                |  name  | enabled | email |</div><div>+----------------------------------+--------+---------+-------+</div><div>| 32cc7b40147c46539212870b371c43f0 | swift  |   True  |       |</div><div>| 4eb5d55edb4141aa9950fc25196bd669 |  nova  |   True  |       |</div><div>| 6744c4637ea64a1e9ce53ea8e945fc0d |  ec2   |   True  |       |</div><div>| aa5449939470460bb21d391c89327b67 | glance |   True  |       |</div><div>| ce016bb05df949ebbafcc7c165359d7c | admin  |   True  |       |</div><div>+----------------------------------+--------+---------+-------+</div><div>root@bodega:~# </div></div><div><br></div><div>I apologize for wasting people's time.  For now, I will move onto next step.</div><div><br></div><div>Regards,</div><div>Ahmed.</div><div> </div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span>Joshua Harlow <<a href="mailto:harlowja@yahoo-inc.com">harlowja@yahoo-inc.com</a>><br><span style="font-weight:bold">Date: </span>Wednesday, October 31, 2012 1:32 PM<br><span style="font-weight:bold">To: </span>Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com">ahmed@coraid.com</a>>, Dolph Mathews <<a href="mailto:dolph.mathews@gmail.com">dolph.mathews@gmail.com</a>><br><span style="font-weight:bold">Cc: </span>Joseph Heck <<a href="mailto:Joe.Heck@nebula.com">Joe.Heck@nebula.com</a>>, "<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>" <<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br><span style="font-weight:bold">Subject: </span>Re: [Openstack] Verification of Keystone Installation fails<br></div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>I think the overall issue is connected to <a href="https://bugs.launchpad.net/keystone/+bug/962600">https://bugs.launchpad.net/keystone/+bug/962600</a></div><div><br></div><div>Right? Seems like that is still happening :-(</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span>Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com">ahmed@coraid.com</a>><br><span style="font-weight:bold">Date: </span>Wednesday, October 31, 2012 1:15 PM<br><span style="font-weight:bold">To: </span>Dolph Mathews <<a href="mailto:dolph.mathews@gmail.com">dolph.mathews@gmail.com</a>><br><span style="font-weight:bold">Cc: </span>Joseph Heck <<a href="mailto:Joe.Heck@nebula.com">Joe.Heck@nebula.com</a>>, "<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>" <<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br><span style="font-weight:bold">Subject: </span>Re: [Openstack] Verification of Keystone Installation fails<br></div><div><br></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hi Dolph,</div><div><br></div><div>Awesome, that worked.  Thank you very much.  Just out of curiosity, what was the exact conflict?   Between which environment variable and option passed to the CLI?</div><div><br></div><div>Regards,</div><div>Ahmed.</div><div><br></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span>Dolph Mathews <<a href="mailto:dolph.mathews@gmail.com">dolph.mathews@gmail.com</a>><br><span style="font-weight:bold">Date: </span>Wednesday, October 31, 2012 10:46 AM<br><span style="font-weight:bold">To: </span>Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com">ahmed@coraid.com</a>><br><span style="font-weight:bold">Cc: </span>"<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>" <<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>>, Joseph Heck <<a href="mailto:Joe.Heck@nebula.com">Joe.Heck@nebula.com</a>><br><span style="font-weight:bold">Subject: </span>Re: [Openstack] Verification of Keystone Installation fails<br></div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div><div>I was able to reproduce by defining SERVICE_ENDPOINT and SERVICE_TOKEN in my own environment, which appear to be overriding the credentials provided on the CLI -- I don't think that's the intended behavior.
<div><br></div><div>If you unset them, you should be able to verify the install.</div><div><br></div><div>If you skip verifying keystone and something is wrong with it, you'll likely find out pretty quick when another service calls keystone for the first time :)<br clear="all"><div><br></div>
-Dolph<br><br><br><div class="gmail_quote">On Wed, Oct 31, 2012 at 12:22 PM, Ahmed Al-Mehdi <span dir="ltr">
<<a href="mailto:ahmed@coraid.com" target="_blank">ahmed@coraid.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div>Hi Dolph,</div><div><br></div><div>Thank you very much for helping me on this issue.  Following is the environment variables related to openstack:</div><div><br></div><div><div>root@bodega:~# env | egrep "OS_|SERVICE_"</div><div>SERVICE_ENDPOINT=<a href="http://10.176.20.158:35357/v2.0/" target="_blank">http://10.176.20.158:35357/v2.0/</a></div><div>SERVICE_TOKEN=012345SECRET99TOKEN012345</div><div>root@bodega:~# ifconfig eth0</div><div>eth0      Link encap:Ethernet  HWaddr 00:1e:67:06:1b:67  </div><div>          inet addr:10.176.20.158  Bcast:10.176.255.255  Mask:255.255.0.0</div><div>          inet6 addr: fe80::21e:67ff:fe06:1b67/64 Scope:Link</div><div>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1</div><div>          RX packets:12760203 errors:0 dropped:0 overruns:0 frame:0</div><div>          TX packets:203944 errors:0 dropped:0 overruns:0 carrier:0</div><div>          collisions:0 txqueuelen:1000 </div><div>          RX bytes:1044985224 (1.0 GB)  TX bytes:22642912 (22.6 MB)</div><div>          Interrupt:16 Memory:b2000000-b2020000 </div><div>root@bodega:~# </div></div><div><br></div><div>I am attaching keystone.conf file.</div><div><br></div><div>Would you happen to know if there is a high level document document on keystone (more than just a user guide, but a architectural/functional doc, but not a API doc).  Something similar to <a href="http://docs.openstack.org/trunk/openstack-identity/admin/os-identity-starter-guide-trunk.pdf" target="_blank">http://docs.openstack.org/trunk/openstack-identity/admin/os-identity-starter-guide-trunk.pdf</a> but
 updated.</div><div><br></div><div>Does my current issue prohibit me from progressing forward with the next steps in the install document, setting up glance, nova, etc.?</div><div><br></div><div>Regards,</div><div>Ahmed.</div><div><br></div><div><br></div><div><br></div><span><div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none"><span style="font-weight:bold">From: </span>Dolph Mathews <<a href="mailto:dolph.mathews@gmail.com" target="_blank">dolph.mathews@gmail.com</a>><br><span style="font-weight:bold">Date: </span>Wednesday, October 31, 2012 9:44 AM<br><span style="font-weight:bold">To: </span>Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com" target="_blank">ahmed@coraid.com</a>><br><span style="font-weight:bold">Cc: </span>"<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>" <<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>><br><span style="font-weight:bold">Subject: </span>Re: [Openstack] Verification of Keystone Installation fails<br></div><div><div class="h5"><div><br></div><blockquote style="BORDER-LEFT:#b5c4df 5 solid;PADDING:0 0 0 5;MARGIN:0 0 0 5"><div><div>The error you're seeing is actually client-side, so there won't be anything in keystone's logs. It indicates that you're not actually authenticating with keystone (and instead bypassing authentication using --token and --endpoint, for example) ... however,
 that's obviously not the case, as you're explicitly providing --os-username, etc.
<div><br></div><div>Unfortunately, I'm not able to reproduce this issue. Can you share your OS_* environment variables? I suspect something there is unexpectedly overriding what you're providing on the CLI... which would be a legitimate bug.<br clear="all"><div><br></div><div>Thanks,</div><div><br></div>
-Dolph<br><br><br><div class="gmail_quote">On Wed, Oct 31, 2012 at 2:08 AM, Ahmed Al-Mehdi <span dir="ltr">
<<a href="mailto:ahmed@coraid.com" target="_blank">ahmed@coraid.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div>Hello,</div><div><br></div><div>I followed the steps in the "OpenStack Install Deploy for Ubuntu" manual to install Keystone.  However, when I issue the commands in section "Verifying the Identity Service Installation" (
<a href="http://docs.openstack.org/trunk/openstack-compute/install/apt/content/verifying-identity-install.html" target="_blank">
http://docs.openstack.org/trunk/openstack-compute/install/apt/content/verifying-identity-install.html</a> ), I am getting the following error:</div><div><br></div><div><div># keystone --os-username=admin --os-password=admin  --os-auth-url=<a href="http://10.176.20.158:35357/v2.0" target="_blank">http://10.176.20.158:35357/v2.0</a> token-get</div><div>'Client' object has no attribute 'service_catalog'</div></div><div><br></div><div>I don't see any additional info in keystone.log.  Can someone please help me.</div><div><br></div><div>Thank you,</div><div>Ahmed.</div><div><br></div></div><br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br><br></blockquote></div><br></div></div></div></blockquote></div></div></span></div></blockquote></div><br></div></div></div></blockquote></span></div></div></span></div></div></blockquote></span></div></div></blockquote></span></body></html>