Description
The error occurs when calling:
- to a nonexistent server via an API request;
- to an entity that is associated with a nonexistent server. This situation may occur if the entity settings were changed not via the platform interface, but via database queries.
Contents
Error 8002, Server not found
Possible solutions
- If the error occurs when calling a nonexistent server, specify the id of an existing server in the request.
- If the error occurs when calling an entity associated with a server, change the binding of the problem entity in the database. To do this, specify the identifier of the existing server in the server field of this entity. Example for BMC:
- Connect to the server with the platform via SSH.
There are potential risks involved in altering a database. We do not recommend making manual edits to the database, as it can disrupt the correct operation of the platform.
Create a backup of the platform before performing any actions with the database.
-
Open the DBMS console:
docker exec -it mysql bash -c "mysql dci_1 -p\$MYSQL_ROOT_PASSWORD"
-
Execute the request:
UPDATE dci_ipmi SET server = <new_server_id> WHERE id = <bmc_id>;
Comments to the command -
Exit the DBMS console:
exit
- Connect to the server with the platform via SSH.