mysql charm - ImportError: No module named six
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
Fix Released
|
Undecided
|
Unassigned | ||
mysql (Juju Charms Collection) |
Fix Released
|
Medium
|
Liam Young |
Bug Description
When using this charm to deploy OpenStack (precise-icehouse, in conjunction with stable or next openstack charm sets):
# from mysql unit log:
2014-11-30 02:46:32 INFO juju.worker.uniter uniter.go:307 charm "local:
2014-11-30 02:46:32 DEBUG juju.worker.uniter modes.go:398 ModeInstalling local:precise/
2014-11-30 02:46:32 INFO juju.worker.uniter modes.go:396 ModeContinue starting
2014-11-30 02:46:32 INFO juju.worker.uniter modes.go:65 found queued "install" hook
2014-11-30 02:46:32 INFO juju.worker.uniter uniter.go:480 running "install" hook
2014-11-30 02:46:32 INFO install Traceback (most recent call last):
2014-11-30 02:46:32 INFO install File "/var/lib/
2014-11-30 02:46:32 INFO install import lib.utils as utils
2014-11-30 02:46:32 INFO install File "/var/lib/
2014-11-30 02:46:32 INFO install from charmhelpers.
2014-11-30 02:46:32 INFO install File "/var/lib/
2014-11-30 02:46:32 INFO install import six
2014-11-30 02:46:32 INFO install ImportError: No module named six
2014-11-30 02:46:32 ERROR juju.worker.uniter uniter.go:486 hook failed: exit status 1
...
# from deployer output:
2014-12-01 08:55:37 [DEBUG] deployer.import: Waiting for units before adding relations
2014-12-01 08:55:37 [ERROR] deployer.env: The following units had errors:
unit: mysql/0: machine: 10 agent-state: error details: hook failed: "install"
2014-12-01 08:55:37 [INFO] deployer.cli: Deployment stopped. run time: 342.88
Related branches
- Jorge Niedbalski (community): Approve
- Review Queue (community): Needs Fixing (automated testing)
- Corey Bryant (community): Approve
- Ryan Beisner (community): Approve
-
Diff: 38 lines (+23/-0)2 files modifiedcharm-helpers.yaml (+1/-0)
hooks/charmhelpers/__init__.py (+22/-0)
- Ryan Beisner (community): Approve
- OpenStack Charmers: Pending requested
-
Diff: 38 lines (+23/-0)2 files modifiedcharm-helpers-hooks.yaml (+1/-0)
hooks/charmhelpers/__init__.py (+22/-0)
summary: |
- ImportError: No module named six + mysql charm - ImportError: No module named six |
tags: | added: oil |
Changed in mysql (Juju Charms Collection): | |
status: | In Progress → Fix Released |
Changed in charm-helpers: | |
status: | Incomplete → Fix Released |
Also FYI, deployments with this charm succeed with trusty-icehouse, trusty-juno, utopic-juno. It appears to be limited to precise-icehouse deploys.