Tuesday, 2017-11-14

*** liujiong has joined #cloudkitty01:25
*** liujiong has quit IRC02:06
*** liujiong has joined #cloudkitty02:06
*** liujiong has quit IRC02:14
*** liujiong has joined #cloudkitty02:15
*** liujiong has quit IRC02:15
*** ssmith has joined #cloudkitty05:17
*** ssmith has quit IRC05:53
*** liujiong has joined #cloudkitty06:30
*** magicboiz has quit IRC06:55
*** liujiong has quit IRC07:05
*** liujiong has joined #cloudkitty07:13
*** liujiong has quit IRC07:15
*** liujiong has joined #cloudkitty07:15
*** magicboiz has joined #cloudkitty07:16
*** magicboiz has quit IRC08:31
*** magicboiz has joined #cloudkitty08:31
openstackgerritMartin CAMEY proposed openstack/cloudkitty master: Split metrology configuration from CK config file  https://review.openstack.org/50762709:19
*** liujiong_lj has joined #cloudkitty09:19
*** liujiong has quit IRC09:20
*** liujiong_lj has quit IRC10:10
*** zhurong has joined #cloudkitty12:46
openstackgerritMerged openstack/cloudkitty-tempest-plugin master: Committing initial work  https://review.openstack.org/51854913:14
*** zhurong has quit IRC13:26
*** magicboiz has quit IRC13:30
*** ssmith has joined #cloudkitty14:18
*** cpusmith has joined #cloudkitty14:20
*** cpusmith has quit IRC14:21
*** ssmith has quit IRC14:23
*** magicboiz has joined #cloudkitty14:34
*** johnjiui has joined #cloudkitty14:42
*** ssmith has joined #cloudkitty14:47
ssmithpeschk_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_lssmith, I'm fine and you ? which version of cloudkitty are you using ?14:48
ssmithmaster branch on Newton deployed with ansible14:49
peschk_lhave you given cloudkitty the"rating" role on the tenants you want to rate ?14:50
ssmithI followed readthedocs for hashmap and created fields and mappings for the services. report-tenant-list shows the tenants that we want.14:51
peschk_lwhat storage backend are you using ?14:51
peschk_lcan you paste your config somewhere ?14:52
ssmithYes, added role to tenents.14:52
ssmithUsing gnocchi as back end and there's tons of data collected in gnocchi14:52
ssmithUsed openstack role add --project XXX --user cloudkitty rating14:53
peschk_lOK14:53
ssmithYes, will paste config14:54
peschk_lMay I see your cloudkitty.conf ?14:54
ssmithYes, let me get it14:54
*** tomtomtom has quit IRC14:57
*** tomtomtom has joined #cloudkitty14:57
ssmithSorry, took a while peschk_l so here: https://pastebin.com/GBq01crS15:32
ssmithpeschk_l: Sorry, it's the Ocata branch15:40
ssmithWell, this is embarrassing Just found this in the logs. https://pastebin.com/hgqaXKVK but don't know why.15:46
tomtomtompeschk_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
openstackgerritLuka Peschke proposed openstack/cloudkitty master: [WIP] Add a tempest plugin gate job  https://review.openstack.org/51968715:53
openstackgerritLuka Peschke proposed openstack/cloudkitty master: [WIP] Add a tempest plugin gate job  https://review.openstack.org/51968715:57
openstackgerritLuka Peschke proposed openstack/cloudkitty master: [WIP] Add a tempest plugin gate job  https://review.openstack.org/51968716:03
openstackgerritLuka Peschke proposed openstack/cloudkitty master: [WIP] Add a tempest plugin gate job  https://review.openstack.org/51968716:05
peschk_lssmith, tomtomtom, there is something wrong with the 'services' entry in your config file16:13
peschk_lssmith, tomtomtom, you should have something like 'services = compute, volume, network.bw.in'16:14
ssmithWe just changed it to services = compute, volume, network.bw.in, network.bw.out, network.floating, image16:14
ssmithAnd now at least cloudkitty storage-dataframe-list spits out a ton16:15
peschk_lssmith, that should work, let me look at your config file again to see if there is something wrong16:15
peschk_lglad to hear that :)16:15
peschk_lssmith, you can use the --begin and --end args to have less informations16:16
ssmithAnd I'm thinking that we'll have to wait 3600 secs to see anything in the reports16:16
peschk_lssmith, you can set the collect period to a lower value if you want quick results16:17
peschk_lbut it implies that you will get a lot more dataframes16:17
ssmitha cloudkitty collector-state-get -n compute show enabled false. Do we need to enable them?16:18
ssmithOh, maybe it should be  cloudkitty collector-state-get -n gnocchi instead16:20
peschk_lssmith yes, your coollector is gnocchi16:20
peschk_lyou also need to enable the hashmap rating module if you used it to create your rating ruiles16:21
ssmithhashmap   | True    | 100            noop is 1 and pyscripts is 216:22
ssmithIs 100 a higher or lower priority?16:22
peschk_l100 is a higher priority16:24
peschk_lpyscript won't do anything if you don't create some scripts (but that's for very specific use cases)16:25
ssmithDo you see anything else incorrect with the conf file?16:27
openstackgerritLuka Peschke proposed openstack/cloudkitty master: [WIP] Add a tempest plugin gate job  https://review.openstack.org/51968716:35
peschk_lssmith, no, the rest seems ok to me16:36
ssmithOK, 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 access16:41
ssmithAlso 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
openstackgerritLuka Peschke proposed openstack/cloudkitty master: [WIP] Add a tempest plugin gate job  https://review.openstack.org/51968716:57
*** johnjiui has quit IRC17:11
ssmithpeschk_l: Did you see my last two ?17:12
tomtomtompeschk_l can we use cloudkitty-writer to get reports?  or do they come out of the dashboard?17:37
ssmithpeschk_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 is17:47
ssmith ALL       | ALL           | 0    | 2017-11-01T00:00:00 | 2017-12-01T00:00:0017:47
ssmithTotal get is  Total    | 017:47
ssmithpeschk_l: with the dashboard we get 78eb25f826d5.js:699 Uncaught Error: [$injector:modulerr] Failed to instantiate module horizon.app due to:18:57
ssmithError: [$injector:nomod] Module 'horizon.app' is not available!18:57
*** tomtomtom has quit IRC20:23
*** zigo has quit IRC21:59
*** zigo has joined #cloudkitty22:01
*** ssmith has quit IRC22:12

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