cloudkitty price always zero [closed]

asked 2016-12-20 09:09:54 -0500

csj gravatar image

Hi I am using latest kolla from git to deploy AIO openstack. Now I enabled cloudkitty, hashmap module and defined some hashmap for admin project

the steps I did in admin -> rating -> hashmap

  • create a new service named compute click into it.
  • in group tab, created a group named instance_rating
  • in fields tab, created a filed name flavor and click into it.
  • create 5 mappings, for 5 flavors in different price, all 5 mapping below to admin project and instance_rating group

image description

Then I go to admin project and create instance, the latest tab price is always 0 How to check this issue or some wrong setting?

below is the detail of the group I created for the 5 mapping

Group Details
Id
ee3f62ce-0c40-466a-bbf9-f74172f30579
Name
instance_rating
Mappings
Fields

Mapping ID
b10a23d8-60c8-40f6-946b-6fb3bf17225a
Field ID
8f0f3097-8117-4091-a907-517673940d89
Cost
150.00000000
Value
m1.tiny
Type
flat
Mapping ID
33a02c9c-7af3-4440-a841-d92a0454234b
Field ID
8f0f3097-8117-4091-a907-517673940d89
Cost
300.00000000
Value
m1.small
Type
flat
Mapping ID
2443f129-1708-47ee-8e44-a6e0f5c485e6
Field ID
8f0f3097-8117-4091-a907-517673940d89
Cost
600.00000000
Value
m1.medium
Type
flat
Mapping ID
521ddb3c-3434-4071-a711-863e43a93566
Field ID
8f0f3097-8117-4091-a907-517673940d89
Cost
1200.00000000
Value
m1.large
Type
flat
Mapping ID
67a6d7a3-d731-4c13-b37a-bdeb4ab846de
Field ID
8f0f3097-8117-4091-a907-517673940d89
Cost
2400.00000000
Value
m1.xlarge
Type
flat
Thresholds
edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by csj
close date 2016-12-20 10:06:14.946469

Comments

dont know why, I do above again by cloudkitty python client, and it works now...strange

csj gravatar imagecsj ( 2016-12-20 10:05:58 -0500 )edit

I tested also cloudkitty. when I added mapping I didn't precise the projects. The result that for the admin I have a billing price but for other users the price is always zero. Do you know how to fix this ?

amirdhaoui gravatar imageamirdhaoui ( 2017-06-06 14:10:55 -0500 )edit