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

AWS: keypair duplicate should be handled silently #47

Closed
dynamiccast opened this issue Aug 5, 2016 · 2 comments
Closed

AWS: keypair duplicate should be handled silently #47

dynamiccast opened this issue Aug 5, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@dynamiccast
Copy link
Contributor

Currently, running the backend twice with the same awsKeyName will result in a :

error: InvalidKeyPair.Duplicate: The keypair 'xxxxxx' already exists.
@dynamiccast dynamiccast added the bug label Aug 5, 2016
@dynamiccast dynamiccast added this to the 1.0.0-beta1 milestone Aug 5, 2016
@domrod
Copy link

domrod commented Sep 2, 2016

Is there any improvement or workaround on this issue?

As far as I know, you need to generate a new Key to get rid of the error.

Even after deleting previous build Docker containers, images and nanocloud directory, a new build will be stuck by this message, which sounds weird. Am I missing something?

@dynamiccast dynamiccast removed this from the 1.0.0-beta1 milestone Sep 2, 2016
@dynamiccast
Copy link
Contributor Author

Hi,

This bug is still open and will receive attention in the following days.
Currently, we can workaround this issue in dev mode by setting awsPrivateKey to /opt/back/id_rsa in config/env/develoment.js. Make sure you get and keep id_rsa untouched in your working directory after that.
Alternatively, you can remove all auto generated keypair in your AWS console.

@dynamiccast dynamiccast added this to the 2.0-sprint1 milestone Sep 6, 2016
@dynamiccast dynamiccast assigned Gentux and unassigned willrnch Sep 6, 2016
@dynamiccast dynamiccast assigned Leblantoine and unassigned Gentux Sep 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants