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

Mailing List Archive: Linux-HA: Users

Error, "missing id or id-collision detected" after adding a new node

 

 

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


ragoddard at novell

Nov 1, 2007, 10:34 AM

Post #1 of 3 (215 views)
Permalink
Error, "missing id or id-collision detected" after adding a new node

All:

While running HA v2.1.0-41.1 on a three-node cluster, we receive the
error, "missing id or id-collision detected" after adding a fourth node.
Removal of the node alleviates the errors.

I see in code:
RCS file: /home/cvs/linux-ha/linux-ha/lib/crm/cib/cib_client.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -3 -r1.55 -r1.56
--- cib_client.c        9 Apr 2006 12:56:50 -0000      1.55
+++ cib_client.c        26 Apr 2006 13:36:05 -0000      1.56
@@ -666,7 +666,7 @@
                        error_msg = "failed adding field to cib message";
                        break;                 
                case cib_id_check:
-                      error_msg = "id-collision detected";
+                      error_msg = "missing id or id-collision detected";
                        break;                 
                case cib_operation:
                        error_msg = "invalid operation";

So, because I'm lazy and don't want to go slogging through the full code, does
anyone know what condition (or conditions) will cause this function to return
this error?

TIA!

--
R a n d y G o d d a r d
(801) 861-9270

4 8 15 16 23 42
Attachments: signature.asc (0.19 KB)


beekhof at gmail

Nov 2, 2007, 1:51 AM

Post #2 of 3 (188 views)
Permalink
Re: Error, "missing id or id-collision detected" after adding a new node [In reply to]

On Nov 1, 2007, at 6:34 PM, Randy Goddard wrote:

> All:
>
> While running HA v2.1.0-41.1 on a three-node cluster, we receive the
> error, "missing id or id-collision detected" after adding a fourth
> node.
> Removal of the node alleviates the errors.
>
> I see in code:
> RCS file: /home/cvs/linux-ha/linux-ha/lib/crm/cib/cib_client.c,v
> retrieving revision 1.55
> retrieving revision 1.56
> diff -u -3 -r1.55 -r1.56
> --- cib_client.c 9 Apr 2006 12:56:50 -0000 1.55
> +++ cib_client.c 26 Apr 2006 13:36:05 -0000 1.56
> @@ -666,7 +666,7 @@
> error_msg = "failed adding field to cib
> message";
> break;
> case cib_id_check:
> - error_msg = "id-collision detected";
> + error_msg = "missing id or id-collision
> detected";
> break;
> case cib_operation:
> error_msg = "invalid operation";
>
> So, because I'm lazy and don't want to go slogging through the full
> code, does
> anyone know what condition (or conditions) will cause this function
> to return
> this error?

when an xml object has a "missing id" or, when two objects have the
same id and there is an "id-collision detected"

>
>
> TIA!
>
> --
> R a n d y G o d d a r d
> (801) 861-9270
>
> 4 8 15 16 23 42
> _______________________________________________
> 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


ragoddard at novell

Nov 2, 2007, 7:43 AM

Post #3 of 3 (185 views)
Permalink
Re: Error, "missing id or id-collision detected" after adding a new node [In reply to]

On Friday 02 November 2007 02:51:36 am Andrew Beekhof wrote:
<snip>
> > So, because I'm lazy and don't want to go slogging through the full
> > code, does
> > anyone know what condition (or conditions) will cause this function
> > to return
> > this error?
>
> when an xml object has a "missing id" or, when two objects have the
> same id and there is an "id-collision detected"

Excellent, Andrew. That tells me where I need to look to correct the problem.
Thank you!

--
R a n d y G o d d a r d
WorldWide Support Engineer
ragoddard [at] novell [dot]com
(801) 861-9270

Novell, Inc.
SUSEŽ Linux Enterprise 10
Your Linux is ready
http://www.novell.com/linux

4 8 15 16 23 42
Attachments: signature.asc (0.19 KB)

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.