Prevent co-locating charms that may be conflicting with each other

Bug #2022057 reported by Ponnuvel Palaniyappan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceph Monitor Charm
Triaged
Wishlist
Unassigned
Ceph OSD Charm
Triaged
Wishlist
Unassigned
Kubernetes Control Plane Charm
Triaged
Wishlist
Unassigned
OpenStack Ceph-FS Charm
Triaged
Wishlist
Unassigned
OpenStack Compute (nova)
New
Undecided
Unassigned

Bug Description

Charms such as ceph-mon, ceph-osd, ceph-fs, kubernetes-control-plane, etc can interfere with each other if they're deployed on the same host. While this isn't a supported configuration, charms don't prevent from anyone deploying it and then end up with issues.

Can the charm be updated to refuse deployment if one of the other charms is already deployed or being deployed?

Peter Matulis is looking at updating the documentation.

Changed in charm-ceph-mon:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-ceph-osd:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-ceph-fs:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
George Kraft (cynerva) wrote :

I guess we could include some kind of deny list for this. Such a list would never be complete, of course, but we could raise warnings for the ones we know about.

Units would need to look for other units in /var/lib/juju/agents and inspect their metadata.yaml to get the charm name to check against the deny list.

Changed in charm-kubernetes-master:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Ponnuvel Palaniyappan (pponnuvel) wrote :

To clarify for anyone stumbling on this:
Currently co-locating charms that may conflict isn't supported. This LP bug is a feature request.

The recommendation is to *not* co-locate charms that may conflict with each other and use LXD containers (or VMs) if multiple charms are to be located on the same physical machine.

Changed in cinder:
importance: Undecided → Wishlist
no longer affects: cinder
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.