Tuesday, 2016-12-06

*** zhurong has joined #cloudkitty01:12
*** zhurong has quit IRC01:25
*** zhurong has joined #cloudkitty01:25
*** liujiong has joined #cloudkitty02:15
*** huats has quit IRC02:55
*** huats has joined #cloudkitty02:56
*** devlaps has joined #cloudkitty04:58
*** zhangguoqing has joined #cloudkitty05:07
openstackgerritLuka Peschke proposed openstack/python-cloudkittyclient: DO NOT MERGE, testing the new CI jobs  https://review.openstack.org/40739308:16
*** peschk_l has joined #cloudkitty08:16
*** liujiong_66 has joined #cloudkitty08:18
*** liujiong has quit IRC08:20
*** zhangguoqing has quit IRC08:47
*** zhurong has quit IRC10:03
*** liujiong_66 has quit IRC10:18
*** loki__ has joined #cloudkitty12:09
loki__Hi all Have an issue with cloudkitty. Following this doc http://docs.openstack.org/developer/cloudkitty/installation.html12:10
loki__Have created public endpoint but cloudkitty-processor throws error empty catalog12:11
loki__public, admin, internal urls are pointed. But further debugging it throws  EndpointNotFound: public endpoint for alarming service not found.12:12
loki__We have only Rating and metering services.12:12
loki__any help will be usefull12:13
*** dinghh has left #cloudkitty12:16
peschk_lloki__, have you installed aodh ?12:30
loki__nope is it required ?12:37
loki__because i have another devstack setup which has no aodh still working. This is i m trying to connect to remote controller12:37
peschk_lI think the alarming service is supposed to be aodh12:38
peschk_lBut it should not be required12:38
peschk_lhave you configured ceilometer to support alarming ?12:39
loki__Have any pointers to configure that ? i m new to ceilometer12:40
*** zhangguoqing has joined #cloudkitty12:42
*** zhangguoqing has quit IRC12:42
peschk_lloki__, could I see your ceilometer and cloudkitty .conf files ?12:42
loki__cloudkitty conf https://filetea.me/t1sZLoxjDxoT5ylYO8P0qr0OA12:47
peschk_lloki__, was this config file created by devstack ?12:49
loki__nope i used tox -egenconfig12:50
loki__i m using it in separate vm connecting to remote setup which has three controllers12:51
loki__i could bring up cloudkitty-api12:51
loki__cloudkitty-processor is failing with empty catalog12:51
peschk_ldid cloudkitty-processor throw the "public endpoint for alarming service not found." error ?12:53
*** liujiong has joined #cloudkitty12:54
loki__ i used pdb and saw "public endpoint for alarming service not found." but in processor.log i could see  EmptyCatalog: The service catalog is empty12:54
loki__ceilometer conf http://paste.openstack.org/show/591525/12:55
peschk_ldo you have ceilometerclient installed ?12:57
peschk_lif yes, does ceilometer meter-list work ?12:57
loki__I get data when i do request via curl "curl --insecure -s   -H "X-Auth-Token: $OS_TOKEN" -H "Content-Type: application/json"  https://<ip>:8777/v2/meters/"13:01
peschk_lhave you tried to identify to ceilometer using the same credentials as these specified in cloudkitty.conf ?13:17
loki__yes i have used same username password to generate auth token13:19
peschk_lloki__, could you try with something like this ? http://paste.openstack.org/show/591534/13:25
loki__Tried getting connection error now http://paste.openstack.org/show/591536/13:34
loki__seems like proxy issue fixinig it13:37
peschk_lokay, keep me informed :)13:37
peschk_lanyway, you should use a [ks_auth] section in the conf file and tell the other sections to use it13:38
loki__yup it is fixed now ty:)13:41
loki__how do i test whether everything is workign fine13:41
peschk_lif the processor and the api are running, try to do a cloudkitty module-enable -n hashmap13:42
peschk_lyou will have to wait then13:43
peschk_lby default the collect_period is 3600 and wait_period is 2, so you would have to wait 7200 secs to get results13:44
loki__it needs credentials13:46
loki__should i source ks_auth credentials13:46
peschk_luse the admin credentials to enable the module13:50
loki__ok ty :)13:50
loki__ cloudkitty module-enable -n hashmap [('system library', 'fopen', 'No such file or directory'), ('BIO routines', 'BIO_new_file', 'no such file'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')] (cloudkitty-env)helion@ubuntu:~$ cloudkitty module-list [('system library', 'fopen', 'No such file or directory'), ('BIO routines', 'BIO_new_file', 'no such file'), ('x509 certificate routines', 'X509_load_cert_crl_f13:59
loki__i get output like dis13:59
peschk_lhmm, I never had this error, it looks like it can't load a cert file14:02
peschk_lmaybe remove the "cafile" line in [ks_auth] if you don't use any14:03
loki__yup added new certificate14:07
loki__peschk_l thank you! will get back if any issues:)14:08
peschk_lloki__ does everything work now ?14:09
loki__getting this now cloudkitty module-enable -n hashmap Unable to determine the Keystone version to authenticate with using the given auth_url.14:13
loki__might be v2.0 and v3 api version some issues14:18
loki__can i enable modules using rest apis14:18
peschk_lloki__ yes, and it should also be possible through horizon14:19
loki__yup but our dashboard is different14:20
loki__not horizon will use curl14:20
loki__thank you for everything will try it out and come back may be tomorrow :)14:20
*** devlaps has quit IRC14:21
peschk_lloki__ you could also try keystone_version=2 in the config14:22
peschk_lok, we'll be glad to heplp :)14:22
*** loki__ has quit IRC14:25
*** liujiong has quit IRC15:05
*** devlaps has joined #cloudkitty16:08
*** peschk_l has quit IRC16:52
*** devlaps has quit IRC19:16
*** devlaps has joined #cloudkitty19:17
*** dinghh has joined #cloudkitty20:07
*** devlaps has quit IRC20:10
*** devlaps has joined #cloudkitty21:07
*** jwcroppe has joined #cloudkitty22:50
*** jwcroppe has quit IRC23:26
*** jwcroppe has joined #cloudkitty23:26
*** jwcroppe has quit IRC23:31

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!