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
Support child steps that run on roles/machines other than the rest of the rolling step #641
Comments
D'oh, referenced the wrong issue in my commit. This one is not fixed. |
Another vote for this via email. Scenario is: machines need to be removed from F5 load balancer, but the machines don't have access to the LB for security reasons. |
+1 This is a blocker for us now and none of the workaround soutions are really feasible. |
Is this coming in 2.6? How can we access information about the machine that the child step is running on if we run a specific step on another machine? Specifically when considering the load balancer scenario if a step runs on the deploy server rather than the child step machine we would need some child step context information such as the current IP / network information of the machine. Otherwise when the step runs on the deploy machine we won't be know what server to remove from the load balancer 😄 |
Will add ability to run scripts from Octopus Server which will solve these scenarios |
Is there any update on this? |
Here's what we will do:
Whoever picks this up, might be worth chatting to me first. |
Release Note: Email, Manual Steps and Azure Powershell steps can now be executed in a rolling step. Also added support to run a PowerShell Script on the Octopus Server. |
When you say "Run on the Octopus server" - this means that we still e.g. can't execute powershell on a tentacle on the load balancer in a rolling deployment? So this means we still would have to talk to the load balancer remotely (remote execute powershell for example) from the Octopus server? |
That's right - with this change, steps in the rolling deployment either run in the Tentacle in that rolling deployment (e.g., the web server), or now the Octopus server. They can't run on some other random Tentacle yet. |
I am currently in a scenario where I need this exact feature. We have a couple of load balancers (primary and backup) in front of our application and would like to be able to remove nodes from them both during a rolling deployment. Our web servers and load balancers are connected to Octopus and have their own roles (web, loadbalancer). The process looks like this:
Right now our workaround is to manually pick the deployment targets and run the deployment twice (we only have 2 web nodes right now). Looking at the history of this though have people come up with a better way/workaround? |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you think you've found a related issue, please contact our support team so we can triage your issue, and make sure it's handled appropriately. |
Scenario: http://octopus-deploy.tenderapp.com/discussions/problems/15836-powershell-child-step-cannot-be-executed-on-octopus-server
Perhaps an alternative would be, when configuring a PowerShell step as a child action, you can choose whether it should be executed on the "current machine" in the rolling deployment, or a single machine in a specific role.
The text was updated successfully, but these errors were encountered: