Migration from percona cluster charm in erroing out migrating db

Bug #1936469 reported by Diko Parvanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat Charm
Expired
Undecided
Unassigned

Bug Description

Migration of heat from percona to innodb, adding the mysql-router relation hook fails with error:

unit-heat-1: 06:26:04 INFO unit.heat/1.juju-log shared-db:511: Cluster leader, performing db sync
unit-heat-1: 06:26:04 DEBUG jujuc running hook tool "juju-log"
unit-heat-1: 06:26:04 INFO unit.heat/1.juju-log shared-db:511: Migrating the heat database.
unit-heat-1: 06:26:05 WARNING unit.heat/1.shared-db-relation-changed ERROR: (pymysql.err.OperationalError) (1045, "Access denied for user 'heat'@'10.254.4.79' (using password: NO)")
unit-heat-1: 06:26:05 WARNING unit.heat/1.shared-db-relation-changed (Background on this error at: http://sqlalche.me/e/e3q8)
unit-heat-1: 06:26:05 WARNING unit.heat/1.shared-db-relation-changed Traceback (most recent call last):
unit-heat-1: 06:26:05 WARNING unit.heat/1.shared-db-relation-changed File "/var/lib/juju/agents/unit-heat-1/charm/hooks/shared-db-relation-changed", line 470, in <module>
unit-heat-1: 06:26:05 WARNING unit.heat/1.shared-db-relation-changed main()
unit-heat-1: 06:26:05 WARNING unit.heat/1.shared-db-relation-changed File "/var/lib/juju/agents/unit-heat-1/charm/hooks/shared-db-relation-changed", line 463, in main
unit-heat-1: 06:26:05 WARNING unit.heat/1.shared-db-relation-changed hooks.execute(sys.argv)
unit-heat-1: 06:26:05 WARNING unit.heat/1.shared-db-relation-changed File "/var/lib/juju/agents/unit-heat-1/charm/hooks/charmhelpers/core/hookenv.py", line 956, in execute
unit-heat-1: 06:26:05 WARNING unit.heat/1.shared-db-relation-changed self._hooks[hook_name]()
unit-heat-1: 06:26:05 WARNING unit.heat/1.shared-db-relation-changed File "/var/lib/juju/agents/unit-heat-1/charm/hooks/charmhelpers/core/host.py", line 752, in wrapped_f
unit-heat-1: 06:26:05 WARNING unit.heat/1.shared-db-relation-changed return restart_on_change_helper(
unit-heat-1: 06:26:05 WARNING unit.heat/1.shared-db-relation-changed File "/var/lib/juju/agents/unit-heat-1/charm/hooks/charmhelpers/core/host.py", line 837, in restart_on_change_helper
unit-heat-1: 06:26:05 WARNING unit.heat/1.shared-db-relation-changed r = lambda_f()
unit-heat-1: 06:26:05 WARNING unit.heat/1.shared-db-relation-changed File "/var/lib/juju/agents/unit-heat-1/charm/hooks/charmhelpers/core/host.py", line 753, in <lambda>
unit-heat-1: 06:26:05 WARNING unit.heat/1.shared-db-relation-changed (lambda: f(*args, **kwargs)),
unit-heat-1: 06:26:05 WARNING unit.heat/1.shared-db-relation-changed File "/var/lib/juju/agents/unit-heat-1/charm/hooks/shared-db-relation-changed", line 272, in db_changed
unit-heat-1: 06:26:05 WARNING unit.heat/1.shared-db-relation-changed migrate_database()

Diko Parvanov (dparv)
summary: - Migration from percona cluster charm in erroing out
+ Migration from percona cluster charm in erroing out migrating db
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Diko, is this basically the same error as the keystone one you raised around migrating the database?

Changed in charm-heat:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack heat charm because there has been no activity for 60 days.]

Changed in charm-heat:
status: Incomplete → Expired
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.