uw-ictd / colte

Community LTE Project
MIT License
59 stars 27 forks source link

coltedb tool fails to add new users #111

Closed matt9j closed 2 years ago

matt9j commented 2 years ago

After upgrading to 0.16.1, the coltedb tool fails to add new users transparently to the network. Redacted output below:

sudo coltedb add xxxxxxxxxxxxxxx xxxxx 10.45.10.30 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxx
coltedb: CoLTE Database Configuration Tool
haulagedb: Haulage Database Configuration Tool
haulagedb: adding user xxxxxxxxxxxxxxx
open5gs_dbconf.sh: Open5GS Database Configuration Tool (0.9.0)
COMMANDS:
   add {imsi [ip] key opc [apn]}: adds a user to the database with default values
   remove {imsi}: removes a user from the database
   reset: WIPES OUT the database and restores it to an empty default
   static_ip {imsi ip4}: adds a static IP assignment to an already-existing user
   static_ip6 {imsi ip6}: adds a static IPv6 assignment to an already-existing user
   type {imsi type}: changes the PDN-Type of the first PDN: 0 = IPv4, 1 = IPv6, 2 = IPv4v6, 3 = v4 OR v6
   help: displays this message and exits
   default values are as follows: APN "internet", dl_bw/ul_bw 1 Gbps, PGW address is 127.0.0.3, IPv4 only
matt9j commented 2 years ago

Resolved by ac2459c2ad8ea952b1b72e0187e36a6c5a43753b