<div dir="ltr"><div><div>Hey everyone,<br></div>Thanks again for the help, I was able to resolve the issue by redoing the entire installation. <br><br></div>Thanks <br>Tyler<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Mar 21, 2013 at 3:37 PM, Tyler North <span dir="ltr"><<a href="mailto:tylern@pistoncloud.com" target="_blank">tylern@pistoncloud.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>Dolph, I changed the /etc/keystone/keystone.conf file as you suggested, the line looks like:<br></div>[sql]<br></div>connection = mysql://root:password@localhost/keystone?charset=utf8<br>

<br></div>I changed this to:<br>connection = mysql://<br><br></div>However when I run ./stack.sh the file reverts back to the original text, with devstack giving me the same error<br></div><div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><br>
<div class="gmail_quote">On Tue, Mar 19, 2013 at 7:58 PM, Dolph Mathews <span dir="ltr"><<a href="mailto:dolph.mathews@gmail.com" target="_blank">dolph.mathews@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">What is the protocol of your sql connection string in keystone.conf? mysql+mysqldb:// ? If so, try changing it to just mysql:// which I think will match what python-mysql installs.<div><br></div><div>  <a href="http://docs.sqlalchemy.org/en/rel_0_7/core/engines.html#database-urls" target="_blank">http://docs.sqlalchemy.org/en/rel_0_7/core/engines.html#database-urls</a></div>

<span><font color="#888888">
</font></span></div><div class="gmail_extra"><span><font color="#888888"><br clear="all"><div><div><br></div>-Dolph</div>
<br><br></font></span><div class="gmail_quote"><div><div>On Tue, Mar 19, 2013 at 6:17 PM, Tyler North <span dir="ltr"><<a href="mailto:tylern@pistoncloud.com" target="_blank">tylern@pistoncloud.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr">Avinash, thank you for your response. The python-mysql adapter was installed on the machine, I just tried updating it but still got the same error<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">



On Tue, Mar 12, 2013 at 9:29 PM, Prasad, Avinash <span dir="ltr"><<a href="mailto:Avinash.Prasad@nttdata.com" target="_blank">Avinash.Prasad@nttdata.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">








<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">Hi,<br>
Is the MySQL adapter for python isntalled in your machine. Because the error corresponds to th unavailability of the MySQLdb adapter.<br>
<br>
Kindly have a look into that.<br>
<br>
Regards,<br>
Avinash<br>
<div style="font-size:16px;font-family:Times New Roman">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> openstack-bounces+avinash.prasad=<a href="mailto:nttdata.com@lists.launchpad.net" target="_blank">nttdata.com@lists.launchpad.net</a> [openstack-bounces+avinash.prasad=<a href="mailto:nttdata.com@lists.launchpad.net" target="_blank">nttdata.com@lists.launchpad.net</a>] on behalf of Tyler North
 [<a href="mailto:tylern@pistoncloud.com" target="_blank">tylern@pistoncloud.com</a>]<br>
<b>Sent:</b> Tuesday, March 12, 2013 6:05 PM<br>
<b>To:</b> <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
<b>Subject:</b> [Openstack] Issues with latests trunk<br>
</font><br>
</div><div><div>
<div></div>
<div>
<div dir="ltr">
<div>Hey everyone,<br>
<br>
</div>
<div>I'm trying to run the latest version of devstack-trunk( latest commit on git log is: 87387596631602b5f676eae65823b4f0c5c71e66a).
<br>
<br>
</div>
<div>Im running it currently on Ubuntu 12.04 and whenever I run ./stack.sh I get the following error:<br>
<br>
<br>
Unable to communicate with identity service: {"error": {"message": "An unexpected error prevented the server from fulfilling your request. No module named MySQLdb", "code": 500, "title": "Internal Server Error"}}. (HTTP 500)<br>




+ KEYSTONE_SERVICE=<br>
+ keystone endpoint-create --region RegionOne --service_id --publicurl <a href="http://10.1.10.231:5000/v2.0" target="_blank">
http://10.1.10.231:5000/v2.0</a> --adminurl <a href="http://10.1.10.231:35357/v2.0" target="_blank">
http://10.1.10.231:35357/v2.0</a> --internalurl <a href="http://10.1.10.231:5000/v2.0" target="_blank">
http://10.1.10.231:5000/v2.0</a><br>
usage: keystone endpoint-create [--region <endpoint-region>] --service-id<br>
                                <service-id> [--publicurl <public-url>]<br>
                                [--adminurl <admin-url>]<br>
                                [--internalurl <internal-url>]<br>
keystone endpoint-create: error: argument --service-id/--service_id: expected one argument<br>
<br>
<br>
</div>
<div>Any help as to where to look for /solve the problem would be appreciated<br>
<br>
Thanks <br>
</div>
<div>Tyler <br>
</div>
</div>
</div>
</div></div></div>
</div>
<br clear="all">
______________________________________________________________________<br>
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data.  If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding<br>




</div>

</blockquote></div><br></div>
<br></div></div><div>_______________________________________________<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></div></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>