[ClusterLabs] Possible intrusive change in bundles for 2.0.3
RHAYDEN at CERNER.COM
Fri Jun 7 12:19:51 EDT 2019
Robert Hayden | Sr. Technology Architect | Cerner Corporation |
> -----Original Message-----
> From: Users <users-bounces at clusterlabs.org> On Behalf Of Ken Gaillot
> Sent: Thursday, June 6, 2019 5:35 PM
> To: Cluster Labs - All topics related to open-source clustering welcomed
> <users at clusterlabs.org>
> Subject: [ClusterLabs] Possible intrusive change in bundles for 2.0.3
> Hi all,
> It has been discovered that newer versions of selinux-policy prevent bundles
> in pacemaker 2.0 from logging. I have a straightforward fix, but it means that
> whenever a cluster is upgraded from pre-2.0.3 to
> 2.0.3 or later, all active bundles will restart once the last older node leaves
> the cluster.
Is this cluster restart only when crossing the 2.0.3 release? Or for each minor after the 2.0.3?
Rolling upgrades are ideal and much easier to justify getting maintenance windows
> This is because the fix passes the "Z" mount flag to docker or podman, which
> tells them to create a custom SELinux policy for the bundle's container and
> log directory. This is the easiest and most restrictive solution.
> An alternative approach would be for pacemaker to start delivering its own
> custom SELinux policy as a separate package. The policy would allow all
> pacemaker-launched containers to access all of
> /var/log/pacemaker/bundles, which is a bit broader access (not to mention
> more of a pain to maintain over the longer term). This would avoid the
> I'm leaning to the in-code solution, but I want to ask if anyone thinks the
> bundle restarts on upgrade are a deal-breaker for a minor-minor release, and
> would prefer the packaged policy solution.
I am not 100% sure of the configuration you are referring to with bundles.
Overall, I would prefer the SELinux policy to be a separate package, or incorporated into the
main SELinux policies as a Boolean. Seems to me to be a better long term solution,
> Ken Gaillot <kgaillot at redhat.com>
> Manage your subscription:
> ClusterLabs home:
CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.
More information about the Users