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

Bug #1471864 reported by Alberto Donato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Cinder Charm
Won't Fix
Undecided
Unassigned
cinder (Juju Charms Collection)
Invalid
Undecided
Unassigned

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

Revision history for this message
Alberto Donato (ack) wrote :
Revision history for this message
Alberto Donato (ack) wrote :
Revision history for this message
Alberto Donato (ack) wrote :
Revision history for this message
James Page (james-page) wrote :

Kilo deployment

tags: added: openstack
James Page (james-page)
Changed in cinder (Juju Charms Collection):
status: New → Invalid
Revision history for this message
James Page (james-page) wrote :

This bug was raised some time ago; both OpenStack and the Charms have had alot of updates since then, and this problem was reported from the OSA for which dev is currently paused.

Marking 'Won't Fix'.

Changed in charm-cinder:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.