Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

Missing import on resource IPaddr2?

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


Yves.Schumann at ascom

Nov 24, 2009, 2:01 AM

Post #1 of 12 (1430 views)
Permalink
Missing import on resource IPaddr2?

Hi there,

I've got the following errors on the log if I use the resource IPaddr2:

...
Nov 24 10:48:59 LAB4 lrmd: [9645]: info: rsc:rscIpaddr2:7: start
Nov 24 10:48:59 LAB4 lrmd: [9645]: info: RA output:
(rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
line 186: Echo: command not found

Nov 24 10:48:59 LAB4 lrmd: [9645]: info: RA output:
(rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
line 194: Echo: command not found

Nov 24 10:48:59 LAB4 lrmd: [9645]: info: RA output:
(rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
line 186: Echo: command not found

Nov 24 10:48:59 LAB4 lrmd: [9645]: info: RA output:
(rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
line 194: Echo: command not found

Nov 24 10:49:00 LAB4 lrmd: [9645]: info: RA output:
(rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
line 186: Echo: command not found

Nov 24 10:49:00 LAB4 lrmd: [9645]: info: RA output:
(rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
line 194: Echo: command not found

Nov 24 10:49:00 LAB4 crmd: [9648]: info: process_lrm_event: LRM operation
rscIpaddr2_start_0 (call=7, rc=0, cib-update=15, confirmed=true) complete
ok
...

It seems to me that there is the import of the file /etc/ha.d/shellfuncs
missing. After adding the line

. ${HA_DIR}/shellfuncs

on the initialization section, the errors went away.

Any ideas? A bug or something wrong here on my installation?

Regards,

Yves Schumann
Softwareentwicklungsingenieur Security Solutions Division
IT-Koordinator
______________________________
Ascom (Schweiz) AG

"Walking on water and developing software from a specification are easy if
both are frozen" -- Edward V. Berard

_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


dejanmm at fastmail

Nov 24, 2009, 2:13 AM

Post #2 of 12 (1386 views)
Permalink
Re: Missing import on resource IPaddr2? [In reply to]

Hi,

On Tue, Nov 24, 2009 at 11:01:22AM +0100, Yves Schumann wrote:
>
> Hi there,
>
> I've got the following errors on the log if I use the resource IPaddr2:
>
> ...
> Nov 24 10:48:59 LAB4 lrmd: [9645]: info: rsc:rscIpaddr2:7: start
> Nov 24 10:48:59 LAB4 lrmd: [9645]: info: RA output:
> (rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
> line 186: Echo: command not found
>
> Nov 24 10:48:59 LAB4 lrmd: [9645]: info: RA output:
> (rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
> line 194: Echo: command not found
>
> Nov 24 10:48:59 LAB4 lrmd: [9645]: info: RA output:
> (rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
> line 186: Echo: command not found
>
> Nov 24 10:48:59 LAB4 lrmd: [9645]: info: RA output:
> (rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
> line 194: Echo: command not found
>
> Nov 24 10:49:00 LAB4 lrmd: [9645]: info: RA output:
> (rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
> line 186: Echo: command not found
>
> Nov 24 10:49:00 LAB4 lrmd: [9645]: info: RA output:
> (rscIpaddr2:start:stderr) /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs:
> line 194: Echo: command not found
>
> Nov 24 10:49:00 LAB4 crmd: [9648]: info: process_lrm_event: LRM operation
> rscIpaddr2_start_0 (call=7, rc=0, cib-update=15, confirmed=true) complete
> ok
> ...
>
> It seems to me that there is the import of the file /etc/ha.d/shellfuncs
> missing. After adding the line
>
> . ${HA_DIR}/shellfuncs
>
> on the initialization section, the errors went away.
>
> Any ideas? A bug or something wrong here on my installation?

In the current IPaddr2 there are no Echo calls. Strange that you
have a version with Echo calls but it doesn't source shellfuncs.
That package seems to be broken.

Thanks,

Dejan

> Regards,
>
> Yves Schumann
> Softwareentwicklungsingenieur Security Solutions Division
> IT-Koordinator
> ______________________________
> Ascom (Schweiz) AG
>
> "Walking on water and developing software from a specification are easy if
> both are frozen" -- Edward V. Berard
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Yves.Schumann at ascom

Nov 24, 2009, 3:10 AM

Post #3 of 12 (1379 views)
Permalink
Re: Missing import on resource IPaddr2? [In reply to]

Hi


linux-ha-bounces [at] lists wrote on 24.11.2009 11:13:04:

> > It seems to me that there is the import of the
file /etc/ha.d/shellfuncs
> > missing. After adding the line
> >
> > . ${HA_DIR}/shellfuncs
> >
> > on the initialization section, the errors went away.
> >
> > Any ideas? A bug or something wrong here on my installation?
>
> In the current IPaddr2 there are no Echo calls. Strange that you
> have a version with Echo calls but it doesn't source shellfuncs.
> That package seems to be broken.

Uh, maybe I fixed it on the wrong place!

To set the record staight: There are no Echo calls on IPaddr2, they are on
'.ocf-shellfuncs'! So maybe 'shellfuncs' should be sourced there?

> Thanks,
>
> Dejan

You're welcome. :-)

Regards,

Yves Schumann
Softwareentwicklungsingenieur Security Solutions Division
IT-Koordinator
______________________________
Ascom (Schweiz) AG

"Walking on water and developing software from a specification are easy if
both are frozen" -- Edward V. Berard


_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


andrew at beekhof

Nov 24, 2009, 3:19 AM

Post #4 of 12 (1383 views)
Permalink
Re: Missing import on resource IPaddr2? [In reply to]

On Tue, Nov 24, 2009 at 12:10 PM, Yves Schumann <Yves.Schumann [at] ascom> wrote:
> Hi
>
>
> linux-ha-bounces [at] lists wrote on 24.11.2009 11:13:04:
>
>> > It seems to me that there is the import of the
> file /etc/ha.d/shellfuncs
>> > missing. After adding the line
>> >
>> >     . ${HA_DIR}/shellfuncs
>> >
>> > on the initialization section, the errors went away.
>> >
>> > Any ideas? A bug or something wrong here on my installation?
>>
>> In the current IPaddr2 there are no Echo calls. Strange that you
>> have a version with Echo calls but it doesn't source shellfuncs.
>> That package seems to be broken.
>
> Uh, maybe I fixed it on the wrong place!
>
> To set the record staight: There are no Echo calls on IPaddr2, they are on
> '.ocf-shellfuncs'!

I don't see any in there. Where did you get these packages?
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Yves.Schumann at ascom

Nov 26, 2009, 11:17 PM

Post #5 of 12 (1353 views)
Permalink
Re: Missing import on resource IPaddr2? [In reply to]

Hi

Sorry for the delay, the "end-of-year-fever" appears here @work... ;-)


linux-ha-bounces [at] lists wrote on 24.11.2009 12:19:15:

> > To set the record staight: There are no Echo calls on IPaddr2, they are
on
> > '.ocf-shellfuncs'!
>
> I don't see any in there. Where did you get these packages?

Uh, let me explain. We got some problems to determine an exact version
because of the mercurial repository. It would be very nice if there where a
location with periodic tarballs or something like that so one can reference
an exact version. If I understand it right, then we use the following
versions:

- cluster-glue (glue-1.0 tag ?)
- OpenHPI 2.14.0
- Heartbeat (trunk ?)
- Pacemaker 1.0.5
- Agents (trunk ?)

It is a problem for us to use a undefined version or a version out of the
trunk but currently there is no other way. So either we understand
completely wrong how to get the sources for a concrete version or the
description is unclear...

Regards,

Yves Schumann
Softwareentwicklungsingenieur Security Solutions Division
IT-Koordinator
______________________________
Ascom (Schweiz) AG

"Walking on water and developing software from a specification are easy if
both are frozen" -- Edward V. Berard

_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


andrew at beekhof

Nov 27, 2009, 1:22 AM

Post #6 of 12 (1345 views)
Permalink
Re: Missing import on resource IPaddr2? [In reply to]

On Fri, Nov 27, 2009 at 8:17 AM, Yves Schumann <Yves.Schumann [at] ascom> wrote:
> Hi
>
> Sorry for the delay, the "end-of-year-fever" appears here @work... ;-)
>
>
> linux-ha-bounces [at] lists wrote on 24.11.2009 12:19:15:
>
>> > To set the record staight: There are no Echo calls on IPaddr2, they are
> on
>> > '.ocf-shellfuncs'!
>>
>> I don't see any in there. Where did you get these packages?
>
> Uh, let me explain. We got some problems to determine an exact version
> because of the mercurial repository.

did you try this?
cibadmin --version

That will include the Hg changeset pacemaker was built from (form
which you can infer the date)

But I presume from the rest of your reply that you built these yourself?

> It would be very nice if there where a
> location with periodic tarballs or something like that so one can reference
> an exact version. If I understand it right, then we use the following
> versions:
>
> - cluster-glue (glue-1.0 tag ?)
> - OpenHPI 2.14.0
> - Heartbeat (trunk ?)
> - Pacemaker 1.0.5
> - Agents (trunk ?)
>
> It is a problem for us to use a undefined version or a version out of the
> trunk but currently there is no other way. So either we understand
> completely wrong how to get the sources for a concrete version or the
> description is unclear...
>
> Regards,
>
> Yves Schumann
> Softwareentwicklungsingenieur Security Solutions Division
> IT-Koordinator
> ______________________________
> Ascom (Schweiz) AG
>
> "Walking on water and developing software from a specification are easy if
> both are frozen" -- Edward V. Berard
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


dejanmm at fastmail

Nov 27, 2009, 5:51 AM

Post #7 of 12 (1349 views)
Permalink
Re: Missing import on resource IPaddr2? [In reply to]

Hi,

On Fri, Nov 27, 2009 at 10:22:16AM +0100, Andrew Beekhof wrote:
> On Fri, Nov 27, 2009 at 8:17 AM, Yves Schumann <Yves.Schumann [at] ascom> wrote:
> > Hi
> >
> > Sorry for the delay, the "end-of-year-fever" appears here @work... ;-)
> >
> >
> > linux-ha-bounces [at] lists wrote on 24.11.2009 12:19:15:
> >
> >> > To set the record staight: There are no Echo calls on IPaddr2, they are
> > on
> >> > '.ocf-shellfuncs'!
> >>
> >> I don't see any in there. Where did you get these packages?
> >
> > Uh, let me explain. We got some problems to determine an exact version
> > because of the mercurial repository.
>
> did you try this?
> cibadmin --version
>
> That will include the Hg changeset pacemaker was built from (form
> which you can infer the date)

I'll see to it that the version information is included somewhere
for cluster-glue and resource-agents packages.

Thanks,

Dejan

> But I presume from the rest of your reply that you built these yourself?
>
> > It would be very nice if there where a
> > location with periodic tarballs or something like that so one can reference
> > an exact version. If I understand it right, then we use the following
> > versions:
> >
> > - cluster-glue (glue-1.0 tag ?)
> > - OpenHPI 2.14.0
> > - Heartbeat (trunk ?)
> > - Pacemaker 1.0.5
> > - Agents (trunk ?)
> >
> > It is a problem for us to use a undefined version or a version out of the
> > trunk but currently there is no other way. So either we understand
> > completely wrong how to get the sources for a concrete version or the
> > description is unclear...
> >
> > Regards,
> >
> > Yves Schumann
> > Softwareentwicklungsingenieur Security Solutions Division
> > IT-Koordinator
> > ______________________________
> > Ascom (Schweiz) AG
> >
> > "Walking on water and developing software from a specification are easy if
> > both are frozen" -- Edward V. Berard
> >
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA [at] lists
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> >
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Yves.Schumann at ascom

Nov 27, 2009, 5:54 AM

Post #8 of 12 (1351 views)
Permalink
Re: Missing import on resource IPaddr2? [In reply to]

Hi Andrew

linux-ha-bounces [at] lists wrote on 27.11.2009 10:22:16:

> did you try this?
> cibadmin --version

X-) Thanks for the hint. I got the following output:


cibadmin 1.0.5 for Heartbeat (Build:
462f1569a43740667daf7b0f6b521742e9eb8fa7)

Written by Andrew Beekhof


> That will include the Hg changeset pacemaker was built from (form
> which you can infer the date)

Ah ok.


> But I presume from the rest of your reply that you built these yourself?

Correct. But actually I'm doing this not myself, there is another division
in our company which provides the components for our system. Because of
that it's more or less difficult for me to determine things exactly... :-/

Regards,

Yves Schumann
Softwareentwicklungsingenieur Security Solutions Division
IT-Koordinator
______________________________
Ascom (Schweiz) AG

"Walking on water and developing software from a specification are easy if
both are frozen" -- Edward V. Berard


_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


andrew at beekhof

Nov 27, 2009, 5:58 AM

Post #9 of 12 (1340 views)
Permalink
Re: Missing import on resource IPaddr2? [In reply to]

On Fri, Nov 27, 2009 at 2:51 PM, Dejan Muhamedagic <dejanmm [at] fastmail> wrote:
> Hi,
>
> On Fri, Nov 27, 2009 at 10:22:16AM +0100, Andrew Beekhof wrote:
>> On Fri, Nov 27, 2009 at 8:17 AM, Yves Schumann <Yves.Schumann [at] ascom> wrote:
>> > Hi
>> >
>> > Sorry for the delay, the "end-of-year-fever" appears here @work... ;-)
>> >
>> >
>> > linux-ha-bounces [at] lists wrote on 24.11.2009 12:19:15:
>> >
>> >> > To set the record staight: There are no Echo calls on IPaddr2, they are
>> > on
>> >> > '.ocf-shellfuncs'!
>> >>
>> >> I don't see any in there. Where did you get these packages?
>> >
>> > Uh, let me explain. We got some problems to determine an exact version
>> > because of the mercurial repository.
>>
>> did you try this?
>>    cibadmin --version
>>
>> That will include the Hg changeset pacemaker was built from (form
>> which you can infer the date)
>
> I'll see to it that the version information is included somewhere
> for cluster-glue and resource-agents packages.

For agents I was just about to add this to .ocf-shellfuncs.in

# Build version: @BUILD_DIR@

I guess we could also create a function, but I'm not sure thats necessary.
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


andrew at beekhof

Nov 27, 2009, 6:00 AM

Post #10 of 12 (1351 views)
Permalink
Re: Missing import on resource IPaddr2? [In reply to]

On Fri, Nov 27, 2009 at 2:54 PM, Yves Schumann <Yves.Schumann [at] ascom> wrote:
> Hi Andrew
>
> linux-ha-bounces [at] lists wrote on 27.11.2009 10:22:16:
>
>> did you try this?
>>    cibadmin --version
>
> X-) Thanks for the hint. I got the following output:
>
>
> cibadmin 1.0.5 for Heartbeat (Build:
> 462f1569a43740667daf7b0f6b521742e9eb8fa7)
>
> Written by Andrew Beekhof
>
>
>> That will include the Hg changeset pacemaker was built from (form
>> which you can infer the date)
>
> Ah ok.
>
>
>> But I presume from the rest of your reply that you built these yourself?
>
> Correct. But actually I'm doing this not myself, there is another division
> in our company which provides the components for our system. Because of
> that it's more or less difficult for me to determine things exactly... :-/

Ah.

Basically you're probably hitting problem that has since been fixed.
Best approach would be to ask them to refresh.

Or if you're using opensuse, fedora (or one of its derivatives), grab
the ones from http://www.clusterlabs.org/rpm
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


dejanmm at fastmail

Nov 27, 2009, 6:47 AM

Post #11 of 12 (1350 views)
Permalink
Re: Missing import on resource IPaddr2? [In reply to]

Hi,

On Fri, Nov 27, 2009 at 02:58:10PM +0100, Andrew Beekhof wrote:
> On Fri, Nov 27, 2009 at 2:51 PM, Dejan Muhamedagic <dejanmm [at] fastmail> wrote:
> > Hi,
> >
> > On Fri, Nov 27, 2009 at 10:22:16AM +0100, Andrew Beekhof wrote:
> >> On Fri, Nov 27, 2009 at 8:17 AM, Yves Schumann <Yves.Schumann [at] ascom> wrote:
> >> > Hi
> >> >
> >> > Sorry for the delay, the "end-of-year-fever" appears here @work... ;-)
> >> >
> >> >
> >> > linux-ha-bounces [at] lists wrote on 24.11.2009 12:19:15:
> >> >
> >> >> > To set the record staight: There are no Echo calls on IPaddr2, they are
> >> > on
> >> >> > '.ocf-shellfuncs'!
> >> >>
> >> >> I don't see any in there. Where did you get these packages?
> >> >
> >> > Uh, let me explain. We got some problems to determine an exact version
> >> > because of the mercurial repository.
> >>
> >> did you try this?
> >>    cibadmin --version
> >>
> >> That will include the Hg changeset pacemaker was built from (form
> >> which you can infer the date)
> >
> > I'll see to it that the version information is included somewhere
> > for cluster-glue and resource-agents packages.
>
> For agents I was just about to add this to .ocf-shellfuncs.in
>
> # Build version: @BUILD_DIR@

Thanks, though I guess you meant BUILD_VERSION?

> I guess we could also create a function, but I'm not sure thats necessary.

I think that the comment should be enough.

Thanks,

Dejan

> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


andrew at beekhof

Nov 27, 2009, 7:35 AM

Post #12 of 12 (1351 views)
Permalink
Re: Missing import on resource IPaddr2? [In reply to]

On Fri, Nov 27, 2009 at 3:47 PM, Dejan Muhamedagic <dejanmm [at] fastmail> wrote:
>> # Build version: @BUILD_DIR@
>
> Thanks, though I guess you meant BUILD_VERSION?

right. too many things at once :)
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.