OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: PIv0 on July 28, 2022, 06:43:09 pm

Title: After the update synchronization HA between the master and the backup not work
Post by: PIv0 on July 28, 2022, 06:43:09 pm
Hi all!

Updated from version 22.1.10 to 22.7, first through the web interface, then through reinstallation from the CD and restoring the saved settings.

Did not help.

On the previous version, synchronization between the master device and the backup worked fine and without problems.
After the update, synchronization stopped working, when I go to the menu item "System - High Availability - Status" I get the following line:

The backup firewall is not accessible or not configured.

Title: Re: After the update synchronization HA between the master and the backup not work
Post by: tuxnet on July 28, 2022, 06:59:45 pm
I have the same problem since the upgrade
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: rsk on July 28, 2022, 07:11:23 pm
I have the same issue. Running /usr/local/etc/rc.filter_synchronize debug results in 'parse error. not well formed'

Maybe this is a regression as there was a issue in the past triggered the same behavior.
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: selmir on July 28, 2022, 08:11:33 pm
I have exactly the same problem.
After upgrading from version 22.1.10 to 22.7 HA sync stopped working.
And the message is "The backup firewall is not accessible or not configured."
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: franco on July 28, 2022, 08:52:01 pm
'parse error. not well formed'

So that's the output on the 22.1 or 22.7 system?

My guess would be 22.1?


Cheers,
Franco
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: tuxnet on July 28, 2022, 09:22:37 pm
'parse error. not well formed'
i have the message on 22.7
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: franco on July 28, 2022, 09:56:35 pm
Yikes, thanks, we will look into it as soon as possible.


Cheers,
Franco
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: mrpink on July 28, 2022, 10:14:22 pm
Here the same, HA sync was working on 22.1.10 and now after the upgrade to 22.7 I get the message:
"The backup firewall is not accessible or not configured."
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: rsk on July 29, 2022, 09:05:27 am
'parse error. not well formed'

So that's the output on the 22.1 or 22.7 system?

My guess would be 22.1?


Cheers,
Franco

No, the sync was broken after upgraded both instances to 22.7. Before the upgrade XMLRPC sync was running fine.
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: franco on July 29, 2022, 09:09:12 am
@rsk I was just trying to understand if this issue appeared on 22.7 talking to 22.7 or on 22.1 talking to 22.7.


Cheers,
Franco
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: PIv0 on July 29, 2022, 09:48:04 am
@rsk I was just trying to understand if this issue appeared on 22.7 talking to 22.7 or on 22.1 talking to 22.7.

This question appeared on 22.7 in a conversation with 22.1.

I first updated the master, and he had already lost contact with the backup, on which there was 22.1
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: franco on July 29, 2022, 09:54:41 am
Ok, so this is the client side issue on 22.7, likely because of PHP 8. My colleague is on it. :)


Cheers,
Franco
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: franco on July 29, 2022, 11:22:05 am
Should be https://github.com/opnsense/core/commit/65ceba42f3

However, this can't be patched with opnsense-patch so I'm going to post a manual package install here in a bit.


Cheers,
Franco
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: franco on July 29, 2022, 12:25:10 pm
# pkg add -f https://pkg.opnsense.org/FreeBSD:13:amd64/22.7/MINT/22.7_4/OpenSSL/All/opnsense-22.7_4.pkg


Cheers,
Franco
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: PIv0 on July 29, 2022, 02:19:30 pm
# pkg add -f https://pkg.opnsense.org/FreeBSD:13:amd64/22.7/MINT/22.7_4/OpenSSL/All/opnsense-22.7_4.pkg

Thank you! Earned!
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: franco on July 29, 2022, 02:20:27 pm
It's been published now as well.


Cheers,
Franco
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: Travis2359345 on July 29, 2022, 02:37:32 pm
Thank you. Working for me now. :)
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: rsk on July 29, 2022, 04:53:01 pm
Thank you for fixing this so fast. It works now.
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: emaba on July 30, 2022, 02:35:17 am
I have the same problem too. Trying from the command line, I get:

Code: [Select]
# /usr/local/etc/rc.filter_synchronize
send >>>
Host: xxx.xxx.xxx.xxx
User-Agent: XML_RPC
Content-Type: text/xml
Content-Length: 117
Authorization: Basic xxxxxxxxxxxxxxxxxxxxx
<?xml version="1.0"?>
<methodCall>
<methodName>opnsense.firmware_version</methodName>
<params>
</params></methodCall>received >>>
error >>>
fetch error. remote host down?

How can I solve the issue?
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: mrpink on July 30, 2022, 01:35:56 pm
Upgrade to the latest version.

https://forum.opnsense.org/index.php?topic=29507.msg142671#msg142671
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: sesquipedality on December 03, 2022, 12:30:09 pm
I am still seeing this error.  Is it still safe to attempt to apply the patch above to the latest OpnSense?   Has this made its way into the main tree?  Thanks.
Title: Re: After the update synchronization HA between the master and the backup not work
Post by: sesquipedality on December 03, 2022, 05:05:30 pm
I have now made it go away, probably by disabling and re-enabling some things.