Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete application issues #18

Open
arturmartins opened this issue Nov 20, 2014 · 0 comments
Open

Delete application issues #18

arturmartins opened this issue Nov 20, 2014 · 0 comments

Comments

@arturmartins
Copy link

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:

  • In the "Waiting for environment(s)" lines... Why are the names repeated?
  • The environment manuallycreated-2-dev was a old environment created manually and it was already fully decommissioned (at least in the AWS web console) before running the command. Perhaps that's why the error?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant