*** venkat_p has joined #cloudkitty | 02:41 | |
openstackgerrit | Merged stackforge/cloudkitty: Added gabbi API tests https://review.openstack.org/223082 | 04:48 |
---|---|---|
*** openstackgerrit has quit IRC | 05:31 | |
*** openstackgerrit has joined #cloudkitty | 05:32 | |
openstackgerrit | Stéphane Albert proposed stackforge/cloudkitty: Added new rating module PyScripts https://review.openstack.org/207391 | 06:47 |
*** butler_fr has joined #cloudkitty | 09:48 | |
butler_fr | hello | 09:49 |
butler_fr | may i request some help in setting a devstack env with cloudkitty? | 09:51 |
sheeprine | Hi, sure | 09:54 |
butler_fr | :) | 09:58 |
butler_fr | i set up cloudkitty with this video: https://www.youtube.com/watch?v=Q_m_-YQjHMU | 10:00 |
butler_fr | but when i start an instance the rating stay at 0 | 10:00 |
butler_fr | "Total : 0" in the rating pannel of the project | 10:01 |
sheeprine | total at 0 in the rating pannel can be explained but in the instance view that's something else | 10:03 |
sheeprine | Can you show me the rating rules you created ? | 10:03 |
butler_fr | 3 services : floating / volume / compute | 10:05 |
butler_fr | in compute : 2 fields : flavor / image_id | 10:05 |
butler_fr | a group : instance_uptime | 10:06 |
butler_fr | in flavor's field in set 4 fields mapping | 10:08 |
butler_fr | like : m1.medium flat 0.08000000 a0c9f703-3bdf-49af-92d1-c98d51dbf1a4 (the group id) | 10:08 |
sheeprine | ok | 10:08 |
butler_fr | etc... | 10:08 |
sheeprine | ok | 10:08 |
sheeprine | Your configuration seems fine | 10:09 |
sheeprine | I guess you are using devstack with the master branch? | 10:09 |
butler_fr | nop i'm using devstack with stable/kilo | 10:10 |
butler_fr | may be i must set CLOUDKITTY_BRANCH=stable/kilo ?? | 10:11 |
sheeprine | master is not supposed to break with kilo | 10:12 |
butler_fr | ok | 10:12 |
sheeprine | can you have a look at the API logs | 10:12 |
sheeprine | ck-api in screen | 10:12 |
butler_fr | ok i'm in | 10:12 |
sheeprine | Try to create an instance and change the flavor | 10:13 |
sheeprine | do you see a message on the API logs ? | 10:13 |
butler_fr | when i open the instance create menu i see api logs | 10:14 |
sheeprine | "Received quote from RPC." ? | 10:14 |
butler_fr | the price change when i change setings of the instance in the menu but i can't see "Received quote from RPC." in the logs | 10:16 |
sheeprine | So you're saying that the instant price is working fine? | 10:16 |
butler_fr | yep | 10:17 |
sheeprine | that's a good news | 10:17 |
sheeprine | I messed up, the RPC message is on the ck-proc | 10:17 |
butler_fr | i see it in ck-proc | 10:18 |
butler_fr | one thing that doesn't work on the configuration screen: when i want to create more than 1 instance the price doesn't change, but it should... | 10:19 |
sheeprine | I need to check the dashboard code to see what's going on | 10:20 |
butler_fr | ok | 10:20 |
sheeprine | About the total pannel, prices are calculated every hour by default | 10:20 |
sheeprine | so if you set rating rules you must wait for the next period | 10:21 |
sheeprine | if you just want to test and see direct results you can reset the storage database | 10:21 |
sheeprine | delete from rated_data_frames; | 10:21 |
sheeprine | in the cloudkitty database | 10:21 |
sheeprine | It will remove all calculated and collected data | 10:21 |
butler_fr | okay! | 10:21 |
sheeprine | you restart the ck-proc and it'll start over | 10:21 |
butler_fr | and how is the reporting tab working? | 10:22 |
sheeprine | What do you mean? | 10:22 |
*** butler_fr_ has joined #cloudkitty | 10:24 | |
butler_fr_ | irc crash... | 10:24 |
butler_fr_ | so in the reporting tab i see : Cumulative Cost Repartition Cost per service per hour | 10:24 |
butler_fr_ | how does it work? | 10:24 |
butler_fr_ | and now i can see ratings :) | 10:25 |
butler_fr_ | Rating Total : 0.0879999995232 | 10:25 |
sheeprine | You should see graphs, with a breakdown of every services | 10:25 |
butler_fr_ | ok is there a delay like the in the rating tab? | 10:26 |
sheeprine | no, it's using the report API and it's dynamic | 10:26 |
sheeprine | Which browser are you using ? | 10:26 |
butler_fr_ | firefox | 10:26 |
*** butler_fr has quit IRC | 10:27 | |
butler_fr_ | 40.0.3 | 10:27 |
sheeprine | would you mind trying with chromium | 10:27 |
sheeprine | just to be sure | 10:27 |
butler_fr_ | just tested with chrome and not working too | 10:28 |
sheeprine | Ok, can you check the logs of ck-api and go in the reporting tab again | 10:30 |
sheeprine | You should see the call to /v1/storage | 10:30 |
butler_fr_ | i see it | 10:31 |
butler_fr_ | but not working ;) | 10:32 |
sheeprine | I need to check that but it might simply be a timezone problem | 10:34 |
butler_fr_ | ok both my computer and the server are configured with UTC+2 (paris) | 10:35 |
butler_fr_ | there is just 1 minutes of delay beetwen the 2 | 10:36 |
butler_fr_ | and the log are in the good time | 10:36 |
butler_fr_ | i have to leave now i came back later | 10:36 |
butler_fr_ | thank for the help :) | 10:36 |
sheeprine | you're welcome, I'll check to see what's going on | 10:37 |
*** venkat_p has quit IRC | 11:40 | |
*** openstackgerrit has quit IRC | 13:46 | |
*** openstackgerrit has joined #cloudkitty | 13:47 | |
*** butler_fr_ has quit IRC | 14:31 | |
*** openstackgerrit has quit IRC | 22:46 | |
*** openstackgerrit has joined #cloudkitty | 22:47 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!