settingsLogin | Registersettings

[Openstack] [Ceilometer][Gnocchi] Ocata - Ceilometer with Gnocchi

0 votes

Hi all,

I'm trying to add telemetry into my running openstack, as I read at

https://docs.openstack.org/project-install-guide/
telemetry/ocata/get_started.html

ceilometer now using gnocchi as backend, so I dig more reference for easily
installed gnocchi on my openstack environment, and I found about
openstack-gnocchi-* package from the openstack repo .

I'm installed gnocchi & ceilometer services at a node separate from
controller node, this node have IP 192.168.26.10, so I create metric
endpoint using this IP address.

then I'm using gnocchi from openstack repo , and here my gnocchi config

[DEFAULT]

logdir = /var/log/gnocchi/
verbose = true
transport
url = rabbit://openstack:MYPASSWORD@ct-oc-srg.adhi
[api]
auth
mode = keystone
[archivepolicy]
default
aggregationmethods = mean,min,max,sum,std,median,count,last,95pct
[cors]
[cors.subdomain]
[database]
connection = mysql+pymysql://gnocchi:MY
PASSWORD@ct-oc-srg.adhi/gnocchi
[healthcheck]
[incoming]
[indexer]
url = mysql+pymysql://gnocchi:MYPASSWORD@ct-oc-srg.adhi/
gnocchi?charset=utf8
driver = sqlalchemy
[metricd]
[oslo
middleware]
[oslopolicy]
[statsd]
resource
id = 70de8fd2-7619-4c70-bb4e-6628fe1aa68e
userid =
project
id =
archivepolicyname = low
[storage]
driver = file
filebasepath = /var/lib/gnocchi
coordination
url = file:///var/lib/gnocchi/locks
[keystoneauthtoken]
auth
uri = http://ct-oc-srg.adhi:5000
authurl = http://ct-oc-srg.adhi:35357/v3
auth
type = password
memcachedservers = ct-oc-srg.adhi:11211
project
domainname = default
user
domainname = default
project
name = service
username = gnocchi
password = MYPASSWORD
interface = internalURL
region
name = RegionOne

according from the guide above, we just using
openstack-ceilometer-notification.service
openstack-ceilometer-central.service openstack-ceilometer-collector.service
, this is my ceilometer config

[DEFAULT]

verbose = true
meterdispatchers = gnocchi
event
dispatchers = gnocchi
transporturl = rabbit://openstack:MYPASSWORD@ct-oc-srg.adhi
[api]
[collector]
[compute]
[coordination]
[cors]
[cors.subdomain]
[database]
[dispatcherfile]
[dispatcher
gnocchi]
url = http://192.168.26.10:8041
filterserviceactivity = true
archivepolicy = low
resources
definitionfile = gnocchiresources.yaml
filterproject = service
[dispatcher
http]
[event]
[hardware]
[ipmi]
[keystoneauthtoken]
auth
uri = http://ct-oc-srg.adhi:5000
authurl = http://ct-oc-srg.adhi:35357
memcached
servers = ct-oc-srg.adhi:11211
authtype = password
project
domainname = default
user
domainname = default
project
name = service
username = ceilometer
password = MYPASSWORD
[matchmaker
redis]
[meter]
[notification]
storeevents = false
[oslo
concurrency]
[oslomessagingamqp]
[oslomessagingkafka]
[oslomessagingnotifications]
[oslomessagingrabbit]
[oslomessagingzmq]
[oslomiddleware]
[oslo
policy]
[polling]
[publisher]
[publishernotifier]
[rgw
admincredentials]
[service
credentials]
authtype = password
auth
url = http://ct-oc-srg.adhi:5000
projectdomainname = default
userdomainname = default
projectname = service
username = ceilometer
password = MY
PASSWORD
interface = internalURL
regionname = RegionOne
[service
types]
[storage]
[vmware]
[xenapi]

While doing ceilometer-upgrade --skip-metering-database, it's look no
problem. When I look into the gnocchi database on mysql , I can see some
tables add into the gnocchi database.

the problem comes when I start the ceilometer services, specially with logs
from ceilometer collector, I've got this error :

2017-09-05 16:03:40.808 23012 ERROR ceilometer.dispatcher.gnocchi [-] A
server error occurred. Please contact the administrator. (HTTP 500)

I also got this error when I reboot an instance. I also can get measure
from the image download like describe in the guide above, can somebody help
me ?

--
Cheers,

[image: --]
Adhi Priharmanto
[image: http://]about.me/a_dhi
http://about.me/a_dhi?promo=email_sig
+62-812-82121584


Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
asked Sep 6, 2017 in openstack by Adhi_Priharmanto (1,500 points)   1 6 8
...