mirror_corosync/exec
Christine Caulfield 236032f7b5 config: if local node addr is wrong, fail with a sensible message
If no valid local address is found in corosync.conf then corosync
exits with: "parse error in config: No multicast port specified"

This is because of the config change for knet that always populates
the interfaces. The old error of "no interfaces found" was only
slightly better anyway IMHO.

This patch adds an explicit check that local_node_pos has been
set in icmap and uses that to determine if a valid local address
has been found.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
2018-01-09 17:50:12 +01:00
..
.gitignore Add .gitignore files. 2010-10-21 07:43:46 -07:00
apidef.c CFG: Remove ring-reenable code 2017-08-03 14:32:02 +02:00
apidef.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
cfg.c totemsrp: Revert totemsrp_get_ifaces() changes 2017-11-30 16:59:05 +01:00
cmap.c cmap: Remove noop highest config version check 2017-10-11 17:11:33 +02:00
coroparse.c coroparse: Do not convert empty uid, gid to 0 2017-11-06 09:37:54 +01:00
cpg.c Remove redundant header file inclusion 2016-12-05 09:59:08 +01:00
cs_queue.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
fsm.h Make logging of WD and MON service correct 2012-08-16 14:45:15 +02:00
icmap.c stats: Add map with on-demand statistics 2017-07-27 15:53:04 +02:00
ipc_glue.c stats: Add cmap key to clear the various stats. 2017-10-31 17:39:14 +01:00
ipcs_stats.h stats: Add cmap key to clear the various stats. 2017-10-31 17:39:14 +01:00
logconfig.c logconfig: Do not overwrite logger_subsys priority 2017-03-10 09:09:42 +01:00
logconfig.h list: Replace uses of list.h with qblist.h 2016-10-27 14:56:52 +02:00
logsys.c list: Replace uses of list.h with qblist.h 2016-10-27 14:56:52 +02:00
main.c Send corosync startup notification to systemd 2017-11-09 09:49:18 +01:00
main.h Reload: Make coroparse use a designated icmap hash table 2013-09-12 16:09:06 +01:00
Makefile.am Send corosync startup notification to systemd 2017-11-09 09:49:18 +01:00
mon.c list: Replace uses of list.h with qblist.h 2016-10-27 14:56:52 +02:00
pload.c build: bring SOLARIS up to the same standard as other OSes 2012-08-30 15:00:27 +02:00
quorum.c Remove redundant header file inclusion 2016-12-05 09:59:08 +01:00
quorum.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
schedwrk.c schedwrk: Cleanup and make it work on PPC BE 2016-05-17 16:29:25 +02:00
schedwrk.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
service.c service: Fix memleak in service_unlink_and_exit 2013-06-21 11:21:29 +02:00
service.h service: remove leftovers from mt corosync 2012-08-09 15:10:16 +02:00
stats.c stats: Add some missing knet stats 2017-11-16 08:35:50 +01:00
stats.h stats: Add map with on-demand statistics 2017-07-27 15:53:04 +02:00
sync.c sync: Call sync_init of all services at once 2017-11-16 15:22:19 +01:00
sync.h sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
timer.c Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
timer.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
totemconfig.c config: if local node addr is wrong, fail with a sensible message 2018-01-09 17:50:12 +01:00
totemconfig.h config: Allow links to have different ip_versions 2017-12-22 17:15:19 +01:00
totemip.c list: Replace for_each by safe version where need 2016-10-27 14:56:52 +02:00
totemknet.c totemknet: Drop truncated packets on receive 2018-01-09 17:46:31 +01:00
totemknet.h stats: Add cmap key to clear the various stats. 2017-10-31 17:39:14 +01:00
totemnet.c stats: Add cmap key to clear the various stats. 2017-10-31 17:39:14 +01:00
totemnet.h stats: Add cmap key to clear the various stats. 2017-10-31 17:39:14 +01:00
totempg.c totemsrp: Revert totemsrp_get_ifaces() changes 2017-11-30 16:59:05 +01:00
totemsrp.c totemsrp: Revert totemsrp_get_ifaces() changes 2017-11-30 16:59:05 +01:00
totemsrp.h stats: Add cmap key to clear the various stats. 2017-10-31 17:39:14 +01:00
totemudp.c totemudp: Make use of UDP_RECEIVE_FRAME_SIZE_MAX 2018-01-09 17:46:28 +01:00
totemudp.h knet: Add support for knet compression 2017-10-23 17:30:25 +02:00
totemudpu.c totemudpu: Export and rename UDPU_FRAME_SIZE_MAX 2018-01-09 17:46:25 +01:00
totemudpu.h knet: Add support for knet compression 2017-10-23 17:30:25 +02:00
util.c list: Replace uses of list.h with qblist.h 2016-10-27 14:56:52 +02:00
util.h stats: Add map with on-demand statistics 2017-07-27 15:53:04 +02:00
votequorum.c votequorum: make atb consistent on nodelist reload 2017-09-26 18:05:17 +02:00
votequorum.h list: Replace uses of list.h with qblist.h 2016-10-27 14:56:52 +02:00
vsf_quorum.c Remove redundant header file inclusion 2016-12-05 09:59:08 +01:00
vsf_ykd.c YKD: Fix loading of YKD quorum module 2014-08-18 09:33:59 +01:00
vsf_ykd.h list: Replace uses of list.h with qblist.h 2016-10-27 14:56:52 +02:00
vsf.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
wd.c wd: fix snprintf warnings 2017-12-01 17:23:54 +01:00