peschk_l | hello everybody, I'm back in office. I'll try to answer all questions that have been asked. i I forget you, please ask your question again | 08:13 |
---|---|---|
peschk_l | zigo; could you paste the whole traceback + cloudkitty.conf somewhere ? | 08:14 |
zigo | peschk_l: Sure, hang on ! | 08:15 |
zigo | Ah no... :/ | 08:15 |
zigo | I distroyed my cluster, got to reinstall it. | 08:15 |
zigo | peschk_l: Will you hang around today? | 08:15 |
peschk_l | zigo: yes. I have a few calls so it might take some time to reply but I'll be there | 08:16 |
zigo | Ok. | 08:16 |
zigo | It will take me maybe 1 or 2 hours to reinstall my cluster. | 08:16 |
peschk_l | Linkid: I'll make the changes you requested on the v2 API. if you are available today, it would be great if we could discuss a few things here | 08:37 |
*** lemko has joined #cloudkitty | 09:03 | |
peschk_l | *v2 API spec | 09:10 |
*** lemko has quit IRC | 11:32 | |
*** openstackgerrit has joined #cloudkitty | 13:22 | |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty-specs master: Spec: Adding a v2 API https://review.openstack.org/614275 | 13:22 |
zigo | peschk_l: I think I get what's going on, but not sure where to fix. Where do I set the root ca for the processor? | 13:27 |
zigo | It's either that, or we have a more serious problem... | 13:28 |
peschk_l | zigo: depends on the component (fetcher, collector, api...) | 13:30 |
peschk_l | which step fails ? | 13:30 |
zigo | peschk_l: Well, starting fails ... | 13:30 |
zigo | peschk_l: http://paste.openstack.org/show/743223/ | 13:31 |
zigo | As I wrote, I use my own root ca ... | 13:32 |
zigo | (as this is in a virtualized PoC...) | 13:32 |
zigo | In production, of course, I use a real CA file. | 13:32 |
peschk_l | zigo: ok, you need to add "cafile=/your/path" to the [keystone_fetcher] section | 13:32 |
zigo | I mean, real SSL cert. | 13:32 |
peschk_l | (or [fetcher_keystone] if you deploy from master) | 13:33 |
zigo | peschk_l: Well, in it, I have auth_section = keystone_authtoken | 13:33 |
zigo | Why doesn't it use the ca_file that's there? | 13:33 |
zigo | cafile=, I mean. | 13:34 |
zigo | Looks like that fixed it, now I got a different error. | 13:35 |
zigo | 2019-01-24 13:34:36.264 7637 WARNING cloudkitty.utils [-] Error when trying to retrieve etc/cloudkitty/metrics.yml file.: FileNotFoundError: [Errno 2] No such file or directory: 'etc/cloudkitty/metrics.yml' | 13:35 |
zigo | I'll fix that ... | 13:35 |
peschk_l | zigo: if you use the gnocchi collector, you'll also need to add the cafile to the "gnocchi_collector"/"collector_gnocchi" section | 13:37 |
zigo | Ok. | 13:37 |
peschk_l | zigo: it's a keystoneauth issue, session and auth options are registered and loaded the same way: https://github.com/openstack/cloudkitty/blob/stable/rocky/cloudkitty/fetcher/keystone.py | 13:39 |
openstackgerrit | Merged openstack/cloudkitty-dashboard master: Imported Translations from Zanata https://review.openstack.org/630483 | 14:13 |
zigo | peschk_l: Looks like it works now! :) Thanks. | 14:39 |
zigo | All wired-in in my installer using puppet ... | 14:39 |
peschk_l | zigo: glad to hear that :) | 14:39 |
zigo | peschk_l: How can I check that storage for cloudkitty works as expected? | 14:40 |
peschk_l | zigo: which storage backend are you using ? | 14:40 |
zigo | peschk_l: ceph. | 14:41 |
zigo | mysql + ceph. | 14:41 |
peschk_l | I meant for cloudkitty. sqlalchemy ? | 14:41 |
zigo | Yeah. | 14:41 |
zigo | Can't it be Ceph too? | 14:42 |
zigo | Hum.... | 14:43 |
zigo | I probably need to call the cloudkitty::storage class... | 14:43 |
zigo | Ah no, it's called automatically. | 14:44 |
zigo | peschk_l: What do you put in gnocchi's coordination_url ? | 14:54 |
zigo | peschk_l: Is it possible to use memcache? | 14:54 |
peschk_l | zigo: no, we don't support ceph. It's possible to use influxdb with master though | 14:55 |
zigo | peschk_l: So what storage? Just MySQL, right? | 14:55 |
zigo | I believe I've just left the default. | 14:55 |
peschk_l | zigo: yes, memcache is supported by tooz: | 14:57 |
peschk_l | [orchestrator] | 14:57 |
peschk_l | coordination_url = memcached://memcached-host:11211 | 14:57 |
peschk_l | for cloudkitty | 14:57 |
peschk_l | zigo: mysql is the most robust one yes | 14:57 |
peschk_l | and for gnocchi, same URL in the [DEFAULT] section of gnocchi.conf | 14:59 |
*** kukacz_ has quit IRC | 15:20 | |
*** kukacz has joined #cloudkitty | 15:31 | |
*** kukacz has quit IRC | 15:42 | |
*** kukacz has joined #cloudkitty | 15:46 | |
openstackgerrit | Merged openstack/cloudkitty-dashboard master: Explicitly specify the region_name when instanciating a client https://review.openstack.org/629530 | 15:58 |
*** kukacz has quit IRC | 15:58 | |
*** kukacz has joined #cloudkitty | 16:00 | |
*** kukacz has quit IRC | 16:24 | |
*** kukacz has joined #cloudkitty | 16:26 | |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: Add collector documentation https://review.openstack.org/633035 | 16:45 |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: Add collector documentation https://review.openstack.org/633035 | 16:58 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!