Wallaby fails to run ceilometer-upgrade due to policy restriction
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Ceilometer Charm |
New
|
Undecided
|
Unassigned |
Bug Description
When attempting to run ceilometer-upgrade on the leader unit, the request fails with a 503:
```
ubuntu@
2021-06-18 23:10:51.352 233004 DEBUG ceilometer.
2021-06-18 23:10:58.341 233004 CRITICAL ceilometer [-] Unhandled error: gnocchiclient.
2021-06-18 23:10:58.341 233004 ERROR ceilometer Traceback (most recent call last):
2021-06-18 23:10:58.341 233004 ERROR ceilometer File "/usr/bin/
2021-06-18 23:10:58.341 233004 ERROR ceilometer sys.exit(upgrade())
2021-06-18 23:10:58.341 233004 ERROR ceilometer File "/usr/lib/
2021-06-18 23:10:58.341 233004 ERROR ceilometer tenacity.Retrying(
2021-06-18 23:10:58.341 233004 ERROR ceilometer File "/usr/lib/
2021-06-18 23:10:58.341 233004 ERROR ceilometer do = self.iter(
2021-06-18 23:10:58.341 233004 ERROR ceilometer File "/usr/lib/
2021-06-18 23:10:58.341 233004 ERROR ceilometer return fut.result()
2021-06-18 23:10:58.341 233004 ERROR ceilometer File "/usr/lib/
2021-06-18 23:10:58.341 233004 ERROR ceilometer return self.__get_result()
2021-06-18 23:10:58.341 233004 ERROR ceilometer File "/usr/lib/
2021-06-18 23:10:58.341 233004 ERROR ceilometer raise self._exception
2021-06-18 23:10:58.341 233004 ERROR ceilometer File "/usr/lib/
2021-06-18 23:10:58.341 233004 ERROR ceilometer result = fn(*args, **kwargs)
2021-06-18 23:10:58.341 233004 ERROR ceilometer File "/usr/lib/
2021-06-18 23:10:58.341 233004 ERROR ceilometer gnocchi.
2021-06-18 23:10:58.341 233004 ERROR ceilometer File "/usr/lib/
2021-06-18 23:10:58.341 233004 ERROR ceilometer return self._get(self.url + name,
2021-06-18 23:10:58.341 233004 ERROR ceilometer File "/usr/lib/
2021-06-18 23:10:58.341 233004 ERROR ceilometer return self.client.
2021-06-18 23:10:58.341 233004 ERROR ceilometer File "/usr/lib/
2021-06-18 23:10:58.341 233004 ERROR ceilometer return self.request(url, 'GET', **kwargs)
2021-06-18 23:10:58.341 233004 ERROR ceilometer File "/usr/lib/
2021-06-18 23:10:58.341 233004 ERROR ceilometer raise exceptions.
2021-06-18 23:10:58.341 233004 ERROR ceilometer gnocchiclient.
2021-06-18 23:10:58.341 233004 ERROR ceilometer
```
Concurrently, keystone reports:
```
(py.warnings): 2021-06-18 23:09:55,465 WARNING /usr/lib/
```
indicating that the way gnocchi is set up doesnt comply with the new policy. The action works if run with `--skip-