← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1431434] Re: user creation with fernet tokens results in 401

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

** Changed in: keystone
    Milestone: None => kilo-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1431434

Title:
  user creation with fernet tokens results in 401

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  creater_user.json:

  {
      "user": {
          "enabled": true,
          "name": "breton",
          "password": "123123"
      }
  }

  [DEFAULT]admin_token = ADMIN

  $ curl -k -H "X-Auth-Token:ADMIN" -H "Content-type: application/json" -d @create_user.json http://localhost:35357/v3/users | python -mjson.tool
  {
      "error": {
          "code": 401,
          "message": "This is not a recognized Fernet formatted token: ADM (Disable debug mode to suppress these details.)",
          "title": "Unauthorized"
      }
  }

  Logs from keystone-all: http://paste.openstack.org/show/191866/

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1431434/+subscriptions


References