Troubleshoot Control Tower issues
Unexpected results after Crowd deletion
Expand to learn more
Scenario 1
The steps below describe Scenario 1 how the issue can occur:
Go to Workers > Workforces > Manage Crowds.
Create a Crowd.
Assign a Qualification to it.
Remove the Crowd.
note
At the step, there is no check that the Crowd has an assigned Qualification.
Refresh the page and open Manage Crowds again.
You can see the actual number of Crowds in the list is not the same as shown in Manage Crowds (No).

Connect to the wfdb database.
mysql> SELECT name, CAST(deleted AS UNSIGNED) AS deleted FROM Crowd; +-----------------------+---------+ | name | deleted | +-----------------------+---------+ | Local Workspace Crowd | 0 | | test_crowd2 | 1 | <<<<< +-----------------------+---------+
In the case of deleted=1, the Crowd is not visible in the UI, so update its value directly in the table.
Scenario 2
The steps below describe Scenario 2 how the issue can occur:
Go to the Qualification assigned to the already deleted Crowd.
Try to remove it. The following error is shown:
Can not remove qualification: TestQualification1. It is used in crowds: [test_crowd2]
Resolution
To resolve the issue, follow the instruction below:
In the database, check the status of the required Crowd.
SELECT name, CAST(deleted AS UNSIGNED) AS deleted FROM Crowd; +-----------------------+---------+ | name | deleted | +-----------------------+---------+ | Local Workspace Crowd | 0 | | test_crowd2 | 1 | +-----------------------+---------+In the Crowd table, update the deleted field.
update Crowd SET deleted=b'0' where name="test_crowd2";note
The step is applicable for v9.x only. Skip for v10.x.
Go to Manage Crowds. The affected Crowd should be present in the list. Unassign the qualification to this Crowd.
Remove the Crowd. The Qualification should be removed without issues.
Getting 503 error for your instance
Problem 1: Control Tower is not working and getting 503 error
Expand to learn more
There is no space on the INT server. Delete unwanted files. For more details, refer to Scheduling jobs.
Problem 2: Elasticsearch size keeps on growing
Expand to learn more
Symptoms
You get the following error:
Caused by: org.elasticsearch.common.ValidationException: Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1000]/[1000] maximum shards open; org.elasticsearch.xpack.monitoring.exporter.ExportException: org.elasticsearch.common.ValidationException: Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1000]/[1000] maximum shards open; Caused by: org.elasticsearch.common.ValidationException: Validation Failed: 1: this action would add [1] total shards, but this cluster currently has [1000]/[1000] maximum shards open;
Resolution
To resolve the issue, increase the shards using the following command:
curl -u 'admin:sc@********' -k -X PUT https://10.12.4.144:9200/_cluster/settings -H "Content-Type: application/json" -d '{ "persistent": { "cluster.max_shards_per_node": "5000" } }'