*** zhurong has joined #cloudkitty | 01:12 | |
*** zhurong has quit IRC | 01:25 | |
*** zhurong has joined #cloudkitty | 01:25 | |
*** liujiong has joined #cloudkitty | 02:15 | |
*** huats has quit IRC | 02:55 | |
*** huats has joined #cloudkitty | 02:56 | |
*** devlaps has joined #cloudkitty | 04:58 | |
*** zhangguoqing has joined #cloudkitty | 05:07 | |
openstackgerrit | Luka Peschke proposed openstack/python-cloudkittyclient: DO NOT MERGE, testing the new CI jobs https://review.openstack.org/407393 | 08:16 |
---|---|---|
*** peschk_l has joined #cloudkitty | 08:16 | |
*** liujiong_66 has joined #cloudkitty | 08:18 | |
*** liujiong has quit IRC | 08:20 | |
*** zhangguoqing has quit IRC | 08:47 | |
*** zhurong has quit IRC | 10:03 | |
*** liujiong_66 has quit IRC | 10:18 | |
*** loki__ has joined #cloudkitty | 12:09 | |
loki__ | Hi all Have an issue with cloudkitty. Following this doc http://docs.openstack.org/developer/cloudkitty/installation.html | 12:10 |
loki__ | Have created public endpoint but cloudkitty-processor throws error empty catalog | 12: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 usefull | 12:13 |
*** dinghh has left #cloudkitty | 12:16 | |
peschk_l | loki__, 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 controller | 12:37 |
peschk_l | I think the alarming service is supposed to be aodh | 12:38 |
peschk_l | But it should not be required | 12:38 |
peschk_l | have you configured ceilometer to support alarming ? | 12:39 |
loki__ | Have any pointers to configure that ? i m new to ceilometer | 12:40 |
*** zhangguoqing has joined #cloudkitty | 12:42 | |
*** zhangguoqing has quit IRC | 12:42 | |
peschk_l | loki__, could I see your ceilometer and cloudkitty .conf files ? | 12:42 |
loki__ | cloudkitty conf https://filetea.me/t1sZLoxjDxoT5ylYO8P0qr0OA | 12:47 |
peschk_l | loki__, was this config file created by devstack ? | 12:49 |
loki__ | nope i used tox -egenconfig | 12:50 |
loki__ | i m using it in separate vm connecting to remote setup which has three controllers | 12:51 |
loki__ | i could bring up cloudkitty-api | 12:51 |
loki__ | cloudkitty-processor is failing with empty catalog | 12:51 |
peschk_l | did cloudkitty-processor throw the "public endpoint for alarming service not found." error ? | 12:53 |
*** liujiong has joined #cloudkitty | 12: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 empty | 12:54 |
loki__ | ceilometer conf http://paste.openstack.org/show/591525/ | 12:55 |
peschk_l | do you have ceilometerclient installed ? | 12:57 |
peschk_l | if 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_l | have 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 token | 13:19 |
peschk_l | loki__, 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 it | 13:37 |
peschk_l | okay, keep me informed :) | 13:37 |
peschk_l | anyway, you should use a [ks_auth] section in the conf file and tell the other sections to use it | 13:38 |
loki__ | yup it is fixed now ty:) | 13:41 |
loki__ | how do i test whether everything is workign fine | 13:41 |
peschk_l | if the processor and the api are running, try to do a cloudkitty module-enable -n hashmap | 13:42 |
peschk_l | you will have to wait then | 13:43 |
peschk_l | by default the collect_period is 3600 and wait_period is 2, so you would have to wait 7200 secs to get results | 13:44 |
loki__ | it needs credentials | 13:46 |
loki__ | should i source ks_auth credentials | 13:46 |
peschk_l | use the admin credentials to enable the module | 13: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_f | 13:59 |
loki__ | i get output like dis | 13:59 |
peschk_l | hmm, I never had this error, it looks like it can't load a cert file | 14:02 |
peschk_l | maybe remove the "cafile" line in [ks_auth] if you don't use any | 14:03 |
loki__ | yup added new certificate | 14:07 |
loki__ | peschk_l thank you! will get back if any issues:) | 14:08 |
peschk_l | loki__ 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 issues | 14:18 |
loki__ | can i enable modules using rest apis | 14:18 |
peschk_l | loki__ yes, and it should also be possible through horizon | 14:19 |
loki__ | yup but our dashboard is different | 14:20 |
loki__ | not horizon will use curl | 14:20 |
loki__ | thank you for everything will try it out and come back may be tomorrow :) | 14:20 |
*** devlaps has quit IRC | 14:21 | |
peschk_l | loki__ you could also try keystone_version=2 in the config | 14:22 |
peschk_l | ok, we'll be glad to heplp :) | 14:22 |
*** loki__ has quit IRC | 14:25 | |
*** liujiong has quit IRC | 15:05 | |
*** devlaps has joined #cloudkitty | 16:08 | |
*** peschk_l has quit IRC | 16:52 | |
*** devlaps has quit IRC | 19:16 | |
*** devlaps has joined #cloudkitty | 19:17 | |
*** dinghh has joined #cloudkitty | 20:07 | |
*** devlaps has quit IRC | 20:10 | |
*** devlaps has joined #cloudkitty | 21:07 | |
*** jwcroppe has joined #cloudkitty | 22:50 | |
*** jwcroppe has quit IRC | 23:26 | |
*** jwcroppe has joined #cloudkitty | 23:26 | |
*** jwcroppe has quit IRC | 23:31 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!