mkarpiarz | zigo: Looks like you are missing a field (called "type") in your mapping declaration. | 07:19 |
---|---|---|
mkarpiarz | What do you see in the "Type" column on the output from `cloudkitty hashmap mapping list`? | 07:19 |
mkarpiarz | See: https://docs.openstack.org/cloudkitty/latest/user/rating/hashmap.html#mapping | 07:20 |
zigo | mkarpiarz: For all service ID, I see there's Type: flat... | 07:40 |
mkarpiarz | The "type" field is missing from this object: `service_mappings = self._entries[service_name]['mappings']` | 07:44 |
mkarpiarz | So it might be something with the "service" object and not the mapping. | 07:45 |
mkarpiarz | https://docs.openstack.org/cloudkitty/wallaby/user/rating/hashmap.html#service | 07:45 |
opendevreview | Michal Arbet proposed openstack/cloudkitty master: Fix code broken by SQLAlchemy 1.4 https://review.opendev.org/c/openstack/cloudkitty/+/797323 | 07:47 |
opendevreview | Michal Arbet proposed openstack/cloudkitty master: Fix cloudkitty exception handling from gnocchiclient https://review.opendev.org/c/openstack/cloudkitty/+/797313 | 07:52 |
mkarpiarz | Unless you can reproduce the problem in a shared environment (ideally based on https://github.com/mkarpiarz/cloudkitty-playground), I can only advice running the processor through PDB. | 07:59 |
opendevreview | Michal Arbet proposed openstack/cloudkitty master: Fix code broken by SQLAlchemy 1.4 https://review.opendev.org/c/openstack/cloudkitty/+/797323 | 08:59 |
opendevreview | Michal Arbet proposed openstack/cloudkitty master: Fix cloudkitty exception handling from gnocchiclient https://review.opendev.org/c/openstack/cloudkitty/+/797313 | 09:04 |
zigo | mkarpiarz: Thanks, this helped. | 09:06 |
zigo | mkarpiarz: We've found out that in hashmap_mapping, we had one line that had value=None instead of value=NULL, which was porbably the cause of troubles. | 09:07 |
zigo | mkarpiarz: priteau: Do you know if it's ok to have twice the same metric name in /etc/cloudkitty/metrics.yml ? We'd like to bill instances that are ACTIVE, and the one SUSPENDED but with a different price (ie: only HDD of the flavor if the instance is SUSPENDED). I've seen we can use mutate: NOTNUMBOOL in metrics.yml. But will that work to have twice the "cpu" metrics?!? | 09:20 |
zigo | Should I use the alt_name for this ?!? | 09:26 |
opendevreview | Merged openstack/cloudkitty master: SQLalchemy not creating constraint for Enum on version 1.4.0+ https://review.opendev.org/c/openstack/cloudkitty/+/797443 | 10:50 |
opendevreview | Michal Arbet proposed openstack/cloudkitty master: Fix cloudkitty exception handling from gnocchiclient https://review.opendev.org/c/openstack/cloudkitty/+/797313 | 10:56 |
*** sboyron_ is now known as sboyron | 13:07 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!