Ask Your Question
1

Cloudkitty - Rating display issue

asked 2015-12-19 00:24:12 -0500

itsme gravatar image

updated 2015-12-19 00:30:17 -0500

In my Devstack setup there was a issue in displaying details in the Rating section.

Pricing was configured correctly, During Instance creation Rate is displayed in the instance creation window.

But after creation of instance I am checking the Rating section for rates or cost.

It was not displaying the value as needed.

I checked the DB table (rated_data_frames) in Cloudkitty.

It doesn't have the necessary values immediately.

I was continuously checking for some hours consecutively.

But I can be able to see that Cloudkitty DB is getting updated with the values after some hours from instance creation.

That is after some hours, it is getting added in table regarding the Instance created.

So that in Front-end also it got displayed.

I want to know why it is happening.

Is there any solution for the same to get the results immediately.

Simply I need to get the results immediately in rating section.

edit retag flag offensive close merge delete

Comments

@itsme Got any idea? Can you please update the answer if you resolved this.

Savad gravatar imageSavad ( 2016-07-14 06:17:44 -0500 )edit

@Savad Now you can check this its fine now

itsme gravatar imageitsme ( 2016-09-01 04:45:33 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-09-01 04:44:28 -0500

itsme gravatar image

I found the solution for the same.

Time period is by default configured in the file /etc/cloudkitty/cloudkitty.conf.

So that I need to change the time period as I needed.

Now I edited the value as follows:

[collect]
period = 300

period is the one which I need to edit.

Period is in seconds. After editing the same I can be able to see that after 5 mins rates were getting inserted in Db as needed.

But we can't be able to get the results immediately.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-12-19 00:24:12 -0500

Seen: 288 times

Last updated: Sep 01 '16