[Linux-HA] Re: error log messages related to cib-bootstrap-options

Andrew Beekhof beekhof at gmail.com
Mon Jan 29 02:39:22 MST 2007


On 1/27/07, Pavol Gono <palo.gono at gmail.com> wrote:
> I tried setting id "cib-bootstrap-options" of cluster_property_set tag
> and error messages disappeared. I didn't find any documentation, which
> says what is purpose of cib-bootstrap-options. Is it only an internall
> stuff?

its the default set which is always processed first (if it exists).

its not so important if there is only one set of options, but in the
case were you want the cluster to behave differently depending on the
time-of-day/day-of-week then it is helpful to have a place to set
options and be sure they will take immediate effect.

that said, we should be able to handle the case where it doesn't exist
a little more gracefully :-)  i'll make a note to do some work on
this.

>
> (Only http://www.linux-ha.org/ClusterResourceManager/DTD1.0/Annotated
> says some words about instance_attributes)
>
> Palo
>
>
> On 1/23/07, Pavol Gono <palo.gono at gmail.com> wrote:
> > Hi
> >
> > When using tools like crm_failcount and crm_resource, I always see
> > disturbing log messages. The following example is on 2-node cluster
> > after starting HB on both machines. There is one Dummy resource with
> > state file /tmp/a/a. http://hg.linux-ha.org/dev/, rev 10038.
> >
> > # cibadmin -Ql > cibadmin-Ql.xml
> > # logger BBBBBBBB;rm /tmp/a/a
> > # logger CCCCCCCC;crm_failcount -D -rx_A -Upgbook
> > crm_failcount[6772]: 2007/01/23_15:09:22 ERROR: cib_native_perform_op:
> > Call failed: The object/attribute does not exist
> > crm_failcount[6772]: 2007/01/23_15:09:22 ERROR: update_attr: Error
> > setting last-lrm-refresh=1169561362 (section=crm_config,
> > set=cib-bootstrap-options): The object/attribute does not exist
> > # cibadmin -Ql > cibadmin-Ql2.xml
> > # logger DDDDDDDD;crm_resource -C -rx_A
> > crm_resource[7390]: 2007/01/23_15:14:41 ERROR: cib_native_perform_op:
> > Call failed: The object/attribute does not exist
> > crm_resource[7390]: 2007/01/23_15:14:41 ERROR: update_attr: Error
> > setting last-lrm-refresh=1169561676 (section=crm_config,
> > set=cib-bootstrap-options): The object/attribute does not exist
> > # logger EEEEEEEE;/etc/init.d/heartbeat stop
> > Stopping High-Availability services: done
> >
> > I see in logs also things like:
> > cib: [4105]: WARN: do_cib_notify: cib_modify of <cluster_property_set
> > > FAILED: The object/attribute does not exist
> > cib: [4105]: ERROR: cib_process_request: cib_modify operation failed:
> > The object/attribute does not exist
> > cib: [4105]: WARN: cib_process_request: Request not broadcast: call
> > failed: The object/attribute does not exist
> >
> > So the problem is not in functionality but in logging. Or is there
> > something what should I add to configuration?
> >
> > I was searching in code a little, I only have one suspicion to
> > lib/crm/cib/cib_attrs.c:53 in macro attr_common_setup, which is used
> > by update_attr(). But here usage of string cib-bootstrap-options is
> > maybe correct.
> >
> >
> > You can see in logs also another odd thing - resource was stopped and
> > started for a small moment sometimes and without reason. It has maybe
> > something to do with the messages like:
> > Jan 23 14:50:00 pgbook pengine: [4149]: WARN: check_action_definition:
> > Parameters to x_A_start_0 on pgbook changed: recorded
> > 62630f73ff8d9a1ed9704e760caf33de vs. calculated (restart)
> > c3c0b531a1f78e6e6de1354be0c56dd1
> > I don't understand it.
> >
> > Palo
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>


More information about the Linux-HA mailing list