Friday, 2015-09-18

*** venkat_p has joined #cloudkitty02:41
openstackgerritMerged stackforge/cloudkitty: Added gabbi API tests  https://review.openstack.org/22308204:48
*** openstackgerrit has quit IRC05:31
*** openstackgerrit has joined #cloudkitty05:32
openstackgerritStéphane Albert proposed stackforge/cloudkitty: Added new rating module PyScripts  https://review.openstack.org/20739106:47
*** butler_fr has joined #cloudkitty09:48
butler_frhello09:49
butler_frmay i request some help in setting a devstack env with cloudkitty?09:51
sheeprineHi, sure09:54
butler_fr:)09:58
butler_fri set up cloudkitty with this video: https://www.youtube.com/watch?v=Q_m_-YQjHMU10:00
butler_frbut when i start an instance the rating stay at 010:00
butler_fr"Total : 0" in the rating pannel of the project10:01
sheeprinetotal at 0 in the rating pannel can be explained but in the instance view that's something else10:03
sheeprineCan you show me the rating rules you created ?10:03
butler_fr3 services : floating / volume / compute10:05
butler_frin compute : 2 fields : flavor / image_id10:05
butler_fra group : instance_uptime10:06
butler_frin flavor's field in set 4 fields mapping10:08
butler_frlike : m1.medium flat 0.08000000 a0c9f703-3bdf-49af-92d1-c98d51dbf1a4 (the group id)10:08
sheeprineok10:08
butler_fretc...10:08
sheeprineok10:08
sheeprineYour configuration seems fine10:09
sheeprineI guess you are using devstack with the master branch?10:09
butler_frnop i'm using devstack with stable/kilo10:10
butler_frmay be i must set CLOUDKITTY_BRANCH=stable/kilo ??10:11
sheeprinemaster is not supposed to break with kilo10:12
butler_frok10:12
sheeprinecan you have a look at the API logs10:12
sheeprineck-api in screen10:12
butler_frok i'm in10:12
sheeprineTry to create an instance and change the flavor10:13
sheeprinedo you see a message on the API logs ?10:13
butler_frwhen i open the instance create menu i see api logs10:14
sheeprine"Received quote from RPC." ?10:14
butler_frthe price change when i change setings of the instance in the menu but i can't see "Received quote from RPC." in the logs10:16
sheeprineSo you're saying that the instant price is working fine?10:16
butler_fryep10:17
sheeprinethat's a good news10:17
sheeprineI messed up, the RPC message is on the ck-proc10:17
butler_fri see it in ck-proc10:18
butler_frone 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
sheeprineI need to check the dashboard code to see what's going on10:20
butler_frok10:20
sheeprineAbout the total pannel, prices are calculated every hour by default10:20
sheeprineso if you set rating rules you must wait for the next period10:21
sheeprineif you just want to test and see direct results you can reset the storage database10:21
sheeprinedelete from rated_data_frames;10:21
sheeprinein the cloudkitty database10:21
sheeprineIt will remove all calculated and collected data10:21
butler_frokay!10:21
sheeprineyou restart the ck-proc and it'll start over10:21
butler_frand how is the reporting tab working?10:22
sheeprineWhat do you mean?10:22
*** butler_fr_ has joined #cloudkitty10:24
butler_fr_irc crash...10:24
butler_fr_so in the reporting tab i see : Cumulative Cost Repartition Cost per service per hour10:24
butler_fr_how does it work?10:24
butler_fr_and now i can see ratings :)10:25
butler_fr_ Rating Total : 0.087999999523210:25
sheeprineYou should see graphs, with a breakdown of every services10:25
butler_fr_ok is there a delay like the in the rating tab?10:26
sheeprineno, it's using the report API and it's dynamic10:26
sheeprineWhich browser are you using ?10:26
butler_fr_firefox10:26
*** butler_fr has quit IRC10:27
butler_fr_40.0.310:27
sheeprinewould you mind trying with chromium10:27
sheeprinejust to be sure10:27
butler_fr_just tested with chrome and not working too10:28
sheeprineOk, can you check the logs of ck-api and go in the reporting tab again10:30
sheeprineYou should see the call to /v1/storage10:30
butler_fr_i see it10:31
butler_fr_but not working ;)10:32
sheeprineI need to check that but it might simply be a timezone problem10: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 210:36
butler_fr_and the log are in the good time10:36
butler_fr_i have to leave now i came back later10:36
butler_fr_thank for the help :)10:36
sheeprineyou're welcome, I'll check to see what's going on10:37
*** venkat_p has quit IRC11:40
*** openstackgerrit has quit IRC13:46
*** openstackgerrit has joined #cloudkitty13:47
*** butler_fr_ has quit IRC14:31
*** openstackgerrit has quit IRC22:46
*** openstackgerrit has joined #cloudkitty22:47

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