Howard, "RegionOne" is indeed the default for both the Gnocchi collector and fetcher. See:
https://opendev.org/openstack/cloudkitty/src/commit/8a5319fd5de3f9f9c7b543936a3bb42fb02a62a8/cloudkitty/collector/gnocchi.py#L86 https://opendev.org/openstack/cloudkitty/src/commit/8a5319fd5de3f9f9c7b543936a3bb42fb02a62a8/cloudkitty/fetcher/gnocchi.py#L64
These can be changed to the value set for the `region_name` config parameter from section `[collector_gnocchi]`:
https://opendev.org/openstack/cloudkitty/src/commit/8a5319fd5de3f9f9c7b543936a3bb42fb02a62a8/cloudkitty/collector/gnocchi.py#L184 https://opendev.org/openstack/cloudkitty/src/commit/8a5319fd5de3f9f9c7b543936a3bb42fb02a62a8/cloudkitty/fetcher/gnocchi.py#L107
I think the proper fix would be to modify the source code of Cloudkitty so that `region_name` from `[keystone_authtoken]` is used first, with fallback to `region_name` from `[collector_gnocchi]` and the default if neither one is set.
Howard,
"RegionOne" is indeed the default for both the Gnocchi collector and fetcher. See:
https:/ /opendev. org/openstack/ cloudkitty/ src/commit/ 8a5319fd5de3f9f 9c7b543936a3bb4 2fb02a62a8/ cloudkitty/ collector/ gnocchi. py#L86 /opendev. org/openstack/ cloudkitty/ src/commit/ 8a5319fd5de3f9f 9c7b543936a3bb4 2fb02a62a8/ cloudkitty/ fetcher/ gnocchi. py#L64
https:/
These can be changed to the value set for the `region_name` config parameter from section `[collector_ gnocchi] `:
https:/ /opendev. org/openstack/ cloudkitty/ src/commit/ 8a5319fd5de3f9f 9c7b543936a3bb4 2fb02a62a8/ cloudkitty/ collector/ gnocchi. py#L184 /opendev. org/openstack/ cloudkitty/ src/commit/ 8a5319fd5de3f9f 9c7b543936a3bb4 2fb02a62a8/ cloudkitty/ fetcher/ gnocchi. py#L107
https:/
I think the proper fix would be to modify the source code of Cloudkitty so that `region_name` from `[keystone_ authtoken] ` is used first, with fallback to `region_name` from `[collector_ gnocchi] ` and the default if neither one is set.