Feature Request: Delete all Offline Machines

Hello,

I don’t know if this is the best place for feature requests, but it would be great if there was a ‘Delete All Offline Machines’ button I could click Per Octopus Environment.

We scale up / down machines a lot and this can lead to a lot of Dead Tentacle registrations in Octopus.

If there is a better place for feature requests let me know.

Hi,

Thanks for reaching out!

We are currently working on a feature called Elastic Environments which is exactly what you are asking for. We’ll be releasing this along with Octopus 3.4, and we’ll also be having an open beta of this version in the upcoming weeks.

You can read more about this feature in this github issue and (his blog post

For the time being, you can use the Octopus API to get the machines from a specific environment, filter the ones in “Offline” status and then delete those.

There’s an OSS project called Octoposh (which I own) that contains a few Powershell cmdlets that interact with the Octopus API that could come handy in this case. I even added an example for this particular scenario in the wiki.

Module site: http://Octoposh.net
Example for this scenario: https://github.com/Dalmirog/OctoPosh/wiki/Deleting-Resources/_edit#machines

Let me know if you take the Octoposh approach and if you need more help with it.

Best regards,
Dalmiro

RE the best place for feature requests, we do have a Uservoice site for this particular purpose, but we do prefer users to first ask in the forum as sometimes the feature might already exist or we are already working on in (like in this case) and its not necessary to log anything in Uservoice.

If the feature doesn’t exist and we believe it makes sense, we encourage the user to log it in Uservoice and sometimes we even log it ourselves.