Skip to content

fix: port availability

Artyom Kartasov requested to merge debug-port-availability into master

Description

Docker version 25.0.0

2024/01/22 15:14:52 main.go:85: [INFO]   Database Lab Engine version: v3.5.0-20231107-1918
2024/01/22 15:14:53 networks.go:34: [DEBUG]  Discovering internal network: dle_network_cml9s2quv1us73d33sm0
2024/01/22 15:14:53 pool_manager.go:274: [INFO]   Discovering:  /var/lib/dblab/dblab_pool
2024/01/22 15:14:53 pool_manager.go:304: [DEBUG]  Data  &{dblab_pool zfs 0001-01-01 00:00:00 +0000 UTC dblab_pool /var/lib/dblab clones data sockets observer {{0 0} 0 0 {{} 0} {{} 0}} empty}
2024/01/22 15:14:53 pool_manager.go:314: [INFO]   2024-01-22 12:47:46 +0000 UTC
2024/01/22 15:14:53 manager.go:88: [DEBUG]  Using "zfs" thin-clone manager.
2024/01/22 15:14:55 pool_manager.go:251: [INFO]   Available storage pools:  [dblab_pool]
2024/01/22 15:14:55 pool_manager.go:252: [INFO]   Active pool:  dblab_pool
2024/01/22 15:14:55 mode_local.go:445: [INFO]   Revising availability of the port range [6000 - 6099]
2024/01/22 15:14:58 mode_local.go:459: [INFO]   port 6000 is not available, marking as busy
2024/01/22 15:14:58 mode_local.go:459: [INFO]   port 6001 is not available, marking as busy
2024/01/22 15:15:01 mode_local.go:459: [INFO]   port 6002 is not available, marking as busy
2024/01/22 15:15:01 mode_local.go:459: [INFO]   port 6003 is not available, marking as busy
2024/01/22 15:15:04 mode_local.go:459: [INFO]   port 6004 is not available, marking as busy
...
2024/01/22 15:19:59 mode_local.go:459: [INFO]   port 6097 is not available, marking as busy
2024/01/22 15:20:02 mode_local.go:459: [INFO]   port 6098 is not available, marking as busy
2024/01/22 15:20:02 mode_local.go:459: [INFO]   port 6099 is not available, marking as busy
2024/01/22 15:20:02 mode_local.go:475: [INFO]   0  ports are available

Related issue

Examples

Checklist

  • MR description has been reviewed
  • MR changes are functionally tested
  • MR does NOT have API/CLI changes OR there are API/CLI changes and they have been reviewed & DOCS ARE ADJUSTED (reference doc, etc)
  • MR does NOT have UI changes OR there are UI changes and they have been reviewed & UX IS REVIEWED
Edited by Artyom Kartasov

Merge request reports