[Bug 1413862] Re: unable to sync database when access-network is configured in percona-cluster charm
Edward Hope-Morley
edward.hope-morley at canonical.com
Wed Oct 4 12:09:30 UTC 2017
** Changed in: charm-helpers
Status: Fix Committed => Fix Released
--
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/1413862
Title:
unable to sync database when access-network is configured in percona-
cluster charm
Status in Charm Helpers:
Fix Released
Status in cinder package in Juju Charms Collection:
Fix Released
Status in glance package in Juju Charms Collection:
Fix Released
Status in keystone package in Juju Charms Collection:
Fix Released
Status in neutron-api package in Juju Charms Collection:
Fix Released
Status in nova-cloud-controller package in Juju Charms Collection:
Fix Released
Status in nova-compute package in Juju Charms Collection:
Fix Released
Status in quantum-gateway package in Juju Charms Collection:
Fix Released
Bug description:
I have deployed glance with juju and it didn't create database of glance.
I looked into the juju log and there is sync error of glance
2015-01-23 04:59:36 INFO shared-db-relation-changed Traceback (most recent call last):
2015-01-23 04:59:36 INFO shared-db-relation-changed File "/var/lib/juju/agents/unit-glance-0/charm/hooks/shared-db-relation-changed", line 451, in <module>
2015-01-23 04:59:36 INFO shared-db-relation-changed hooks.execute(sys.argv)
2015-01-23 04:59:36 INFO shared-db-relation-changed File "/var/lib/juju/agents/unit-glance-0/charm/hooks/charmhelpers/core/hookenv.py", line 502, in execute
2015-01-23 04:59:36 INFO shared-db-relation-changed self._hooks[hook_name]()
2015-01-23 04:59:36 INFO shared-db-relation-changed File "/var/lib/juju/agents/unit-glance-0/charm/hooks/charmhelpers/core/host.py", line 268, in wrapped_f
2015-01-23 04:59:36 INFO shared-db-relation-changed f(*args)
2015-01-23 04:59:36 INFO shared-db-relation-changed File "/var/lib/juju/agents/unit-glance-0/charm/hooks/shared-db-relation-changed", line 163, in db_changed
2015-01-23 04:59:36 INFO shared-db-relation-changed migrate_database()
2015-01-23 04:59:36 INFO shared-db-relation-changed File "/var/lib/juju/agents/unit-glance-0/charm/hooks/glance_utils.py", line 179, in migrate_database
2015-01-23 04:59:36 INFO shared-db-relation-changed subprocess.check_call(cmd)
2015-01-23 04:59:36 INFO shared-db-relation-changed File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
2015-01-23 04:59:36 INFO shared-db-relation-changed raise CalledProcessError(retcode, cmd)
2015-01-23 04:59:36 INFO shared-db-relation-changed subprocess.CalledProcessError: Command '['glance-manage', 'db_sync']' returned non-zero exit status 1
2015-01-23 04:59:36 ERROR juju.worker.uniter uniter.go:486 hook failed: exit status 1
I also attached my juju status and glance log/config files
To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-helpers/+bug/1413862/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list