[ClusterLabs] Saving secret locally

Ken Gaillot kgaillot at redhat.com
Wed Jan 22 09:29:42 EST 2020


On Wed, 2020-01-22 at 08:01 +0200, Strahil Nikolov wrote:
> On January 21, 2020 9:23:35 PM GMT+02:00, Ken Gaillot <
> kgaillot at redhat.com> wrote:
> > On Tue, 2020-01-21 at 06:29 +0200, Strahil Nikolov wrote:
> > > On January 20, 2020 5:57:18 PM GMT+02:00, Ken Gaillot <
> > > kgaillot at redhat.com> wrote:
> > > > On Sat, 2020-01-18 at 20:54 +0000, Strahil Nikolov wrote:
> > > > > Hello Community,
> > > > > 
> > > > > 
> > > > > I have been using pacemaker in the last 2 years on SUSE who
> > > > > use
> > > > > crmsh
> > > > > and now I struggle to recall some of the knowledge I had.
> > > > > Cluster
> > > > > is
> > > > > RHEL 7.7 on oVirt/RHV .
> > > > > 
> > > > > 
> > > > > Can someone tell me the pcs command that matches to this one,
> > > > > as
> > > > > I
> > > > > don't want the password for the fencing user in the CIB :
> > > > > 
> > > > > 
> > > > > crm resource secret <rsc> set <param> <value>
> > > > > 
> > > > > 
> > > > > I've been searching in the pcs --help and on 
> > > > > 
> > > > 
> > > > 
> > 
> > https://github.com/ClusterLabs/pacemaker/blob/master/doc/pcs-crmsh-quick-ref.md
> > > > > md , but it seems it's not there or I can't find it.
> > > > > 
> > > > > Thanks in advance.
> > > > > 
> > > > > 
> > > > > Best Regards,
> > > > > Strahil Nikolov
> > > > 
> > > > Not only does pcs not have an equivalent, but CIB secrets
> > > > aren't
> > > > even
> > > > enabled in RHEL (it's a compile-time option). I'm not aware of
> > > > any
> > > > particular reason; it probably goes back to when the feature
> > > > was
> > > > experimental. Feel free to file a bug with Red Hat asking for
> > > > it to
> > > > be
> > > > enabled.
> > > 
> > > Hi Ken,
> > > 
> > > 
> > > Thanks for your reply.
> > > I will open a bug for RHEL 8 - my guess is that it also lacks
> > > that
> > > feature, right ?
> > > 
> > > Best Regards,
> > > Strahil Nikolov
> > 
> > Correct
> 
> Bug opened at:
> https://bugzilla.redhat.com/show_bug.cgi?id=1793860

Thanks!

> Should I open issue in github ?

No, it's a RHEL-only issue.

> Best Regards,
> Strahil Nikolov
> 
-- 
Ken Gaillot <kgaillot at redhat.com>



More information about the Users mailing list