python-ceilometerclient does not work with v3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-ceilometerclient |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I install openstack as the way http://
ceilometer meter-list
report the error is " The service catalog is empty." in keystoneclient/
my admin-openrc.sh is :
export OS_PROJECT_
export OS_USER_
export OS_PROJECT_
export OS_TENANT_
export OS_USERNAME=admin
export OS_PASSWORD=
export OS_AUTH_URL=http://
so I read the keystoneclient and ceilometerclient code detail;
I find the keystoneclient/
class Auth(base.
def __init__(self, auth_url, auth_methods,
but when we use it in ceilometerclien
def _get_keystone_
........
if use_v3:
# the auth_url as v3 specified
# e.g. http://
# Keystone will return only v3 as viable option
auth = v3_auth.Password(
I think the parameters user_domain_id and user_domain_name are incorrect,they are should be domain_id and domain_name;
if I do not change them, the body in keystoneclient/
def get_auth_ref(self, session, **kwargs):
.........
resp = session.
the body is:
{'auth': {'identity': {'password': {'user': {'password': '57af19784cd', 'name': 'admin'}}, 'methods': ['password']}}}
when I change them,the body is:
{'auth': {'scope': {'domain': {'id': 'default'}}, 'identity': {'password': {'user': {'password': '57af19784cd', 'name': 'admin'}}, 'methods': ['password']}}}
even I change them to domain_name, domain_id, it can not get the token from keystone, I think the body is not correct,becasue I use the same admin-openrc.sh on
nova list
the body is:
{'auth': {'scope': {'project': {'domain': {'id': 'default'}, 'name': 'admin'}}, 'identity': {'password': {'user': {'password': '57af19784cd', 'name': 'admin'}}, 'methods': ['password']}}}
so I think the ceilometerclient is Incompatible with keystoneclient;
Changed in python-ceilometerclient: | |
status: | Incomplete → Invalid |
nobody to dispose this problem?