bad upgrade of gnocchi resources

Bug #1651516 reported by gordon chung on 2016-12-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
High
Mehdi Abaakouk

Bug Description

2016-12-14 18:58:02.989 | 2016-12-14 18:58:02.989 16134 INFO ceilometer.cmd.storage [-] Skipping metering database upgrade
2016-12-14 18:58:02.989 | 2016-12-14 18:58:02.989 16134 INFO ceilometer.cmd.storage [-] Skipping event database upgrade
2016-12-14 18:58:02.989 | 2016-12-14 18:58:02.989 16134 DEBUG ceilometer.cmd.storage [-] Upgrading Gnocchi resource types upgrade /opt/stack/new/ceilometer/ceilometer/cmd/storage.py:60
2016-12-14 18:58:35.838 | 2016-12-14 18:58:35.833 16134 ERROR ceilometer.gnocchi_client [-] Gnocchi resource update fail: add volume_type to volume
2016-12-14 18:58:35.838 | 2016-12-14 18:58:35.833 16134 ERROR ceilometer.gnocchi_client Traceback (most recent call last):
2016-12-14 18:58:35.838 | 2016-12-14 18:58:35.833 16134 ERROR ceilometer.gnocchi_client File "/opt/stack/new/ceilometer/ceilometer/gnocchi_client.py", line 122, in upgrade_resource_types
2016-12-14 18:58:35.838 | 2016-12-14 18:58:35.833 16134 ERROR ceilometer.gnocchi_client gnocchi.resource_type.update(op['resource_type'], op['data'])
2016-12-14 18:58:35.838 | 2016-12-14 18:58:35.833 16134 ERROR ceilometer.gnocchi_client File "/usr/local/lib/python2.7/dist-packages/gnocchiclient/v1/resource_type.py", line 65, in update
2016-12-14 18:58:35.838 | 2016-12-14 18:58:35.833 16134 ERROR ceilometer.gnocchi_client data=jsonutils.dumps(operations)).json()
2016-12-14 18:58:35.838 | 2016-12-14 18:58:35.833 16134 ERROR ceilometer.gnocchi_client File "/usr/local/lib/python2.7/dist-packages/gnocchiclient/v1/base.py", line 49, in _patch
2016-12-14 18:58:35.839 | 2016-12-14 18:58:35.833 16134 ERROR ceilometer.gnocchi_client return self.client.api.patch(*args, **kwargs)
2016-12-14 18:58:35.839 | 2016-12-14 18:58:35.833 16134 ERROR ceilometer.gnocchi_client File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 228, in patch
2016-12-14 18:58:35.839 | 2016-12-14 18:58:35.833 16134 ERROR ceilometer.gnocchi_client return self.request(url, 'PATCH', **kwargs)
2016-12-14 18:58:35.839 | 2016-12-14 18:58:35.833 16134 ERROR ceilometer.gnocchi_client File "/usr/local/lib/python2.7/dist-packages/gnocchiclient/client.py", line 38, in request
2016-12-14 18:58:35.839 | 2016-12-14 18:58:35.833 16134 ERROR ceilometer.gnocchi_client raise exceptions.from_response(resp, method)
2016-12-14 18:58:35.839 | 2016-12-14 18:58:35.833 16134 ERROR ceilometer.gnocchi_client BadRequest: Invalid input: expected a list (HTTP 400)
2016-12-14 18:58:35.839 | 2016-12-14 18:58:35.833 16134 ERROR ceilometer.gnocchi_client

gordon chung (chungg) on 2016-12-20
Changed in ceilometer:
status: New → Incomplete
status: Incomplete → Triaged
importance: Undecided → High
gordon chung (chungg) wrote :
Changed in ceilometer:
status: Triaged → Fix Released
assignee: nobody → Mehdi Abaakouk (sileht)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers