Comment 0 for bug 1486293

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

Keystone (and likely all os-charms) install-hooks fail with:

2015-08-19 00:25:11 INFO install WARNING: The following packages cannot be authenticated!
2015-08-19 00:25:11 INFO install python-dogpile.core python-testtools python-tz python-netaddr python-six
2015-08-19 00:25:11 INFO install python-pbr python-stevedore python-oslo-config python-oslo-i18n
2015-08-19 00:25:11 INFO install python-netifaces python-oslo.i18n python-oslo-utils python-msgpack
2015-08-19 00:25:11 INFO install python-oslo-serialization python-keystoneclient python-oslo-context
2015-08-19 00:25:11 INFO install python-oslosphinx python-pycadf python-keystonemiddleware python-ldappool
2015-08-19 00:25:11 INFO install python-sqlalchemy python-migrate python-alembic alembic python-oslo-db
2015-08-19 00:25:11 INFO install python-oslo-log python-oslo.config python-oslo-middleware python-oslo-policy
2015-08-19 00:25:11 INFO install python-posix-ipc python-pysaml2 python-retrying python-enum34
2015-08-19 00:25:11 INFO install python-cryptography python-dogpile.cache python-eventlet python-fixtures
2015-08-19 00:25:11 INFO install python-amqp python-kombu python-oslo-concurrency python-oslo-messaging
2015-08-19 00:25:11 INFO install python-sqlalchemy-ext python-keystone keystone
2015-08-19 00:25:11 INFO install E: There are problems and -y was used without --force-yes
2015-08-19 00:25:11 INFO install Traceback (most recent call last):
2015-08-19 00:25:11 INFO install File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/install", line 618, in <module>
2015-08-19 00:25:11 INFO install main()
2015-08-19 00:25:11 INFO install File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/install", line 612, in main
2015-08-19 00:25:11 INFO install hooks.execute(sys.argv)
2015-08-19 00:25:11 INFO install File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/charmhelpers/core/hookenv.py", line 691, in execute
2015-08-19 00:25:11 INFO install self._hooks[hook_name]()
2015-08-19 00:25:11 INFO install File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/install", line 120, in install
2015-08-19 00:25:11 INFO install apt_install(determine_packages(), fatal=True)
2015-08-19 00:25:11 INFO install File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/charmhelpers/fetch/__init__.py", line 183, in apt_install
2015-08-19 00:25:11 INFO install _run_apt_command(cmd, fatal)
2015-08-19 00:25:11 INFO install File "/var/lib/juju/agents/unit-keystone-0/charm/hooks/charmhelpers/fetch/__init__.py", line 437, in _run_apt_command
2015-08-19 00:25:11 INFO install result = subprocess.check_call(cmd, env=env)
2015-08-19 00:25:11 INFO install File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
2015-08-19 00:25:11 INFO install raise CalledProcessError(retcode, cmd)
2015-08-19 00:25:11 INFO install subprocess.CalledProcessError: Command '['apt-get', '--assume-yes', '--option=Dpkg::Options::=--force-confold', 'install', 'haproxy', 'unison', 'python-keystoneclient', 'uuid', 'python-mysqldb', 'openssl', 'apache2', 'pwgen', 'python-six', 'keystone', 'python-psycopg2']' returned non-zero exit status 100
2015-08-19 00:25:11 ERROR juju.worker.uniter.operation runhook.go:103 hook "install" failed: exit status 1