briandilley / ebs-deploy

Python based command line tools for managing Amazon Elastic Beanstalk applications.
MIT License
82 stars 29 forks source link

Delete application issues #18

Open arturmartins opened 10 years ago

arturmartins commented 10 years ago

Hi,

I am created 2 environments using ebs-deploy (est-app-1-qa, test-app-1-dev) and 1 created manually (manuallycreated-env). After, I run the "delete application" command:

ebs-deploy delete_application -c app-ebs-deploy.config.yaml

Output:

Deleting application automatic-app
Waiting for environment(s) test-app-1-qa, test-app-1-dev, manuallycreated-env, manuallycreated-env, manuallycreated-2-dev, manuallycreated-env, test-app-1-qa, test-app-1-dev to have any health and have status Terminated
Environment test-app-1-qa is Grey and has status Terminating ... waiting
Environment test-app-1-dev is Grey and has status Terminating ... waiting
Environment manuallycreated-env is Grey and has status Terminating ... waiting
Environment manuallycreated-env is Grey and has status Terminated ... done
Environment manuallycreated-2-dev  is Grey and has status Terminated ... done
Environment manuallycreated-env is Grey and has status Terminated ... done
Environment test-app-1-qa is Grey and has status Terminated ... done
Environment test-app-1-dev is Grey and has status Terminated ... done
Environment test-app-1-qa is Grey and has status Terminating ... waiting
Environment test-app-1-dev is Grey and has status Terminating ... waiting
Environment manuallycreated-env is Grey and has status Terminating ... waiting
Environment manuallycreated-env is Grey and has status Terminated ... done
Environment manuallycreated-env is Grey and has status Terminated ... done
Traceback (most recent call last):
  File "/usr/local/bin/ebs-deploy", line 81, in <module>
    main()
  File "/usr/local/bin/ebs-deploy", line 75, in main
    exit(command.execute(helper, config, args))
  File "/usr/local/lib/python2.7/dist-packages/ebs_deploy/commands/delete_application_command.py", line 25, in execute
    helper.wait_for_environments(environment_names, status='Terminated')
   File "/usr/local/lib/python2.7/dist-packages/ebs_deploy/__init__.py", line 457, in wait_for_environments
    environment_names.remove(env_name)
ValueError: list.remove(x): x not in list

Questions: