*** liujiong has joined #cloudkitty | 01:25 | |
*** liujiong has quit IRC | 02:06 | |
*** liujiong has joined #cloudkitty | 02:06 | |
*** liujiong has quit IRC | 02:14 | |
*** liujiong has joined #cloudkitty | 02:15 | |
*** liujiong has quit IRC | 02:15 | |
*** ssmith has joined #cloudkitty | 05:17 | |
*** ssmith has quit IRC | 05:53 | |
*** liujiong has joined #cloudkitty | 06:30 | |
*** magicboiz has quit IRC | 06:55 | |
*** liujiong has quit IRC | 07:05 | |
*** liujiong has joined #cloudkitty | 07:13 | |
*** liujiong has quit IRC | 07:15 | |
*** liujiong has joined #cloudkitty | 07:15 | |
*** magicboiz has joined #cloudkitty | 07:16 | |
*** magicboiz has quit IRC | 08:31 | |
*** magicboiz has joined #cloudkitty | 08:31 | |
openstackgerrit | Martin CAMEY proposed openstack/cloudkitty master: Split metrology configuration from CK config file https://review.openstack.org/507627 | 09:19 |
---|---|---|
*** liujiong_lj has joined #cloudkitty | 09:19 | |
*** liujiong has quit IRC | 09:20 | |
*** liujiong_lj has quit IRC | 10:10 | |
*** zhurong has joined #cloudkitty | 12:46 | |
openstackgerrit | Merged openstack/cloudkitty-tempest-plugin master: Committing initial work https://review.openstack.org/518549 | 13:14 |
*** zhurong has quit IRC | 13:26 | |
*** magicboiz has quit IRC | 13:30 | |
*** ssmith has joined #cloudkitty | 14:18 | |
*** cpusmith has joined #cloudkitty | 14:20 | |
*** cpusmith has quit IRC | 14:21 | |
*** ssmith has quit IRC | 14:23 | |
*** magicboiz has joined #cloudkitty | 14:34 | |
*** johnjiui has joined #cloudkitty | 14:42 | |
*** ssmith has joined #cloudkitty | 14:47 | |
ssmith | peschk_l: how are you? How can we verify that we've et up Cloudkitty correctly? We don't seem to be seeing any data or reports. We're also having an issue with the Horizon dashboard. | 14:48 |
peschk_l | ssmith, I'm fine and you ? which version of cloudkitty are you using ? | 14:48 |
ssmith | master branch on Newton deployed with ansible | 14:49 |
peschk_l | have you given cloudkitty the"rating" role on the tenants you want to rate ? | 14:50 |
ssmith | I followed readthedocs for hashmap and created fields and mappings for the services. report-tenant-list shows the tenants that we want. | 14:51 |
peschk_l | what storage backend are you using ? | 14:51 |
peschk_l | can you paste your config somewhere ? | 14:52 |
ssmith | Yes, added role to tenents. | 14:52 |
ssmith | Using gnocchi as back end and there's tons of data collected in gnocchi | 14:52 |
ssmith | Used openstack role add --project XXX --user cloudkitty rating | 14:53 |
peschk_l | OK | 14:53 |
ssmith | Yes, will paste config | 14:54 |
peschk_l | May I see your cloudkitty.conf ? | 14:54 |
ssmith | Yes, let me get it | 14:54 |
*** tomtomtom has quit IRC | 14:57 | |
*** tomtomtom has joined #cloudkitty | 14:57 | |
ssmith | Sorry, took a while peschk_l so here: https://pastebin.com/GBq01crS | 15:32 |
ssmith | peschk_l: Sorry, it's the Ocata branch | 15:40 |
ssmith | Well, this is embarrassing Just found this in the logs. https://pastebin.com/hgqaXKVK but don't know why. | 15:46 |
tomtomtom | peschk_l - we see this in the config file but I am wondering what these services are defining actually: http://paste.openstack.org/show/626281/ | 15:48 |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: [WIP] Add a tempest plugin gate job https://review.openstack.org/519687 | 15:53 |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: [WIP] Add a tempest plugin gate job https://review.openstack.org/519687 | 15:57 |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: [WIP] Add a tempest plugin gate job https://review.openstack.org/519687 | 16:03 |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: [WIP] Add a tempest plugin gate job https://review.openstack.org/519687 | 16:05 |
peschk_l | ssmith, tomtomtom, there is something wrong with the 'services' entry in your config file | 16:13 |
peschk_l | ssmith, tomtomtom, you should have something like 'services = compute, volume, network.bw.in' | 16:14 |
ssmith | We just changed it to services = compute, volume, network.bw.in, network.bw.out, network.floating, image | 16:14 |
ssmith | And now at least cloudkitty storage-dataframe-list spits out a ton | 16:15 |
peschk_l | ssmith, that should work, let me look at your config file again to see if there is something wrong | 16:15 |
peschk_l | glad to hear that :) | 16:15 |
peschk_l | ssmith, you can use the --begin and --end args to have less informations | 16:16 |
ssmith | And I'm thinking that we'll have to wait 3600 secs to see anything in the reports | 16:16 |
peschk_l | ssmith, you can set the collect period to a lower value if you want quick results | 16:17 |
peschk_l | but it implies that you will get a lot more dataframes | 16:17 |
ssmith | a cloudkitty collector-state-get -n compute show enabled false. Do we need to enable them? | 16:18 |
ssmith | Oh, maybe it should be cloudkitty collector-state-get -n gnocchi instead | 16:20 |
peschk_l | ssmith yes, your coollector is gnocchi | 16:20 |
peschk_l | you also need to enable the hashmap rating module if you used it to create your rating ruiles | 16:21 |
ssmith | hashmap | True | 100 noop is 1 and pyscripts is 2 | 16:22 |
ssmith | Is 100 a higher or lower priority? | 16:22 |
peschk_l | 100 is a higher priority | 16:24 |
peschk_l | pyscript won't do anything if you don't create some scripts (but that's for very specific use cases) | 16:25 |
ssmith | Do you see anything else incorrect with the conf file? | 16:27 |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: [WIP] Add a tempest plugin gate job https://review.openstack.org/519687 | 16:35 |
peschk_l | ssmith, no, the rest seems ok to me | 16:36 |
ssmith | OK, while we're waiting next was the dashboard that didn't show some modal windows correctly and prevented projects from being listed in other modules like modifying a flavor access | 16:41 |
ssmith | Also in views.py we had to change template_name = "horizon/common/modal_form.html" to _modal_form->had to add an underscore otherwise we would get an oops, something went wrong but still the modal window didn't pop up - it was just a web form. | 16:46 |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: [WIP] Add a tempest plugin gate job https://review.openstack.org/519687 | 16:57 |
*** johnjiui has quit IRC | 17:11 | |
ssmith | peschk_l: Did you see my last two ? | 17:12 |
tomtomtom | peschk_l can we use cloudkitty-writer to get reports? or do they come out of the dashboard? | 17:37 |
ssmith | peschk_l it's been more than an hour and more than 10 minutes after we changed the time in cloudkitty.conf to 600 but everything is zeros and summary is | 17:47 |
ssmith | ALL | ALL | 0 | 2017-11-01T00:00:00 | 2017-12-01T00:00:00 | 17:47 |
ssmith | Total get is Total | 0 | 17:47 |
ssmith | peschk_l: with the dashboard we get 78eb25f826d5.js:699 Uncaught Error: [$injector:modulerr] Failed to instantiate module horizon.app due to: | 18:57 |
ssmith | Error: [$injector:nomod] Module 'horizon.app' is not available! | 18:57 |
*** tomtomtom has quit IRC | 20:23 | |
*** zigo has quit IRC | 21:59 | |
*** zigo has joined #cloudkitty | 22:01 | |
*** ssmith has quit IRC | 22:12 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!