Skip to content

Instantly share code, notes, and snippets.

@tamirko
Created May 6, 2016 13:28
Show Gist options
  • Save tamirko/af7add7bbfd63d3b7da2b55b4e58ba5b to your computer and use it in GitHub Desktop.
Save tamirko/af7add7bbfd63d3b7da2b55b4e58ba5b to your computer and use it in GitHub Desktop.
delete_deployment_fail.sh
# cfy deployments delete -d nc-cfy-newVM
Deleting deployment nc-cfy-newVM from management server MNGR_Ip_ADDRESS
An error occurred on the server: 502: 502: <html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.8.0</center>
</body>
</html>
[http://MNGR_Ip_ADDRESS:80/api/v2/deployments/nc-cfy-newVM]
# cfy executions list -d nc-cfy-newVM
Getting executions list for deployment: 'nc-cfy-newVM' [manager=MNGR_Ip_ADDRESS]
Executions:
+--------------------------------------+-------------------------------+---------------+-----------+----------------------------+
| id | workflow_id | deployment_id | status | created_at |
+--------------------------------------+-------------------------------+---------------+-----------+----------------------------+
| a6ffed46-b603-4b8a-8baa-da3ab1f231ff | delete_deployment_environment | nc-cfy-newVM | cancelled | 2016-04-01 16:26:36.473652 |
| 3c7dd4da-4def-4d83-9ce8-cdb6fe3367ae | delete_deployment_environment | nc-cfy-newVM | cancelled | 2016-05-06 10:56:43.308730 |
| 67d7c56d-7080-4660-8d86-1c56cbf0e28d | delete_deployment_environment | nc-cfy-newVM | cancelled | 2016-03-31 19:45:32.868818 |
| 3db85146-e4e9-4042-82d5-adec0e3faefc | delete_deployment_environment | nc-cfy-newVM | cancelled | 2016-05-06 10:49:21.353168 |
| 52e0956f-da33-406e-916a-25af3aea924c | create_deployment_environment | nc-cfy-newVM | cancelled | 2016-03-29 14:35:14.872822 |
| 7e46fe5a-0912-411b-b7f5-20aafd3e640b | delete_deployment_environment | nc-cfy-newVM | failed | 2016-03-29 19:32:12.899783 |
| 9c5053e6-5459-4fe7-b1ba-f88b42ba41e6 | delete_deployment_environment | nc-cfy-newVM | started | 2016-05-06 13:23:09.732020 |
+--------------------------------------+-------------------------------+---------------+-----------+----------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment