hacluster should disable unattended-upgrades by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack HA Cluster Charm |
Triaged
|
High
|
Unassigned |
Bug Description
Last week a security upgrade of pacemaker was published http://
/var/log/
journalctl -u pacemaker -> https:/
journalctl -u corosync -> http://
grep -A3 'Start-Date: 2019-04-24' /var/log/
[Proposed solution]
An equivalent to this in the hacluster charm, it can be managed via "juju config" to enable/disable, the default will be "0".
echo 'APT::Periodic:
[Workaround]
Disabling unattended-upgrades with juju on all the units:
juju run --all "echo 'APT::Periodic:
tags: | added: sts |
description: | updated |
Changed in charm-hacluster: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in charm-hacluster: | |
assignee: | Felipe Reyes (freyes) → nobody |
status: | In Progress → New |
The other option that just came to my mind is to blacklist pacamaker/corosync AND their dependencies
Unattended- Upgrade: :Package- Blacklist {
"^pacemaker.*";
"^corosync.*";
"^libquorum.*";
...
};
Get to find the right list of package to be blacklisted will be tricky though.