Guest User

Untitled

a guest
Oct 22nd, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.40 KB | None | 0 0
  1. # nova-manage db sync
  2. 2013-10-23 00:57:17.487 9355 INFO migrate.versioning.api [-] 208 -> 209...
  3. Command failed, please check log for more info
  4. 2013-10-23 00:57:17.738 9355 CRITICAL nova [-] (OperationalError) (1050, "Table 'dump_compute_nodes' already exists") '\nCREATE TABLE dump_compute_no
  5. des (\n\tcreated_at DATETIME, \n\tupdated_at DATETIME, \n\tdeleted_at DATETIME, \n\tid INTEGER(11) NOT NULL AUTO_INCREMENT, \n\tservice_id INTEGER(11
  6. ) NOT NULL, \n\tvcpus INTEGER(11) NOT NULL, \n\tmemory_mb INTEGER(11) NOT NULL, \n\tlocal_gb INTEGER(11) NOT NULL, \n\tvcpus_used INTEGER(11) NOT NUL
  7. L, \n\tmemory_mb_used INTEGER(11) NOT NULL, \n\tlocal_gb_used INTEGER(11) NOT NULL, \n\thypervisor_type MEDIUMTEXT NOT NULL, \n\thypervisor_version I
  8. NTEGER(11) NOT NULL, \n\tcpu_info MEDIUMTEXT NOT NULL, \n\tdisk_available_least INTEGER(11), \n\tfree_ram_mb INTEGER(11), \n\tfree_disk_gb INTEGER(11
  9. ), \n\tcurrent_workload INTEGER(11), \n\trunning_vms INTEGER(11), \n\thypervisor_hostname VARCHAR(255), \n\tdeleted INTEGER(11), \n\thost_ip VARCHAR(
  10. 39), \n\tsupported_instances TEXT, \n\tPRIMARY KEY (id)\n)ENGINE=InnoDB\n\n' ()
  11. 2013-10-23 00:57:17.738 9355 TRACE nova Traceback (most recent call last):
  12. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/bin/nova-manage", line 10, in <module>
  13. 2013-10-23 00:57:17.738 9355 TRACE nova sys.exit(main())
  14. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/cmd/manage.py", line 1377, in main
  15. 2013-10-23 00:57:17.738 9355 TRACE nova ret = fn(*fn_args, **fn_kwargs)
  16. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/cmd/manage.py", line 885, in sync
  17. 2013-10-23 00:57:17.738 9355 TRACE nova return migration.db_sync(version)
  18. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/db/migration.py", line 33, in db_sync
  19. 2013-10-23 00:57:17.738 9355 TRACE nova return IMPL.db_sync(version=version)
  20. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 75, in db_sync
  21. 2013-10-23 00:57:17.738 9355 TRACE nova return versioning_api.upgrade(get_engine(), repository, version)
  22. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 186, in upgrade
  23. 2013-10-23 00:57:17.738 9355 TRACE nova return _migrate(url, repository, version, upgrade=True, err=err, **opts)
  24. 2013-10-23 00:57:17.738 9355 TRACE nova File "<string>", line 2, in _migrate
  25. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migration.py", line 40, in patched_with_engine
  26. 2013-10-23 00:57:17.738 9355 TRACE nova return f(*a, **kw)
  27. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 366, in _migrate
  28. 2013-10-23 00:57:17.738 9355 TRACE nova schema.runchange(ver, change, changeset.step)
  29. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/migrate/versioning/schema.py", line 91, in runchange
  30. 2013-10-23 00:57:17.738 9355 TRACE nova change.run(self.engine, step)
  31. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/migrate/versioning/script/py.py", line 145, in run
  32. 2013-10-23 00:57:17.738 9355 TRACE nova script_func(engine)
  33. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/migrate_repo/versions/209_add_missing_foreign_keys.py", line 47, in upgrade
  34. 2013-10-23 00:57:17.738 9355 TRACE nova table_dump.create()
  35. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/schema.py", line 614, in create
  36. 2013-10-23 00:57:17.738 9355 TRACE nova checkfirst=checkfirst)
  37. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1479, in _run_visitor
  38. 2013-10-23 00:57:17.738 9355 TRACE nova conn._run_visitor(visitorcallable, element, **kwargs)
  39. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1122, in _run_visitor
  40. 2013-10-23 00:57:17.738 9355 TRACE nova **kwargs).traverse_single(element)
  41. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/sql/visitors.py", line 111, in traverse_single
  42. 2013-10-23 00:57:17.738 9355 TRACE nova return meth(obj, **kw)
  43. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/ddl.py", line 89, in visit_table
  44. 2013-10-23 00:57:17.738 9355 TRACE nova self.connection.execute(schema.CreateTable(table))
  45. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 662, in execute
  46. 2013-10-23 00:57:17.738 9355 TRACE nova params)
  47. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 720, in _execute_ddl
  48. 2013-10-23 00:57:17.738 9355 TRACE nova compiled
  49. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 874, in _execute_context
  50. 2013-10-23 00:57:17.738 9355 TRACE nova context)
  51. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1024, in _handle_dbapi_exception
  52. 2013-10-23 00:57:17.738 9355 TRACE nova exc_info
  53. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 195, in raise_from_cause
  54. 2013-10-23 00:57:17.738 9355 TRACE nova reraise(type(exception), exception, tb=exc_tb)
  55. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 867, in _execute_context
  56. 2013-10-23 00:57:17.738 9355 TRACE nova context)
  57. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 324, in do_execute
  58. 2013-10-23 00:57:17.738 9355 TRACE nova cursor.execute(statement, parameters)
  59. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in execute
  60. 2013-10-23 00:57:17.738 9355 TRACE nova self.errorhandler(self, exc, value)
  61. 2013-10-23 00:57:17.738 9355 TRACE nova File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
  62. 2013-10-23 00:57:17.738 9355 TRACE nova raise errorclass, errorvalue
  63. 2013-10-23 00:57:17.738 9355 TRACE nova OperationalError: (OperationalError) (1050, "Table 'dump_compute_nodes' already exists") '\nCREATE TABLE dump_compute_nodes (\n\tcreated_at DATETIME, \n\tupdated_at DATETIME, \n\tdeleted_at DATETIME, \n\tid INTEGER(11) NOT NULL AUTO_INCREMENT, \n\tservice_id INTEGER(11) NOT NULL, \n\tvcpus INTEGER(11) NOT NULL, \n\tmemory_mb INTEGER(11) NOT NULL, \n\tlocal_gb INTEGER(11) NOT NULL, \n\tvcpus_used INTEGER(11) NOT NULL, \n\tmemory_mb_used INTEGER(11) NOT NULL, \n\tlocal_gb_used INTEGER(11) NOT NULL, \n\thypervisor_type MEDIUMTEXT NOT NULL, \n\thypervisor_version INTEGER(11) NOT NULL, \n\tcpu_info MEDIUMTEXT NOT NULL, \n\tdisk_available_least INTEGER(11), \n\tfree_ram_mb INTEGER(11), \n\tfree_disk_gb INTEGER(11), \n\tcurrent_workload INTEGER(11), \n\trunning_vms INTEGER(11), \n\thypervisor_hostname VARCHAR(255), \n\tdeleted INTEGER(11), \n\thost_ip VARCHAR(39), \n\tsupported_instances TEXT, \n\tPRIMARY KEY (id)\n)ENGINE=InnoDB\n\n' ()
  64. 2013-10-23 00:57:17.738 9355 TRACE nova
Advertisement
Add Comment
Please, Sign In to add comment