Activity log for bug #1767060

Date Who What changed Old value New value Message
2018-04-26 07:44:26 Nobuto Murata bug added bug
2018-04-26 07:44:41 Nobuto Murata summary upgrade-charm from rev 262 to 263 fails TypeError: execv() arg 2 must contain only strings upgrade-charm from rev 262 to 263 fails with TypeError: execv() arg 2 must contain only strings
2018-04-26 07:45:34 Nobuto Murata attachment added percona-cluster-upgrade.log https://bugs.launchpad.net/charm-percona-cluster/+bug/1767060/+attachment/5127474/+files/percona-cluster-upgrade.log
2018-04-26 07:47:15 Nobuto Murata description How to reproduce with xenial: $ juju deploy cs:percona-cluster-262 $ juju upgrade-charm percona-cluster Added charm "cs:percona-cluster-263" to the model. $ juju status Model Controller Cloud/Region Version SLA pxc-previous localhost-localhost localhost/localhost 2.4-beta1 unsupported App Version Status Scale Charm Store Rev OS Notes percona-cluster 5.6.37-26.21 error 1 percona-cluster jujucharms 263 ubuntu Unit Workload Agent Machine Public address Ports Message percona-cluster/0* error idle 0 10.0.8.177 3306/tcp hook failed: "upgrade-charm" Machine State DNS Inst id Series AZ Message 0 started 10.0.8.177 juju-2d9a42-0 xenial Running Relation provider Requirer Interface Type Message percona-cluster:cluster percona-cluster:cluster percona-cluster peer unit-percona-cluster-0: 16:41:58 DEBUG unit.percona-cluster/0.juju-log Hardening function 'install' unit-percona-cluster-0: 16:41:58 DEBUG unit.percona-cluster/0.juju-log Hardening function 'upgrade' unit-percona-cluster-0: 16:41:58 DEBUG unit.percona-cluster/0.juju-log Hardening function 'config_changed' unit-percona-cluster-0: 16:41:58 DEBUG unit.percona-cluster/0.juju-log Hardening function 'update_status' unit-percona-cluster-0: 16:41:58 DEBUG unit.percona-cluster/0.juju-log No hardening applied to 'upgrade' unit-percona-cluster-0: 16:41:59 DEBUG unit.percona-cluster/0.juju-log Opening db connection for root@localhost unit-percona-cluster-0: 16:41:59 DEBUG unit.percona-cluster/0.upgrade-charm /var/lib/juju/agents/unit-percona-cluster-0/charm/hooks/charmhelpers/contrib/database/mysql.py:162: Warning: MySQL is started in --skip-name-resolve mode; you must restart it without this switch for this grant to work unit-percona-cluster-0: 16:41:59 DEBUG unit.percona-cluster/0.upgrade-charm cursor.execute(sql) unit-percona-cluster-0: 16:41:59 DEBUG unit.percona-cluster/0.juju-log Opening db connection for root@localhost unit-percona-cluster-0: 16:41:59 DEBUG unit.percona-cluster/0.juju-log Opening db connection for root@localhost unit-percona-cluster-0: 16:41:59 DEBUG unit.percona-cluster/0.juju-log Notifying peers that percona is bootstrapped (uuid=23714f30-4925-11e8-996f-b689c8455021) unit-percona-cluster-0: 16:41:59 DEBUG unit.percona-cluster/0.upgrade-charm inactive unit-percona-cluster-0: 16:41:59 WARNING unit.percona-cluster/0.juju-log min-cluster-size is not defined, race conditions may occur if this is not a single unit deployment. unit-percona-cluster-0: 16:41:59 DEBUG unit.percona-cluster/0.upgrade-charm active unit-percona-cluster-0: 16:41:59 INFO unit.percona-cluster/0.juju-log Unit is ready unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm Traceback (most recent call last): unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm File "/var/lib/juju/agents/unit-percona-cluster-0/charm/hooks/upgrade-charm", line 859, in <module> unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm main() unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm File "/var/lib/juju/agents/unit-percona-cluster-0/charm/hooks/upgrade-charm", line 855, in main unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm assess_status(register_configs()) unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm File "/var/lib/juju/agents/unit-percona-cluster-0/charm/hooks/percona_utils.py", line 673, in assess_status unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm application_version_set(get_upstream_version(determine_packages()[0])) unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm File "/var/lib/juju/agents/unit-percona-cluster-0/charm/hooks/charmhelpers/core/hookenv.py", line 947, in application_version_set unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm subprocess.check_call(cmd) unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm File "/usr/lib/python2.7/subprocess.py", line 536, in check_call unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm retcode = call(*popenargs, **kwargs) unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm File "/usr/lib/python2.7/subprocess.py", line 523, in call unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm return Popen(*popenargs, **kwargs).wait() unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm errread, errwrite) unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm raise child_exception unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm TypeError: execv() arg 2 must contain only strings unit-percona-cluster-0: 16:42:00 ERROR juju.worker.uniter.operation hook "upgrade-charm" failed: exit status 1 The diff between 262 and 263 is the commit fc2aaccfb601bc488db48b036cb6f34c19195f73 according to: https://api.jujucharms.com/charmstore/v5/percona-cluster-263/archive/repo-info https://github.com/openstack/charm-percona-cluster/commit/fc2aaccfb601bc488db48b036cb6f34c19195f73 How to reproduce with xenial: $ juju deploy cs:percona-cluster-262 $ juju upgrade-charm percona-cluster Added charm "cs:percona-cluster-263" to the model. $ juju status Model Controller Cloud/Region Version SLA pxc-previous localhost-localhost localhost/localhost 2.4-beta1 unsupported App Version Status Scale Charm Store Rev OS Notes percona-cluster 5.6.37-26.21 error 1 percona-cluster jujucharms 263 ubuntu Unit Workload Agent Machine Public address Ports Message percona-cluster/0* error idle 0 10.0.8.177 3306/tcp hook failed: "upgrade-charm" Machine State DNS Inst id Series AZ Message0 started 10.0.8.177 juju-2d9a42-0 xenial Running Relation provider Requirer Interface Type Message percona-cluster:cluster percona-cluster:cluster percona-cluster peer unit-percona-cluster-0: 16:41:58 DEBUG unit.percona-cluster/0.juju-log Hardening function 'install' unit-percona-cluster-0: 16:41:58 DEBUG unit.percona-cluster/0.juju-log Hardening function 'upgrade' unit-percona-cluster-0: 16:41:58 DEBUG unit.percona-cluster/0.juju-log Hardening function 'config_changed' unit-percona-cluster-0: 16:41:58 DEBUG unit.percona-cluster/0.juju-log Hardening function 'update_status' unit-percona-cluster-0: 16:41:58 DEBUG unit.percona-cluster/0.juju-log No hardening applied to 'upgrade' unit-percona-cluster-0: 16:41:59 DEBUG unit.percona-cluster/0.juju-log Opening db connection for root@localhost unit-percona-cluster-0: 16:41:59 DEBUG unit.percona-cluster/0.upgrade-charm /var/lib/juju/agents/unit-percona-cluster-0/charm/hooks/charmhelpers/contrib/database/mysql.py:162: Warning: MySQL is started in --skip-name-resolve mode; you must restart it without this switch for this grant to work unit-percona-cluster-0: 16:41:59 DEBUG unit.percona-cluster/0.upgrade-charm cursor.execute(sql) unit-percona-cluster-0: 16:41:59 DEBUG unit.percona-cluster/0.juju-log Opening db connection for root@localhost unit-percona-cluster-0: 16:41:59 DEBUG unit.percona-cluster/0.juju-log Opening db connection for root@localhost unit-percona-cluster-0: 16:41:59 DEBUG unit.percona-cluster/0.juju-log Notifying peers that percona is bootstrapped (uuid=23714f30-4925-11e8-996f-b689c8455021) unit-percona-cluster-0: 16:41:59 DEBUG unit.percona-cluster/0.upgrade-charm inactive unit-percona-cluster-0: 16:41:59 WARNING unit.percona-cluster/0.juju-log min-cluster-size is not defined, race conditions may occur if this is not a single unit deployment. unit-percona-cluster-0: 16:41:59 DEBUG unit.percona-cluster/0.upgrade-charm active unit-percona-cluster-0: 16:41:59 INFO unit.percona-cluster/0.juju-log Unit is ready unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm Traceback (most recent call last): unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm File "/var/lib/juju/agents/unit-percona-cluster-0/charm/hooks/upgrade-charm", line 859, in <module> unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm main() unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm File "/var/lib/juju/agents/unit-percona-cluster-0/charm/hooks/upgrade-charm", line 855, in main unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm assess_status(register_configs()) unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm File "/var/lib/juju/agents/unit-percona-cluster-0/charm/hooks/percona_utils.py", line 673, in assess_status unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm application_version_set(get_upstream_version(determine_packages()[0])) unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm File "/var/lib/juju/agents/unit-percona-cluster-0/charm/hooks/charmhelpers/core/hookenv.py", line 947, in application_version_set unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm subprocess.check_call(cmd) unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm File "/usr/lib/python2.7/subprocess.py", line 536, in check_call unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm retcode = call(*popenargs, **kwargs) unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm File "/usr/lib/python2.7/subprocess.py", line 523, in call unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm return Popen(*popenargs, **kwargs).wait() unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm errread, errwrite) unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm raise child_exception unit-percona-cluster-0: 16:42:00 DEBUG unit.percona-cluster/0.upgrade-charm TypeError: execv() arg 2 must contain only strings unit-percona-cluster-0: 16:42:00 ERROR juju.worker.uniter.operation hook "upgrade-charm" failed: exit status 1
2018-04-26 07:49:21 Nobuto Murata bug added subscriber Canonical Field High
2018-04-26 08:21:48 Frode Nordahl tags cpe-onsite cpe-onsite stable-backport
2018-04-26 08:21:58 Frode Nordahl charm-percona-cluster: status New Confirmed
2018-04-26 08:22:08 Frode Nordahl charm-percona-cluster: importance Undecided Critical
2018-04-26 08:22:13 Frode Nordahl charm-percona-cluster: importance Critical High
2018-04-26 08:22:18 Frode Nordahl charm-percona-cluster: assignee Frode Nordahl (fnordahl)
2018-04-26 08:22:23 Frode Nordahl charm-percona-cluster: milestone 18.05
2018-04-26 09:43:33 OpenStack Infra charm-percona-cluster: status Confirmed In Progress
2018-04-26 12:26:19 OpenStack Infra charm-percona-cluster: status In Progress Fix Committed
2018-04-26 13:13:02 Frode Nordahl charm-percona-cluster: milestone 18.05 18.02
2018-04-26 13:13:08 Frode Nordahl charm-percona-cluster: status Fix Committed Fix Released