Unattended upgrades, hyper-converged units and Cloud upgrade via actions

Bug #1754397 reported by Alvaro Uria
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceph OSD Charm
Triaged
Medium
Unassigned
OpenStack Nova Compute Charm
Triaged
Medium
Unassigned
OpenStack Swift Storage Charm
Triaged
Medium
Unassigned

Bug Description

On smooshed applications (ie. ceph-osd, nova-compute),
0) set action-managed-upgrade=True
1) set ceph-osd openstack-origin="cloud:xenial-mitaka" and run the upgrade for the unit (via action)
2) Unattended upgrades runs in a daily cronjob

The above will cause upgrades of all the packages in the unit, including ie. nova-compute ones.

Fix:
1) Create an action to disable/enable unattended upgrades
2) Document a list of actions that need to be run to do an OpenStack upgrade (when action-managed-upgrade=True)

Revision history for this message
Alvaro Uria (aluria) wrote :

I've added the charms that are typically smooshed in the same machine.

I'm not sure if the fix should also be applied to other charms that generally run in containers (typically, the hacluster charm is a subordinate).

Revision history for this message
James Page (james-page) wrote :

Maybe the right thing todo is to disable unattended upgrades once a new origin is configured, and then re-enable them after the packages have actually been upgraded? This would avoid an out-of-charm control upgrade by the daily cronjob.

I'd prefer todo that rather than have users have to run actions todo the same.

Changed in charm-ceph-osd:
status: New → Triaged
Changed in charm-nova-compute:
status: New → Triaged
Changed in charm-swift-storage:
status: New → Triaged
importance: Undecided → Medium
Changed in charm-nova-compute:
importance: Undecided → Medium
Changed in charm-ceph-osd:
importance: Undecided → Medium
tags: added: openstack-upgrade
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.