yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #62606
[Bug 1661601] Re: keystone.middleware.auth logs an opaque debug message
(Note: keystone doesn't do XML anymore so that request wouldn't work
anymore)
The error message in question 'There is either no auth token in the
request...' is a debug message that is meant to help us while
developing. It really is there to let us know that no token, cert, etc.
was included in the request. In the case if getting a token that's
always going to be logged since you don't yet have a token.
So you have 1 successful REST request using the API and another
successful requestion using the openstack client. I originally thought
that specifying the domain name was broken. It worked fine for me so I
took a closer look at your request and found that there we lots of JSON
errors.
1. Use 'Default' and not 'default' when specifying the name.
2. There are a few places that don't open or close double quotes properly
3. There is a period instead of a comma in between the identity and scope sections
4. There is a ) instead of a } to end the domain section
** Changed in: keystone
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1661601
Title:
keystone.middleware.auth logs an opaque debug message
Status in OpenStack Identity (keystone):
Invalid
Bug description:
Whether using curl or xml with correct credentials continue to get the
following message in the logs:
http://cdn.pasteraw.com/oolimjgy2xxrxpd9u98xmzl8mgs7xk
Here is one set of xml code: (both xml and curl script below result
in above error)
curl -i -X POST -H "X-Autplication/xml"
http://haproxy2-st:35357/v3/auth/tokens -d '<?xml version="1.0"
encoding="UTF-8"?><auth><identity><methods><method>password</method></methods><password><user
password="xxxxxxx" name="admin"><domain id="default"
name="default"/></user></password></identity></auth>'
Here is another set of xml code:
<auth type="keystone" config="region=vtil-
swift-2;username=admin;password=linux4u;project_name=admin;project_domain_name=default;user_domain_name=default;auth_url=http://haproxy2-st:35357/v3"/>
Here is curl script:
http://cdn.pasteraw.com/r9ssqhtfk60rcaoju4extlee30x5a6p
Contents of admin.sh that works:
http://cdn.pasteraw.com/c2jwo3s5ib6ru4yhdfaz1afesrbsidt
The following is debug output of the `openstack token issue` command:
http://cdn.pasteraw.com/d0el13vpr87k6xj3cbc4qztnd2aeaim
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1661601/+subscriptions
References