[Bug 1471864] Re: OSA run failure: Command '['cinder-manage', 'db', 'sync']' returned non-zero exit status

James Page james.page at ubuntu.com
Thu Feb 23 18:46:04 UTC 2017


** Changed in: cinder (Juju Charms Collection)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to cinder in Juju Charms Collection.
Matching subscriptions: charm-bugs
https://bugs.launchpad.net/bugs/1471864

Title:
  OSA run failure: Command '['cinder-manage', 'db', 'sync']' returned
  non-zero exit status

Status in OpenStack cinder charm:
  New
Status in cinder package in Juju Charms Collection:
  Invalid

Bug description:
  Testing an HA deployment with iSCSI I got a failure on one of the
  cinder units, with the following error:

  2015-07-06 14:14:47 INFO shared-db-relation-changed 2015-07-06 14:14:47.176 35339 TRACE cinder OperationalError: (OperationalError) (1051, "Unknown table 'sm_volume'") '\nDROP TABLE sm_volume' ()
  2015-07-06 14:14:47 INFO shared-db-relation-changed 2015-07-06 14:14:47.176 35339 TRACE cinder 
  2015-07-06 14:14:47 INFO shared-db-relation-changed Traceback (most recent call last):
  2015-07-06 14:14:47 INFO shared-db-relation-changed   File "/var/lib/juju/agents/unit-cinder-api-0/charm/hooks/shared-db-relation-changed", line 519, in <module>
  2015-07-06 14:14:47 INFO shared-db-relation-changed     hooks.execute(sys.argv)
  2015-07-06 14:14:47 INFO shared-db-relation-changed   File "/var/lib/juju/agents/unit-cinder-api-0/charm/hooks/charmhelpers/core/hookenv.py", line 557, in execute
  2015-07-06 14:14:47 INFO shared-db-relation-changed     self._hooks[hook_name]()
  2015-07-06 14:14:47 INFO shared-db-relation-changed   File "/var/lib/juju/agents/unit-cinder-api-0/charm/hooks/charmhelpers/core/host.py", line 312, in wrapped_f
  2015-07-06 14:14:47 INFO shared-db-relation-changed     f(*args, **kwargs)
  2015-07-06 14:14:47 INFO shared-db-relation-changed   File "/var/lib/juju/agents/unit-cinder-api-0/charm/hooks/shared-db-relation-changed", line 201, in db_changed
  2015-07-06 14:14:47 INFO shared-db-relation-changed     migrate_database()
  2015-07-06 14:14:47 INFO shared-db-relation-changed   File "/var/lib/juju/agents/unit-cinder-api-0/charm/hooks/cinder_utils.py", line 447, in migrate_database
  2015-07-06 14:14:47 INFO shared-db-relation-changed     subprocess.check_call(cmd)
  2015-07-06 14:14:47 INFO shared-db-relation-changed   File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
  2015-07-06 14:14:47 INFO shared-db-relation-changed     raise CalledProcessError(retcode, cmd)
  2015-07-06 14:14:47 INFO shared-db-relation-changed subprocess.CalledProcessError: Command '['cinder-manage', 'db', 'sync']' returned non-zero exit status 1

  Full logs and juju-status output attached

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-cinder/+bug/1471864/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list