*** vishalmanchanda has joined #cloudkitty | 04:36 | |
*** priteau has joined #cloudkitty | 05:29 | |
*** cylopez has joined #cloudkitty | 06:26 | |
*** sboyron has joined #cloudkitty | 06:30 | |
zigo | priteau: Hi there! After adding your patch https://review.opendev.org/c/openstack/cloudkitty/+/784444 I still get: | 08:21 |
---|---|---|
zigo | # cloudkitty dataframes get -p <project-id> | 08:21 |
zigo | {"faultcode": "Client", "faultstring": "Policy doesn't allow storage:list_data_frames to be performed.", "debuginfo": null} (HTTP 403) | 08:21 |
zigo | Any idea why? | 08:21 |
jonher | can you try any other endpoint that requires the same permissions? such as get_summary, get_total ? | 09:03 |
priteau | zigo: Does it work without the -p option? | 09:03 |
zigo | priteau: Yes. | 09:03 |
zigo | But it doesn't work as admin, with -p ... | 09:04 |
zigo | FYI, my deployment is Victoria, with your patch added. | 09:04 |
priteau | And did the patch fix the get summary call? | 09:04 |
zigo | # cloudkitty summary get --all-tenants | 09:13 |
zigo | {"faultcode": "Client", "faultstring": "Policy doesn't allow report:get_summary to be performed.", "debuginfo": null} (HTTP 403) | 09:13 |
zigo | Nop ... | 09:13 |
zigo | The -t option didn't work either ... | 09:14 |
zigo | (same HTTP 403 error...) | 09:14 |
priteau | Are you sure the patch is applied properly then? | 09:14 |
priteau | It definitely solved the issue for me, on ussuri | 09:14 |
priteau | zigo: You don't happen to have an old policy file in place that would override the in-code policies? | 09:53 |
zigo | priteau: No, I don't. | 10:14 |
zigo | priteau: In my setup, I have /etc/cloudkitty/policy.d/00_default_policy.yaml by default only, which is all commented out. That's what I ship in the official Debian package by default as well, so it's easier for admins to override anything by just adding a new file (and leave the default as-is). | 10:15 |
zigo | priteau: Also, another question (unrelated). We used to bill the volumes this way: | 10:17 |
zigo | cloudkitty hashmap group create volume_size | 10:17 |
zigo | cloudkitty hashmap service create volume_size | 10:17 |
zigo | cloudkitty hashmap mapping create --group-id <group-id> --service-id <service-id> -t flat <price> | 10:17 |
zigo | priteau: How would I do if I want to have different price depending on the volume type? | 10:18 |
zigo | We have 2 different type of volume QoS on our Ceph, which we want to bill differently... | 10:18 |
zigo | CEPH_1_perf1 and CEPH_1_perf2 ... | 10:18 |
*** priteau has quit IRC | 12:48 | |
*** priteau has joined #cloudkitty | 12:54 | |
*** vishalmanchanda has quit IRC | 13:26 | |
*** priteau has quit IRC | 13:43 | |
*** priteau has joined #cloudkitty | 13:46 | |
*** cylopez has quit IRC | 13:52 | |
*** fresta_ has quit IRC | 15:10 | |
*** fresta_ has joined #cloudkitty | 15:12 | |
*** sboyron has quit IRC | 20:45 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!