SimplyTest.me is currently throwing an error stating the server is at capacity. This is not accurate and is caused due to the spawning getting stuck at 17%. According to the logs, the instances are actually provisioning properly, it's just not redirecting to the provisioned instances.
The server is clogged because the instances are stuck at "spawned". While the instances are deleted on the infrastructure, deleted instances are not reflected in the web UI and it then thinks its at capacity.
This suggests the state is not being set properly. This can likely be resolved by updating the state within build.sh.
Instances will need manually cleared out (and there seems to be some old servers there we need to clean up). There should also be a Drupal-based patch for CRON that updates any instance to destroyed that has a status of spawned and is after the 12 hour termination.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | drupal-core.png | 79.27 KB | matsbla |
| #8 | 2951673-add-ip-whitelist-for-server-access.patch | 3.49 KB | mikemiles86 |
| #5 | Screenshot from 2018-03-10 19-02-26.png | 74.37 KB | matsbla |
| #2 | simplytest-2951673-clear_queue-2.patch | 1.82 KB | nerdstein |
Comments
Comment #2
nerdsteinPatch for CRON hook that will free up the stalled instances
Comment #4
nerdsteinSimplyTest spawning should be restored. Fixing the provisioning now.
Comment #5
matsbla commentedIt still doesn't work for me, everything stops here;

Comment #7
nerdsteinInstances are now spawning. The IP address that was triggering submission state changes was not registered to the server. The commit pushed above fixes this by updating the logic. Instances are now working.
It's not ideal that the IP address is in the commit, so there will be a to do item for this and a force push.
Comment #8
mikemiles86The following patch provides a configuration value for setting the IP address for submissions and then uses that while list in the authentication access check for access state from the work server.
I have not tested this patch, but code looks correct.
Comment #9
nerdsteinReviewed and thank you, Mike!! Merging, rebasing, and force pushing
Comment #11
nerdsteinIP address config is now pushed and IP is out of code.
Marking this as fixed - there still needs to be some manual clean up of really old instances that were not destroyed properly, but things are working now.
Comment #12
matsbla commentedIt doesn't work when I test with Drupal core, I get an error like this (but it seem to work for other projects);
