CI droplet cannot get deleted
Job #149095 failed for fc9828a0:
echo "Deleting old machine"
Deleting old machine
python3 -c "import greenhost_cloud;
greenhost_cloud.terminate_droplets_by_name(\"^${VPS_HOSTNAME}$\")"
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "/src/greenhost-cloud/greenhost_cloud/cosmos.py", line 325, in terminate_droplets_by_name
delete_droplet(droplet['id'])
File "/src/greenhost-cloud/greenhost_cloud/cosmos.py", line 152, in delete_droplet
response = request_api('droplets/{0}'.format(droplet_id), 'DELETE')
File "/src/greenhost-cloud/greenhost_cloud/cosmos.py", line 56, in request_api
raise requests.HTTPError('WARNING: Got response code ',
requests.exceptions.HTTPError: [Errno WARNING: Got response code ] 500: '"The VPS was not deleted, please shutdown the VPS before removal"'