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
{{ message }}
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.
I'm having a strange issue where I'm able to work with a remote swarm manager through regular docker CLI commands, but docker app is not able to communicate with the remote daemon for an app upgrade.
Steps to reproduce the issue:
▸ streaming-platform git:(master) docker context use sa-kafka-preprod
sa-kafka-preprod
Current context is now "sa-kafka-preprod"
▸ streaming-platform git:(master) docker context ls
NAME DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR
ba-gen-int ba-gen-int Cluster tcp://ba-gen-int-api-40d0dafa3a0f133a.elb.us-west-2.amazonaws.com:2376 swarm
default Current DOCKER_HOST based configuration unix:///var/run/docker.sock https://localhost:6443 (default) swarm
sa-cat-trainer Spend Analytics Categorization Trainer tcp://sa-cat-trainer-api-85e9489d200b894f.elb.us-west-2.amazonaws.com:2376 swarm
sa-kafka-dev Spend Analytics Kafka Development tcp://sa-kafka-dev-api-4e7c8c601fcf8bc0.elb.us-west-2.amazonaws.com:2376 swarm
sa-kafka-preprod * Spend Analytics Kafka Pre-Prod tcp://sa-kafka-preprod-api-8615921daaa38546.elb.us-west-2.amazonaws.com:2376 swarm
sa-utils Spend Analytics Utilities tcp://sa-utils-api-9233a9e91144a8d5.elb.us-west-2.amazonaws.com:2376 swarm
▸ streaming-platform git:(master) docker stack ls
NAME SERVICES ORCHESTRATOR
host-services 3 Swarm
processing 1 Swarm
streaming 3 Swarm
▸ streaming-platform git:(master) docker app upgrade streaming --app-name streaming --parameters-file parameters/preprod.yml --with-registry-auth
Upgrade failed: Action "upgrade" failed: Cannot connect to the Docker daemon at tcp://sa-kafka-preprod-api-8615921daaa38546.elb.us-west-2.amazonaws.com:2376. Is the docker daemon running?
Describe the results you received:
docker app reports that it is unable to connect to the remote Docker daemon.
Describe the results you expected:
docker app should upgrade the app as commanded.
Additional information you deem important (e.g. issue happens only occasionally):
First time this has happened to me.
Output of docker version:
Client: Docker Engine - Community
Version: 19.03.0-rc2
API version: 1.39 (downgraded from 1.40)
Go version: go1.12.5
Git commit: f97efcc
Built: Wed Jun 5 01:37:53 2019
OS/Arch: darwin/amd64
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 18.09.6
API version: 1.39 (minimum version 1.12)
Go version: go1.10.8
Git commit: 481bc77
Built: Sat May 4 02:02:43 2019
OS/Arch: linux/amd64
Experimental: false
Output of docker-app version:
Version: v0.8.0-rc1
Git commit: 73d86744
Built: Wed Jun 5 01:45:27 2019
OS/Arch: darwin/amd64
Experimental: off
Renderers: none
Invocation Base Image: docker/cnab-app-base:v0.8.0-rc1
Hi @kinghuang,
We couldn't reproduce this issue. Can you provide more information about the setup? If you get this issue again, could you try to connect manually to the VM and check if the docker daemon is running?
@aiordache Thanks for looking into it. I believe the behaviour I'm seeing is caused by VPN. I hop between multiple VPN tunnels to get access to all my clusters. I'll try to come up with a reproducible case.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
I'm having a strange issue where I'm able to work with a remote swarm manager through regular docker CLI commands, but docker app is not able to communicate with the remote daemon for an app upgrade.
Steps to reproduce the issue:
Describe the results you received:
docker app reports that it is unable to connect to the remote Docker daemon.
Describe the results you expected:
docker app should upgrade the app as commanded.
Additional information you deem important (e.g. issue happens only occasionally):
First time this has happened to me.
Output of
docker version
:Output of
docker-app version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
The remote cluster is on AWS. Local client is Docker for Mac.
The text was updated successfully, but these errors were encountered: