Authorization failed with project id
Bug #1625967 reported by
alex.wu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-SDK-Go |
Fix Released
|
Undecided
|
alex.wu |
Bug Description
The keystone response 401 unauthorised ERROR when use Project ID to get token.
To post a comment you must log in.
I use example/ 00-authenticati on.go to test this case. 172.16. 197.131: 35357/v2. 0", 92951397df97661 f97",
My config.json is as follow:
[root@controller examples]# cat config.json
{
"Host": "http://
"Username": "admin",
"Password": "aaaaaa",
"ProjectID": "1d8837c5fcef48
"ProjectName": "admin",
"Container": "",
"ImageRegion": "default_cluster"
}
When i use 'go run 00-authenticati on.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: 1d8837c5fcef489 2951397df97661f 97 ProjectName:admin Container: ImageRegion: default_ cluster Debug:false} username/ password: Error: response == 401 unauthorised
Error authenticating project/