ntpmaster doesn't deploy on Xenial
Bug #1577438 reported by
Chris Glass
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntpmaster (Juju Charms Collection) |
Fix Released
|
High
|
Chris Glass |
Bug Description
The ntpmaster charm seems to use python2 only (the hook python files use /usr/bin/python), and python2 is not available by default on Xenial+ machines.
Possible solutions include:
- porting to python3 (needs a charmhelpers refresh and 2to3)
- making the install hook a bash shim that installs python2 before calling the "real" install hook.
Related branches
lp:~tribaal/charms/trusty/ntpmaster/python3-hooks
- Review Queue (community): Needs Fixing (automated testing)
- Charles Butler (community): Approve
-
Diff: 113 lines (+31/-9)2 files modifiedhooks/charmhelpers/core/host.py (+30/-8)
hooks/ntpmaster_hooks.py (+1/-1)
tags: | added: kanban-cross-team landscape |
tags: | removed: kanban-cross-team |
Changed in ntpmaster (Juju Charms Collection): | |
status: | New → In Progress |
assignee: | nobody → Chris Glass (tribaal) |
importance: | Undecided → High |
To post a comment you must log in.
released as of cs:trusty/ ntpmaster- 5