[OpenSIPS-Users] failed to process sync chunk warnings when doing dr_reload

Kingsley Tart kingsley at dns99.co.uk
Fri Oct 22 17:37:09 EST 2021


Hi,

I have a 3 node cluster running OpenSIPS 3.1.5.

If for example on node 1 I do a dr reload on the command line like
this:

# opensips-cli -x mi dr_reload
"OK"
#

I suddenly see a load of warnings in opensips.log:


Oct 22 18:25:06 ipx-a /usr/sbin/opensips[312]:
INFO:drouting:dr_reload_cmd: dr_reload MI command received!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[312]:
INFO:drouting:dr_reload_data_head: loading drouting data!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[312]:
INFO:drouting:dr_reload_data_head: loading drouting data!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[312]:
INFO:clusterer:send_sync_req: Sent sync request for capability
'drouting-status-repl' to node 3, cluster 1
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[336]:
INFO:clusterer:handle_sync_packet: Received all sync packets for
capability 'drouting-status-repl' in cluster 1
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[336]:
INFO:drouting:receive_dr_cluster_event: Synchronized carriers and
gateways status from cluster
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!
Oct 22 18:25:06 ipx-a /usr/sbin/opensips[342]:
WARNING:drouting:dr_recv_sync_packet: failed to process sync chunk!


On this particular occasion, node 2 didn't log anything, but the
following was logged on node 3:

Oct 22 18:25:06 ipx-c /usr/sbin/opensips[21267]:
INFO:clusterer:handle_sync_request: Received sync request for
capability 'drouting-status-repl' from node 1, cluster 1
Oct 22 18:25:06 ipx-c /usr/sbin/opensips[21267]:
INFO:clusterer:send_sync_repl: Sent all sync packets for capability
'drouting-status-repl' to node 1, cluster 1


OpenSIPS had been running for at least 15 minutes on all nodes before I
did the dr_reload.
This is the drouting config in opensips.conf:

loadmodule "drouting.so"
modparam("drouting", "db_url",
"mysql://XXXXXXXX:XXXXXXXX@localhost/opensips")
modparam("drouting", "probing_reply_codes", "405")
modparam("drouting", "probing_interval", 15)
modparam("drouting", "use_partitions", 1)
modparam("drouting", "db_partitions_url",
"mysql://XXXXXXXX:XXXXXXXX@localhost/opensips")
modparam("drouting", "db_partitions_table", "dr_partitions")
modparam("drouting", "cluster_id", 1)
modparam("drouting", "cluster_sharing_tag", "vip-
a")                    # } The sharing tag on these two lines MUST
match
route[get_drouting_cluster_sharing_tag] { $avp($param(1)) = "vip-a";
}  # }


Node 1 had the vip-a sharing tag active on it when I did the dr_reload.

Each node has its own local DB. I had not updated the DB rules on the
other nodes just yet, so they would have differed.

Any idea why I'm getting these warnings?

Cheers,
Kingsley.





More information about the Users mailing list