openstackgerrit | Luka Peschke proposed openstack/cloudkitty-tempest-plugin master: Update hacking version to latest https://review.opendev.org/628632 | 09:15 |
---|---|---|
openstackgerrit | Merged openstack/cloudkitty-tempest-plugin master: Use opendev repository https://review.opendev.org/654892 | 10:01 |
openstackgerrit | Merged openstack/cloudkitty master: Replace git.openstack.org URLs with opendev.org URLs https://review.opendev.org/654962 | 10:04 |
*** zigo has quit IRC | 11:59 | |
*** zigo has joined #cloudkitty | 12:21 | |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty-specs master: Spec: Add a v2 API endpoint to retrieve the state of different scopes https://review.opendev.org/658072 | 13:08 |
openstackgerrit | Luka Peschke proposed openstack/cloudkitty master: Add a v2 API endpoint to get scope state https://review.opendev.org/658073 | 13:18 |
*** altlogbot_2 has quit IRC | 13:43 | |
*** altlogbot_0 has joined #cloudkitty | 13:44 | |
*** lemko has joined #cloudkitty | 13:44 | |
lemko | Hi. Is there some kind of "detailed invoice" that can be handed over to the customer using cloud kitty? | 13:45 |
lemko | cause the rating summary page, only contains the total price for me | 13:45 |
peschk_l | lemko: Hi! Yes there is. For now, you have to generate it with the "cloudkitty-writer generate" command (you must run it on the controller nodes). In Train, there will be an API endpoint dedicated to this. | 13:46 |
peschk_l | and you'll be able to generate these through the API | 13:47 |
peschk_l | lemko: note that this is already possible in Stein: https://docs.openstack.org/python-cloudkittyclient/latest/usage.html#csv-report-generation | 13:47 |
lemko | I'm using rocky | 13:48 |
peschk_l | lemko: works too, as long as you client version is > to 2.0 | 13:48 |
peschk_l | your* | 13:50 |
lemko | Thanks a lot. Why it should run on the controller node? Even if I expose cloudkitty endpoint? | 13:52 |
lemko | Right now it is going though the same endpoint as the rest of cloudkitty command? | 13:53 |
peschk_l | lemko: right now, the "cloudkitty-writer" script directly queries the storage backend | 13:54 |
peschk_l | but we don't like this approach, that's why we want to create a v2 API endpoint | 13:54 |
lemko | Ok, sure, I don't want to expose my storage backend | 13:55 |
peschk_l | The method with the client I sent you uses the same endpoint as the "dataframes get" command, and provides some extra formatting, so it's kind of a hack | 13:56 |
lemko | I tried to generate a report for one tenant | 14:02 |
lemko | http://paste.openstack.org/show/751167/ | 14:02 |
lemko | And I get key error KeyError: 'metadata' | 14:02 |
lemko | when adding --begin, and --end, same problem | 14:04 |
lemko | peschk_l, any idea about this? | 14:26 |
lemko | Problem of cloud kitty cli? | 14:26 |
*** happyhemant has joined #cloudkitty | 14:30 | |
happyhemant | I have the same problem. | 14:31 |
lemko | Did you install cloudkitty from source or package? | 14:31 |
lemko | Me I installed directly from stable/rocky | 14:31 |
happyhemant | lemko: source | 14:32 |
peschk_l | lemko: argh, that's a know issue :( Have you tried with the client ? | 14:56 |
lemko | To download the client using a package? | 14:57 |
lemko | cause the client gets installed as well. | 14:58 |
peschk_l | lemko: I meant with the cloudkityclient and the v1 API endpoint, as described here: https://docs.openstack.org/python-cloudkittyclient/latest/usage.html#csv-report-generation | 15:23 |
*** irclogbot_0 has quit IRC | 16:46 | |
*** irclogbot_0 has joined #cloudkitty | 16:46 | |
*** my_nd has joined #cloudkitty | 16:56 | |
my_nd | hi! can Cloudkitty charge for IPv6 address that is assigned to an instance?. Im using an openstack pike version with kolla-ansible. | 16:58 |
*** my_nd has quit IRC | 17:24 | |
*** lemko has quit IRC | 18:44 | |
*** happyhemant has quit IRC | 18:58 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!