openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #22164
Re: Issues with latests trunk
Dolph, I changed the /etc/keystone/keystone.conf file as you suggested, the
line looks like:
[sql]
connection = mysql://root:password@localhost/keystone?charset=utf8
I changed this to:
connection = mysql://
However when I run ./stack.sh the file reverts back to the original text,
with devstack giving me the same error
On Tue, Mar 19, 2013 at 7:58 PM, Dolph Mathews <dolph.mathews@xxxxxxxxx>wrote:
> 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.
>
> http://docs.sqlalchemy.org/en/rel_0_7/core/engines.html#database-urls
>
>
> -Dolph
>
>
> On Tue, Mar 19, 2013 at 6:17 PM, Tyler North <tylern@xxxxxxxxxxxxxxx>wrote:
>
>> 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
>>
>>
>>
>> On Tue, Mar 12, 2013 at 9:29 PM, Prasad, Avinash <
>> Avinash.Prasad@xxxxxxxxxxx> wrote:
>>
>>> Hi,
>>> Is the MySQL adapter for python isntalled in your machine. Because the
>>> error corresponds to th unavailability of the MySQLdb adapter.
>>>
>>> Kindly have a look into that.
>>>
>>> Regards,
>>> Avinash
>>> ------------------------------
>>> *From:* openstack-bounces+avinash.prasad=nttdata.com@xxxxxxxxxxxxxxxxxxx[openstack-bounces+avinash.prasad=
>>> nttdata.com@xxxxxxxxxxxxxxxxxxx] on behalf of Tyler North [
>>> tylern@xxxxxxxxxxxxxxx]
>>> *Sent:* Tuesday, March 12, 2013 6:05 PM
>>> *To:* openstack@xxxxxxxxxxxxxxxxxxx
>>> *Subject:* [Openstack] Issues with latests trunk
>>>
>>> Hey everyone,
>>>
>>> I'm trying to run the latest version of devstack-trunk( latest commit
>>> on git log is: 87387596631602b5f676eae65823b4f0c5c71e66a).
>>>
>>> Im running it currently on Ubuntu 12.04 and whenever I run ./stack.sh
>>> I get the following error:
>>>
>>>
>>> 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)
>>> + KEYSTONE_SERVICE=
>>> + keystone endpoint-create --region RegionOne --service_id --publicurl
>>> http://10.1.10.231:5000/v2.0 --adminurl http://10.1.10.231:35357/v2.0--internalurl
>>> http://10.1.10.231:5000/v2.0
>>> usage: keystone endpoint-create [--region <endpoint-region>] --service-id
>>> <service-id> [--publicurl <public-url>]
>>> [--adminurl <admin-url>]
>>> [--internalurl <internal-url>]
>>> keystone endpoint-create: error: argument --service-id/--service_id:
>>> expected one argument
>>>
>>>
>>> Any help as to where to look for /solve the problem would be
>>> appreciated
>>>
>>> Thanks
>>> Tyler
>>>
>>> ______________________________________________________________________
>>> 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
>>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
Follow ups
References