[Openstack] [Devstack]Keystone authentication problem when installing

Gabriel Hurley Gabriel.Hurley at nebula.com
Thu Jun 28 21:08:15 UTC 2012


I've found where the problem stems from. It snuck in with the keystone sql backend change:

https://github.com/openstack-dev/devstack/commit/3f7c06f5aaff5d3e2ec28931e0fe4ab8376208e6#L1L1944

Previously the arguments to the keystone commands were being passed in directly, now they're not, hence the failure.

As per the usual, Jenkins doesn't catch this bug because it doesn't test with swift enabled. That's twice that swift-enabled bugs have snuck into devstack lately. :-/


-          Gabriel

From: openstack-bounces+gabriel.hurley=nebula.com at lists.launchpad.net [mailto:openstack-bounces+gabriel.hurley=nebula.com at lists.launchpad.net] On Behalf Of Ke Wu
Sent: Wednesday, June 27, 2012 7:35 PM
To: Adam Young
Cc: openstack at lists.launchpad.net
Subject: Re: [Openstack] [Devstack]Keystone authentication problem when installing

Here is my localrc:

ENABLED_SERVICES="$ENABLED_SERVICES,swift"
MYSQL_PASSWORD=password
ADMIN_PASSWORD= password
RABBIT_PASSWORD= password
SERVICE_TOKEN= password
SWIFT_HASH= password
HOST_IP=10.0.0.0
RECLONE=yes
SERVICE_PASSWORD= password

By what distribution you mean? I clone the devstack code project from github.

Thanks,

-K

On Jun 27, 2012, at 6:44 PM, Adam Young wrote:


Can you post your localrc file?  YOu can blank out the passwords.

Also,  what distribution?


On 06/27/2012 09:30 PM, Ke Wu wrote:
Hi,

I can't find a mailing list of devstack so I choose to ask here, hope this doesn't spam you guys.

I was trying to build Devstack on my VM (Ubuntu 12.04 server) to start a new environment for Horizon development.

Everything went well until it hit the point to start Keystone service, the error msg was:

Expecting authentication method via
  either a service token, --token or env[SERVICE_TOKEN],
  or credentials, --os_username or env[OS_USERNAME].
+ NOVA_USER_ID=
++ get_field 1
++ read data
++ grep ' service '
++ keystone tenant-list
Expecting authentication method via
  either a service token, --token or env[SERVICE_TOKEN],
  or credentials, --os_username or env[OS_USERNAME].
+ NOVA_TENANT_ID=
++ keystone ec2-credentials-create --user --tenant_id
usage: keystone ec2-credentials-create [--user_id <user-id>]
                                       [--tenant_id <tenant-id>]
keystone ec2-credentials-create: error: argument --user_id: expected one argument
+ CREDS=
++ failed
++ local r=2
++ set +o xtrace

Anybody has an idea why this happened?

Thanks!

-Ke Wu




_______________________________________________

Mailing list: https://launchpad.net/~openstack

Post to     : openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>

Unsubscribe : https://launchpad.net/~openstack

More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120628/f29055de/attachment.html>


More information about the Openstack mailing list