Authorization failed with project id

Bug #1625967 reported by alex.wu on 2016-09-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-SDK-Go
Undecided
alex.wu

Bug Description

The keystone response 401 unauthorised ERROR when use Project ID to get token.

alex.wu (wujian) wrote :

I use example/00-authentication.go to test this case.
My config.json is as follow:
[root@controller examples]# cat config.json
{
 "Host": "http://172.16.197.131:35357/v2.0",
 "Username": "admin",
 "Password": "aaaaaa",
 "ProjectID": "1d8837c5fcef4892951397df97661f97",
 "ProjectName": "admin",
  "Container": "",
 "ImageRegion": "default_cluster"
}

When i use 'go run 00-authentication.go setup.go' to test the authenticate function. It return failed.

config: &{Host:http://172.16.197.131:35357/v2.0 Username:admin Password:aaaaaa ProjectID:1d8837c5fcef4892951397df97661f97 ProjectName:admin Container: ImageRegion:default_cluster Debug:false}
Error authenticating project/username/password: Error: response == 401 unauthorised

Changed in golang-client:
assignee: nobody → alex.wu (wujian)

Reviewed: https://review.openstack.org/373876
Committed: https://git.openstack.org/cgit/openstack/golang-client/commit/?id=301e6d4cb8ba6bb8cec8280cedfb4935fcc6384e
Submitter: Jenkins
Branch: master

commit 301e6d4cb8ba6bb8cec8280cedfb4935fcc6384e
Author: wujian <email address hidden>
Date: Wed Sep 21 16:06:20 2016 +0800

    Authorization failed with project id

    The keystone response 401 unauthorised ERROR when
    use Project ID to get token.

    Change-Id: I4f9b361d93127ae8fd6d44d45420095726c288b4
    Closes-Bug: #1625967

Changed in golang-client:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers