intuit / simple_deploy

Maintenance Mode - Simple Deploy is an opinionated CLI tool for managing AWS Cloud Formation Stacks.
MIT License
64 stars 22 forks source link

instances command incorrectly returning stack does not exist #105

Closed thbishop closed 11 years ago

thbishop commented 12 years ago

I'm not sure if this is just because of a rollback related status or not. I'll try a couple of other scenarios as well.

tbishop in ~/data/intuit/dev/ssp_cloud_formation_templates (13:37:58 || 1.9.3-p125 || asgs_in_az*)# simple_deploy instances -e preprod_ssp -n ssp-pod-1-e2e-1-api-1
stack 'ssp-pod-1-e2e-1-api-1' does not exist

tbishop in ~/data/intuit/dev/ssp_cloud_formation_templates (13:38:06 || 1.9.3-p125 || asgs_in_az*)
# simple_deploy status -e preprod_ssp -n ssp-pod-1-e2e-1-api-1
ROLLBACK_COMPLETE
ghost commented 12 years ago

Right now the instances command simply calls Stackster::Stack.instances. If that comes back empty it displays the not found message. I'll have to look to see if the Fog gem filters out stacks that don't have running instances. I don't see something with a Rollback status as running.

thbishop commented 12 years ago

That looks to be about right. It's not specific to the rollback status:

tbishop in ~/data/intuit/dev/ssp_cloud_formation_templates (13:55:28 || 1.9.3-p125 || asgs_in_az*)
# simple_deploy instances -e preprod_ssp -n ssp-pod-1-e2e-1-api-2
stack 'ssp-pod-1-e2e-1-api-2' does not exist

tbishop in ~/data/intuit/dev/ssp_cloud_formation_templates (13:56:06 || 1.9.3-p125 || asgs_in_az*)
#simple_deploy status -e preprod_ssp -n ssp-pod-1-e2e-1-api-2
CREATE_IN_PROGRESS

tbishop in ~/data/intuit/dev/ssp_cloud_formation_templates (13:56:17 || 1.9.3-p125 || asgs_in_az*)
# simple_deploy instances -e preprod_ssp -n ssp-pod-1-e2e-1-api-2
stack 'ssp-pod-1-e2e-1-api-2' does not exist
weavenet commented 11 years ago

fix in 0.6.3