← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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/

** Affects: keystone
     Importance: High
         Status: New


** Tags: fernet

-- 
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):
  New

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


Follow ups

References