On Xenial: install /usr/bin/env: 'python': No such file or directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack odl-controller charm |
Fix Released
|
High
|
James Page | ||
odl-controller (Juju Charms Collection) |
Invalid
|
High
|
James Page |
Bug Description
odl-controller needs pre-install hook treatment for python 2.
2016-03-10 01:51:23 DEBUG juju.worker.uniter modes.go:31 [AGENT-STATUS] executing: running install hook
2016-03-10 01:51:23 INFO install /usr/bin/env: 'python': No such file or directory
2016-03-10 01:51:23 INFO juju.worker.
2016-03-10 01:51:23 ERROR juju.worker.
2016-03-10 01:51:23 DEBUG juju.worker.uniter modes.go:31 [AGENT-STATUS] failed: run install hook
2016-03-10 01:51:23 INFO juju.worker.uniter modes.go:569 ModeContinue exiting
2016-03-10 01:51:23 INFO juju.worker.uniter modes.go:567 ModeHookError starting
2016-03-10 01:51:23 DEBUG juju.worker.
2016-03-10 01:51:23 DEBUG juju.worker.
2016-03-10 01:51:23 DEBUG juju.worker.
2016-03-10 01:51:23 DEBUG juju.worker.uniter modes.go:31 [AGENT-STATUS] error: hook failed: "install"
Changed in odl-controller (Juju Charms Collection): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → James Page (james-page) |
Changed in charm-odl-controller: | |
assignee: | nobody → James Page (james-page) |
importance: | Undecided → High |
status: | New → Fix Committed |
Changed in odl-controller (Juju Charms Collection): | |
status: | Fix Committed → Invalid |
Changed in charm-odl-controller: | |
milestone: | none → 17.02 |
Changed in charm-odl-controller: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. openstack. org/291139 /git.openstack. org/cgit/ openstack/ charm-odl- controller/ commit/ ?id=a1cf699ee90 83c8e713ded3983 40590c194b1ea1
Committed: https:/
Submitter: Jenkins
Branch: master
commit a1cf699ee9083c8 e713ded39834059 0c194b1ea1
Author: James Page <email address hidden>
Date: Thu Mar 10 12:23:01 2016 +0000
Add support for Ubuntu Xenial
Xenial does not install python2 by default; ensure that python2
and minimal module dependencies are installed prior to trying
to execute any python2 based hooks.
Update amulet tests to drop shared-db relation for n-gateway.
This change also includes a resync of charm-helpers to pickup
new changes for systemd support.
Change-Id: Icef9679cd1d1c9 6e8aa87bcedcf97 35a41af8d52
Closes-Bug: #1555422