You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
I am trying to create a stack with two containers. Container 2 has a service_completed_successfully condition dependency on container 1. Container 1 fails to start. I then end up with the stack not having been created, the browser is still in the "add stack" view which shows me the stack I am currently creating (as if I had posted invalid syntax or another input error). Container 1 is in state 'failed', and Container 2 is in state 'created', both are not connected to any stack. If I want to try creating the stack again I will get an error that the container names are already taken. I need to remove the containers in order to try creating the stack again
Expected behavior
The stack is created, even though Container 1 fails and Container 2 stays in state 'created'.
In my case, the failing of Container 1 is a firewall issue that I am waiting for the network adminsitrators to fix. I would like to "save" the stack in Portainer so I can retry tomorrow, instead of having to enter it again tomorrow when the firewall would allow this.
Portainer Logs
Provide the logs of your Portainer container or Service.
You can see how here
Steps to reproduce the issue:
In an environment, go to Stacks -> Add Stack
Enter a stack where one service is a short-lived CLI tool that prepares the data used by the other service, and that other service has a service_completed_successfully dependency on the preparation service. I have attached an example below.
Click on "Deploy the stack"
Wait for deployment to fail and show an error message.
Technical details:
Portainer version: 2.14.2
Docker version (managed by Portainer):
Platform (windows/linux): linux
Command used to start Portainer (Ansible playbook):
@tamarahenson This issue persists in portainer-ce 2.16.2 . As soon as a variable is named "HTTPS_PROXY" the deployment/update of an environment fails with the following error
error during connect: Get "https://tasks.agent:9001/v1.24/info": proxyconnect tcp: dial tcp: lookup proxy.example.com on 127.0.0.11:53: no such host
This error only happens when defining Environment variables with the portainer UI. To trigger the error above, I used a minimal docker-compose
I wanted to follow up on this request. Have you tested this in later versions of Portainer? If anything in the Stack fails, Portainer does a clean-up and removes everything in the Stack.
Bug description
I am trying to create a stack with two containers. Container 2 has a
service_completed_successfully
condition dependency on container 1. Container 1 fails to start. I then end up with the stack not having been created, the browser is still in the "add stack" view which shows me the stack I am currently creating (as if I had posted invalid syntax or another input error). Container 1 is in state 'failed', and Container 2 is in state 'created', both are not connected to any stack. If I want to try creating the stack again I will get an error that the container names are already taken. I need to remove the containers in order to try creating the stack againExpected behavior
The stack is created, even though Container 1 fails and Container 2 stays in state 'created'.
In my case, the failing of Container 1 is a firewall issue that I am waiting for the network adminsitrators to fix. I would like to "save" the stack in Portainer so I can retry tomorrow, instead of having to enter it again tomorrow when the firewall would allow this.
Portainer Logs
Provide the logs of your Portainer container or Service.
You can see how here
Steps to reproduce the issue:
service_completed_successfully
dependency on the preparation service. I have attached an example below.Technical details:
Additional context
Here is what I am trying to run:
The host that I want to run this on cannot reach the gitlab instance, and therefor the register command fails (which is expected behavior).
The text was updated successfully, but these errors were encountered: