<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>Hi Marc -</div>
<div><br>
</div>
<div>service_host points to the service (Nova in this case). This is only used if you're running the auth middleware on a separate server (that's an advanced configuration for being able to scale out in the future). However, even if you set that incorrectly
 to the Keystone server, it probably was not used. That setting is only used if you load the auth_token.py middleware as a standalone app (instead of as a wsgi filter – see line 296 of auth_token.py)</div>
<div><br>
</div>
<div>To troubleshoot Keystone, can you try making curl calls to your keystone server to make sure it is working? Sample curls calls are in the read me file (on github).</div>
<div><br>
</div>
<div>Z</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>Marc Peiser <<a href="mailto:marc@itmatter.co.za">marc@itmatter.co.za</a>><br>
<span style="font-weight:bold">Date: </span>Mon, 1 Aug 2011 15:31:49 +0200<br>
<span style="font-weight:bold">To: </span><<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br>
<span style="font-weight:bold">Subject: </span>[Openstack] Getting keystone to work with nova/glance<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi there,
<div><br>
</div>
<div>I've installed keystone on a separate server with the sample data provided by the sampledata.sh script, I edited the endpoint templates to match my environment. I think I managed to get swift working using keystone but am not having the same luck with
 nova. Since keystone is installed on another server and not the same server as nova or swift I'm not 100% sure on the steps I need to take to add keystone support to nova. This is what I've done do far (note. nova is installed using the ppa repository):</div>
<div><br>
</div>
<div><!--?xml version="1.0" encoding="UTF-8" standalone="no"?-->
<div style="font-family: Arial; "><span class="Apple-style-span" style="font-size: 12px; white-space: pre; color: rgb(68, 68, 68); font-family: 'Bitstream Vera Sans Mono', Courier, monospace; "><code style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; font: normal normal normal 12px/normal 'Bitstream Vera Sans Mono', Courier, monospace; font-size: 12px !important; background-color: rgb(238, 238, 238) !important; color: rgb(68, 68, 68) !important; border-top-width: 1px !important; border-right-width: 1px !important; border-bottom-width: 1px !important; border-left-width: 1px !important; border-top-style: none !important; border-right-style: none !important; border-bottom-style: none !important; border-left-style: none !important; border-top-color: rgb(222, 222, 222) !important; border-right-color: rgb(222, 222, 222) !important; border-bottom-color: rgb(222, 222, 222) !important; border-left-color: rgb(222, 222, 222) !important; border-width: initial !important; border-color: initial !important; ">cd
 /opt</code></span></div>
<div style="font-family: Arial; ">git clone <a href="https://github.com/openstack/keystone.git">https://github.com/openstack/keystone.git</a><span class="Apple-style-span" style="font-size: 12px; white-space: pre; color: rgb(68, 68, 68); font-family: 'Bitstream Vera Sans Mono', Courier, monospace; "><code style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; font: normal normal normal 12px/normal 'Bitstream Vera Sans Mono', Courier, monospace; font-size: 12px !important; background-color: rgb(238, 238, 238) !important; border-top-width: 1px !important; border-right-width: 1px !important; border-bottom-width: 1px !important; border-left-width: 1px !important; border-top-style: none !important; border-right-style: none !important; border-bottom-style: none !important; border-left-style: none !important; border-top-color: rgb(222, 222, 222) !important; border-right-color: rgb(222, 222, 222) !important; border-bottom-color: rgb(222, 222, 222) !important; border-left-color: rgb(222, 222, 222) !important; border-width: initial !important; border-color: initial !important; color: rgb(68, 68, 68) !important; "><br>
</code></span></div>
<div style="font-family: Arial; "><span class="Apple-style-span" style="font-size: 12px; white-space: pre; color: rgb(68, 68, 68); font-family: 'Bitstream Vera Sans Mono', Courier, monospace; "><code style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; font: normal normal normal 12px/normal 'Bitstream Vera Sans Mono', Courier, monospace; font-size: 12px !important; background-color: rgb(238, 238, 238) !important; border-top-width: 1px !important; border-right-width: 1px !important; border-bottom-width: 1px !important; border-left-width: 1px !important; border-top-style: none !important; border-right-style: none !important; border-bottom-style: none !important; border-left-style: none !important; border-top-color: rgb(222, 222, 222) !important; border-right-color: rgb(222, 222, 222) !important; border-bottom-color: rgb(222, 222, 222) !important; border-left-color: rgb(222, 222, 222) !important; border-width: initial !important; border-color: initial !important; color: rgb(68, 68, 68) !important; ">cd
 /usr/lib/pymodules/python2.6/nova<br>
</code></span></div>
<div style="font-family: Arial; "><span class="Apple-style-span" style="font-size: 12px; white-space: pre; color: rgb(68, 68, 68); font-family: 'Bitstream Vera Sans Mono', Courier, monospace; "><code style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; font: normal normal normal 12px/normal 'Bitstream Vera Sans Mono', Courier, monospace; font-size: 12px !important; background-color: rgb(238, 238, 238) !important; border-top-width: 1px !important; border-right-width: 1px !important; border-bottom-width: 1px !important; border-left-width: 1px !important; border-top-style: none !important; border-right-style: none !important; border-bottom-style: none !important; border-left-style: none !important; border-top-color: rgb(222, 222, 222) !important; border-right-color: rgb(222, 222, 222) !important; border-bottom-color: rgb(222, 222, 222) !important; border-left-color: rgb(222, 222, 222) !important; border-width: initial !important; border-color: initial !important; color: rgb(68, 68, 68) !important; ">ln
 -s /opt/keystone/keystone keystone<br>
</code></span></div>
<div style="font-family: Arial; "><span class="Apple-style-span" style="font-size: 12px; white-space: pre; color: rgb(68, 68, 68); font-family: 'Bitstream Vera Sans Mono', Courier, monospace; "><code style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; font: normal normal normal 12px/normal 'Bitstream Vera Sans Mono', Courier, monospace; font-size: 12px !important; background-color: rgb(238, 238, 238) !important; border-top-width: 1px !important; border-right-width: 1px !important; border-bottom-width: 1px !important; border-left-width: 1px !important; border-top-style: none !important; border-right-style: none !important; border-bottom-style: none !important; border-left-style: none !important; border-top-color: rgb(222, 222, 222) !important; border-right-color: rgb(222, 222, 222) !important; border-bottom-color: rgb(222, 222, 222) !important; border-left-color: rgb(222, 222, 222) !important; border-width: initial !important; border-color: initial !important; color: rgb(68, 68, 68) !important; ">cd
 /opt/keystone</code></span></div>
<div style="font-family: Arial; "><span class="Apple-style-span" style="font-size: 12px; white-space: pre; color: rgb(68, 68, 68); font-family: 'Bitstream Vera Sans Mono', Courier, monospace; "><code style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; font: normal normal normal 12px/normal 'Bitstream Vera Sans Mono', Courier, monospace; font-size: 12px !important; background-color: rgb(238, 238, 238) !important; color: rgb(68, 68, 68) !important; border-top-width: 1px !important; border-right-width: 1px !important; border-bottom-width: 1px !important; border-left-width: 1px !important; border-top-style: none !important; border-right-style: none !important; border-bottom-style: none !important; border-left-style: none !important; border-top-color: rgb(222, 222, 222) !important; border-right-color: rgb(222, 222, 222) !important; border-bottom-color: rgb(222, 222, 222) !important; border-left-color: rgb(222, 222, 222) !important; border-width: initial !important; border-color: initial !important; ">python
<a href="http://setup.py/">setup.py</a> develop</code></span></div>
</div>
<div>cp examples/paste/nova-api-paste.ini /etc/nova/api-paste.ini (modify service_host & auth_host to point to my keystone server)</div>
<div>restart nova services.</div>
<div><br>
</div>
<div>Now I'm not sure what to do from here, 'nova-manage user list' still shows old users that I used in nova, nothing from keystone? How do I generate novarc file for users from keystone?</div>
<div><br>
</div>
<div>And I can't find any help for glance/keystone integration?</div>
<div><br>
</div>
<div>Thank you.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Marc</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
_______________________________________________ Mailing list: <a href="https://launchpad.net/~openstack">
https://launchpad.net/~openstack</a> Post to : <a href="mailto:openstack@lists.launchpad.net">
openstack@lists.launchpad.net</a> Unsubscribe : <a href="https://launchpad.net/~openstack">
https://launchpad.net/~openstack</a> More help : <a href="https://help.launchpad.net/ListHelp">
https://help.launchpad.net/ListHelp</a> </span>
<font face="monospace">This email may include confidential information. If you received it in error, please delete it.</font></body>
</html>