2020-05-18 11:54:04 INFO juju-log Installing mysql-shell from store
2020-05-18 11:54:13 ERROR juju-log Installation failed cmd="['snap', 'install', '--channel=stable', 'mysql-shell']" returncode=1 output="b'error: cannot perform the following tasks:\n- Mount snap "mysql-shell" (4) ([start snap-mysql\\x2dshell-4.mount] failed with exit status 1: Job failed. See "journalctl -xe" for details.\n)\n'"
2020-05-18 11:54:13 ERROR juju-log Hook error:
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-mysql-innodb-cluster-1/.venv/lib/python3.8/site-packages/charms/reactive/__init__.py", line 73, in main
hookenv._run_atstart()
File "/var/lib/juju/agents/unit-mysql-innodb-cluster-1/.venv/lib/python3.8/site-packages/charmhelpers/core/hookenv.py", line 1332, in _run_atstart
callback(*args, **kwargs)
File "/var/lib/juju/agents/unit-mysql-innodb-cluster-1/charm/reactive/snap.py", line 83, in install
snap.install(snapname, **snap_opts)
File "lib/charms/layer/snap.py", line 64, in install
_install_store(snapname, **kw)
File "lib/charms/layer/snap.py", line 345, in _install_store
out = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['snap', 'install', '--channel=stable', 'mysql-shell']' returned non-zero exit status 1.
2020-05-18 11:54:13 DEBUG install Traceback (most recent call last):
2020-05-18 11:54:13 DEBUG install File "/var/lib/juju/agents/unit-mysql-innodb-cluster-1/charm/hooks/install", line 22, in <module>
2020-05-18 11:54:13 DEBUG install main()
2020-05-18 11:54:13 DEBUG install File "/var/lib/juju/agents/unit-mysql-innodb-cluster-1/.venv/lib/python3.8/site-packages/charms/reactive/__init__.py", line 73, in main
2020-05-18 11:54:13 DEBUG install hookenv._run_atstart()
2020-05-18 11:54:13 DEBUG install File "/var/lib/juju/agents/unit-mysql-innodb-cluster-1/.venv/lib/python3.8/site-packages/charmhelpers/core/hookenv.py", line 1332, in _run_atstart
2020-05-18 11:54:13 DEBUG install callback(*args, **kwargs)
2020-05-18 11:54:13 DEBUG install File "/var/lib/juju/agents/unit-mysql-innodb-cluster-1/charm/reactive/snap.py", line 83, in install
2020-05-18 11:54:13 DEBUG install snap.install(snapname, **snap_opts)
2020-05-18 11:54:13 DEBUG install File "lib/charms/layer/snap.py", line 64, in install
2020-05-18 11:54:13 DEBUG install _install_store(snapname, **kw)
2020-05-18 11:54:13 DEBUG install File "lib/charms/layer/snap.py", line 345, in _install_store
2020-05-18 11:54:13 DEBUG install out = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
2020-05-18 11:54:13 DEBUG install File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
2020-05-18 11:54:13 DEBUG install return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
2020-05-18 11:54:13 DEBUG install File "/usr/lib/python3.8/subprocess.py", line 512, in run
2020-05-18 11:54:13 DEBUG install raise CalledProcessError(retcode, process.args,
2020-05-18 11:54:13 DEBUG install subprocess.CalledProcessError: Command '['snap', 'install', '--channel=stable', 'mysql-shell']' returned non-zero exit status 1.
2020-05-18 11:54:13 ERROR juju.worker.uniter.operation runhook.go:132 hook "install" failed: exit status 1
2020-05-18 11:54:04 INFO juju-log Installing mysql-shell from store \x2dshell- 4.mount] failed with exit status 1: Job failed. See "journalctl -xe" for details.\n)\n'" juju/agents/ unit-mysql- innodb- cluster- 1/.venv/ lib/python3. 8/site- packages/ charms/ reactive/ __init_ _.py", line 73, in main _run_atstart( ) juju/agents/ unit-mysql- innodb- cluster- 1/.venv/ lib/python3. 8/site- packages/ charmhelpers/ core/hookenv. py", line 1332, in _run_atstart juju/agents/ unit-mysql- innodb- cluster- 1/charm/ reactive/ snap.py" , line 83, in install install( snapname, **snap_opts) layer/snap. py", line 64, in install store(snapname, **kw) layer/snap. py", line 345, in _install_store check_output( cmd, stderr= subprocess. STDOUT) python3. 8/subprocess. py", line 411, in check_output python3. 8/subprocess. py", line 512, in run ror(retcode, process.args, CalledProcessEr ror: Command '['snap', 'install', '--channel=stable', 'mysql-shell']' returned non-zero exit status 1.
2020-05-18 11:54:13 ERROR juju-log Installation failed cmd="['snap', 'install', '--channel=stable', 'mysql-shell']" returncode=1 output="b'error: cannot perform the following tasks:\n- Mount snap "mysql-shell" (4) ([start snap-mysql\
2020-05-18 11:54:13 ERROR juju-log Hook error:
Traceback (most recent call last):
File "/var/lib/
hookenv.
File "/var/lib/
callback(*args, **kwargs)
File "/var/lib/
snap.
File "lib/charms/
_install_
File "lib/charms/
out = subprocess.
File "/usr/lib/
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/
raise CalledProcessEr
subprocess.
2020-05-18 11:54:13 DEBUG install Traceback (most recent call last): juju/agents/ unit-mysql- innodb- cluster- 1/charm/ hooks/install" , line 22, in <module> juju/agents/ unit-mysql- innodb- cluster- 1/.venv/ lib/python3. 8/site- packages/ charms/ reactive/ __init_ _.py", line 73, in main _run_atstart( ) juju/agents/ unit-mysql- innodb- cluster- 1/.venv/ lib/python3. 8/site- packages/ charmhelpers/ core/hookenv. py", line 1332, in _run_atstart juju/agents/ unit-mysql- innodb- cluster- 1/charm/ reactive/ snap.py" , line 83, in install snapname, **snap_opts) layer/snap. py", line 64, in install store(snapname, **kw) layer/snap. py", line 345, in _install_store check_output( cmd, stderr= subprocess. STDOUT) python3. 8/subprocess. py", line 411, in check_output python3. 8/subprocess. py", line 512, in run ror(retcode, process.args, CalledProcessEr ror: Command '['snap', 'install', '--channel=stable', 'mysql-shell']' returned non-zero exit status 1. uniter. operation runhook.go:132 hook "install" failed: exit status 1
2020-05-18 11:54:13 DEBUG install File "/var/lib/
2020-05-18 11:54:13 DEBUG install main()
2020-05-18 11:54:13 DEBUG install File "/var/lib/
2020-05-18 11:54:13 DEBUG install hookenv.
2020-05-18 11:54:13 DEBUG install File "/var/lib/
2020-05-18 11:54:13 DEBUG install callback(*args, **kwargs)
2020-05-18 11:54:13 DEBUG install File "/var/lib/
2020-05-18 11:54:13 DEBUG install snap.install(
2020-05-18 11:54:13 DEBUG install File "lib/charms/
2020-05-18 11:54:13 DEBUG install _install_
2020-05-18 11:54:13 DEBUG install File "lib/charms/
2020-05-18 11:54:13 DEBUG install out = subprocess.
2020-05-18 11:54:13 DEBUG install File "/usr/lib/
2020-05-18 11:54:13 DEBUG install return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
2020-05-18 11:54:13 DEBUG install File "/usr/lib/
2020-05-18 11:54:13 DEBUG install raise CalledProcessEr
2020-05-18 11:54:13 DEBUG install subprocess.
2020-05-18 11:54:13 ERROR juju.worker.