Comment 0 for bug 1476845

Revision history for this message
Ryan Beisner (1chb1n) wrote :

When deploying percona-cluster on Vivid-Kilo, the install hook fails with:

2015-07-21 18:59:28 INFO install Reading state information...
2015-07-21 18:59:28 INFO install Package percona-xtradb-cluster-server-5.5 is not available, but is referred to by another package.
2015-07-21 18:59:28 INFO install This may mean that the package is missing, has been obsoleted, or
2015-07-21 18:59:28 INFO install is only available from another source
2015-07-21 18:59:28 INFO install However the following packages replace it:
2015-07-21 18:59:28 INFO install percona-xtradb-cluster-server-5.6
2015-07-21 18:59:28 INFO install
2015-07-21 18:59:28 INFO install E: Package 'percona-xtradb-cluster-server-5.5' has no installation candidate
2015-07-21 18:59:28 INFO install E: Unable to locate package percona-xtradb-cluster-client-5.5
2015-07-21 18:59:28 INFO install E: Couldn't find any package by regex 'percona-xtradb-cluster-client-5.5'
2015-07-21 18:59:28 INFO install Traceback (most recent call last):
2015-07-21 18:59:28 INFO install File "/var/lib/juju/agents/unit-mysql-0/charm/hooks/install", line 498, in <module>
2015-07-21 18:59:28 INFO install main()
2015-07-21 18:59:28 INFO install File "/var/lib/juju/agents/unit-mysql-0/charm/hooks/install", line 492, in main
2015-07-21 18:59:28 INFO install hooks.execute(sys.argv)
2015-07-21 18:59:28 INFO install File "/var/lib/juju/agents/unit-mysql-0/charm/hooks/charmhelpers/core/hookenv.py", line 603, in execute
2015-07-21 18:59:28 INFO install self._hooks[hook_name]()
2015-07-21 18:59:28 INFO install File "/var/lib/juju/agents/unit-mysql-0/charm/hooks/install", line 100, in install
2015-07-21 18:59:28 INFO install apt_install(PACKAGES, fatal=True)
2015-07-21 18:59:28 INFO install File "/var/lib/juju/agents/unit-mysql-0/charm/hooks/charmhelpers/fetch/__init__.py", line 183, in apt_install
2015-07-21 18:59:28 INFO install _run_apt_command(cmd, fatal)
2015-07-21 18:59:28 INFO install File "/var/lib/juju/agents/unit-mysql-0/charm/hooks/charmhelpers/fetch/__init__.py", line 428, in _run_apt_command
2015-07-21 18:59:28 INFO install result = subprocess.check_call(cmd, env=env)
2015-07-21 18:59:28 INFO install File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
2015-07-21 18:59:28 INFO install raise CalledProcessError(retcode, cmd)
2015-07-21 18:59:28 INFO install subprocess.CalledProcessError: Command '['apt-get', '--assume-yes', '--option=Dpkg::Options::=--force-confold', 'install', 'percona-xtradb-cluster-server-5.5', 'percona-xtradb-cluster-client-5.5']' returned non-zero exit status 100
2015-07-21 18:59:28 INFO juju.worker.uniter.context context.go:543 handling reboot
2015-07-21 18:59:28 ERROR juju.worker.uniter.operation runhook.go:103 hook "install" failed: exit status 1