Created attachment 1025513 [details] Ceilometer details Description of problem: Keystone user and endpoints for ceilometer are missing on the overcloud controller. Version-Release number of selected component (if applicable): CentOS 7.1 instack-0.0.6-post6.el7.centos.noarch openstack-tripleo-heat-templates-0.8.6-dev5.el7.centos.noarch openstack-tripleo-puppet-elements-0.0.1-dev63.el7.centos.noarch openstack-puppet-modules-2015.1.0-2.el7.noarch How reproducible: TripleO installation on virtual env according to https://repos.fedorapeople.org/repos/openstack-m/docs/master/ Steps to Reproduce: 1. Follow steps in the docs to get the overcloud deployed on CentOS 7.1 2. 3. Actual results: Ceilometer packages are installed, configuration files look ok, mongo db is present, services are running but keystone user and endpoints are missing. [stack@instack ~]$ ceilometer meter-list publicURL endpoint for metering service not found Expected results: Ceilometer shows overcloud related meters. Additional info: I'm attaching a file containing the ceilometer related config files as they show up on the overcloud controller.
Can you check "keystone user-list" and "keystone endpoint-list" ?
Yes, the user/endpoints url don't show up: [stack@instack ~]$ keystone user-list | grep ceilometer /usr/lib/python2.7/site-packages/keystoneclient/shell.py:65: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient. 'python-keystoneclient.', DeprecationWarning) [stack@instack ~]$ [stack@instack ~]$ keystone endpoint-list | grep 8777 /usr/lib/python2.7/site-packages/keystoneclient/shell.py:65: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient. 'python-keystoneclient.', DeprecationWarning) [stack@instack ~]$
I was able to get it working by running the following keystone user-create --name ceilometer --pass CEILOMETER_PASS keystone user-role-add --user ceilometer --tenant service --role admin keystone service-create --name ceilometer --type metering --description "Telemetry" keystone endpoint-create \ --service-id $(keystone service-list | awk '/ metering / {print $2}') \ --publicurl http://CONTROLLER_IP:8777 \ --internalurl http://CONTROLLER_IP:8777 \ --adminurl http://CONTROLLER_IP:8777 \ --region regionOne I also had to change os_tenant_name=admin to os_tenant_name=service in /etc/ceilometer/ceilometer.conf on the controller node. This was set correctly on the compute node. Thanks, Marius
This should at least get ceilometer registered with Keystone: https://review.gerrithub.io/#/c/233508/
It looks good to me. I applied the patch, redeployed the overcloud and ceilometer is registered with Keystone and returns overcloud meters.
This bug is against a Version which has reached End of Life. If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.