probléme update 21.04 fron 22.04

  • 29 September 2022
  • 6 replies
  • 1024 views

Badge +6
Hello,when upgrading from centreon 21.04 to 22.04 on a central and a poller everything went well except when restarting the services I got the following error:

vim /var/log/centreon-broker/central-broker-master.log

[******] [tcp] [error] Error while reading on socket: End of file
[******] [core] [error] acceptor: endpoint 'central-broker-master-input' could not accept client: BBDO: peer is using protocol version 2.0.0 whereas we're using protocol version 3.0.0
[******] [bbdo] [error] BBDO: peer is using protocol version 2.0.0 whereas we're using protocol version 3.0.0
[******] [core] [error] acceptor: endpoint 'central-broker-master-input' could not accept client: BBDO: peer is using protocol version 2.0.0 whereas we're using protocol version 3.0.0
[******] [tcp] [error] Error while reading on socket: Operation aborted.
[******] [core] [info] Available connections cleaning: Operation aborted.
[2******] [core] [info] Available connections cleaning: Operation aborted.
[**0] [bbdo] [error] BBDO: peer is using protocol version 2.0.0 whereas we're using protocol version 3.0.0
[***544+02:00] [core] [error] acceptor: endpoint 'central-broker-master-input' could not accept client: BBDO: peer is using protocol version 2.0.0 whereas we're using protocol version 3.0.0
[*******] [tcp] [error] Error while reading on socket: Operation aborted.
***********] [bbdo] [error] BBDO: peer is using protocol version 2.0.0 whereas we're using protocol version 3.0.0
[****0] [core] [error] acceptor: endpoint 'central-broker-master-input' could not accept client: BBDO: peer is using protocol version 2.0.0 whereas we're using protocol version 3.0.0

 

on the poller I have the following error

vim /var/log/centreon-broker/poller-module.lo

[*****] [tcp] [error] Error while reading on socket: End of file
[******] [core] [error] failover: global error: Attempt to read data from peer central:5669 on a closing socket
[****] [tcp] [error] Error while reading on socket: End of file

 

 

Thanks for your help

6 replies

Badge +6

Check your Broker-Configurations  (Configuration/Pollers/Broker-Configuration) and make sure the BBDO-Version is the same everywhere.

Check your Broker-Configrations on the Systems themself (/etc/centreon-broker/ on mine) for any old ones lying around breaking it.

 

Afterwards restart all instaces by “systemctl restart centreon”

 

Regards

Timo

Badge +6

Hello Timo,

last night I actually put everything in version V.2.0.0 on the whole and it works after

“systemctl restart centreon”

do I have to stay on this BBDO version (V2) or do I have to switch to V.3.0.0?

and what is the point of this new version?

thank you in advance

Idinar

Badge +6

Hello Idinar,

 

i hope someone from the Team will answer you on that, as i actually can’t answer that question. My Plattform is also on V2.0.0 at the moment, so i will also be interested in the answer you receive.

 

I had the same Problem before and this was what helped me, so i thought it might help you also.

 

Regards

Timo

Badge +6

thank you very much for your quick feedback

we will wait for someone who already uses BBDO v3

 

Regards

Badge +6

@Laurent Hello,

An idea on using BBDO V.3.0.0 on centreon 22.04?

 

Regards

Idinar

 

Userlevel 6
Badge +19

Hello Timo,

last night I actually put everything in version V.2.0.0 on the whole and it works after

“systemctl restart centreon”

do I have to stay on this BBDO version (V2) or do I have to switch to V.3.0.0?

and what is the point of this new version?

thank you in advance

Idinar

This new version brings several performance enhancements (mostly about the size / payload of events). 

Switching to v3 require to carefully stop pollers and central broker, clean hypothetical memory and cache file, and then restart to have every pieces using the same protocol version. 

 

It’s not mandatory to switch to v3 and you can totally choose to wait a moment as it’s still young. Anyway, if you move with it, let us know if any problem is showing up.

 

Best

Reply