*** Venkatesh has joined #cloudkitty | 02:57 | |
*** chuenlye has quit IRC | 03:01 | |
*** chuenlye has joined #cloudkitty | 04:04 | |
*** chuenlye has quit IRC | 07:48 | |
*** chuenlye has joined #cloudkitty | 10:20 | |
*** chuenlye_ has joined #cloudkitty | 11:01 | |
*** chuenlye has quit IRC | 11:04 | |
*** chuenlye has joined #cloudkitty | 11:12 | |
*** chuenlye_ has quit IRC | 11:12 | |
*** chuenlye_ has joined #cloudkitty | 11:39 | |
*** chuenlye has quit IRC | 11:39 | |
*** chuenlye has joined #cloudkitty | 11:41 | |
*** chuenlye_ has quit IRC | 11:41 | |
*** chuenlye_ has joined #cloudkitty | 11:56 | |
*** chuenlye has quit IRC | 11:56 | |
*** Venkatesh has quit IRC | 11:59 | |
*** chuenlye_ has quit IRC | 12:27 | |
*** chuenlye has joined #cloudkitty | 12:27 | |
sheeprine | chuenlye_: Hi, about your devstack problem. Two options : | 12:36 |
---|---|---|
sheeprine | 1) You applied your rating rules but previous calculations were already processed, so you'll only get rated values for the next periods. | 12:37 |
sheeprine | 2) It's not applying at all | 12:37 |
sheeprine | We can have an insight about that if you dump your storage database | 12:37 |
sheeprine | try to do a "select * from rated_data_frames order by begin DESC limit 24;" | 12:38 |
sheeprine | if you want to retrigger the calculation process and you don't care about the data already stored in the cloudkitty's storage just do a "delete from rated_data_frames;" or a truncate | 12:39 |
*** chuenlye has joined #cloudkitty | 12:41 | |
huats | <sheeprine> chuenlye_: Hi, about your devstack problem. Two options : | 12:51 |
huats | <sheeprine> 1) You applied your rating rules but previous calculations were already processed, so you'll only get rated values for the next periods. | 12:51 |
huats | <sheeprine> 2) It's not applying at all | 12:51 |
huats | <sheeprine> We can have an insight about that if you dump your storage database | 12:51 |
huats | <sheeprine> try to do a "select * from rated_data_frames order by begin DESC limit 24;" | 12:51 |
huats | <sheeprine> if you want to retrigger the calculation process and you don't care about the data already stored in the cloudkitty's storage just do a "delete from rated_data_frames;" or a truncate | 12:51 |
chuenlye | hi, huats | 13:40 |
chuenlye | My result of that SQL is here: https://etherpad.openstack.org/p/cloudkitty-memo | 13:40 |
chuenlye | The first options you said seems not the reason. I run cloudkitty for about two days already. but until now there is still no any result. what is its calculate period? thanks! | 13:42 |
huats | chuenlye: I was just doing a copy paste | 13:43 |
huats | sheeprine: was giving you the answer | 13:43 |
huats | but you were not connected | 13:43 |
sheeprine | chuenlye: Are you still getting a 0.0 in the rating view ? | 13:45 |
sheeprine | because you clearly got data and rating rules applied | 13:45 |
chuenlye | I am sorry I am not familiar with IRC yet:( Yes, still 0.0 in the rating view and no any graph in reporting view | 13:46 |
sheeprine | Data are related to tenant f3109dbe2168439e8b276bd46595171e | 13:46 |
sheeprine | are you logged for this tenant ? | 13:46 |
chuenlye | it is demo tenant. which log should I check? | 13:47 |
chuenlye | Oh, I saw the Rating value ! | 13:48 |
sheeprine | what about the graphs ? | 13:49 |
chuenlye | in 'demo' tenant view, I can see total value ! and Reporting is now OK | 13:49 |
sheeprine | the view is per tenant | 13:49 |
sheeprine | it's filtered on your current tenant id | 13:50 |
sheeprine | You don't want your users to see how much others are consuming ;) | 13:50 |
chuenlye | Now only Compute in graph. but I create two instances for admin user and two for demo user. why admin tenant cannot see rating and reporting ? | 13:51 |
sheeprine | Configuration done in devstack only sets the rating role on the demo tenant | 13:52 |
sheeprine | if you want to tell cloudkitty to apply rates on your admin tenant you need to add the role on this tenant too | 13:52 |
sheeprine | user=cloudkitty, role=rating, tenant=admin | 13:52 |
chuenlye | oh, I see! 'rating' role must be granted to the user we want to see, isn't it? | 13:54 |
sheeprine | exactly | 13:55 |
chuenlye | but another question: yesterday I used demo tenant for test. and in demo tenant view there was no any rating and reporting. and I checked that rated_data_frames, all record is the same: column of res_type was always '_NO_DATA_' | 13:57 |
chuenlye | how long is the calculate period? | 13:58 |
sheeprine | It's once every hour by default | 13:58 |
chuenlye | # Rating period in seconds. (integer value) | 13:59 |
chuenlye | #period = 3600 | 13:59 |
chuenlye | oh, i see. | 13:59 |
sheeprine | If there is nothing in the storage about a tenant it'll start from the begining of the current month | 13:59 |
sheeprine | since you don't have any data in ceilometer you'll get empty data frames, it's used to explicitly signal that there was no data and track data state. | 13:59 |
chuenlye | The quick start for cloudkitty seems not to be quick though, now I can see it work well:) Thanks, guys! Let me continue to try it. | 14:06 |
sheeprine | Don't hesitate to ask us any question, we need user feedback. Thansk | 14:08 |
*** chuenlye has quit IRC | 15:51 | |
*** chuenlye has joined #cloudkitty | 15:51 | |
*** chuenlye has joined #cloudkitty | 22:36 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!