[Openais] OpenAIS not starting

Steven Dake sdake at redhat.com
Mon Sep 22 13:06:12 PDT 2008


please merge.

Thanks
-steve
On Tue, 2008-09-23 at 06:50 +1200, angus salkeld wrote:
> Hi
> 
> Looks like I broke it.  Here is a patch to fix it (openais).
> 
> Regards
> Angus Salkeld
> 
> 
> 
> Index: services/amf.c
> ===================================================================
> --- services/amf.c      (revision 1648)
> +++ services/amf.c      (working copy)
> @@ -1310,6 +1310,10 @@
>         }
> 
>         api = corosync_api;
> +       if (!amf_enabled (api)) {
> +               sync_state_set (UNCONFIGURED);
> +               return 0;
> +       }
> 
>         sync_state_set (IDLE);
> 
> 
> 
> 
> On Mon, 2008-09-22 at 19:07 +0200, Andras Kovi wrote:
> > 
> > Hi All, 
> > 
> > I have not looked at this project for quite a long time but followed
> > the discussions. Great job, keep going! 
> > 
> > Today I wanted to get an OpenAIS node to work. Went through the
> > installation of Corosync and OpenAIS, generated the keys, set the IP
> > address and started the thingie with the aisexec script in the
> > openais/trunk/services directory. The result is listed below. AMF is
> > not configured and it's also turned off in the config (that has not
> > been changed.) What should I do? 
> > 
> > Thanks, 
> > Andras 
> > 
> > Aug  8 21:44:56.527405 [TOTEM] The network interface [192.168.248.130]
> > is now up. 
> > Aug  8 21:44:56.527522 [TOTEM] Created or loaded sequence id
> > 4.192.168.248.130 for this ring. 
> > Aug  8 21:44:56.527726 [TOTEM] entering GATHER state from 15. 
> > Aug  8 21:44:56.528753 [SERV ] Service initialized 'openais cluster
> > membership service B.01.01' 
> > Aug  8 21:44:56.529269 [SERV ] Service initialized 'openais event
> > service B.01.01' 
> > Aug  8 21:44:56.529705 [SERV ] Service initialized 'openais checkpoint
> > service B.01.01' 
> > Aug  8 21:44:56.529954 [SERV ] Service initialized 'openais
> > availability management framework B.01.01' 
> > Aug  8 21:44:56.530263 [SERV ] Service initialized 'openais message
> > service B.01.01' 
> > Aug  8 21:44:56.530446 [SERV ] Service initialized 'openais
> > distributed locking service B.01.01' 
> > Aug  8 21:44:56.531801 [SERV ] Service initialized 'corosync extended
> > virtual synchrony service' 
> > Aug  8 21:44:56.532443 [SERV ] Service initialized 'corosync
> > configuration service' 
> > Aug  8 21:44:56.533795 [SERV ] Service initialized 'corosync cluster
> > closed process group service v1.01' 
> > Aug  8 21:44:56.534784 [SERV ] Service initialized 'corosync cluster
> > config database access v1.01' 
> > Aug  8 21:44:56.534806 [SYNC ] Not using a virtual synchrony filter. 
> > Aug  8 21:44:56.534928 [TOTEM] Creating commit token because I am the
> > rep. 
> > Aug  8 21:44:56.534961 [TOTEM] Saving state aru 0 high seq received 0 
> > Aug  8 21:44:56.535002 [TOTEM] Storing new sequence id for ring 8 
> > Aug  8 21:44:56.535158 [TOTEM] entering COMMIT state. 
> > Aug  8 21:44:56.535188 [TOTEM] entering RECOVERY state. 
> > Aug  8 21:44:56.535236 [TOTEM] position [0] member 192.168.248.130: 
> > Aug  8 21:44:56.535252 [TOTEM] previous ring seq 4 rep
> > 192.168.248.130 
> > Aug  8 21:44:56.535266 [TOTEM] aru 0 high delivered 0 received flag 1 
> > Aug  8 21:44:56.535281 [TOTEM] Did not need to originate any messages
> > in recovery. 
> > Aug  8 21:44:56.535311 [TOTEM] Sending initial ORF token 
> > Aug  8 21:44:56.535800 [CLM  ] CLM CONFIGURATION CHANGE 
> > Aug  8 21:44:56.535824 [CLM  ] New Configuration: 
> > Aug  8 21:44:56.535839 [CLM  ] Members Left: 
> > Aug  8 21:44:56.535853 [CLM  ] Members Joined: 
> > Aug  8 21:44:56.535946 [CLM  ] CLM CONFIGURATION CHANGE 
> > Aug  8 21:44:56.535962 [CLM  ] New Configuration: 
> > Aug  8 21:44:56.535979 [CLM  ]  r(0) ip(192.168.248.130) 
> > Aug  8 21:44:56.535993 [CLM  ] Members Left: 
> > Aug  8 21:44:56.536006 [CLM  ] Members Joined: 
> > Aug  8 21:44:56.536022 [CLM  ]  r(0) ip(192.168.248.130) 
> > Aug  8 21:44:56.536050 [SYNC ] This node is within the primary
> > component and will provide service. 
> > Aug  8 21:44:56.536092 [TOTEM] entering OPERATIONAL state. 
> > Aug  8 21:44:56.538486 [AMF  ] Successfully read AMF configuration
> > file '/etc/ais/amf.conf'. 
> > Aug  8 21:44:56.538526 [AMF  ] Info: This node is not configured as an
> > AMF node, disabling. 
> > Aug  8 21:44:56.538542 [AMF  ] AMF sync error: I am sync master but
> > not AMF node 
> > Aug  8 21:44:56.538556 [MAIN ] AIS Executive exiting with status -16
> > at amf.c:1661.
> > _______________________________________________
> > Openais mailing list
> > Openais at lists.linux-foundation.org
> > https://lists.linux-foundation.org/mailman/listinfo/openais
> 
> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais



More information about the Openais mailing list