Upgrade from kilo to liberty fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keystone (Juju Charms Collection) |
Fix Released
|
High
|
Liam Young |
Bug Description
When upgrading keystone from kilo to liberty the charm fails with:
2015-10-15 09:53:46 INFO juju-log Wrote template /etc/haproxy/
2015-10-15 09:53:46 DEBUG juju-log Database is initialised
2015-10-15 09:53:47 INFO config-changed Traceback (most recent call last):
2015-10-15 09:53:47 INFO config-changed File "/var/lib/
2015-10-15 09:53:47 INFO config-changed main()
2015-10-15 09:53:47 INFO config-changed File "/var/lib/
2015-10-15 09:53:47 INFO config-changed hooks.execute(
2015-10-15 09:53:47 INFO config-changed File "/var/lib/
2015-10-15 09:53:47 INFO config-changed self._hooks[
2015-10-15 09:53:47 INFO config-changed File "/var/lib/
2015-10-15 09:53:47 INFO config-changed f(*args, **kwargs)
2015-10-15 09:53:47 INFO config-changed File "/var/lib/
2015-10-15 09:53:47 INFO config-changed return f(*args, **kwargs)
2015-10-15 09:53:47 INFO config-changed File "/var/lib/
2015-10-15 09:53:47 INFO config-changed update_
2015-10-15 09:53:47 INFO config-changed File "/var/lib/
2015-10-15 09:53:47 INFO config-changed ensure_
2015-10-15 09:53:47 INFO config-changed File "/var/lib/
2015-10-15 09:53:47 INFO config-changed return _ensure_
2015-10-15 09:53:47 INFO config-changed File "/var/lib/
2015-10-15 09:53:47 INFO config-changed return f(*args, **kwargs)
2015-10-15 09:53:47 INFO config-changed File "/var/lib/
2015-10-15 09:53:47 INFO config-changed create_
2015-10-15 09:53:47 INFO config-changed File "/var/lib/
2015-10-15 09:53:47 INFO config-changed import manager
2015-10-15 09:53:47 INFO config-changed File "/var/lib/
2015-10-15 09:53:47 INFO config-changed from keystoneclient.v2_0 import client
2015-10-15 09:53:47 INFO config-changed File "/usr/lib/
2015-10-15 09:53:47 INFO config-changed from keystoneclient.
2015-10-15 09:53:47 INFO config-changed File "/usr/lib/
2015-10-15 09:53:47 INFO config-changed from keystoneclient.
2015-10-15 09:53:47 INFO config-changed File "/usr/lib/
2015-10-15 09:53:47 INFO config-changed from keystoneclient.
2015-10-15 09:53:47 INFO config-changed File "/usr/lib/
2015-10-15 09:53:47 INFO config-changed from keystoneclient.
2015-10-15 09:53:47 INFO config-changed File "/usr/lib/
2015-10-15 09:53:47 INFO config-changed from keystoneclient.
2015-10-15 09:53:47 INFO config-changed File "/usr/lib/
2015-10-15 09:53:47 INFO config-changed from keystoneclient import access
2015-10-15 09:53:47 INFO config-changed File "/usr/lib/
2015-10-15 09:53:47 INFO config-changed from oslo_utils import timeutils
2015-10-15 09:53:47 INFO config-changed File "/usr/lib/
2015-10-15 09:53:47 INFO config-changed from debtcollector import removals
2015-10-15 09:53:47 INFO config-changed File "/usr/lib/
2015-10-15 09:53:47 INFO config-changed from debtcollector import _utils
2015-10-15 09:53:47 INFO config-changed ImportError: cannot import name _utils
2015-10-15 09:53:47 ERROR juju.worker.
Reproduce with:
$ cat config.yaml
keystone:
openstack-origin: cloud:trusty-kilo
$ juju deploy --config config.yaml local:trusty/
Added charm "local:
$ juju set keystone openstack-
Related branches
- James Page: Approve
-
Diff: 165 lines (+29/-16)5 files modifiedactions/openstack_upgrade.py (+2/-2)
hooks/keystone_hooks.py (+10/-3)
hooks/keystone_utils.py (+6/-1)
unit_tests/test_actions_openstack_upgrade.py (+7/-6)
unit_tests/test_keystone_hooks.py (+4/-4)
Changed in keystone (Juju Charms Collection): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Liam Young (gnuoy) |
Changed in keystone (Juju Charms Collection): | |
milestone: | none → 15.10 |
Changed in keystone (Juju Charms Collection): | |
status: | Confirmed → Fix Released |
Looking at python- debtcollector, /usr/lib/ python2. 7/dist- packages/ debtcollector/ _utils. py should exist. Can you check if it's there?