ceilometer should not require tenant id when request to keystone v3 api

Bug #1440463 reported by ZhiQiang Fan on 2015-04-05
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python-ceilometerclient
Undecided
Rohit Jaiswal

Bug Description

# ceilometer --os-auth-url http://127.0.0.1:35357/v3 --os-username admin --os-password admin alarm-list
You must provide a project_id via either --os-project-id or via env[OS_PROJECT_ID] and a domain_name via either --os-user-domain-name or via env[OS_USER_DOMAIN_NAME] or a domain_id via either --os-user-domain-id or via env[OS_USER_DOMAIN_ID]

# ceilometer --os-auth-url http://127.0.0.1:35357/v3 --os-username admin --os-password admin --os-project-name admin --os-user-domain-name default alarm-list
You must provide a tenant_id via either --os-tenant-id or via env[OS_TENANT_ID]

# ceilometer --os-auth-url http://127.0.0.1:35357/v3 --os-username admin --os-password admin --os-project-name admin --os-user-domain-name default --os-tenant-id just-kidding alarm-list
The service catalog is empty.

comparing to glance client

# glance --os-auth-url http://127.0.0.1:35357/v3 --os-username admin --os-password admin --os-project-name admin --os-user-domain-name default image-list
You must provide a project_id or project_name (with project_domain_name or project_domain_id) via --os-project-id (env[OS_PROJECT_ID]) --os-project-name (env[OS_PROJECT_NAME]), --os-project-domain-id (env[OS_PROJECT_DOMAIN_ID]) --os-project-domain-name (env[OS_PROJECT_DOMAIN_NAME])

# glance --os-auth-url http://127.0.0.1:35357/v3 --os-username admin --os-password admin --os-project-name admin --os-user-domain-name default --os-project-domain-name default image-list
+--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+
| ID | Name | Disk Format | Container Format | Size | Status |
+--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+
| 165e880a-7cd5-4b78-b728-b5620e510122 | cirros-0.3.2-x86_64-uec | ami | ami | 25165824 | active |
| 08a82494-1874-44ec-88ff-2e78164e5f6c | cirros-0.3.2-x86_64-uec-kernel | aki | aki | 4969360 | active |
| bdab2e77-fca5-4826-9829-d10afff9efa9 | cirros-0.3.2-x86_64-uec-ramdisk | ari | ari | 3723817 | active |
| 65947d25-fcf7-4500-85dc-5e6f032890bc | Fedora-x86_64-20-20140618-sda | qcow2 | bare | 209649664 | active |
+--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+

ZhiQiang Fan (aji-zqfan) on 2015-04-05
Changed in python-ceilometerclient:
assignee: nobody → ZhiQiang Fan (aji-zqfan)

Fix proposed to branch: master
Review: https://review.openstack.org/207724

Changed in python-ceilometerclient:
assignee: ZhiQiang Fan (aji-zqfan) → Rohit Jaiswal (rohit-jaiswal-3)
status: New → In Progress

Reviewed: https://review.openstack.org/207724
Committed: https://git.openstack.org/cgit/openstack/python-ceilometerclient/commit/?id=803c59fbc7682dbfbd8f32c191c3e5e45d9fb8ca
Submitter: Jenkins
Branch: master

commit 803c59fbc7682dbfbd8f32c191c3e5e45d9fb8ca
Author: Rohit Jaiswal <email address hidden>
Date: Fri Jul 31 05:24:39 2015 +0000

    tenant_id not required with keystone v3

    Ceilometer-client requires tenant_id when
    authenticating with keystone v3.

    This fix removes this requirement.

    Change-Id: I36bf3f7a75713976c56dd95b4fd22da4e64d01df
    Closes-Bug: 1440463

Changed in python-ceilometerclient:
status: In Progress → Fix Committed
Changed in python-ceilometerclient:
milestone: none → 1.4.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers