If ucsschool/singlemaster=true is set for the Kelvin API, the pytests fail to create a OU in create_ou_using_python() in test_route_user.py. In a single server env, create_ou_kwargs() sets "edu_name" to the hostname of the primary directory node. For some reason, the library code tries to create a school server (replica directory node) with the hostname of the primary node, which obviously fails: FAILED tests/test_route_user.py::test_create[staff] - udm_rest_client.exceptions.CreateError: 1 error(s) occurred:Request argument "dn" Object exists: (uid): The username is already in use as username or as groupname: master$. This is not limited to staff users, but also failed for school_admin and teacher_and_staff.
Wrong file: test_route_user.py → ucsschool/lib/tests/conftest.py
*** Bug 55506 has been marked as a duplicate of this bug. ***
UCS@school Kelvin REST API 3.0.0 has been released. https://docs.software-univention.de/ucsschool-kelvin-rest-api/changelog.html#v3-0-0-2025-09-02 If this error occurs again, please clone this bug.