Bug 1342575
| Summary: | Failed to run gnocchi-upgrade with file backend | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Yurii Prokulevych <yprokule> |
| Component: | openstack-gnocchi | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED ERRATA | QA Contact: | Yurii Prokulevych <yprokule> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.0 (Mitaka) | CC: | apevec, jdanjou, jjoyce, jschluet, lhh |
| Target Milestone: | ga | Keywords: | Triaged |
| Target Release: | 9.0 (Mitaka) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-gnocchi-2.1.2-1.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-11 12:23:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
This should be fixed in Gnocchi 2.1.2, just need to rebase the package. Gnocchi configured to use file backend. Command """gnocchi-upgrade --debug --create-legacy-resource-types -v""" execured successfully. Legacy resource types created. Packages: --------- openstack-gnocchi-common-2.1.3-1.el7ost.noarch openstack-gnocchi-metricd-2.1.3-1.el7ost.noarch openstack-gnocchi-carbonara-2.1.3-1.el7ost.noarch openstack-gnocchi-indexer-sqlalchemy-2.1.3-1.el7ost.noarch openstack-gnocchi-statsd-2.1.3-1.el7ost.noarch python-gnocchiclient-2.2.0-1.el7ost.noarch python-gnocchi-2.1.3-1.el7ost.noarch openstack-gnocchi-api-2.1.3-1.el7ost.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-1597.html |
Description of problem: Attempt to create 'legacy' resources for ceilometer failed: gnocchi-upgrade --debug --create-legacy-resource-types -v Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future. Exception in thread heartbeat: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner self.run() File "/usr/lib64/python2.7/threading.py", line 764, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/python2.7/site-packages/gnocchi/storage/_carbonara.py", line 77, in _heartbeat while not self._stop_heartbeat.is_set(): AttributeError: 'FileStorage' object has no attribute '_stop_heartbeat' Version-Release number of selected component (if applicable): python-gnocchiclient-2.2.0-1.el7ost.noarch openstack-gnocchi-common-2.1.1-1.el7ost.noarch openstack-gnocchi-statsd-2.1.1-1.el7ost.noarch python-gnocchi-2.1.1-1.el7ost.noarch openstack-gnocchi-metricd-2.1.1-1.el7ost.noarch openstack-gnocchi-indexer-sqlalchemy-2.1.1-1.el7ost.noarch openstack-gnocchi-api-2.1.1-1.el7ost.noarch openstack-gnocchi-carbonara-2.1.1-1.el7ost.noarch Steps to Reproduce: 1. Deploy overcloud 2. Configure gnocchi to use file backend 3. Run: gnocchi-upgrade --debug --create-legacy-resource-types -v