bad upgrading of resource reencoding
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gnocchi |
Fix Released
|
Critical
|
gordon chung |
Bug Description
the script incorrectly looks at column rather than resource itself when deciding whether to upgrade or not
2017-02-08 17:56:43.598 WARNING oslo_config.cfg [-] Option "user_id" from group "statsd" is deprecated for removal. Its value may be silently ignored in the future.
2017-02-08 17:56:43.598 WARNING oslo_config.cfg [-] Option "project_id" from group "statsd" is deprecated for removal. Its value may be silently ignored in the future.
2017-02-08 17:56:43.909 INFO gnocchi.cli [-] Upgrading indexer <gnocchi.
2017-02-08 17:56:43.924 INFO alembic.
2017-02-08 17:56:43.925 INFO alembic.
2017-02-08 17:56:43.936 INFO alembic.
2017-02-08 17:56:43.937 INFO alembic.
2017-02-08 17:56:43.950 INFO alembic.
2017-02-08 17:56:44.282 INFO alembic.
2017-02-08 17:56:44.388 INFO alembic.
2017-02-08 17:56:44.419 CRITICAL gnocchi [-] AttributeError: 'NoneType' object has no attribute 'replace'
2017-02-08 17:56:44.419 TRACE gnocchi Traceback (most recent call last):
2017-02-08 17:56:44.419 TRACE gnocchi File "/usr/bin/
2017-02-08 17:56:44.419 TRACE gnocchi sys.exit(upgrade())
2017-02-08 17:56:44.419 TRACE gnocchi File "/opt/stack/
2017-02-08 17:56:44.419 TRACE gnocchi create_
2017-02-08 17:56:44.419 TRACE gnocchi File "/opt/stack/
2017-02-08 17:56:44.419 TRACE gnocchi command.
2017-02-08 17:56:44.419 TRACE gnocchi File "/usr/lib/
2017-02-08 17:56:44.419 TRACE gnocchi script.run_env()
2017-02-08 17:56:44.419 TRACE gnocchi File "/usr/lib/
2017-02-08 17:56:44.419 TRACE gnocchi util.load_
2017-02-08 17:56:44.419 TRACE gnocchi File "/usr/lib/
2017-02-08 17:56:44.419 TRACE gnocchi module = load_module_
2017-02-08 17:56:44.419 TRACE gnocchi File "/usr/lib/
2017-02-08 17:56:44.419 TRACE gnocchi mod = imp.load_
2017-02-08 17:56:44.419 TRACE gnocchi File "/opt/stack/
2017-02-08 17:56:44.419 TRACE gnocchi run_migrations_
2017-02-08 17:56:44.419 TRACE gnocchi File "/opt/stack/
2017-02-08 17:56:44.419 TRACE gnocchi context.
2017-02-08 17:56:44.419 TRACE gnocchi File "<string>", line 8, in run_migrations
2017-02-08 17:56:44.419 TRACE gnocchi File "/usr/lib/
2017-02-08 17:56:44.419 TRACE gnocchi self.get_
2017-02-08 17:56:44.419 TRACE gnocchi File "/usr/lib/
2017-02-08 17:56:44.419 TRACE gnocchi step.migration_
2017-02-08 17:56:44.419 TRACE gnocchi File "/opt/stack/
2017-02-08 17:56:44.419 TRACE gnocchi new_original_
2017-02-08 17:56:44.419 TRACE gnocchi AttributeError: 'NoneType' object has no attribute 'replace'
2017-02-08 17:56:44.419 TRACE gnocchi
Fix proposed to branch: master /review. openstack. org/431101
Review: https:/