{"action":"created","issue":{"url":"https://api.github.com/repos/portainer/portainer/issues/2730","repository_url":"https://api.github.com/repos/portainer/portainer","labels_url":"https://api.github.com/repos/portainer/portainer/issues/2730/labels{/name}","comments_url":"https://api.github.com/repos/portainer/portainer/issues/2730/comments","events_url":"https://api.github.com/repos/portainer/portainer/issues/2730/events","html_url":"https://github.com/portainer/portainer/issues/2730","id":413048499,"node_id":"MDU6SXNzdWU0MTMwNDg0OTk=","number":2730,"title":"Unable to manage all nodes in Swarm cluster","user":{"login":"javierma14","id":46322638,"node_id":"MDQ6VXNlcjQ2MzIyNjM4","avatar_url":"https://avatars1.githubusercontent.com/u/46322638?v=4","gravatar_id":"","url":"https://api.github.com/users/javierma14","html_url":"https://github.com/javierma14","followers_url":"https://api.github.com/users/javierma14/followers","following_url":"https://api.github.com/users/javierma14/following{/other_user}","gists_url":"https://api.github.com/users/javierma14/gists{/gist_id}","starred_url":"https://api.github.com/users/javierma14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javierma14/subscriptions","organizations_url":"https://api.github.com/users/javierma14/orgs","repos_url":"https://api.github.com/users/javierma14/repos","events_url":"https://api.github.com/users/javierma14/events{/privacy}","received_events_url":"https://api.github.com/users/javierma14/received_events","type":"User","site_admin":false},"labels":[{"id":909917117,"node_id":"MDU6TGFiZWw5MDk5MTcxMTc=","url":"https://api.github.com/repos/portainer/portainer/labels/area/agent","name":"area/agent","color":"fbca04","default":false},{"id":437872060,"node_id":"MDU6TGFiZWw0Mzc4NzIwNjA=","url":"https://api.github.com/repos/portainer/portainer/labels/area/deployment","name":"area/deployment","color":"fbca04","default":false},{"id":476132138,"node_id":"MDU6TGFiZWw0NzYxMzIxMzg=","url":"https://api.github.com/repos/portainer/portainer/labels/status/need-info","name":"status/need-info","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2019-02-21T17:50:03Z","updated_at":"2019-05-20T21:01:28Z","closed_at":null,"author_association":"NONE","body":"Recently I have tried to test the Portainer features available when using the portainer agent on a swarm.\r\n\r\nIn a 3 node setup, 1 manager and 2 workers, I am unable to view any containers running on the workers or any information related to them. For example in the containers list section I am only able to see the containers that the manager, which has the portainer agent installed. \r\n\r\nUnder the service list section, I do see that the portainer agent service is running on all 3 nodes, but other then here and the cluster visualizer, I do not see any mention of the worker nodes elsewhere.\r\n\r\nHere are the logs for the worker nodes:\r\n\r\n```\r\n2019/02/21 17:31:20 [INFO] serf: EventMemberJoin: f0c97218d661 10.0.0.3\r\n2019/02/21 17:31:21 [WARN] memberlist: Failed to resolve tasks.agent: lookup tasks.agent on 127.0.0.11:53: no such host\r\n2019/02/21 17:31:21 [INFO] - Starting Portainer agent version 1.2.1 on 0.0.0.0:9001 (cluster mode: true)\r\n````\r\n\r\nI thought maybe the Portainer agent has to be manually setup on each node, despite the service running but that did not work and gave me this log:\r\n\r\n```\r\n2019/02/21 17:36:40 http error: Missing request signature headers (err=Unauthorized) (code=403)\r\n2019/02/21 17:36:40 http error: The agent was unable to contact any other agent located on a manager node (err=Unable to find an agent on any manager node) (code=500)\r\n2019/02/21 17:38:49 http error: The agent was unable to contact any other agent located on a manager node (err=Unable to find an agent on any manager node) (code=500)\r\n```\r\n\r\nExpected functionality - I've seen screenshots of others running Portainer agent in swarm mode and from the containers list all containers are shown with there respective hosts as seen below. How do I achieve this functionality?\r\n\r\n![image](https://user-images.githubusercontent.com/46322638/53190214-0fc01c80-35d7-11e9-8f42-cad99832795c.png)\r\n\r\nI am running Portainer 1.20.1 and have re-installed everything to ensure there were no issues with the previous code.\r\n\r\nAny help would be greatly appreciated. Thanks!"},"comment":{"url":"https://api.github.com/repos/portainer/portainer/issues/comments/494149667","html_url":"https://github.com/portainer/portainer/issues/2730#issuecomment-494149667","issue_url":"https://api.github.com/repos/portainer/portainer/issues/2730","id":494149667,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5NDE0OTY2Nw==","user":{"login":"deviantony","id":5485061,"node_id":"MDQ6VXNlcjU0ODUwNjE=","avatar_url":"https://avatars2.githubusercontent.com/u/5485061?v=4","gravatar_id":"","url":"https://api.github.com/users/deviantony","html_url":"https://github.com/deviantony","followers_url":"https://api.github.com/users/deviantony/followers","following_url":"https://api.github.com/users/deviantony/following{/other_user}","gists_url":"https://api.github.com/users/deviantony/gists{/gist_id}","starred_url":"https://api.github.com/users/deviantony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deviantony/subscriptions","organizations_url":"https://api.github.com/users/deviantony/orgs","repos_url":"https://api.github.com/users/deviantony/repos","events_url":"https://api.github.com/users/deviantony/events{/privacy}","received_events_url":"https://api.github.com/users/deviantony/received_events","type":"User","site_admin":false},"created_at":"2019-05-20T21:01:28Z","updated_at":"2019-05-20T21:01:28Z","author_association":"MEMBER","body":"@JanneRantala are you trying to deploy the agent inside a Swarm cluster? If so, can you give us more details about your cluster (topology, OS...)"}}
{"actor":{"display_login":"deviantony"}}