openstack-upgrade action upgrades all packages on a machine co-hosting principal charms

Bug #1862640 reported by Diko Parvanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Swift Storage Charm
Invalid
Medium
Unassigned

Bug Description

In an environment, which has swift and ceph-osd co-hosted in machines where nova-compute runs, running the openstack-upgrade action on the swift charms did upgrade the nova packages to the next release.

This was tested in Ocata->Pike and Pike->Queens upgrades. Possibly this bug affects more than one charm.

The described actions in https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/app-upgrade-openstack.html to disable unattended upgrades did not stop the action from upgrading the packages.

Andrew McLeod (admcleod)
tags: added: openstack-upgrade
Changed in charm-swift-storage:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

This isn't a bug, but perhaps a misunderstanding about hyper-convergence and co-locating services.

The OpenStack api and service packages are PER host, not per unit. Thus if two charms are co-located on a host and they rely on common packages (or even if packages are just "apt upgrade"d) then the packages WILL be updated.

Marking as invalid as this is how the packaging distribution for OpenStack works. To obtain isolation, LXD or other separated hypervisor units should be used for units that don't need kernel packages, with the bare metal being reserved for ceph-osd and nova-compute nodes.

Changed in charm-swift-storage:
status: Triaged → Invalid
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.