No retries when pre-install-hook apt-install fails
Bug #1845980 reported by
Jason Hobbs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apache2 Charm |
New
|
Undecided
|
Unassigned |
Bug Description
When this line fails, there are no retries performed:
apt-get install -y python python-apt python-yaml
2019-09-28 06:02:26 INFO juju-log Invoking charm-pre-install hooks
2019-09-28 06:02:27 INFO juju-log Ensuring python, python-apt and python-yaml are installed
2019-09-28 06:02:27 DEBUG install E: Could not get lock /var/lib/
2019-09-28 06:02:27 DEBUG install E: Unable to acquire the dpkg frontend lock (/var/lib/
2019-09-28 06:02:27 ERROR juju.worker.
We get a hook error.
To post a comment you must log in.