plugins icon indicating copy to clipboard operation
plugins copied to clipboard

mDNS Repeater CARP Failover file missing

Open 53c70r opened this issue 3 years ago • 3 comments

Using the mDNS Plugin in CARP setup (simple Master/Backup with two hosts) the mDNS Service will not start because no initial file /var/run/mdns-repeater.CARP_MASTER gets created. This was tested on the CARP Master all selected interface are in Master state when trying to active the CARP Failover setting. The plugin works just fine without "Enable CARP Failover".

Settings on Master

Enable: yes Enable CARP Failover: yes Interface: 5 different interface all with CARP set up and running as Master.

<13>1 2022-03-30T16:57:51+02:00 opnsense-00 root 41210 - [meta sequenceId="5"] /usr/local/etc/rc.d/mdns-repeater: WARNING: /var/run/mdns-repeater.CARP_MASTER is not readable.
<13>1 2022-03-30T16:57:51+02:00 opnsense-00 root 42699 - [meta sequenceId="6"] /usr/local/etc/rc.d/mdns-repeater: WARNING: failed precmd routine for mdns_repeater
<13>1 2022-03-30T16:57:51+02:00 opnsense-00 configctl 94682 - [meta sequenceId="7"] event @ 1648652271.25 msg: Mar 30 16:57:51 opnsense-00 config[75228]: [2022-03-30T16:57:51+02:00][info] config-event: new_config /conf/backup/config-1648652271.1896.xml 
<13>1 2022-03-30T16:57:51+02:00 opnsense-00 configctl 94682 - [meta sequenceId="8"] event @ 1648652271.25 exec: system event config_changed

53c70r avatar Mar 30 '22 14:03 53c70r

Thank you for creating an issue. Since the ticket doesn't seem to be using one of our templates, we're marking this issue as low priority until further notice.

For more information about the policies for this repository, please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.

The easiest option to gain traction is to close this ticket and open a new one using one of our templates.

OPNsense-bot avatar Mar 30 '22 15:03 OPNsense-bot

@53c70r thanks, maybe the issue is it needs a backup/master transition (or a plain reboot) to trigger?

fichtner avatar Mar 30 '22 19:03 fichtner

The actual problem is it won't start in the first place right after saving the config. Immediate after saving the config with "Enable CARP Failover" the services goes into fail state. Reboots did not solve the problem. Should there be a High Availability setting for synchronizing the config to the secondary firewall too?

53c70r avatar Mar 30 '22 19:03 53c70r

This issue has been automatically timed-out (after 180 days of inactivity).

For more information about the policies for this repository, please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.

If someone wants to step up and work on this issue, just let us know, so we can reopen the issue and assign an owner to it.

OPNsense-bot avatar Sep 26 '22 13:09 OPNsense-bot

Same Issue here

lolkop-cmd avatar Apr 01 '23 21:04 lolkop-cmd