The device enrollment includes two REST requests:
1. Request the configuration from the server (GET /rest/public/sync/configuration/{deviceId}
This REST method creates the device and sets the statuses to "red" (unknown)
2. Once the configuration is finished, the device sends the info to the server (POST /rest/public/sync/info)
This REST method updates the device statuses.
In your case, the second method is apparently not called or throws an exception.
To diagnose and fix the issue, I recommend the following steps.
1. Check Tomcat logs for exceptions.
2. Check logcat of the fault device for exceptions.