Quantcast

Yet another keystone auth problem

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Yet another keystone auth problem

pltrent
I seem to have found the same keystone auth issue that others have found, but I can't figure out what's wrong.  Here's the error:

performing PUT at /box1
worker 1 fail to perform operation box1
java.lang.IllegalStateException: Target host must not be null, or set in parameters.

Here's the auth setting in my cosbench xml:

<auth type="keystone" config="username=admin;password=xxxxxxxx;tenant_name=admin;auth_url=http://169.45.70.89:5000/v2.0/;service=swift" />

Here's the output from the curl command:
{
    "access": {
        "metadata": {
            "is_admin": 0,
            "roles": [
                "ce2012db120f4bdb9f1fc4cce98209c9"
            ]
        },
        "serviceCatalog": [
            {
                "endpoints": [
                    {
                        "adminURL": "http://10.160.18.176:8080",
                        "id": "0eaa6bbe8c9742b2b41c711d5b3be6f3",
                        "internalURL": "http://10.160.18.176:8080/v1/AUTH_f308d9649b404028945da083a236fff7",
                        "publicURL": "http://169.45.70.89:8080/v1/AUTH_f308d9649b404028945da083a236fff7",
                        "region": "RegionOne"
                    }
                ],
                "endpoints_links": [],
                "name": "swift",
                "type": "object-store"
            },
            {
                "endpoints": [
                    {
                        "adminURL": "http://10.160.18.176:35357/v2.0",
                        "id": "17a161e607734a56bf53de207bc7bfb1",
                        "internalURL": "http://10.160.18.176:5000/v2.0",
                        "publicURL": "http://169.45.70.89:5000/v2.0",
                        "region": "RegionOne"
                    }
                ],
                "endpoints_links": [],
                "name": "keystone",
                "type": "identity"
            }
        ],
        "token": {
            "audit_ids": [
                "XoIXANzdTByJB2xAnlFiMw"
            ],
            "expires": "2015-11-19T15:15:26Z",
            "id": "eda65271e31c4b7da6c9dfe9ffa98932",
            "issued_at": "2015-11-19T14:15:26.623461",
            "tenant": {
                "description": "Admin Project",
                "enabled": true,
                "id": "f308d9649b404028945da083a236fff7",
                "name": "admin"
            }
        },
        "user": {
            "id": "c46c6a21e5974eff8279f779b648a9eb",
            "name": "admin",
            "roles": [
                {
                    "name": "admin"
                }
            ],
            "roles_links": [],
            "username": "admin"
        }
    }
}


What am I missing?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Yet another keystone auth problem

ywang19
Administrator

There is an new parameter called “region” in <auth> section>, the default value is “regionOne”. I seem your output is with “RegionOne”, the uppercase “R”, so you’d add the parameter as following:

 

<auth type="keystone" config="username=tester;password=testing;tenant_name=test;auth_url=http://127.0.0.1:5000/v2.0;service=swift service;region=regionOne" />

 

 

From: pltrent [via COSBench] [mailto:ml-node+[hidden email]]
Sent: Thursday, November 19, 2015 10:39 PM
To: Wang, Yaguang
Subject: Yet another keystone auth problem

 

I seem to have found the same keystone auth issue that others have found, but I can't figure out what's wrong.  Here's the error:

performing PUT at /box1
worker 1 fail to perform operation box1
java.lang.IllegalStateException: Target host must not be null, or set in parameters.

Here's the auth setting in my cosbench xml:

<auth type="keystone" config="username=admin;password=xxxxxxxx;tenant_name=admin;auth_url=http://169.45.70.89:5000/v2.0/;service=swift" />

Here's the output from the curl command:
{
    "access": {
        "metadata": {
            "is_admin": 0,
            "roles": [
                "ce2012db120f4bdb9f1fc4cce98209c9"
            ]
        },
        "serviceCatalog": [
            {
                "endpoints": [
                    {
                        "adminURL": "http://10.160.18.176:8080",
                        "id": "0eaa6bbe8c9742b2b41c711d5b3be6f3",
                        "internalURL": "http://10.160.18.176:8080/v1/AUTH_f308d9649b404028945da083a236fff7",
                        "publicURL": "http://169.45.70.89:8080/v1/AUTH_f308d9649b404028945da083a236fff7",
                        "region": "RegionOne"
                    }
                ],
                "endpoints_links": [],
                "name": "swift",
                "type": "object-store"
            },
            {
                "endpoints": [
                    {
                        "adminURL": "http://10.160.18.176:35357/v2.0",
                        "id": "17a161e607734a56bf53de207bc7bfb1",
                        "internalURL": "http://10.160.18.176:5000/v2.0",
                        "publicURL": "http://169.45.70.89:5000/v2.0",
                        "region": "RegionOne"
                    }
                ],
                "endpoints_links": [],
                "name": "keystone",
                "type": "identity"
            }
        ],
        "token": {
            "audit_ids": [
                "XoIXANzdTByJB2xAnlFiMw"
            ],
            "expires": "2015-11-19T15:15:26Z",
            "id": "eda65271e31c4b7da6c9dfe9ffa98932",
            "issued_at": "2015-11-19T14:15:26.623461",
            "tenant": {
                "description": "Admin Project",
                "enabled": true,
                "id": "f308d9649b404028945da083a236fff7",
                "name": "admin"
            }
        },
        "user": {
            "id": "c46c6a21e5974eff8279f779b648a9eb",
            "name": "admin",
            "roles": [
                {
                    "name": "admin"
                }
            ],
            "roles_links": [],
            "username": "admin"
        }
    }
}


What am I missing?


If you reply to this email, your message will be added to the discussion below:

http://cosbench.1094679.n5.nabble.com/Yet-another-keystone-auth-problem-tp423.html

To start a new topic under cosbench-user, email [hidden email]
To unsubscribe from COSBench, click here.
NAML

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Yet another keystone auth problem

pltrent
Thank you. Adding region=RegionOne to the auth statement fixed the problem.
Loading...