In some cases such as wrong --database value when terminating kytosdstart_shell_async gets destroyed but it's pending, it doesn't cause any other issue, but it'd be great to one day correctly handle this part too, this is very low priority though, but I'll go ahead and map this:
❯ kytosd -f --database mongodbx
Web update - Web UI was not updated
Kytos couldn't start because of KytosDBInitException: DB backend 'mongodbx' isn't supported. Current supported databases: mongodb
Shutting down Kytos...
2023-10-25 09:53:15,817 - INFO [kytos.core.db] [db.py:152:db_conn_wait] (MainThread) Starting DB connection
Task was destroyed but it is pending!
task: <Task cancelling name='Task-1' coro=<start_shell_async() running at /home/viniarck/repos/kytos/kytos/core/kytosd.py:137>>
/home/viniarck/repos/kytos/kytos/core/kytosd.py:98: RuntimeWarning: coroutine 'start_shell_async' was never awaited
async_main(config)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
In some cases such as wrong
--database value
when terminatingkytosd
start_shell_async
gets destroyed but it's pending, it doesn't cause any other issue, but it'd be great to one day correctly handle this part too, this is very low priority though, but I'll go ahead and map this: