Project

General

Profile

Actions

Bug #5467

closed

repo-install-test fails for osmo-msc, MGW: Address already in use

Added by osmith 9 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
02/25/2022
Due date:
% Done:

100%

Spec Reference:

Description

From https://jenkins.osmocom.org/jenkins/job/Osmocom-repo-install-debian9/feed=nightly,label=repo-install-test/403/consoleFull:

Feb 25 10:45:21 57c7d4458dc5 osmo-msc[16190]: <0024> mgcp_client.c:792 MGW(mgw) MGCP client: using endpoint domain '@mgw'
Feb 25 10:45:21 57c7d4458dc5 osmo-msc[16190]: <0014> socket.c:419 unable to bind socket: (null):2728: Address already in use
Feb 25 10:45:21 57c7d4458dc5 osmo-msc[16190]: <0014> socket.c:431 no suitable local addr found for: (null):2728
Feb 25 10:45:21 57c7d4458dc5 osmo-msc[16190]: <0024> mgcp_client.c:912 MGW(mgw) Failed to initialize socket (any):2728 -> (null):2427 for MGW: Address already in use
Feb 25 10:45:21 57c7d4458dc5 osmo-msc[16190]: MGCPGW connect failed
Feb 25 10:45:21 57c7d4458dc5 systemd[1]: osmo-msc.service: Main process exited, code=exited, status=7/NOTRUNNING
Feb 25 10:45:21 57c7d4458dc5 systemd[1]: osmo-msc.service: Unit entered failed state.
Feb 25 10:45:21 57c7d4458dc5 systemd[1]: osmo-msc.service: Failed with result 'exit-code'.

This job starts all systemd services of Osmocom programs with default configurations, and checks whether they start up.

I guess the failure relates to osmo-hnbgw now also using the mgcp client, and both using the default address.

dexter: could you change the address in the default config of osmo-hnbgw?

Actions #1

Updated by dexter 9 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

I have looked at the default configs for osmo-bsc and osmo-msc. They both use the same ip, but different ports. We should use a different port with the osmo-hnbgw default config.

Here is a patch: https://gerrit.osmocom.org/c/osmo-hnbgw/+/27331

Actions #2

Updated by dexter 8 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100

We have optimized the default config so that the ports won't collide anymore, so we can resolve this ticket now.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)