shared-db-relation-changed fails with no install recommends
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-cloud-controller (Juju Charms Collection) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
shared-
It looks like python-mysqldb is missing:
$ dpkg -l | grep mysql
$
Error from /var/log/
2013-11-27 11:21:40 INFO juju juju-log.go:66 nova-cloud-
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 CRITICAL nova [-] No module named MySQLdb
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova Traceback (most recent call last):
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova File "/usr/bin/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova sys.exit(main())
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova File "/usr/lib/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova ret = fn(*fn_args, **fn_kwargs)
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova File "/usr/lib/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova return migration.
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova File "/usr/lib/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova return IMPL.db_
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova File "/usr/lib/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova current_version = db_version()
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova File "/usr/lib/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova return versioning_
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova File "/usr/lib/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova sqlite_
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova File "/usr/lib/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova engine = sqlalchemy.
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova File "/usr/lib/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova return strategy.
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova File "/usr/lib/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova dbapi = dialect_
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova File "/usr/lib/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova return __import_
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova ImportError: No module named MySQLdb
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK 2013-11-27 11:21:40.614 10468 TRACE nova
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK Traceback (most recent call last):
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK main()
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK hooks.execute(
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK self._hooks[
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK f(*args)
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK migrate_database()
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK subprocess.
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK File "/usr/lib/
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK raise CalledProcessEr
2013-11-27 11:21:40 INFO juju.worker.uniter context.go:255 HOOK subprocess.
2013-11-27 11:21:40 ERROR juju.worker.uniter uniter.go:350 hook failed: exit status 1
Related branches
- Stuart Bishop (community): Approve
-
Diff: 16 lines (+2/-1)1 file modifiedhooks/nova_cc_utils.py (+2/-1)
Changed in nova-cloud-controller (Juju Charms Collection): | |
status: | New → Fix Committed |
Changed in nova-cloud-controller (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |