Thursday, 2019-05-09

openstackgerritLuka Peschke proposed openstack/cloudkitty-tempest-plugin master: Update hacking version to latest  https://review.opendev.org/62863209:15
openstackgerritMerged openstack/cloudkitty-tempest-plugin master: Use opendev repository  https://review.opendev.org/65489210:01
openstackgerritMerged openstack/cloudkitty master: Replace git.openstack.org URLs with opendev.org URLs  https://review.opendev.org/65496210:04
*** zigo has quit IRC11:59
*** zigo has joined #cloudkitty12:21
openstackgerritLuka Peschke proposed openstack/cloudkitty-specs master: Spec: Add a v2 API endpoint to retrieve the state of different scopes  https://review.opendev.org/65807213:08
openstackgerritLuka Peschke proposed openstack/cloudkitty master: Add a v2 API endpoint to get scope state  https://review.opendev.org/65807313:18
*** altlogbot_2 has quit IRC13:43
*** altlogbot_0 has joined #cloudkitty13:44
*** lemko has joined #cloudkitty13:44
lemkoHi. Is there some kind of "detailed invoice" that can be handed over to the customer using cloud kitty?13:45
lemkocause the rating summary page, only contains the total price for me13:45
peschk_llemko: 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_land you'll be able to generate these through the API13:47
peschk_llemko: note that this is already possible in Stein: https://docs.openstack.org/python-cloudkittyclient/latest/usage.html#csv-report-generation13:47
lemkoI'm using rocky13:48
peschk_llemko: works too, as long as you client version is > to 2.013:48
peschk_lyour*13:50
lemkoThanks a lot. Why it should run on the controller node? Even if I expose cloudkitty endpoint?13:52
lemkoRight now it is going though the same endpoint as the rest of cloudkitty command?13:53
peschk_llemko: right now, the "cloudkitty-writer" script directly queries the storage backend13:54
peschk_lbut we don't like this approach, that's why we want to create a v2 API endpoint13:54
lemkoOk, sure, I don't want to expose my storage backend13:55
peschk_lThe 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 hack13:56
lemkoI tried to generate a report for one tenant14:02
lemkohttp://paste.openstack.org/show/751167/14:02
lemkoAnd I get key error KeyError: 'metadata'14:02
lemkowhen adding --begin, and --end, same problem14:04
lemkopeschk_l, any idea about this?14:26
lemkoProblem of cloud kitty cli?14:26
*** happyhemant has joined #cloudkitty14:30
happyhemantI have the same problem.14:31
lemkoDid you install cloudkitty from source or package?14:31
lemkoMe I installed directly from stable/rocky14:31
happyhemantlemko: source14:32
peschk_llemko: argh, that's a know issue :( Have you tried with the client ?14:56
lemkoTo download the client using a package?14:57
lemkocause the client gets installed as well.14:58
peschk_llemko: I meant with the cloudkityclient and the v1 API endpoint, as described here: https://docs.openstack.org/python-cloudkittyclient/latest/usage.html#csv-report-generation15:23
*** irclogbot_0 has quit IRC16:46
*** irclogbot_0 has joined #cloudkitty16:46
*** my_nd has joined #cloudkitty16:56
my_ndhi! 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 IRC17:24
*** lemko has quit IRC18:44
*** happyhemant has quit IRC18:58

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