I would prefer to make the MySQL charm Python3 compatible. Same with MongoDB
On Sun, Feb 28, 2016 at 7:45 PM Ryan Beisner <email address hidden>
wrote:
> Public bug reported:
>
> mysql xenial install hook fails (-su: ./install: /usr/bin/python: bad
> interpreter: No such file or directory)
>
> The mysql charm needs a pre-install hook to install python, similar to
> what was done @ the mongodb charm:
>
> https://code.launchpad.net/~james-page/charms/trusty/mongodb/forward-compat-xenial/+merge/287312
>
> 2016-02-29 00:25:00 ERROR juju.worker.uniter.operation runhook.go:107
> hook "install" failed: fork/exec /var/lib/juju/agents/unit-
> mysql-0/charm/hooks/install: no such file or directory
>
> root@juju-beis0-machine-2:/var/lib/juju/agents/unit-mysql-0/charm/hooks#
> ls -1 /usr/bin/python*
> /usr/bin/python3
> /usr/bin/python3.5
> /usr/bin/python3.5m
> /usr/bin/python3-jsondiff
> /usr/bin/python3-jsonpatch
> /usr/bin/python3-jsonpointer
> /usr/bin/python3m
>
> ** Affects: mysql (Juju Charms Collection)
> Importance: High
> Assignee: James Page (james-page)
> Status: In Progress
>
>
> ** Tags: uosci
>
> ** Branch linked: lp:~james-page/charms/trusty/mysql/forward-compat-
> xenial
>
> ** Changed in: mysql (Juju Charms Collection)
> Status: New => In Progress
>
> ** Changed in: mysql (Juju Charms Collection)
> Importance: Undecided => High
>
> ** Changed in: mysql (Juju Charms Collection)
> Assignee: (unassigned) => James Page (james-page)
>
> --
> You received this bug notification because you are subscribed to mysql
> in Juju Charms Collection.
> Matching subscriptions: MySQL-Charm
> https://bugs.launchpad.net/bugs/1551045
>
> Title:
> mysql xenial install hook fails (-su: ./install: /usr/bin/python: bad
> interpreter: No such file or directory)
>
> Status in mysql package in Juju Charms Collection:
> In Progress
>
> Bug description:
> mysql xenial install hook fails (-su: ./install: /usr/bin/python: bad
> interpreter: No such file or directory)
>
> The mysql charm needs a pre-install hook to install python, similar to
> what was done @ the mongodb charm:
>
> https://code.launchpad.net/~james-page/charms/trusty/mongodb/forward-compat-xenial/+merge/287312
>
> 2016-02-29 00:25:00 ERROR juju.worker.uniter.operation runhook.go:107
> hook "install" failed: fork/exec /var/lib/juju/agents/unit-
> mysql-0/charm/hooks/install: no such file or directory
>
> root@juju-beis0-machine-2:/var/lib/juju/agents/unit-mysql-0/charm/hooks#
> ls -1 /usr/bin/python*
> /usr/bin/python3
> /usr/bin/python3.5
> /usr/bin/python3.5m
> /usr/bin/python3-jsondiff
> /usr/bin/python3-jsonpatch
> /usr/bin/python3-jsonpointer
> /usr/bin/python3m
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/charms/+source/mysql/+bug/1551045/+subscriptions
>
I would prefer to make the MySQL charm Python3 compatible. Same with MongoDB
On Sun, Feb 28, 2016 at 7:45 PM Ryan Beisner <email address hidden>
wrote:
> Public bug reported: /code.launchpad .net/~james- page/charms/ trusty/ mongodb/ forward- compat- xenial/ +merge/ 287312 uniter. operation runhook.go:107 juju/agents/ unit- charm/hooks/ install: no such file or directory beis0-machine- 2:/var/ lib/juju/ agents/ unit-mysql- 0/charm/ hooks# python3- jsondiff python3- jsonpatch python3- jsonpointer /bugs.launchpad .net/bugs/ 1551045 /code.launchpad .net/~james- page/charms/ trusty/ mongodb/ forward- compat- xenial/ +merge/ 287312 uniter. operation runhook.go:107 juju/agents/ unit- charm/hooks/ install: no such file or directory beis0-machine- 2:/var/ lib/juju/ agents/ unit-mysql- 0/charm/ hooks# python3- jsondiff python3- jsonpatch python3- jsonpointer /bugs.launchpad .net/charms/ +source/ mysql/+ bug/1551045/ +subscriptions
>
> mysql xenial install hook fails (-su: ./install: /usr/bin/python: bad
> interpreter: No such file or directory)
>
> The mysql charm needs a pre-install hook to install python, similar to
> what was done @ the mongodb charm:
>
> https:/
>
> 2016-02-29 00:25:00 ERROR juju.worker.
> hook "install" failed: fork/exec /var/lib/
> mysql-0/
>
> root@juju-
> ls -1 /usr/bin/python*
> /usr/bin/python3
> /usr/bin/python3.5
> /usr/bin/python3.5m
> /usr/bin/
> /usr/bin/
> /usr/bin/
> /usr/bin/python3m
>
> ** Affects: mysql (Juju Charms Collection)
> Importance: High
> Assignee: James Page (james-page)
> Status: In Progress
>
>
> ** Tags: uosci
>
> ** Branch linked: lp:~james-page/charms/trusty/mysql/forward-compat-
> xenial
>
> ** Changed in: mysql (Juju Charms Collection)
> Status: New => In Progress
>
> ** Changed in: mysql (Juju Charms Collection)
> Importance: Undecided => High
>
> ** Changed in: mysql (Juju Charms Collection)
> Assignee: (unassigned) => James Page (james-page)
>
> --
> You received this bug notification because you are subscribed to mysql
> in Juju Charms Collection.
> Matching subscriptions: MySQL-Charm
> https:/
>
> Title:
> mysql xenial install hook fails (-su: ./install: /usr/bin/python: bad
> interpreter: No such file or directory)
>
> Status in mysql package in Juju Charms Collection:
> In Progress
>
> Bug description:
> mysql xenial install hook fails (-su: ./install: /usr/bin/python: bad
> interpreter: No such file or directory)
>
> The mysql charm needs a pre-install hook to install python, similar to
> what was done @ the mongodb charm:
>
> https:/
>
> 2016-02-29 00:25:00 ERROR juju.worker.
> hook "install" failed: fork/exec /var/lib/
> mysql-0/
>
> root@juju-
> ls -1 /usr/bin/python*
> /usr/bin/python3
> /usr/bin/python3.5
> /usr/bin/python3.5m
> /usr/bin/
> /usr/bin/
> /usr/bin/
> /usr/bin/python3m
>
> To manage notifications about this bug go to:
> https:/
>