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

Unable to delete instance #547

Closed
ghost opened this issue Apr 27, 2022 · 2 comments
Closed

Unable to delete instance #547

ghost opened this issue Apr 27, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 27, 2022

@pry0cc @0xtavian Can you Please Check this issue?

Also i don't know why it's creating droplets with the same name.

Deleting 'bounty01'...
Error: There are 2 Droplets with the name "bounty01"; please provide a specific Droplet ID. [297276468, 297343033]
Deleting 'bounty02'...
Error: There are 2 Droplets with the name "bounty02"; please provide a specific Droplet ID. [297276471, 297343048]
Deleting 'bounty03'...
Error: There are 2 Droplets with the name "bounty03"; please provide a specific Droplet ID. [297276472, 297343061]
Deleting 'bounty04'...
Error: There are 2 Droplets with the name "bounty04"; please provide a specific Droplet ID. [297276474, 297343046]
Deleting 'bounty05'...
Error: There are 2 Droplets with the name "bounty05"; please provide a specific Droplet ID. [297276476, 297343050]
Deleting 'bounty06'...
Error: There are 2 Droplets with the name "bounty06"; please provide a specific Droplet ID. [297276480, 297343051]
Deleting 'bounty07'...
Error: There are 2 Droplets with the name "bounty07"; please provide a specific Droplet ID. [297276477, 297343060]
Deleting 'bounty08'...

@ghost
Copy link
Author

ghost commented Apr 27, 2022

doctl compute droplet list --format "ID" >> id
doctl compute droplet delete -f 297343158
cat id | while read -r line;do doctl compute droplet delete -f $line;done

I used the above command to delete the droplet but unfortunately i forgot to remove the base machine ID and it's deleted before deleting the other droplets. Is there any ways to recover the deleted machine.

@pry0cc @0xtavian Please help.

@0xtavian
Copy link
Collaborator

@Daai1 unlikely you can recover the deleted machine. I would ask support to be sure.

there is a bug when more than one instance shares the same $gen_name. It’s mentioned here with a workaround.
#487

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