[Pacemaker] Pacemaker is not able to read new shadow CIB.

Dejan Muhamedagic dejanmm at fastmail.fm
Mon May 14 11:26:35 EDT 2012


On Fri, May 11, 2012 at 03:45:43PM +0100, Guillaume Belrose wrote:
> I am running as root.
> 
> The shadow file gets created under /var/lib/heartbeat/crm and is owned by root.

Strange. I think that most users run crm as root and I'd expect
a general outcry if creating shadow cibs didn't work.

There could be a problem if you're using another username with
the 0 uid. BTW, does anything fiddle with the USER environment
variable or is it really set to "root"?

> The other files in that folder are owned by hacluster.

Yes, that's expected.

Thanks,

Dejan

> Cheers,
> 
> Guillaume.
> 
> 
> 
> 
> On 11 May 2012 15:38, Dejan Muhamedagic <dejanmm at fastmail.fm> wrote:
> > Hi,
> >
> > On Fri, May 11, 2012 at 03:14:16PM +0100, Guillaume Belrose wrote:
> >> Hi all,
> >>
> >> I am using Pacemaker on Fedora16 and going through the steps as described in
> >> http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/_configure_the_cluster_for_drbd.html
> >>
> >> The operation to create a new shadow cib fails with a but which is the
> >> exactly the same as the one reported for OpenSUSE:
> >> https://bugzilla.novell.com/show_bug.cgi?id=703868#c1
> >>
> >> I am using Fedora16 with corosync 1.4.3 and Pacemaker version
> >> 1.1.7-2.fc16 (Build: ee0730e13d124c3d58f00016c3376a1de5323cff)
> >>
> >> I am not sure if this is a Fedora16 bug or a Pacemaker issue.
> >
> > How do you run crm, as which uid/username? There could be slight
> > differences in how crm (the shell) and crm_shadow resolve
> > shadow locations (directory).
> >
> > Thanks,
> >
> > Dejan
> >
> >> Thanks in advance,
> >>
> >> Guillaume.
> >>
> >> _______________________________________________
> >> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> >> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >>
> >> Project Home: http://www.clusterlabs.org
> >> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> >> Bugs: http://bugs.clusterlabs.org
> >
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> > Bugs: http://bugs.clusterlabs.org
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org




More information about the Pacemaker mailing list